@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the details of the modernizeProject agent.
*
* Uses Azure REST API version 2022-05-01-preview.
*/
export declare function getMigrateAgent(args: GetMigrateAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetMigrateAgentResult>;
export interface GetMigrateAgentArgs {
/**
* MigrateAgent name.
*/
agentName: string;
/**
* 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;
}
/**
* MigrateAgent model.
*/
export interface GetMigrateAgentResult {
/**
* 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;
/**
* MigrateAgent model properties.
*/
readonly properties: outputs.migrate.MigrateAgentModelPropertiesResponse;
readonly systemData: outputs.migrate.MigrateAgentModelResponseSystemData;
/**
* 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 modernizeProject agent.
*
* Uses Azure REST API version 2022-05-01-preview.
*/
export declare function getMigrateAgentOutput(args: GetMigrateAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMigrateAgentResult>;
export interface GetMigrateAgentOutputArgs {
/**
* MigrateAgent name.
*/
agentName: pulumi.Input<string>;
/**
* 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>;
}