Class: Azure::Labservices::Mgmt::V2018_10_15::Models::VirtualMachineDetails
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::VirtualMachineDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb
Overview
Details of the backing virtual machine.
Instance Attribute Summary collapse
-
#last_known_power_state ⇒ String
Last known compute power state captured in DTL.
-
#private_ip_address ⇒ String
PrivateIp address of the compute VM.
-
#provisioning_state ⇒ String
Provisioning state of the Dtl VM.
-
#rdp_authority ⇒ String
Connection information for Windows.
-
#ssh_authority ⇒ String
Connection information for Linux.
-
#user_name ⇒ String
Compute VM login user name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineDetails class as Ruby Hash.
Instance Attribute Details
#last_known_power_state ⇒ String
Returns Last known compute power state captured in DTL.
31 32 33 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 31 def last_known_power_state @last_known_power_state end |
#private_ip_address ⇒ String
Returns PrivateIp address of the compute VM.
25 26 27 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 25 def private_ip_address @private_ip_address end |
#provisioning_state ⇒ String
Returns Provisioning state of the Dtl VM.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 16 def provisioning_state @provisioning_state end |
#rdp_authority ⇒ String
Returns Connection information for Windows.
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 19 def @rdp_authority end |
#ssh_authority ⇒ String
Returns Connection information for Linux.
22 23 24 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 22 def @ssh_authority end |
#user_name ⇒ String
Returns Compute VM login user name.
28 29 30 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 28 def user_name @user_name end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineDetails class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/virtual_machine_details.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineDetails', type: { name: 'Composite', class_name: 'VirtualMachineDetails', model_properties: { provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, rdp_authority: { client_side_validation: true, required: false, read_only: true, serialized_name: 'rdpAuthority', type: { name: 'String' } }, ssh_authority: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sshAuthority', type: { name: 'String' } }, private_ip_address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'privateIpAddress', type: { name: 'String' } }, user_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'userName', type: { name: 'String' } }, last_known_power_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastKnownPowerState', type: { name: 'String' } } } } } end |