Class: Azure::ARM::DevTestLabs::Models::ComputeVmInstanceViewStatus

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb

Overview

Status information about a virtual machine.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns Gets the status Code.

Returns:

  • (String)

    Gets the status Code.



17
18
19
# File 'lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb', line 17

def code
  @code
end

#display_statusString

Returns Gets the short localizable label for the status.

Returns:

  • (String)

    Gets the short localizable label for the status.



20
21
22
# File 'lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb', line 20

def display_status
  @display_status
end

#messageString

Returns Gets the message associated with the status.

Returns:

  • (String)

    Gets the message associated with the status.



23
24
25
# File 'lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb', line 23

def message
  @message
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
36
37
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
# File 'lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb', line 30

def self.mapper()
  {
    required: false,
    serialized_name: 'ComputeVmInstanceViewStatus',
    type: {
      name: 'Composite',
      class_name: 'ComputeVmInstanceViewStatus',
      model_properties: {
        code: {
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        display_status: {
          required: false,
          serialized_name: 'displayStatus',
          type: {
            name: 'String'
          }
        },
        message: {
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end