Udostępnij za pośrednictwem


StorageCacheUpgradeSettings Class

Definition

Cache Upgrade Settings.

public class StorageCacheUpgradeSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings>
type StorageCacheUpgradeSettings = class
    interface IJsonModel<StorageCacheUpgradeSettings>
    interface IPersistableModel<StorageCacheUpgradeSettings>
Public Class StorageCacheUpgradeSettings
Implements IJsonModel(Of StorageCacheUpgradeSettings), IPersistableModel(Of StorageCacheUpgradeSettings)
Inheritance
StorageCacheUpgradeSettings
Implements

Constructors

StorageCacheUpgradeSettings()

Initializes a new instance of StorageCacheUpgradeSettings.

Properties

EnableUpgradeSchedule

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.

ScheduledOn

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.

Explicit Interface Implementations

IJsonModel<StorageCacheUpgradeSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageCacheUpgradeSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageCacheUpgradeSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageCacheUpgradeSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageCacheUpgradeSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to