VirtualMachinePatchParameters Class

Definition

VirtualMachinePatchParameters represents the body of the request to patch the virtual machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.VirtualMachinePatchParametersTypeConverter))]
public class VirtualMachinePatchParameters : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IVirtualMachinePatchParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.VirtualMachinePatchParametersTypeConverter))>]
type VirtualMachinePatchParameters = class
    interface IVirtualMachinePatchParameters
    interface IJsonSerializable
Public Class VirtualMachinePatchParameters
Implements IVirtualMachinePatchParameters
Inheritance
VirtualMachinePatchParameters
Attributes
Implements

Constructors

Name Description
VirtualMachinePatchParameters()

Creates an new VirtualMachinePatchParameters instance.

Properties

Name Description
IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Tag

The Azure resource tags that will replace the existing ones.

VMImageRepositoryCredentialsPassword

The password or token used to access an image in the target repository.

VMImageRepositoryCredentialsRegistryUrl

The URL of the authentication server used to validate the repository credentials.

VMImageRepositoryCredentialsUsername

The username used to access an image in the target repository.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachinePatchParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachinePatchParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IVirtualMachinePatchParameters.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachinePatchParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to