Sha256: 967ce738df6ec1bfa5f6b9c5a5237772d60f4b3acd33a1468d28802a29e734a1

Contents?: true

Size: 1.78 KB

Versions: 5

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::V2019_12_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

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.21.1 lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.20.0 lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.19.3 lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb
azure_mgmt_compute-0.19.2 lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb