class Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction

Describes a script action on a running cluster.

Attributes

application_name[RW]

@return [String] The application name of the script action, if any.

name[RW]

@return [String] The name of the script action.

parameters[RW]

@return [String] The parameters for the script

roles[RW]

@return [Array<String>] The list of roles where script will be executed.

uri[RW]

@return [String] The URI to the script.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RuntimeScriptAction',
    type: {
      name: 'Composite',
      class_name: 'RuntimeScriptAction',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'String'
          }
        },
        roles: {
          client_side_validation: true,
          required: true,
          serialized_name: 'roles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'applicationName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end