Udostępnij za pośrednictwem


AdvisorIdentity Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.AdvisorIdentityTypeConverter))]
public class AdvisorIdentity : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.AdvisorIdentityTypeConverter))>]
type AdvisorIdentity = class
    interface IAdvisorIdentity
    interface IJsonSerializable
Public Class AdvisorIdentity
Implements IAdvisorIdentity
Inheritance
AdvisorIdentity
Attributes
Implements

Constructors

AdvisorIdentity()

Creates an new AdvisorIdentity instance.

Properties

ConfigurationName

Advisor configuration name. Value must be 'default'

Id

Resource identity path

Name

Name of metadata entity.

OperationId

The operation ID, which can be found from the Location field in the generate recommendation response header.

RecommendationId

The recommendation ID.

ResourceGroup

The name of the Azure resource group.

ResourceUri

The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.

SubscriptionId

The Azure subscription ID.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AdvisorIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AdvisorIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.IAdvisorIdentity.

FromJsonString(String)

Creates a new instance of AdvisorIdentity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AdvisorIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to