Class: Azure::Compute::Mgmt::V2019_07_01::Models::TerminateNotificationProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::TerminateNotificationProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#enable ⇒ Boolean
enabled or disabled.
-
#not_before_timeout ⇒ String
deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TerminateNotificationProfile class as Ruby Hash.
Instance Attribute Details
#enable ⇒ Boolean
enabled or disabled.
24 25 26 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb', line 24 def enable @enable end |
#not_before_timeout ⇒ String
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)
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb', line 20 def not_before_timeout @not_before_timeout end |
Class Method Details
.mapper ⇒ Object
Mapper for TerminateNotificationProfile class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TerminateNotificationProfile', type: { name: 'Composite', class_name: 'TerminateNotificationProfile', model_properties: { not_before_timeout: { client_side_validation: true, required: false, serialized_name: 'notBeforeTimeout', type: { name: 'String' } }, enable: { client_side_validation: true, required: false, serialized_name: 'enable', type: { name: 'Boolean' } } } } } end |