Sha256: 6348cad00d3939cdd7ce71769b7b04c94db2395395c4785560172e4056294554

Contents?: true

Size: 1.78 KB

Versions: 3

Compression:

Stored size: 1.78 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_06_01
  module Models
    #
    # Model object.
    #
    #
    class TerminateNotificationProfile

      include MsRestAzure

      # @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)
      attr_accessor :not_before_timeout

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


      #
      # Mapper for TerminateNotificationProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb