ArmStorageCacheModelFactory.StorageCacheUpgradeSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.