1. Packages
  2. Azure Native
  3. API Docs
  4. advisor
  5. getAssessment
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.advisor.getAssessment

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get a existing Azure Advisor assessment.

Uses Azure REST API version 2023-09-01-preview.

Using getAssessment

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAssessment(args: GetAssessmentArgs, opts?: InvokeOptions): Promise<GetAssessmentResult>
function getAssessmentOutput(args: GetAssessmentOutputArgs, opts?: InvokeOptions): Output<GetAssessmentResult>
Copy
def get_assessment(assessment_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAssessmentResult
def get_assessment_output(assessment_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentResult]
Copy
func LookupAssessment(ctx *Context, args *LookupAssessmentArgs, opts ...InvokeOption) (*LookupAssessmentResult, error)
func LookupAssessmentOutput(ctx *Context, args *LookupAssessmentOutputArgs, opts ...InvokeOption) LookupAssessmentResultOutput
Copy

> Note: This function is named LookupAssessment in the Go SDK.

public static class GetAssessment 
{
    public static Task<GetAssessmentResult> InvokeAsync(GetAssessmentArgs args, InvokeOptions? opts = null)
    public static Output<GetAssessmentResult> Invoke(GetAssessmentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
public static Output<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:advisor:getAssessment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AssessmentName
This property is required.
Changes to this property will trigger replacement.
string
Advisor assessment name.
AssessmentName
This property is required.
Changes to this property will trigger replacement.
string
Advisor assessment name.
assessmentName
This property is required.
Changes to this property will trigger replacement.
String
Advisor assessment name.
assessmentName
This property is required.
Changes to this property will trigger replacement.
string
Advisor assessment name.
assessment_name
This property is required.
Changes to this property will trigger replacement.
str
Advisor assessment name.
assessmentName
This property is required.
Changes to this property will trigger replacement.
String
Advisor assessment name.

getAssessment Result

The following output properties are available:

AssessmentId string
Assessment Id.
AzureApiVersion string
The Azure API version of the resource.
Description string
Assessment Type Description.
Id string
Assessment Id
Name string
Assessment Name
Score int
Assessment Score.
State string
Assessment State.
SystemData Pulumi.AzureNative.Advisor.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Resource Type
TypeVersion string
Assessment Type Version.
WorkloadName string
Workload Name.
Locale string
Assessment Type Locale.
TypeId string
Assessment Type Id.
WorkloadId string
Workload Id.
AssessmentId string
Assessment Id.
AzureApiVersion string
The Azure API version of the resource.
Description string
Assessment Type Description.
Id string
Assessment Id
Name string
Assessment Name
Score int
Assessment Score.
State string
Assessment State.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Resource Type
TypeVersion string
Assessment Type Version.
WorkloadName string
Workload Name.
Locale string
Assessment Type Locale.
TypeId string
Assessment Type Id.
WorkloadId string
Workload Id.
assessmentId String
Assessment Id.
azureApiVersion String
The Azure API version of the resource.
description String
Assessment Type Description.
id String
Assessment Id
name String
Assessment Name
score Integer
Assessment Score.
state String
Assessment State.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
Resource Type
typeVersion String
Assessment Type Version.
workloadName String
Workload Name.
locale String
Assessment Type Locale.
typeId String
Assessment Type Id.
workloadId String
Workload Id.
assessmentId string
Assessment Id.
azureApiVersion string
The Azure API version of the resource.
description string
Assessment Type Description.
id string
Assessment Id
name string
Assessment Name
score number
Assessment Score.
state string
Assessment State.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
Resource Type
typeVersion string
Assessment Type Version.
workloadName string
Workload Name.
locale string
Assessment Type Locale.
typeId string
Assessment Type Id.
workloadId string
Workload Id.
assessment_id str
Assessment Id.
azure_api_version str
The Azure API version of the resource.
description str
Assessment Type Description.
id str
Assessment Id
name str
Assessment Name
score int
Assessment Score.
state str
Assessment State.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
Resource Type
type_version str
Assessment Type Version.
workload_name str
Workload Name.
locale str
Assessment Type Locale.
type_id str
Assessment Type Id.
workload_id str
Workload Id.
assessmentId String
Assessment Id.
azureApiVersion String
The Azure API version of the resource.
description String
Assessment Type Description.
id String
Assessment Id
name String
Assessment Name
score Number
Assessment Score.
state String
Assessment State.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
Resource Type
typeVersion String
Assessment Type Version.
workloadName String
Workload Name.
locale String
Assessment Type Locale.
typeId String
Assessment Type Id.
workloadId String
Workload Id.

Supporting Types

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi