Share via


VirtualMachinePatchProperties Class

Definition

VirtualMachinePatchProperties represents the properties of the virtual machine that can be patched.

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

Constructors

VirtualMachinePatchProperties()

Creates an new VirtualMachinePatchProperties instance.

Properties

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachinePatchProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachinePatchProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to