Class: Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocumentBase

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb

Overview

Describes the properties of a Run Command metadata.

Direct Known Subclasses

RunCommandDocument

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The VM run command description.

Returns:

  • (String)

    The VM run command description.



29
30
31
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 29

def description
  @description
end

#idString

Returns The VM run command id.

Returns:

  • (String)

    The VM run command id.



19
20
21
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 19

def id
  @id
end

#labelString

Returns The VM run command label.

Returns:

  • (String)

    The VM run command label.



26
27
28
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 26

def label
  @label
end

#os_typeOperatingSystemTypes

values include: ‘Windows’, ‘Linux’

Returns:



23
24
25
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 23

def os_type
  @os_type
end

#schemaString

Returns The VM run command schema.

Returns:

  • (String)

    The VM run command schema.



16
17
18
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 16

def schema
  @schema
end

Class Method Details

.mapperObject

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



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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 36

def self.mapper()
  {
    required: false,
    serialized_name: 'RunCommandDocumentBase',
    type: {
      name: 'Composite',
      class_name: 'RunCommandDocumentBase',
      model_properties: {
        schema: {
          required: true,
          serialized_name: '$schema',
          type: {
            name: 'String'
          }
        },
        id: {
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        os_type: {
          required: true,
          serialized_name: 'osType',
          type: {
            name: 'Enum',
            module: 'OperatingSystemTypes'
          }
        },
        label: {
          required: true,
          serialized_name: 'label',
          type: {
            name: 'String'
          }
        },
        description: {
          required: true,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end