Class: Azure::Compute::Mgmt::V2019_12_01::Models::TerminateNotificationProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enableBoolean

enabled or disabled.

Returns:

  • (Boolean)

    Specifies whether the Terminate Scheduled event is



24
25
26
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb', line 24

def enable
  @enable
end

#not_before_timeoutString

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:

  • (String)

    Configurable length of time a Virtual Machine being



20
21
22
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb', line 20

def not_before_timeout
  @not_before_timeout
end

Class Method Details

.mapperObject

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-12-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