class Azure::Compute::Mgmt::V2018_04_01::Models::RunCommandInput

Capture Virtual Machine parameters.

Attributes

command_id[RW]

@return [String] The run command id.

parameters[RW]

@return [Array<RunCommandInputParameter>] The run command parameters.

script[RW]

@return [Array<String>] Optional. The script to be executed. When this value is given, the given script will override the default script of the command.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunCommandInput',
    type: {
      name: 'Composite',
      class_name: 'RunCommandInput',
      model_properties: {
        command_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'commandId',
          type: {
            name: 'String'
          }
        },
        script: {
          client_side_validation: true,
          required: false,
          serialized_name: 'script',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RunCommandInputParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RunCommandInputParameter'
                }
            }
          }
        }
      }
    }
  }
end