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

80 lines (79 loc) 2.52 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get an existing assessment with the specified name. Returns a json object of type 'assessment' as specified in Models section. * * Uses Azure REST API version 2019-10-01. */ export declare function getAssessment(args: GetAssessmentArgs, opts?: pulumi.InvokeOptions): Promise<GetAssessmentResult>; export interface GetAssessmentArgs { /** * Unique name of an assessment within a project. */ assessmentName: string; /** * Unique name of a group within a project. */ groupName: string; /** * Name of the Azure Migrate project. */ projectName: string; /** * Name of the Azure Resource Group that project is part of. */ resourceGroupName: string; } /** * An assessment created for a group in the Migration project. */ export interface GetAssessmentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * For optimistic concurrency control. */ readonly eTag?: string; /** * Path reference to this assessment. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessment/{assessmentName} */ readonly id: string; /** * Unique name of an assessment. */ readonly name: string; /** * Properties of the assessment. */ readonly properties: outputs.migrate.AssessmentPropertiesResponse; /** * Type of the object = [Microsoft.Migrate/assessmentProjects/groups/assessments]. */ readonly type: string; } /** * Get an existing assessment with the specified name. Returns a json object of type 'assessment' as specified in Models section. * * Uses Azure REST API version 2019-10-01. */ export declare function getAssessmentOutput(args: GetAssessmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssessmentResult>; export interface GetAssessmentOutputArgs { /** * Unique name of an assessment within a project. */ assessmentName: pulumi.Input<string>; /** * Unique name of a group within a project. */ groupName: pulumi.Input<string>; /** * 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>; }