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.22 kB
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>; }