Sha256: b9952a521db12233162a662f058b814b273483f90be507a1dcda7614a3d780cb
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Compute module Models # # Identity for the virtual machine. # class VirtualMachineIdentity include MsRestAzure include MsRest::JSONable # @return [String] The principal id of virtual machine identity. attr_accessor :principal_id # @return [String] The tenant id associated with the virtual machine. attr_accessor :tenant_id # @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' attr_accessor :type # # Mapper for VirtualMachineIdentity class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VirtualMachineIdentity', type: { name: 'Composite', class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { required: false, read_only: true, serialized_name: 'principalId', type: { name: 'String' } }, tenant_id: { required: false, read_only: true, serialized_name: 'tenantId', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'Enum', module: 'ResourceIdentityType' } } } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_compute-0.13.0 | lib/generated/azure_mgmt_compute/models/virtual_machine_identity.rb |