class Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineIdentity
Identity for the virtual machine.
Attributes
principal_id[RW]
@return [String] The principal id of virtual machine identity.
tenant_id[RW]
@return [String] The tenant id associated with the virtual machine.
type[RW]
@return [ResourceIdentityType] The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned'
Public Class Methods
mapper()
click to toggle source
Mapper for VirtualMachineIdentity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { name: 'Composite', class_name: 'VirtualMachineIdentity', 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: 'Enum', module: 'ResourceIdentityType' } } } } } end