class Azure::RecoveryServices::Mgmt::V2016_06_01::Models::IdentityData
Identity for the resource.
Attributes
principal_id[RW]
@return [String] The principal ID of resource identity.
tenant_id[RW]
@return [String] The tenant ID of resource.
type[RW]
@return [ResourceIdentityType] The identity type. Possible values include: 'SystemAssigned', 'None'
Private Class Methods
mapper()
click to toggle source
Mapper for IdentityData
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IdentityData', type: { name: 'Composite', class_name: 'IdentityData', 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: true, serialized_name: 'type', type: { name: 'String' } } } } } end