Class: Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb

Overview

Definition of the Dsc Compilation job.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#configurationDscConfigurationAssociationProperty

configuration.

Returns:



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

def configuration
  @configuration
end

#creation_timeDateTime

Returns Gets the creation time of the job.

Returns:

  • (DateTime)

    Gets the creation time of the job.



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

def creation_time
  @creation_time
end

#end_timeDateTime

Returns Gets the end time of the job.

Returns:

  • (DateTime)

    Gets the end time of the job.



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

def end_time
  @end_time
end

#exceptionString

Returns Gets the exception of the job.

Returns:

  • (String)

    Gets the exception of the job.



53
54
55
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 53

def exception
  @exception
end

#job_idObject

Returns Gets the id of the job.

Returns:

  • Gets the id of the job.



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

def job_id
  @job_id
end

#last_modified_timeDateTime

Returns Gets the last modified time of the job.

Returns:

  • (DateTime)

    Gets the last modified time of the job.



56
57
58
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 56

def last_modified_time
  @last_modified_time
end

#last_status_modified_timeDateTime

Returns Gets the last status modified time of the job.

Returns:

  • (DateTime)

    Gets the last status modified time of the job.



59
60
61
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 59

def last_status_modified_time
  @last_status_modified_time
end

#parametersHash{String => String}

job.

Returns:

  • (Hash{String => String})

    Gets or sets the parameters of the



63
64
65
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 63

def parameters
  @parameters
end

#provisioning_stateJobProvisioningState

job. Possible values include: ‘Failed’, ‘Succeeded’, ‘Suspended’, ‘Processing’

Returns:



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

def provisioning_state
  @provisioning_state
end

#run_onString

where the job is to be executed.

Returns:

  • (String)

    Gets or sets the runOn which specifies the group name



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

def run_on
  @run_on
end

#start_timeDateTime

Returns Gets the start time of the job.

Returns:

  • (DateTime)

    Gets the start time of the job.



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

def start_time
  @start_time
end

#started_byString

Returns Gets the compilation job started by.

Returns:

  • (String)

    Gets the compilation job started by.



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

def started_by
  @started_by
end

#statusJobStatus

include: ‘New’, ‘Activating’, ‘Running’, ‘Completed’, ‘Failed’, ‘Stopped’, ‘Blocked’, ‘Suspended’, ‘Disconnected’, ‘Suspending’, ‘Stopping’, ‘Resuming’, ‘Removing’

Returns:

  • (JobStatus)

    Gets or sets the status of the job. Possible values



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

def status
  @status
end

#status_detailsString

Returns Gets or sets the status details of the job.

Returns:

  • (String)

    Gets or sets the status details of the job.



44
45
46
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 44

def status_details
  @status_details
end

Class Method Details

.mapperObject

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



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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb', line 70

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscCompilationJob',
    type: {
      name: 'Composite',
      class_name: 'DscCompilationJob',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.configuration',
          type: {
            name: 'Composite',
            class_name: 'DscConfigurationAssociationProperty'
          }
        },
        started_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startedBy',
          type: {
            name: 'String'
          }
        },
        job_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.jobId',
          type: {
            name: 'String'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTime',
          type: {
            name: 'DateTime'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        run_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.runOn',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.statusDetails',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        exception: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.exception',
          type: {
            name: 'String'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        last_status_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastStatusModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end