Partager via


ComputeIdentity Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ComputeIdentityTypeConverter))]
public class ComputeIdentity : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ComputeIdentityTypeConverter))>]
type ComputeIdentity = class
    interface IComputeIdentity
    interface IJsonSerializable
Public Class ComputeIdentity
Implements IComputeIdentity
Inheritance
ComputeIdentity
Attributes
Implements

Constructors

ComputeIdentity()

Creates an new ComputeIdentity instance.

Properties

CommandId

The command id.

GalleryApplicationName

The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.

GalleryApplicationVersionName
GalleryImageName

The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.

GalleryImageVersionName
GalleryName

The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.

Id

Resource identity path

InstanceId

The instance ID of the virtual machine.

Location

The location upon which run commands is queried.

OperationId

The ID of an ongoing async operation.

ResourceGroupName

The name of the resource group.

RunCommandName

The name of the virtual machine run command.

SubscriptionId

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

VMName

The name of the virtual machine where the run command should be created or updated.

VMScaleSetName

The name of the VM scale set.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ComputeIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ComputeIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ComputeIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to