Condividi tramite


CacheUpgradeSettings Class

Definition

Cache Upgrade Settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheUpgradeSettingsTypeConverter))]
public class CacheUpgradeSettings : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheUpgradeSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheUpgradeSettingsTypeConverter))>]
type CacheUpgradeSettings = class
    interface ICacheUpgradeSettings
    interface IJsonSerializable
Public Class CacheUpgradeSettings
Implements ICacheUpgradeSettings
Inheritance
CacheUpgradeSettings
Attributes
Implements

Constructors

CacheUpgradeSettings()

Creates an new CacheUpgradeSettings instance.

Properties

ScheduledTime

When upgradeScheduleEnabled is true, this field holds the user-chosen upgrade time. At the user-chosen time, the firmware update will automatically be installed on the cache.

UpgradeScheduleEnabled

True if the user chooses to select an installation time between now and firmwareUpdateDeadline. Else the firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheUpgradeSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheUpgradeSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheUpgradeSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheUpgradeSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to