class Azure::Labservices::Mgmt::V2018_10_15::Models::VmStateDetails

Details about the state of the reference virtual machine.

Attributes

last_known_power_state[RW]

@return [String] Last known compute power state captured in DTL

power_state[RW]

@return [String] The power state of the reference virtual machine.

rdp_authority[RW]

@return [String] The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

ssh_authority[RW]

@return [String] The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

Private Class Methods

mapper() click to toggle source

Mapper for VmStateDetails class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-10-15/generated/azure_mgmt_labservices/models/vm_state_details.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VmStateDetails',
    type: {
      name: 'Composite',
      class_name: 'VmStateDetails',
      model_properties: {
        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'
          }
        },
        power_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'powerState',
          type: {
            name: 'String'
          }
        },
        last_known_power_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastKnownPowerState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end