class Azure::HybridCompute::Mgmt::V2020_08_02::Models::Identity

Managed Identity.

Attributes

principal_id[RW]

@return [String] The identity's principal id.

tenant_id[RW]

@return [String] The identity's tenant id.

type[RW]

@return [String] The identity type.

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-08-02/generated/azure_mgmt_hybrid_compute/models/identity.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Identity',
    type: {
      name: 'Composite',
      class_name: 'Identity',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        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