ArmComputeModelFactory.TerminateNotificationProfile Method

Definition

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

Parameters

notBeforeTimeout
String

Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M).

enable
Nullable<Boolean>

Specifies whether the Terminate Scheduled event is enabled or disabled.

Returns

A new TerminateNotificationProfile instance for mocking.

Applies to