Class: Azure::ARM::DevTestLabs::Models::LinuxOsInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb

Overview

Information about a Linux OS.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#linux_os_stateLinuxOsState

include: ‘NonDeprovisioned’, ‘DeprovisionRequested’, ‘DeprovisionApplied’

Returns:

  • (LinuxOsState)

    The state of the Linux OS. Possible values



18
19
20
# File 'lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb', line 18

def linux_os_state
  @linux_os_state
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb', line 25

def self.mapper()
  {
    required: false,
    serialized_name: 'LinuxOsInfo',
    type: {
      name: 'Composite',
      class_name: 'LinuxOsInfo',
      model_properties: {
        linux_os_state: {
          required: false,
          serialized_name: 'linuxOsState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end