class Azure::ServiceFabric::V7_0_0_42::Models::IdentityItemDescription

Describes a single user-assigned identity associated with the application.

Attributes

client_id[RW]

@return [String] the client identifier of the Service Principal which this identity represents.

principal_id[RW]

@return [String] the object identifier of the Service Principal which this identity represents.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/identity_item_description.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IdentityItemDescription',
    type: {
      name: 'Composite',
      class_name: 'IdentityItemDescription',
      model_properties: {
        principal_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        },
        client_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end