class Azure::DataShare::Mgmt::V2019_11_01::Models::Identity

Identity of resource

Attributes

principal_id[RW]

@return [String] service principal Id

tenant_id[RW]

@return [String] Tenant Id

type[RW]

@return [Type] Identity Type. Possible values include: 'SystemAssigned'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-11-01/generated/azure_mgmt_datashare/models/identity.rb, line 29
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: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end