# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::KeyVault module Models # # 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. # class AccessPolicyEntry include MsRestAzure # @return The Azure Active Directory tenant ID that should be used for # authenticating requests to the key vault. attr_accessor :tenant_id # @return The object ID of a user or service principal in the Azure # Active Directory tenant for the vault. attr_accessor :object_id # @return Application ID of the client making request on behalf of a # principal attr_accessor :application_id # @return [Permissions] Permissions the identity has for keys and secrets attr_accessor :permissions # # Mapper for AccessPolicyEntry class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'AccessPolicyEntry', type: { name: 'Composite', class_name: 'AccessPolicyEntry', model_properties: { tenant_id: { required: false, serialized_name: 'tenantId', type: { name: 'String' } }, object_id: { required: false, serialized_name: 'objectId', type: { name: 'String' } }, application_id: { required: false, serialized_name: 'applicationId', type: { name: 'String' } }, permissions: { required: false, serialized_name: 'permissions', type: { name: 'Composite', class_name: 'Permissions' } } } } } end end end end