UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

83 lines (82 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the details of the workload deployment. * * Uses Azure REST API version 2022-05-01-preview. */ export declare function getWorkloadDeployment(args: GetWorkloadDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkloadDeploymentResult>; export interface GetWorkloadDeploymentArgs { /** * ModernizeProject name. */ modernizeProjectName: string; /** * Name of the Azure Resource Group that project is part of. */ resourceGroupName: string; /** * Azure Subscription Id in which project was created. */ subscriptionId?: string; /** * Workload deployment name. */ workloadDeploymentName: string; } /** * Workload deployment model. */ export interface GetWorkloadDeploymentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Gets or sets the Id of the resource. */ readonly id: string; /** * Gets or sets the name of the resource. */ readonly name: string; /** * Workload deployment model properties. */ readonly properties: outputs.migrate.WorkloadDeploymentModelPropertiesResponse; readonly systemData: outputs.migrate.WorkloadDeploymentModelResponseSystemData; /** * Gets or sets the resource tags. */ readonly tags?: { [key: string]: string; }; /** * Gets or sets the type of the resource. */ readonly type: string; } /** * Gets the details of the workload deployment. * * Uses Azure REST API version 2022-05-01-preview. */ export declare function getWorkloadDeploymentOutput(args: GetWorkloadDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkloadDeploymentResult>; export interface GetWorkloadDeploymentOutputArgs { /** * ModernizeProject name. */ modernizeProjectName: pulumi.Input<string>; /** * Name of the Azure Resource Group that project is part of. */ resourceGroupName: pulumi.Input<string>; /** * Azure Subscription Id in which project was created. */ subscriptionId?: pulumi.Input<string>; /** * Workload deployment name. */ workloadDeploymentName: pulumi.Input<string>; }