class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentityFragment
Identity attributes of a lab user.
Attributes
app_id[RW]
@return [String] Set to the app Id of the client JWT making the request.
object_id[RW]
@return [String] Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
principal_id[RW]
@return [String] Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
principal_name[RW]
@return [String] Set to the principal name / UPN of the client JWT making the request.
tenant_id[RW]
@return [String] Set to the tenant ID of the client JWT making the request.
Public Class Methods
mapper()
click to toggle source
Mapper for UserIdentityFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserIdentityFragment', type: { name: 'Composite', class_name: 'UserIdentityFragment', model_properties: { principal_name: { client_side_validation: true, required: false, serialized_name: 'principalName', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: false, serialized_name: 'principalId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, serialized_name: 'tenantId', type: { name: 'String' } }, object_id: { client_side_validation: true, required: false, serialized_name: 'objectId', type: { name: 'String' } }, app_id: { client_side_validation: true, required: false, serialized_name: 'appId', type: { name: 'String' } } } } } end