Delen via


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

Constructors

VirtualMachinePatchParameters()

Creates an new VirtualMachinePatchParameters instance.

Properties

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

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.Api20230701.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