class Azure::Automation::Mgmt::V2015_10_31::Models::TestJob

Definition of the test job.

Attributes

creation_time[RW]

@return [DateTime] Gets or sets the creation time of the test job.

end_time[RW]

@return [DateTime] Gets or sets the end time of the test job.

exception[RW]

@return [String] Gets or sets the exception of the test job.

last_modified_time[RW]

@return [DateTime] Gets or sets the last modified time of the test job.

last_status_modified_time[RW]

@return [DateTime] Gets or sets the last status modified time of the test job.

log_activity_trace[RW]

@return [Integer] The activity-level tracing options of the runbook.

parameters[RW]

@return [Hash{String => String}] Gets or sets the parameters of the test job.

run_on[RW]

@return [String] Gets or sets the runOn which specifies the group name where the job is to be executed.

start_time[RW]

@return [DateTime] Gets or sets the start time of the test job.

status[RW]

@return [String] Gets or sets the status of the test job.

status_details[RW]

@return [String] Gets or sets the status details of the test job.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb, line 56
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TestJob',
    type: {
      name: 'Composite',
      class_name: 'TestJob',
      model_properties: {
        creation_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'creationTime',
          type: {
            name: 'DateTime'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'statusDetails',
          type: {
            name: 'String'
          }
        },
        run_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'runOn',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        exception: {
          client_side_validation: true,
          required: false,
          serialized_name: 'exception',
          type: {
            name: 'String'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        last_status_modified_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastStatusModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        log_activity_trace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logActivityTrace',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end