azure_mgmt_scheduler 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-03-01/generated/azure_mgmt_scheduler.rb +74 -0
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/job_collections.rb +11 -11
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/jobs.rb +11 -11
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/basic_authentication.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/client_cert_authentication.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/day_of_week.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/http_authentication.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/http_authentication_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/http_request.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_action.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_action_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_collection_definition.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_collection_list_result.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_collection_properties.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_collection_quota.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_collection_state.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_definition.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_error_action.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_execution_status.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_history_action_name.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_history_definition.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_history_definition_properties.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_history_filter.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_history_list_result.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_list_result.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_max_recurrence.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_properties.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_recurrence.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_schedule_day.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_state.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_state_filter.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/job_status.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/oauth_authentication.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/recurrence_frequency.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/retry_policy.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/retry_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_authentication.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_authentication_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_message.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_queue_message.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_topic_message.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/service_bus_transport_type.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/sku.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/sku_definition.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/models/storage_queue_message.rb +1 -1
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/module_definition.rb +3 -2
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/scheduler_management_client.rb +3 -3
- data/lib/{generated → 2016-03-01/generated}/azure_mgmt_scheduler/version.rb +2 -2
- data/lib/azure_mgmt_scheduler.rb +2 -1
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/scheduler_profile_module.rb +224 -0
- data/lib/profiles/latest/scheduler_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/scheduler_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +60 -53
- data/lib/generated/azure_mgmt_scheduler.rb +0 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bed8085f982316cba1c6172dc4a249d0512f894b
|
4
|
+
data.tar.gz: a521504b8fe99cf5af6f45229bd9b0994c00177e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651d1ec65220bb608cf124f8e993b8b9b22f5cc6d13343f5396469d9d9e98954ab470cf7004e93db537870fb926e42871809a74d4092b82f9dd9afde9f23d289
|
7
|
+
data.tar.gz: ce8e7a688f5e02c1baf1acdce992e245f157a4711695d0185c60480a630e648b6214e9331a2804fe2e6372e6418bcd6861b89068583f9cee8616683c9725dd92
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2016-03-01/generated/azure_mgmt_scheduler/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Scheduler::Mgmt::V2016_03_01
|
23
|
+
autoload :JobCollections, '2016-03-01/generated/azure_mgmt_scheduler/job_collections.rb'
|
24
|
+
autoload :Jobs, '2016-03-01/generated/azure_mgmt_scheduler/jobs.rb'
|
25
|
+
autoload :SchedulerManagementClient, '2016-03-01/generated/azure_mgmt_scheduler/scheduler_management_client.rb'
|
26
|
+
|
27
|
+
module Models
|
28
|
+
autoload :JobRecurrence, '2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence.rb'
|
29
|
+
autoload :Sku, '2016-03-01/generated/azure_mgmt_scheduler/models/sku.rb'
|
30
|
+
autoload :JobStatus, '2016-03-01/generated/azure_mgmt_scheduler/models/job_status.rb'
|
31
|
+
autoload :JobCollectionQuota, '2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_quota.rb'
|
32
|
+
autoload :JobProperties, '2016-03-01/generated/azure_mgmt_scheduler/models/job_properties.rb'
|
33
|
+
autoload :JobCollectionDefinition, '2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_definition.rb'
|
34
|
+
autoload :JobDefinition, '2016-03-01/generated/azure_mgmt_scheduler/models/job_definition.rb'
|
35
|
+
autoload :HttpAuthentication, '2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb'
|
36
|
+
autoload :JobListResult, '2016-03-01/generated/azure_mgmt_scheduler/models/job_list_result.rb'
|
37
|
+
autoload :StorageQueueMessage, '2016-03-01/generated/azure_mgmt_scheduler/models/storage_queue_message.rb'
|
38
|
+
autoload :JobHistoryDefinitionProperties, '2016-03-01/generated/azure_mgmt_scheduler/models/job_history_definition_properties.rb'
|
39
|
+
autoload :HttpRequest, '2016-03-01/generated/azure_mgmt_scheduler/models/http_request.rb'
|
40
|
+
autoload :RetryPolicy, '2016-03-01/generated/azure_mgmt_scheduler/models/retry_policy.rb'
|
41
|
+
autoload :ServiceBusBrokeredMessageProperties, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb'
|
42
|
+
autoload :JobAction, '2016-03-01/generated/azure_mgmt_scheduler/models/job_action.rb'
|
43
|
+
autoload :JobRecurrenceSchedule, '2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb'
|
44
|
+
autoload :JobHistoryDefinition, '2016-03-01/generated/azure_mgmt_scheduler/models/job_history_definition.rb'
|
45
|
+
autoload :JobCollectionProperties, '2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_properties.rb'
|
46
|
+
autoload :JobHistoryListResult, '2016-03-01/generated/azure_mgmt_scheduler/models/job_history_list_result.rb'
|
47
|
+
autoload :JobErrorAction, '2016-03-01/generated/azure_mgmt_scheduler/models/job_error_action.rb'
|
48
|
+
autoload :JobHistoryFilter, '2016-03-01/generated/azure_mgmt_scheduler/models/job_history_filter.rb'
|
49
|
+
autoload :JobMaxRecurrence, '2016-03-01/generated/azure_mgmt_scheduler/models/job_max_recurrence.rb'
|
50
|
+
autoload :JobStateFilter, '2016-03-01/generated/azure_mgmt_scheduler/models/job_state_filter.rb'
|
51
|
+
autoload :JobRecurrenceScheduleMonthlyOccurrence, '2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb'
|
52
|
+
autoload :ServiceBusMessage, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_message.rb'
|
53
|
+
autoload :JobCollectionListResult, '2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_list_result.rb'
|
54
|
+
autoload :ServiceBusAuthentication, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_authentication.rb'
|
55
|
+
autoload :ServiceBusQueueMessage, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_queue_message.rb'
|
56
|
+
autoload :ServiceBusTopicMessage, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_topic_message.rb'
|
57
|
+
autoload :ClientCertAuthentication, '2016-03-01/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb'
|
58
|
+
autoload :BasicAuthentication, '2016-03-01/generated/azure_mgmt_scheduler/models/basic_authentication.rb'
|
59
|
+
autoload :OAuthAuthentication, '2016-03-01/generated/azure_mgmt_scheduler/models/oauth_authentication.rb'
|
60
|
+
autoload :SkuDefinition, '2016-03-01/generated/azure_mgmt_scheduler/models/sku_definition.rb'
|
61
|
+
autoload :JobCollectionState, '2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_state.rb'
|
62
|
+
autoload :RecurrenceFrequency, '2016-03-01/generated/azure_mgmt_scheduler/models/recurrence_frequency.rb'
|
63
|
+
autoload :JobActionType, '2016-03-01/generated/azure_mgmt_scheduler/models/job_action_type.rb'
|
64
|
+
autoload :HttpAuthenticationType, '2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication_type.rb'
|
65
|
+
autoload :RetryType, '2016-03-01/generated/azure_mgmt_scheduler/models/retry_type.rb'
|
66
|
+
autoload :DayOfWeek, '2016-03-01/generated/azure_mgmt_scheduler/models/day_of_week.rb'
|
67
|
+
autoload :JobScheduleDay, '2016-03-01/generated/azure_mgmt_scheduler/models/job_schedule_day.rb'
|
68
|
+
autoload :JobState, '2016-03-01/generated/azure_mgmt_scheduler/models/job_state.rb'
|
69
|
+
autoload :JobHistoryActionName, '2016-03-01/generated/azure_mgmt_scheduler/models/job_history_action_name.rb'
|
70
|
+
autoload :JobExecutionStatus, '2016-03-01/generated/azure_mgmt_scheduler/models/job_execution_status.rb'
|
71
|
+
autoload :ServiceBusAuthenticationType, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_authentication_type.rb'
|
72
|
+
autoload :ServiceBusTransportType, '2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_transport_type.rb'
|
73
|
+
end
|
74
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Scheduler::Mgmt::V2016_03_01
|
7
7
|
#
|
8
8
|
# JobCollections
|
9
9
|
#
|
@@ -91,7 +91,7 @@ module Azure::ARM::Scheduler
|
|
91
91
|
if status_code == 200
|
92
92
|
begin
|
93
93
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
94
|
-
result_mapper = Azure::
|
94
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult.mapper()
|
95
95
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
96
96
|
rescue Exception => e
|
97
97
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -178,7 +178,7 @@ module Azure::ARM::Scheduler
|
|
178
178
|
if status_code == 200
|
179
179
|
begin
|
180
180
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
181
|
-
result_mapper = Azure::
|
181
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult.mapper()
|
182
182
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
183
183
|
rescue Exception => e
|
184
184
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -269,7 +269,7 @@ module Azure::ARM::Scheduler
|
|
269
269
|
if status_code == 200
|
270
270
|
begin
|
271
271
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
272
|
-
result_mapper = Azure::
|
272
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
273
273
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
274
274
|
rescue Exception => e
|
275
275
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -344,7 +344,7 @@ module Azure::ARM::Scheduler
|
|
344
344
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
345
345
|
|
346
346
|
# Serialize Request
|
347
|
-
request_mapper = Azure::
|
347
|
+
request_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
348
348
|
request_content = @client.serialize(request_mapper, job_collection)
|
349
349
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
350
350
|
|
@@ -376,7 +376,7 @@ module Azure::ARM::Scheduler
|
|
376
376
|
if status_code == 200
|
377
377
|
begin
|
378
378
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
379
|
-
result_mapper = Azure::
|
379
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
380
380
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
381
381
|
rescue Exception => e
|
382
382
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -386,7 +386,7 @@ module Azure::ARM::Scheduler
|
|
386
386
|
if status_code == 201
|
387
387
|
begin
|
388
388
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
389
|
-
result_mapper = Azure::
|
389
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
390
390
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
391
391
|
rescue Exception => e
|
392
392
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -461,7 +461,7 @@ module Azure::ARM::Scheduler
|
|
461
461
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
462
462
|
|
463
463
|
# Serialize Request
|
464
|
-
request_mapper = Azure::
|
464
|
+
request_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
465
465
|
request_content = @client.serialize(request_mapper, job_collection)
|
466
466
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
467
467
|
|
@@ -493,7 +493,7 @@ module Azure::ARM::Scheduler
|
|
493
493
|
if status_code == 200
|
494
494
|
begin
|
495
495
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
496
|
-
result_mapper = Azure::
|
496
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition.mapper()
|
497
497
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
498
498
|
rescue Exception => e
|
499
499
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -934,7 +934,7 @@ module Azure::ARM::Scheduler
|
|
934
934
|
if status_code == 200
|
935
935
|
begin
|
936
936
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
937
|
-
result_mapper = Azure::
|
937
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult.mapper()
|
938
938
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
939
939
|
rescue Exception => e
|
940
940
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1021,7 +1021,7 @@ module Azure::ARM::Scheduler
|
|
1021
1021
|
if status_code == 200
|
1022
1022
|
begin
|
1023
1023
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1024
|
-
result_mapper = Azure::
|
1024
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult.mapper()
|
1025
1025
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1026
1026
|
rescue Exception => e
|
1027
1027
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Scheduler::Mgmt::V2016_03_01
|
7
7
|
#
|
8
8
|
# Jobs
|
9
9
|
#
|
@@ -103,7 +103,7 @@ module Azure::ARM::Scheduler
|
|
103
103
|
if status_code == 200
|
104
104
|
begin
|
105
105
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
106
|
-
result_mapper = Azure::
|
106
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
107
107
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
108
108
|
rescue Exception => e
|
109
109
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -179,7 +179,7 @@ module Azure::ARM::Scheduler
|
|
179
179
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
180
180
|
|
181
181
|
# Serialize Request
|
182
|
-
request_mapper = Azure::
|
182
|
+
request_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
183
183
|
request_content = @client.serialize(request_mapper, job)
|
184
184
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
185
185
|
|
@@ -211,7 +211,7 @@ module Azure::ARM::Scheduler
|
|
211
211
|
if status_code == 200
|
212
212
|
begin
|
213
213
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
214
|
-
result_mapper = Azure::
|
214
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
215
215
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
216
216
|
rescue Exception => e
|
217
217
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -221,7 +221,7 @@ module Azure::ARM::Scheduler
|
|
221
221
|
if status_code == 201
|
222
222
|
begin
|
223
223
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
224
|
-
result_mapper = Azure::
|
224
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
225
225
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
226
226
|
rescue Exception => e
|
227
227
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -297,7 +297,7 @@ module Azure::ARM::Scheduler
|
|
297
297
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
298
298
|
|
299
299
|
# Serialize Request
|
300
|
-
request_mapper = Azure::
|
300
|
+
request_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
301
301
|
request_content = @client.serialize(request_mapper, job)
|
302
302
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
303
303
|
|
@@ -329,7 +329,7 @@ module Azure::ARM::Scheduler
|
|
329
329
|
if status_code == 200
|
330
330
|
begin
|
331
331
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
332
|
-
result_mapper = Azure::
|
332
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition.mapper()
|
333
333
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
334
334
|
rescue Exception => e
|
335
335
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -603,7 +603,7 @@ module Azure::ARM::Scheduler
|
|
603
603
|
if status_code == 200
|
604
604
|
begin
|
605
605
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
606
|
-
result_mapper = Azure::
|
606
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult.mapper()
|
607
607
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
608
608
|
rescue Exception => e
|
609
609
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -713,7 +713,7 @@ module Azure::ARM::Scheduler
|
|
713
713
|
if status_code == 200
|
714
714
|
begin
|
715
715
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
716
|
-
result_mapper = Azure::
|
716
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult.mapper()
|
717
717
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
718
718
|
rescue Exception => e
|
719
719
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -800,7 +800,7 @@ module Azure::ARM::Scheduler
|
|
800
800
|
if status_code == 200
|
801
801
|
begin
|
802
802
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
803
|
-
result_mapper = Azure::
|
803
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult.mapper()
|
804
804
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
805
805
|
rescue Exception => e
|
806
806
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -887,7 +887,7 @@ module Azure::ARM::Scheduler
|
|
887
887
|
if status_code == 200
|
888
888
|
begin
|
889
889
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
890
|
-
result_mapper = Azure::
|
890
|
+
result_mapper = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult.mapper()
|
891
891
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
892
892
|
rescue Exception => e
|
893
893
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|