class Azure::Storage::Mgmt::V2021_01_01::Models::Identity
Identity
for the resource.
Attributes
principal_id[RW]
@return [String] The principal ID of resource identity.
tenant_id[RW]
@return [String] The tenant ID of resource.
type[RW]
@return [IdentityType] The identity type. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'
user_assigned_identities[RW]
@return [Hash{String => UserAssignedIdentity}] Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.
Private Class Methods
mapper()
click to toggle source
Mapper for Identity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2021-01-01/generated/azure_mgmt_storage/models/identity.rb, line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Identity', type: { name: 'Composite', class_name: 'Identity', model_properties: { principal_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, user_assigned_identities: { client_side_validation: true, required: false, serialized_name: 'userAssignedIdentities', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'UserAssignedIdentityElementType', type: { name: 'Composite', class_name: 'UserAssignedIdentity' } } } } } } } end