Share via


Update Class

Definition

Update details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.UpdateTypeConverter))]
public class Update : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IUpdate, Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.UpdateTypeConverter))>]
type Update = class
    interface IUpdate
    interface IJsonSerializable
    interface IResourceAutoGenerated
    interface IValidates
Public Class Update
Implements IUpdate, IValidates
Inheritance
Update
Attributes
Implements

Constructors

Update()

Creates an new Update instance.

Properties

AdditionalProperty

Extensible KV pairs serialized as a string. This is currently used to report the stamp OEM family and hardware model information when an update is flagged as Invalid for the stamp based on OEM type.

AvailabilityType

Indicates the way the update content can be downloaded.

ComponentVersion

An array of component versions for a Solution Bundle update, and an empty array otherwise.

Description

Description of the update.

DisplayName

Display name of the Update

HealthCheckDate

Last time the package-specific checks were run.

HealthCheckResult

An array of PrecheckResult objects.

HealthState

Overall health state for update-specific health checks.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

InstalledDate

Date that the update was installed.

Location

The geo-location where the resource lives

MinSbeVersionRequired

Minimum Sbe Version of the update.

Name

The name of the resource

PackagePath

Path where the update package is available.

PackageSizeInMb

Size of the package. This value is a combination of the size from update metadata and size of the payload that results from the live scan operation for OS update content.

PackageType

Customer-visible type of the update.

Prerequisite

If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty.

ProvisioningState

Provisioning state of the Updates proxy resource.

Publisher

Publisher of the update package.

RebootRequired
ReleaseLink

Link to release notes for the update.

ResourceGroupName

Gets the resource group name

State

State of the update as it relates to this stamp.

StatePropertyNotifyMessage

Brief message with instructions for updates of AvailabilityType Notify.

StatePropertyProgressPercentage

Progress percentage of ongoing operation. Currently this property is only valid when the update is in the Downloading state, where it maps to how much of the update content has been downloaded.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version

Version of the update.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Update.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Update.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IUpdate.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Update into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to