class Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity

Describes an identity resource.

Attributes

client_id[RW]

@return The id of the app associated with the identity. This is a random generated UUID by MSI.

client_secret_url[RW]

@return [String] The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.

id[RW]

@return [String] The id of the created identity.

location[RW]

@return [String] The Azure region where the identity lives.

name[RW]

@return [String] The name of the created identity.

principal_id[RW]

@return The id of the service principal object associated with the created identity.

tags[RW]

@return [Hash{String => String}] Resource tags

tenant_id[RW]

@return The id of the tenant which the identity belongs to.

type[RW]

@return [UserAssignedIdentities] The type of resource i.e. Microsoft.ManagedIdentity/userAssignedIdentities. Possible values include: 'Microsoft.ManagedIdentity/userAssignedIdentities'

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-08-31-preview/generated/azure_mgmt_msi/models/identity.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Identity',
    type: {
      name: 'Composite',
      class_name: 'Identity',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        principal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.principalId',
          type: {
            name: 'String'
          }
        },
        client_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.clientId',
          type: {
            name: 'String'
          }
        },
        client_secret_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.clientSecretUrl',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end