Share via


MachineUpdate Class

Definition

Describes a hybrid machine Update.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineUpdateTypeConverter))]
public class MachineUpdate : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdate, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineUpdateTypeConverter))>]
type MachineUpdate = class
    interface IMachineUpdate
    interface IJsonSerializable
    interface IResourceUpdate
    interface IValidates
Public Class MachineUpdate
Implements IMachineUpdate, IValidates
Inheritance
MachineUpdate
Attributes
Implements

Constructors

MachineUpdate()

Creates an new MachineUpdate instance.

Properties

AgentUpgradeCorrelationId

The correlation ID passed in from RSM per upgrade.

AgentUpgradeDesiredVersion

Specifies the version info w.r.t AgentUpgrade for the machine.

AgentUpgradeEnableAutomaticUpgrade

Specifies if RSM should try to upgrade this machine

AgentUpgradeLastAttemptDesiredVersion

Specifies the version of the last attempt

AgentUpgradeLastAttemptMessage

Failure message of last upgrade attempt if any.

AgentUpgradeLastAttemptStatus

Specifies the status of Agent Upgrade.

AgentUpgradeLastAttemptTimestamp

Timestamp of last upgrade attempt

CloudMetadataProvider

Specifies the cloud provider (Azure/AWS/GCP...).

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

Kind

Indicates which kind of VM fabric the instance is an instance of, such as HCI or SCVMM etc.

LinuxConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

LinuxConfigurationPatchSettingsPatchMode

Specifies the patch mode.

LocationDataCity

The city or locality where the resource is located.

LocationDataCountryOrRegion

The country or region where the resource is located

LocationDataDistrict

The district, state, or province where the resource is located.

LocationDataName

A canonical name for the geographic or physical location.

OSProfileComputerName

Specifies the host OS name of the hybrid machine.

ParentClusterResourceId

The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

PrivateLinkScopeResourceId

The resource id of the private link scope this machine is assigned to, if any.

Tag

Resource tags

WindowsConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

WindowsConfigurationPatchSettingsPatchMode

Specifies the patch mode.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineUpdate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdate.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to