class Azure::Compute::Mgmt::V2020_12_01::Models::TerminateNotificationProfile

Model object.

Attributes

enable[RW]

@return [Boolean] Specifies whether the Terminate Scheduled event is enabled or disabled.

not_before_timeout[RW]

@return [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)

Private Class Methods

mapper() click to toggle source

Mapper for TerminateNotificationProfile class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-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