class Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionPersistedGetResponseSpec

The persisted script action for cluster.

Attributes

application_name[RW]

@return [String] The application name for the script action.

name[RW]

@return [String] The name of script action.

parameters[RW]

@return [String] The parameters for the script provided.

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 ScriptActionPersistedGetResponseSpec class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ScriptActionPersistedGetResponseSpec',
    type: {
      name: 'Composite',
      class_name: 'ScriptActionPersistedGetResponseSpec',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        uri: {
          client_side_validation: true,
          required: false,
          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: false,
          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,
          serialized_name: 'applicationName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end