class Azure::Compute::Mgmt::V2018_10_01::Models::RunCommandDocumentBase

Describes the properties of a Run Command metadata.

Attributes

description[RW]

@return [String] The VM run command description.

id[RW]

@return [String] The VM run command id.

label[RW]

@return [String] The VM run command label.

os_type[RW]

@return [OperatingSystemTypes] The Operating System type. Possible values include: 'Windows', 'Linux'

schema[RW]

@return [String] The VM run command schema.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_document_base.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunCommandDocumentBase',
    type: {
      name: 'Composite',
      class_name: 'RunCommandDocumentBase',
      model_properties: {
        schema: {
          client_side_validation: true,
          required: true,
          serialized_name: '$schema',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'osType',
          type: {
            name: 'Enum',
            module: 'OperatingSystemTypes'
          }
        },
        label: {
          client_side_validation: true,
          required: true,
          serialized_name: 'label',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: true,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end