Sha256: fda6aae2f40f1151f28e69106b6126948fe7d97ab55e5f3bbb4b04427a3b9b4b

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 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::Mgmt::V2018_02_14_preview
  module Models
    #
    # Properties of the vault access policy
    #
    class VaultAccessPolicyProperties

      include MsRestAzure

      # @return [Array<AccessPolicyEntry>] An array of 0 to 16 identities that
      # have access to the key vault. All identities in the array must use the
      # same tenant ID as the key vault's tenant ID.
      attr_accessor :access_policies


      #
      # Mapper for VaultAccessPolicyProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VaultAccessPolicyProperties',
          type: {
            name: 'Composite',
            class_name: 'VaultAccessPolicyProperties',
            model_properties: {
              access_policies: {
                client_side_validation: true,
                required: true,
                serialized_name: 'accessPolicies',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'AccessPolicyEntryElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'AccessPolicyEntry'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.17.7 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb
azure_mgmt_key_vault-0.17.6 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb
azure_mgmt_key_vault-0.17.5 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb