Class: Azure::Labservices::Mgmt::V2018_10_15::Models::VirtualMachineDetails

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#last_known_power_stateString

Returns Last known compute power state captured in DTL.

Returns:

  • (String)

    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_addressString

Returns PrivateIp address of the compute VM.

Returns:

  • (String)

    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_stateString

Returns Provisioning state of the Dtl VM.

Returns:

  • (String)

    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_authorityString

Returns Connection information for Windows.

Returns:

  • (String)

    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
  @rdp_authority
end

#ssh_authorityString

Returns Connection information for Linux.

Returns:

  • (String)

    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
  @ssh_authority
end

#user_nameString

Returns Compute VM login user name.

Returns:

  • (String)

    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

.mapperObject

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