ArmStorageCacheModelFactory.StorageCacheUpgradeSettings Method

Definition

public static Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings StorageCacheUpgradeSettings(bool? enableUpgradeSchedule = default, DateTimeOffset? scheduledOn = default);
static member StorageCacheUpgradeSettings : Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings
Public Shared Function StorageCacheUpgradeSettings (Optional enableUpgradeSchedule As Nullable(Of Boolean) = Nothing, Optional scheduledOn As Nullable(Of DateTimeOffset) = Nothing) As StorageCacheUpgradeSettings

Parameters

enableUpgradeSchedule
Nullable<Boolean>

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
Nullable<DateTimeOffset>

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.

Returns

A new StorageCacheUpgradeSettings instance for mocking.

Applies to