published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
Get a existing Azure Advisor assessment.
Uses Azure REST API version 2023-09-01-preview.
Other available API versions: 2024-11-18-preview, 2025-05-01-preview, 2026-02-01-preview, 2026-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native advisor [ApiVersion]. See the version guide for details.
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>def get_assessment(assessment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAssessmentResult
def get_assessment_output(assessment_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentResult]func LookupAssessment(ctx *Context, args *LookupAssessmentArgs, opts ...InvokeOption) (*LookupAssessmentResult, error)
func LookupAssessmentOutput(ctx *Context, args *LookupAssessmentOutputArgs, opts ...InvokeOption) LookupAssessmentResultOutput> 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)
}public static CompletableFuture<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
public static Output<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:advisor:getAssessment
arguments:
# arguments dictionarydata "azure-native_advisor_getassessment" "name" {
# arguments
}The following arguments are supported:
- Assessment
Name string - Advisor assessment name.
- Assessment
Name string - Advisor assessment name.
- assessment_
name string - Advisor assessment name.
- assessment
Name String - Advisor assessment name.
- assessment
Name string - Advisor assessment name.
- assessment_
name str - Advisor assessment name.
- assessment
Name String - Advisor assessment name.
getAssessment Result
The following output properties are available:
- Assessment
Id string - Assessment Id.
- Azure
Api stringVersion - 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.
- System
Data Pulumi.Azure Native. Advisor. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource Type
- Type
Version string - Assessment Type Version.
- Workload
Name string - Workload Name.
- Locale string
- Assessment Type Locale.
- Type
Id string - Assessment Type Id.
- Workload
Id string - Workload Id.
- Assessment
Id string - Assessment Id.
- Azure
Api stringVersion - 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.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource Type
- Type
Version string - Assessment Type Version.
- Workload
Name string - Workload Name.
- Locale string
- Assessment Type Locale.
- Type
Id string - Assessment Type Id.
- Workload
Id string - Workload Id.
- assessment_
id string - Assessment Id.
- azure_
api_ stringversion - 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.
- system_
data object - Metadata pertaining to creation and last modification of the resource.
- type string
- Resource Type
- type_
version string - Assessment Type Version.
- workload_
name string - Workload Name.
- locale string
- Assessment Type Locale.
- type_
id string - Assessment Type Id.
- workload_
id string - Workload Id.
- assessment
Id String - Assessment Id.
- azure
Api StringVersion - 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.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource Type
- type
Version String - Assessment Type Version.
- workload
Name String - Workload Name.
- locale String
- Assessment Type Locale.
- type
Id String - Assessment Type Id.
- workload
Id String - Workload Id.
- assessment
Id string - Assessment Id.
- azure
Api stringVersion - 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.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Resource Type
- type
Version string - Assessment Type Version.
- workload
Name string - Workload Name.
- locale string
- Assessment Type Locale.
- type
Id string - Assessment Type Id.
- workload
Id string - Workload Id.
- assessment_
id str - Assessment Id.
- azure_
api_ strversion - 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 SystemData Response - 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.
- assessment
Id String - Assessment Id.
- azure
Api StringVersion - 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.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource Type
- type
Version String - Assessment Type Version.
- workload
Name String - Workload Name.
- locale String
- Assessment Type Locale.
- type
Id String - Assessment Type Id.
- workload
Id String - Workload Id.
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at string - The timestamp of resource creation (UTC).
- created_
by string - The identity that created the resource.
- created_
by_ stringtype - The type of identity that created the resource.
- last_
modified_ stringat - The timestamp of resource last modification (UTC)
- last_
modified_ stringby - The identity that last modified the resource.
- last_
modified_ stringby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Thursday, Jul 9, 2026 by Pulumi