Class: Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyEntry

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb

Overview

An identity 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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_idObject

principal

Returns:

  • Application ID of the client making request on behalf of a



27
28
29
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 27

def application_id
  @application_id
end

#object_idString

group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.

Returns:

  • (String)

    The object ID of a user, service principal or security



23
24
25
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 23

def object_id
  @object_id
end

#permissionsPermissions

and certificates.

Returns:

  • (Permissions)

    Permissions the identity has for keys, secrets



31
32
33
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 31

def permissions
  @permissions
end

#tenant_idObject

authenticating requests to the key vault.

Returns:

  • The Azure Active Directory tenant ID that should be used for



18
19
20
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 18

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

Mapper for AccessPolicyEntry class as Ruby Hash. This will be used for serialization/deserialization.



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AccessPolicyEntry',
    type: {
      name: 'Composite',
      class_name: 'AccessPolicyEntry',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        object_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        application_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'applicationId',
          type: {
            name: 'String'
          }
        },
        permissions: {
          client_side_validation: true,
          required: true,
          serialized_name: 'permissions',
          type: {
            name: 'Composite',
            class_name: 'Permissions'
          }
        }
      }
    }
  }
end