azure_mgmt_scheduler 0.15.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-03-01/generated/azure_mgmt_scheduler.rb +0 -1
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/job_collections.rb +78 -72
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/jobs.rb +64 -55
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/basic_authentication.rb +14 -4
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb +17 -4
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb +12 -11
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_request.rb +9 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_action.rb +8 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_definition.rb +8 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_list_result.rb +5 -1
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_properties.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_collection_quota.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_definition.rb +5 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_error_action.rb +7 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_history_definition.rb +5 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_history_definition_properties.rb +9 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_history_filter.rb +2 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_history_list_result.rb +5 -1
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_list_result.rb +5 -1
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_max_recurrence.rb +3 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_properties.rb +6 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence.rb +6 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +11 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +3 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_state_filter.rb +2 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_status.rb +6 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/oauth_authentication.rb +16 -4
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/retry_policy.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_authentication.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +14 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_message.rb +8 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_queue_message.rb +9 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_topic_message.rb +9 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/sku.rb +2 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/storage_queue_message.rb +5 -0
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/scheduler_management_client.rb +10 -8
- data/lib/profiles/latest/modules/scheduler_profile_module.rb +160 -145
- data/lib/profiles/latest/scheduler_latest_profile_client.rb +28 -11
- data/lib/profiles/latest/scheduler_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +11 -10
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication_type.rb +0 -18
- data/lib/2016-03-01/generated/azure_mgmt_scheduler/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -32,6 +32,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
32
32
|
#
|
33
33
|
def self.mapper()
|
34
34
|
{
|
35
|
+
client_side_validation: true,
|
35
36
|
required: false,
|
36
37
|
serialized_name: 'RetryPolicy',
|
37
38
|
type: {
|
@@ -39,6 +40,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
39
40
|
class_name: 'RetryPolicy',
|
40
41
|
model_properties: {
|
41
42
|
retry_type: {
|
43
|
+
client_side_validation: true,
|
42
44
|
required: false,
|
43
45
|
serialized_name: 'retryType',
|
44
46
|
type: {
|
@@ -47,6 +49,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
47
49
|
}
|
48
50
|
},
|
49
51
|
retry_interval: {
|
52
|
+
client_side_validation: true,
|
50
53
|
required: false,
|
51
54
|
serialized_name: 'retryInterval',
|
52
55
|
type: {
|
@@ -54,6 +57,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
54
57
|
}
|
55
58
|
},
|
56
59
|
retry_count: {
|
60
|
+
client_side_validation: true,
|
57
61
|
required: false,
|
58
62
|
serialized_name: 'retryCount',
|
59
63
|
type: {
|
@@ -30,6 +30,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
30
30
|
#
|
31
31
|
def self.mapper()
|
32
32
|
{
|
33
|
+
client_side_validation: true,
|
33
34
|
required: false,
|
34
35
|
serialized_name: 'ServiceBusAuthentication',
|
35
36
|
type: {
|
@@ -37,6 +38,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
37
38
|
class_name: 'ServiceBusAuthentication',
|
38
39
|
model_properties: {
|
39
40
|
sas_key: {
|
41
|
+
client_side_validation: true,
|
40
42
|
required: false,
|
41
43
|
serialized_name: 'sasKey',
|
42
44
|
type: {
|
@@ -44,6 +46,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
44
46
|
}
|
45
47
|
},
|
46
48
|
sas_key_name: {
|
49
|
+
client_side_validation: true,
|
47
50
|
required: false,
|
48
51
|
serialized_name: 'sasKeyName',
|
49
52
|
type: {
|
@@ -51,6 +54,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
51
54
|
}
|
52
55
|
},
|
53
56
|
type: {
|
57
|
+
client_side_validation: true,
|
54
58
|
required: false,
|
55
59
|
serialized_name: 'type',
|
56
60
|
type: {
|
data/lib/2016-03-01/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb
CHANGED
@@ -59,6 +59,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
59
59
|
#
|
60
60
|
def self.mapper()
|
61
61
|
{
|
62
|
+
client_side_validation: true,
|
62
63
|
required: false,
|
63
64
|
serialized_name: 'ServiceBusBrokeredMessageProperties',
|
64
65
|
type: {
|
@@ -66,6 +67,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
66
67
|
class_name: 'ServiceBusBrokeredMessageProperties',
|
67
68
|
model_properties: {
|
68
69
|
content_type: {
|
70
|
+
client_side_validation: true,
|
69
71
|
required: false,
|
70
72
|
serialized_name: 'contentType',
|
71
73
|
type: {
|
@@ -73,6 +75,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
73
75
|
}
|
74
76
|
},
|
75
77
|
correlation_id: {
|
78
|
+
client_side_validation: true,
|
76
79
|
required: false,
|
77
80
|
serialized_name: 'correlationId',
|
78
81
|
type: {
|
@@ -80,6 +83,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
80
83
|
}
|
81
84
|
},
|
82
85
|
force_persistence: {
|
86
|
+
client_side_validation: true,
|
83
87
|
required: false,
|
84
88
|
serialized_name: 'forcePersistence',
|
85
89
|
type: {
|
@@ -87,6 +91,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
87
91
|
}
|
88
92
|
},
|
89
93
|
label: {
|
94
|
+
client_side_validation: true,
|
90
95
|
required: false,
|
91
96
|
serialized_name: 'label',
|
92
97
|
type: {
|
@@ -94,6 +99,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
94
99
|
}
|
95
100
|
},
|
96
101
|
message_id: {
|
102
|
+
client_side_validation: true,
|
97
103
|
required: false,
|
98
104
|
serialized_name: 'messageId',
|
99
105
|
type: {
|
@@ -101,6 +107,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
101
107
|
}
|
102
108
|
},
|
103
109
|
partition_key: {
|
110
|
+
client_side_validation: true,
|
104
111
|
required: false,
|
105
112
|
serialized_name: 'partitionKey',
|
106
113
|
type: {
|
@@ -108,6 +115,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
108
115
|
}
|
109
116
|
},
|
110
117
|
reply_to: {
|
118
|
+
client_side_validation: true,
|
111
119
|
required: false,
|
112
120
|
serialized_name: 'replyTo',
|
113
121
|
type: {
|
@@ -115,6 +123,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
115
123
|
}
|
116
124
|
},
|
117
125
|
reply_to_session_id: {
|
126
|
+
client_side_validation: true,
|
118
127
|
required: false,
|
119
128
|
serialized_name: 'replyToSessionId',
|
120
129
|
type: {
|
@@ -122,6 +131,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
122
131
|
}
|
123
132
|
},
|
124
133
|
scheduled_enqueue_time_utc: {
|
134
|
+
client_side_validation: true,
|
125
135
|
required: false,
|
126
136
|
serialized_name: 'scheduledEnqueueTimeUtc',
|
127
137
|
type: {
|
@@ -129,6 +139,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
129
139
|
}
|
130
140
|
},
|
131
141
|
session_id: {
|
142
|
+
client_side_validation: true,
|
132
143
|
required: false,
|
133
144
|
serialized_name: 'sessionId',
|
134
145
|
type: {
|
@@ -136,6 +147,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
136
147
|
}
|
137
148
|
},
|
138
149
|
time_to_live: {
|
150
|
+
client_side_validation: true,
|
139
151
|
required: false,
|
140
152
|
serialized_name: 'timeToLive',
|
141
153
|
type: {
|
@@ -143,6 +155,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
143
155
|
}
|
144
156
|
},
|
145
157
|
to: {
|
158
|
+
client_side_validation: true,
|
146
159
|
required: false,
|
147
160
|
serialized_name: 'to',
|
148
161
|
type: {
|
@@ -150,6 +163,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
150
163
|
}
|
151
164
|
},
|
152
165
|
via_partition_key: {
|
166
|
+
client_side_validation: true,
|
153
167
|
required: false,
|
154
168
|
serialized_name: 'viaPartitionKey',
|
155
169
|
type: {
|
@@ -42,6 +42,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
42
42
|
#
|
43
43
|
def self.mapper()
|
44
44
|
{
|
45
|
+
client_side_validation: true,
|
45
46
|
required: false,
|
46
47
|
serialized_name: 'ServiceBusMessage',
|
47
48
|
type: {
|
@@ -49,6 +50,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
49
50
|
class_name: 'ServiceBusMessage',
|
50
51
|
model_properties: {
|
51
52
|
authentication: {
|
53
|
+
client_side_validation: true,
|
52
54
|
required: false,
|
53
55
|
serialized_name: 'authentication',
|
54
56
|
type: {
|
@@ -57,6 +59,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
57
59
|
}
|
58
60
|
},
|
59
61
|
brokered_message_properties: {
|
62
|
+
client_side_validation: true,
|
60
63
|
required: false,
|
61
64
|
serialized_name: 'brokeredMessageProperties',
|
62
65
|
type: {
|
@@ -65,11 +68,13 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
65
68
|
}
|
66
69
|
},
|
67
70
|
custom_message_properties: {
|
71
|
+
client_side_validation: true,
|
68
72
|
required: false,
|
69
73
|
serialized_name: 'customMessageProperties',
|
70
74
|
type: {
|
71
75
|
name: 'Dictionary',
|
72
76
|
value: {
|
77
|
+
client_side_validation: true,
|
73
78
|
required: false,
|
74
79
|
serialized_name: 'StringElementType',
|
75
80
|
type: {
|
@@ -79,6 +84,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
79
84
|
}
|
80
85
|
},
|
81
86
|
message: {
|
87
|
+
client_side_validation: true,
|
82
88
|
required: false,
|
83
89
|
serialized_name: 'message',
|
84
90
|
type: {
|
@@ -86,6 +92,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
86
92
|
}
|
87
93
|
},
|
88
94
|
namespace: {
|
95
|
+
client_side_validation: true,
|
89
96
|
required: false,
|
90
97
|
serialized_name: 'namespace',
|
91
98
|
type: {
|
@@ -93,6 +100,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
93
100
|
}
|
94
101
|
},
|
95
102
|
transport_type: {
|
103
|
+
client_side_validation: true,
|
96
104
|
required: false,
|
97
105
|
serialized_name: 'transportType',
|
98
106
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'ServiceBusQueueMessage',
|
28
29
|
type: {
|
@@ -30,6 +31,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
30
31
|
class_name: 'ServiceBusQueueMessage',
|
31
32
|
model_properties: {
|
32
33
|
authentication: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
serialized_name: 'authentication',
|
35
37
|
type: {
|
@@ -38,6 +40,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
38
40
|
}
|
39
41
|
},
|
40
42
|
brokered_message_properties: {
|
43
|
+
client_side_validation: true,
|
41
44
|
required: false,
|
42
45
|
serialized_name: 'brokeredMessageProperties',
|
43
46
|
type: {
|
@@ -46,11 +49,13 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
46
49
|
}
|
47
50
|
},
|
48
51
|
custom_message_properties: {
|
52
|
+
client_side_validation: true,
|
49
53
|
required: false,
|
50
54
|
serialized_name: 'customMessageProperties',
|
51
55
|
type: {
|
52
56
|
name: 'Dictionary',
|
53
57
|
value: {
|
58
|
+
client_side_validation: true,
|
54
59
|
required: false,
|
55
60
|
serialized_name: 'StringElementType',
|
56
61
|
type: {
|
@@ -60,6 +65,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
60
65
|
}
|
61
66
|
},
|
62
67
|
message: {
|
68
|
+
client_side_validation: true,
|
63
69
|
required: false,
|
64
70
|
serialized_name: 'message',
|
65
71
|
type: {
|
@@ -67,6 +73,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
67
73
|
}
|
68
74
|
},
|
69
75
|
namespace: {
|
76
|
+
client_side_validation: true,
|
70
77
|
required: false,
|
71
78
|
serialized_name: 'namespace',
|
72
79
|
type: {
|
@@ -74,6 +81,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
74
81
|
}
|
75
82
|
},
|
76
83
|
transport_type: {
|
84
|
+
client_side_validation: true,
|
77
85
|
required: false,
|
78
86
|
serialized_name: 'transportType',
|
79
87
|
type: {
|
@@ -82,6 +90,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
82
90
|
}
|
83
91
|
},
|
84
92
|
queue_name: {
|
93
|
+
client_side_validation: true,
|
85
94
|
required: false,
|
86
95
|
serialized_name: 'queueName',
|
87
96
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'ServiceBusTopicMessage',
|
28
29
|
type: {
|
@@ -30,6 +31,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
30
31
|
class_name: 'ServiceBusTopicMessage',
|
31
32
|
model_properties: {
|
32
33
|
authentication: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
serialized_name: 'authentication',
|
35
37
|
type: {
|
@@ -38,6 +40,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
38
40
|
}
|
39
41
|
},
|
40
42
|
brokered_message_properties: {
|
43
|
+
client_side_validation: true,
|
41
44
|
required: false,
|
42
45
|
serialized_name: 'brokeredMessageProperties',
|
43
46
|
type: {
|
@@ -46,11 +49,13 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
46
49
|
}
|
47
50
|
},
|
48
51
|
custom_message_properties: {
|
52
|
+
client_side_validation: true,
|
49
53
|
required: false,
|
50
54
|
serialized_name: 'customMessageProperties',
|
51
55
|
type: {
|
52
56
|
name: 'Dictionary',
|
53
57
|
value: {
|
58
|
+
client_side_validation: true,
|
54
59
|
required: false,
|
55
60
|
serialized_name: 'StringElementType',
|
56
61
|
type: {
|
@@ -60,6 +65,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
60
65
|
}
|
61
66
|
},
|
62
67
|
message: {
|
68
|
+
client_side_validation: true,
|
63
69
|
required: false,
|
64
70
|
serialized_name: 'message',
|
65
71
|
type: {
|
@@ -67,6 +73,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
67
73
|
}
|
68
74
|
},
|
69
75
|
namespace: {
|
76
|
+
client_side_validation: true,
|
70
77
|
required: false,
|
71
78
|
serialized_name: 'namespace',
|
72
79
|
type: {
|
@@ -74,6 +81,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
74
81
|
}
|
75
82
|
},
|
76
83
|
transport_type: {
|
84
|
+
client_side_validation: true,
|
77
85
|
required: false,
|
78
86
|
serialized_name: 'transportType',
|
79
87
|
type: {
|
@@ -82,6 +90,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
82
90
|
}
|
83
91
|
},
|
84
92
|
topic_path: {
|
93
|
+
client_side_validation: true,
|
85
94
|
required: false,
|
86
95
|
serialized_name: 'topicPath',
|
87
96
|
type: {
|
@@ -24,6 +24,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
24
24
|
#
|
25
25
|
def self.mapper()
|
26
26
|
{
|
27
|
+
client_side_validation: true,
|
27
28
|
required: false,
|
28
29
|
serialized_name: 'Sku',
|
29
30
|
type: {
|
@@ -31,6 +32,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
31
32
|
class_name: 'Sku',
|
32
33
|
model_properties: {
|
33
34
|
name: {
|
35
|
+
client_side_validation: true,
|
34
36
|
required: false,
|
35
37
|
serialized_name: 'name',
|
36
38
|
type: {
|
@@ -32,6 +32,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
32
32
|
#
|
33
33
|
def self.mapper()
|
34
34
|
{
|
35
|
+
client_side_validation: true,
|
35
36
|
required: false,
|
36
37
|
serialized_name: 'StorageQueueMessage',
|
37
38
|
type: {
|
@@ -39,6 +40,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
39
40
|
class_name: 'StorageQueueMessage',
|
40
41
|
model_properties: {
|
41
42
|
storage_account: {
|
43
|
+
client_side_validation: true,
|
42
44
|
required: false,
|
43
45
|
serialized_name: 'storageAccount',
|
44
46
|
type: {
|
@@ -46,6 +48,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
46
48
|
}
|
47
49
|
},
|
48
50
|
queue_name: {
|
51
|
+
client_side_validation: true,
|
49
52
|
required: false,
|
50
53
|
serialized_name: 'queueName',
|
51
54
|
type: {
|
@@ -53,6 +56,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
53
56
|
}
|
54
57
|
},
|
55
58
|
sas_token: {
|
59
|
+
client_side_validation: true,
|
56
60
|
required: false,
|
57
61
|
serialized_name: 'sasToken',
|
58
62
|
type: {
|
@@ -60,6 +64,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
60
64
|
}
|
61
65
|
},
|
62
66
|
message: {
|
67
|
+
client_side_validation: true,
|
63
68
|
required: false,
|
64
69
|
serialized_name: 'message',
|
65
70
|
type: {
|
@@ -23,15 +23,16 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
23
23
|
# @return [String] The API version.
|
24
24
|
attr_reader :api_version
|
25
25
|
|
26
|
-
# @return [String]
|
26
|
+
# @return [String] The preferred language for the response.
|
27
27
|
attr_accessor :accept_language
|
28
28
|
|
29
|
-
# @return [Integer]
|
30
|
-
#
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
31
|
attr_accessor :long_running_operation_retry_timeout
|
32
32
|
|
33
|
-
# @return [Boolean]
|
34
|
-
#
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
35
36
|
attr_accessor :generate_client_request_id
|
36
37
|
|
37
38
|
# @return [JobCollections] job_collections
|
@@ -108,6 +109,9 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
108
109
|
fail ArgumentError, 'path is nil' if path.nil?
|
109
110
|
|
110
111
|
request_url = options[:base_url] || @base_url
|
112
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
113
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
114
|
+
end
|
111
115
|
|
112
116
|
request_headers = @request_headers
|
113
117
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -124,9 +128,7 @@ module Azure::Scheduler::Mgmt::V2016_03_01
|
|
124
128
|
#
|
125
129
|
def add_telemetry
|
126
130
|
sdk_information = 'azure_mgmt_scheduler'
|
127
|
-
|
128
|
-
sdk_information = "#{sdk_information}/#{Azure::Scheduler::Mgmt::V2016_03_01::VERSION}"
|
129
|
-
end
|
131
|
+
sdk_information = "#{sdk_information}/0.17.2"
|
130
132
|
add_user_agent_information(sdk_information)
|
131
133
|
end
|
132
134
|
end
|