@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information related to a specific migrate project. Returns a json object of type 'migrateProject' as specified in the models section.
*
* Uses Azure REST API version 2020-05-01.
*
* Other available API versions: 2023-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native migrate [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMigrateProjectsControllerMigrateProject(args: GetMigrateProjectsControllerMigrateProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetMigrateProjectsControllerMigrateProjectResult>;
export interface GetMigrateProjectsControllerMigrateProjectArgs {
/**
* Migrate project name.
*/
migrateProjectName: string;
/**
* Name of the Azure Resource Group that project is part of.
*/
resourceGroupName: string;
}
/**
* Migrate project.
*/
export interface GetMigrateProjectsControllerMigrateProjectResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* For optimistic concurrency control.
*/
readonly eTag?: string;
/**
* Path reference to this project /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}
*/
readonly id: string;
/**
* Azure location in which project is created.
*/
readonly location?: string;
/**
* Name of the project.
*/
readonly name: string;
/**
* Properties of a migrate project.
*/
readonly properties: outputs.migrate.MigrateProjectPropertiesResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.migrate.SystemDataResponse;
/**
* Type of the object = [Microsoft.Migrate/migrateProjects].
*/
readonly type: string;
}
/**
* Get information related to a specific migrate project. Returns a json object of type 'migrateProject' as specified in the models section.
*
* Uses Azure REST API version 2020-05-01.
*
* Other available API versions: 2023-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native migrate [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMigrateProjectsControllerMigrateProjectOutput(args: GetMigrateProjectsControllerMigrateProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMigrateProjectsControllerMigrateProjectResult>;
export interface GetMigrateProjectsControllerMigrateProjectOutputArgs {
/**
* Migrate project name.
*/
migrateProjectName: pulumi.Input<string>;
/**
* Name of the Azure Resource Group that project is part of.
*/
resourceGroupName: pulumi.Input<string>;
}