ArmComputeModelFactory.OSImageNotificationProfile Method

Definition

public static Azure.ResourceManager.Compute.Models.OSImageNotificationProfile OSImageNotificationProfile(string notBeforeTimeout = default, bool? enable = default);
static member OSImageNotificationProfile : string * Nullable<bool> -> Azure.ResourceManager.Compute.Models.OSImageNotificationProfile
Public Shared Function OSImageNotificationProfile (Optional notBeforeTimeout As String = Nothing, Optional enable As Nullable(Of Boolean) = Nothing) As OSImageNotificationProfile

Parameters

notBeforeTimeout
String

Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M).

enable
Nullable<Boolean>

Specifies whether the OS Image Scheduled event is enabled or disabled.

Returns

A new OSImageNotificationProfile instance for mocking.

Applies to