Class TerminateNotificationProfile
java.lang.Object
com.microsoft.azure.management.compute.TerminateNotificationProfile
The TerminateNotificationProfile model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenable()
Get specifies whether the Terminate Scheduled event is enabled or disabled.Get 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).withEnable
(Boolean enable) Set specifies whether the Terminate Scheduled event is enabled or disabled.withNotBeforeTimeout
(String notBeforeTimeout) Set 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).
-
Constructor Details
-
TerminateNotificationProfile
public TerminateNotificationProfile()
-
-
Method Details
-
notBeforeTimeout
Get 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).- Returns:
- the notBeforeTimeout value
-
withNotBeforeTimeout
Set 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).- Parameters:
notBeforeTimeout
- the notBeforeTimeout value to set- Returns:
- the TerminateNotificationProfile object itself.
-
enable
Get specifies whether the Terminate Scheduled event is enabled or disabled.- Returns:
- the enable value
-
withEnable
Set specifies whether the Terminate Scheduled event is enabled or disabled.- Parameters:
enable
- the enable value to set- Returns:
- the TerminateNotificationProfile object itself.
-