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

72 lines (71 loc) 1.98 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the project with the specified name. * * Uses Azure REST API version 2019-10-01. */ export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>; export interface GetProjectArgs { /** * Name of the Azure Migrate project. */ projectName: string; /** * Name of the Azure Resource Group that project is part of. */ resourceGroupName: string; } /** * Azure Migrate Project. */ export interface GetProjectResult { /** * 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/assessmentProjects/{projectName} */ readonly id: string; /** * Azure location in which project is created. */ readonly location?: string; /** * Name of the project. */ readonly name: string; /** * Properties of the project. */ readonly properties: outputs.migrate.ProjectPropertiesResponse; /** * Tags provided by Azure Tagging service. */ readonly tags?: any; /** * Type of the object = [Microsoft.Migrate/assessmentProjects]. */ readonly type: string; } /** * Get the project with the specified name. * * Uses Azure REST API version 2019-10-01. */ export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>; export interface GetProjectOutputArgs { /** * Name of the Azure Migrate project. */ projectName: pulumi.Input<string>; /** * Name of the Azure Resource Group that project is part of. */ resourceGroupName: pulumi.Input<string>; }