class Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineIdentity
Identity for the virtual machine.
Attributes
@return [Array<String>] The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'.
@return [String] The principal id of virtual machine identity. This property will only be provided for a system assigned identity.
@return [String] The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity.
@return [ResourceIdentityType] The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
Public Class Methods
Mapper for VirtualMachineIdentity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb, line 42 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' } }, identity_ids: { client_side_validation: true, required: false, serialized_name: 'identityIds', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end