Class: Azure::Automation::Mgmt::V2015_10_31::Models::TestJob

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb

Overview

Definition of the test job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#creation_timeDateTime

Returns Gets or sets the creation time of the test job.

Returns:

  • (DateTime)

    Gets or sets the creation time of the test job.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 16

def creation_time
  @creation_time
end

#end_timeDateTime

Returns Gets or sets the end time of the test job.

Returns:

  • (DateTime)

    Gets or sets the end time of the test job.



32
33
34
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 32

def end_time
  @end_time
end

#exceptionString

Returns Gets or sets the exception of the test job.

Returns:

  • (String)

    Gets or sets the exception of the test job.



35
36
37
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 35

def exception
  @exception
end

#last_modified_timeDateTime

Returns Gets or sets the last modified time of the test job.

Returns:

  • (DateTime)

    Gets or sets the last modified time of the test job.



38
39
40
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 38

def last_modified_time
  @last_modified_time
end

#last_status_modified_timeDateTime

test job.

Returns:

  • (DateTime)

    Gets or sets the last status modified time of the



42
43
44
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 42

def last_status_modified_time
  @last_status_modified_time
end

#log_activity_traceInteger

Returns The activity-level tracing options of the runbook.

Returns:

  • (Integer)

    The activity-level tracing options of the runbook.



49
50
51
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 49

def log_activity_trace
  @log_activity_trace
end

#parametersHash{String => String}

test job.

Returns:

  • (Hash{String => String})

    Gets or sets the parameters of the



46
47
48
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 46

def parameters
  @parameters
end

#run_onString

where the job is to be executed.

Returns:

  • (String)

    Gets or sets the runOn which specifies the group name



26
27
28
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 26

def run_on
  @run_on
end

#start_timeDateTime

Returns Gets or sets the start time of the test job.

Returns:

  • (DateTime)

    Gets or sets the start time of the test job.



29
30
31
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 29

def start_time
  @start_time
end

#statusString

Returns Gets or sets the status of the test job.

Returns:

  • (String)

    Gets or sets the status of the test job.



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 19

def status
  @status
end

#status_detailsString

Returns Gets or sets the status details of the test job.

Returns:

  • (String)

    Gets or sets the status details of the test job.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb', line 22

def status_details
  @status_details
end

Class Method Details

.mapperObject

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



56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# 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