Sha256: e6f46792b1ce657f24133483b90b33940005e724840865401126ecbd6b2658be

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 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_1
  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

4 entries across 4 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.1/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.19.0 lib/7.1/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.18.1 lib/7.1/generated/azure_key_vault/models/lifetime_action.rb
azure_key_vault-0.18.0 lib/7.1/generated/azure_key_vault/models/lifetime_action.rb