class Azure::Kusto::Mgmt::V2020_09_18::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 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 all identities. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'

user_assigned_identities[RW]

@return [Hash{String => IdentityUserAssignedIdentitiesValue}] The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-18/generated/azure_mgmt_kusto/models/identity.rb, line 39
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: 'IdentityUserAssignedIdentitiesValueElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IdentityUserAssignedIdentitiesValue'
                }
            }
          }
        }
      }
    }
  }
end