class Azure::Appconfiguration::Mgmt::V2020_06_01::Models::ResourceIdentity
An identity that can be associated with a resource.
Attributes
@return [String] The principal id of the identity. This property will only be provided for a system-assigned identity.
@return [String] The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity.
@return [IdentityType] The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'
@return [Hash{String => UserIdentity}] The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Private Class Methods
Mapper for ResourceIdentity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/resource_identity.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceIdentity', type: { name: 'Composite', class_name: 'ResourceIdentity', model_properties: { type: { client_side_validation: true, required: false, 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: 'UserIdentityElementType', type: { name: 'Composite', class_name: 'UserIdentity' } } } }, 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' } } } } } end