class Azure::ServiceFabric::V7_0_0_42::Models::IdentityDescription

Information describing the identities associated with this application.

Attributes

principal_id[RW]

@return [String] the object identifier of the Service Principal of the identity associated with this resource.

tenant_id[RW]

@return [String] the identifier of the tenant containing the application's identity.

token_service_endpoint[RW]

@return [String] the endpoint for the token service managing this identity

type[RW]

@return [String] the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'

user_assigned_identities[RW]

@return [Hash{String => IdentityItemDescription}] represents user assigned identities map.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/identity_description.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IdentityDescription',
    type: {
      name: 'Composite',
      class_name: 'IdentityDescription',
      model_properties: {
        token_service_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tokenServiceEndpoint',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        principal_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'principalId',
          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: 'IdentityItemDescriptionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IdentityItemDescription'
                }
            }
          }
        }
      }
    }
  }
end