Sha256: 16e1db5e23ac8d9db5763a8b06751189aabe0d91d1fef0096eb7af056389bdcd

Contents?: true

Size: 1.57 KB

Versions: 10

Compression:

Stored size: 1.57 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::KeyVault::V7_0_preview
  module Models
    #
    # Action and its trigger that will be performed by Key Vault over the
    # lifetime of a certificate.
    #
    class LifetimeAction

      include MsRestAzure

      # @return [Trigger] The condition that will execute the action.
      attr_accessor :trigger

      # @return [Action] The action that will be executed.
      attr_accessor :action


      #
      # Mapper for LifetimeAction class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LifetimeAction',
          type: {
            name: 'Composite',
            class_name: 'LifetimeAction',
            model_properties: {
              trigger: {
                client_side_validation: true,
                required: false,
                serialized_name: 'trigger',
                type: {
                  name: 'Composite',
                  class_name: 'Trigger'
                }
              },
              action: {
                client_side_validation: true,
                required: false,
                serialized_name: 'action',
                type: {
                  name: 'Composite',
                  class_name: 'Action'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.19.0 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.18.1 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.18.0 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.17.4 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.17.3 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.17.2 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.17.1 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.17.0 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.16.0 lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb