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
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
require 'azure_mgmt_scheduler'
|
6
6
|
|
7
|
-
module Azure::Scheduler::Profiles::Latest
|
7
|
+
module Azure::Scheduler::Profiles::Latest
|
8
|
+
module Mgmt
|
8
9
|
JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections
|
9
10
|
Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs
|
10
11
|
|
@@ -45,7 +46,6 @@ module Azure::Scheduler::Profiles::Latest::Mgmt
|
|
45
46
|
JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
46
47
|
RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
47
48
|
JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
48
|
-
HttpAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthenticationType
|
49
49
|
RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
50
50
|
DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
51
51
|
JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
@@ -57,9 +57,9 @@ module Azure::Scheduler::Profiles::Latest::Mgmt
|
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
60
|
-
#
|
60
|
+
# SchedulerManagementClass
|
61
61
|
#
|
62
|
-
class
|
62
|
+
class SchedulerManagementClass
|
63
63
|
attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes
|
64
64
|
|
65
65
|
def initialize(options = {})
|
@@ -71,154 +71,169 @@ module Azure::Scheduler::Profiles::Latest::Mgmt
|
|
71
71
|
|
72
72
|
reset!(options)
|
73
73
|
|
74
|
-
@configurable
|
74
|
+
@configurable = self
|
75
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
76
|
+
@options = options[:options].nil? ? nil:options[:options]
|
75
77
|
|
76
|
-
client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
|
77
|
-
if(client_0.respond_to?(:subscription_id))
|
78
|
-
client_0.subscription_id = configurable.subscription_id
|
78
|
+
@client_0 = Azure::Scheduler::Mgmt::V2016_03_01::SchedulerManagementClient.new(configurable.credentials, base_url, options)
|
79
|
+
if(@client_0.respond_to?(:subscription_id))
|
80
|
+
@client_0.subscription_id = configurable.subscription_id
|
79
81
|
end
|
80
|
-
@
|
81
|
-
@
|
82
|
+
add_telemetry(@client_0)
|
83
|
+
@job_collections = @client_0.job_collections
|
84
|
+
@jobs = @client_0.jobs
|
82
85
|
|
83
86
|
@model_classes = ModelClasses.new
|
84
87
|
end
|
85
88
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
def job_collection_quota
|
97
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
98
|
-
end
|
99
|
-
def job_properties
|
100
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
101
|
-
end
|
102
|
-
def job_collection_definition
|
103
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
104
|
-
end
|
105
|
-
def job_definition
|
106
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
107
|
-
end
|
108
|
-
def http_authentication
|
109
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
110
|
-
end
|
111
|
-
def job_list_result
|
112
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
113
|
-
end
|
114
|
-
def storage_queue_message
|
115
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
116
|
-
end
|
117
|
-
def job_history_definition_properties
|
118
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
119
|
-
end
|
120
|
-
def http_request
|
121
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
122
|
-
end
|
123
|
-
def retry_policy
|
124
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
125
|
-
end
|
126
|
-
def service_bus_brokered_message_properties
|
127
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
128
|
-
end
|
129
|
-
def job_action
|
130
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
131
|
-
end
|
132
|
-
def job_recurrence_schedule
|
133
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
134
|
-
end
|
135
|
-
def job_history_definition
|
136
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
137
|
-
end
|
138
|
-
def job_collection_properties
|
139
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
140
|
-
end
|
141
|
-
def job_history_list_result
|
142
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
143
|
-
end
|
144
|
-
def job_error_action
|
145
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
146
|
-
end
|
147
|
-
def job_history_filter
|
148
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
149
|
-
end
|
150
|
-
def job_max_recurrence
|
151
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
152
|
-
end
|
153
|
-
def job_state_filter
|
154
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
155
|
-
end
|
156
|
-
def job_recurrence_schedule_monthly_occurrence
|
157
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
158
|
-
end
|
159
|
-
def service_bus_message
|
160
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
161
|
-
end
|
162
|
-
def job_collection_list_result
|
163
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
164
|
-
end
|
165
|
-
def service_bus_authentication
|
166
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
167
|
-
end
|
168
|
-
def service_bus_queue_message
|
169
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
170
|
-
end
|
171
|
-
def service_bus_topic_message
|
172
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
173
|
-
end
|
174
|
-
def client_cert_authentication
|
175
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
176
|
-
end
|
177
|
-
def basic_authentication
|
178
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
179
|
-
end
|
180
|
-
def oauth_authentication
|
181
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
182
|
-
end
|
183
|
-
def sku_definition
|
184
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
185
|
-
end
|
186
|
-
def job_collection_state
|
187
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
188
|
-
end
|
189
|
-
def recurrence_frequency
|
190
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
191
|
-
end
|
192
|
-
def job_action_type
|
193
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
194
|
-
end
|
195
|
-
def http_authentication_type
|
196
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthenticationType
|
197
|
-
end
|
198
|
-
def retry_type
|
199
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
200
|
-
end
|
201
|
-
def day_of_week
|
202
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
203
|
-
end
|
204
|
-
def job_schedule_day
|
205
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
206
|
-
end
|
207
|
-
def job_state
|
208
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
209
|
-
end
|
210
|
-
def job_history_action_name
|
211
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
212
|
-
end
|
213
|
-
def job_execution_status
|
214
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
215
|
-
end
|
216
|
-
def service_bus_authentication_type
|
217
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
218
|
-
end
|
219
|
-
def service_bus_transport_type
|
220
|
-
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
89
|
+
def add_telemetry(client)
|
90
|
+
profile_information = 'Profiles/Latest/Scheduler/Mgmt'
|
91
|
+
client.add_user_agent_information(profile_information)
|
92
|
+
end
|
93
|
+
|
94
|
+
def method_missing(method, *args)
|
95
|
+
if @client_0.respond_to?method
|
96
|
+
@client_0.send(method, *args)
|
97
|
+
else
|
98
|
+
super
|
221
99
|
end
|
222
100
|
end
|
101
|
+
|
102
|
+
end
|
103
|
+
|
104
|
+
class ModelClasses
|
105
|
+
def job_recurrence
|
106
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence
|
107
|
+
end
|
108
|
+
def sku
|
109
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku
|
110
|
+
end
|
111
|
+
def job_status
|
112
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
|
113
|
+
end
|
114
|
+
def job_collection_quota
|
115
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota
|
116
|
+
end
|
117
|
+
def job_properties
|
118
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties
|
119
|
+
end
|
120
|
+
def job_collection_definition
|
121
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition
|
122
|
+
end
|
123
|
+
def job_definition
|
124
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition
|
125
|
+
end
|
126
|
+
def http_authentication
|
127
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication
|
128
|
+
end
|
129
|
+
def job_list_result
|
130
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult
|
131
|
+
end
|
132
|
+
def storage_queue_message
|
133
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage
|
134
|
+
end
|
135
|
+
def job_history_definition_properties
|
136
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties
|
137
|
+
end
|
138
|
+
def http_request
|
139
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest
|
140
|
+
end
|
141
|
+
def retry_policy
|
142
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
|
143
|
+
end
|
144
|
+
def service_bus_brokered_message_properties
|
145
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties
|
146
|
+
end
|
147
|
+
def job_action
|
148
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction
|
149
|
+
end
|
150
|
+
def job_recurrence_schedule
|
151
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule
|
152
|
+
end
|
153
|
+
def job_history_definition
|
154
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition
|
155
|
+
end
|
156
|
+
def job_collection_properties
|
157
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties
|
158
|
+
end
|
159
|
+
def job_history_list_result
|
160
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult
|
161
|
+
end
|
162
|
+
def job_error_action
|
163
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction
|
164
|
+
end
|
165
|
+
def job_history_filter
|
166
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter
|
167
|
+
end
|
168
|
+
def job_max_recurrence
|
169
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence
|
170
|
+
end
|
171
|
+
def job_state_filter
|
172
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter
|
173
|
+
end
|
174
|
+
def job_recurrence_schedule_monthly_occurrence
|
175
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence
|
176
|
+
end
|
177
|
+
def service_bus_message
|
178
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage
|
179
|
+
end
|
180
|
+
def job_collection_list_result
|
181
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult
|
182
|
+
end
|
183
|
+
def service_bus_authentication
|
184
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication
|
185
|
+
end
|
186
|
+
def service_bus_queue_message
|
187
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage
|
188
|
+
end
|
189
|
+
def service_bus_topic_message
|
190
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage
|
191
|
+
end
|
192
|
+
def client_cert_authentication
|
193
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication
|
194
|
+
end
|
195
|
+
def basic_authentication
|
196
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication
|
197
|
+
end
|
198
|
+
def oauth_authentication
|
199
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication
|
200
|
+
end
|
201
|
+
def sku_definition
|
202
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition
|
203
|
+
end
|
204
|
+
def job_collection_state
|
205
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState
|
206
|
+
end
|
207
|
+
def recurrence_frequency
|
208
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency
|
209
|
+
end
|
210
|
+
def job_action_type
|
211
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType
|
212
|
+
end
|
213
|
+
def retry_type
|
214
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType
|
215
|
+
end
|
216
|
+
def day_of_week
|
217
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek
|
218
|
+
end
|
219
|
+
def job_schedule_day
|
220
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay
|
221
|
+
end
|
222
|
+
def job_state
|
223
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState
|
224
|
+
end
|
225
|
+
def job_history_action_name
|
226
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName
|
227
|
+
end
|
228
|
+
def job_execution_status
|
229
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus
|
230
|
+
end
|
231
|
+
def service_bus_authentication_type
|
232
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType
|
233
|
+
end
|
234
|
+
def service_bus_transport_type
|
235
|
+
Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType
|
236
|
+
end
|
223
237
|
end
|
238
|
+
end
|
224
239
|
end
|
@@ -4,20 +4,37 @@
|
|
4
4
|
|
5
5
|
require 'profiles/latest/scheduler_module_definition'
|
6
6
|
require 'profiles/latest/modules/scheduler_profile_module'
|
7
|
-
require 'profiles/common/configurable'
|
8
|
-
require 'profiles/common/default'
|
9
7
|
|
10
|
-
module Azure::Scheduler::Profiles::Latest
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
module Azure::Scheduler::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < SchedulerManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
16
15
|
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
17
37
|
|
18
|
-
def initialize(options = {})
|
19
|
-
super(options)
|
20
38
|
end
|
21
|
-
|
22
39
|
end
|
23
40
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.12.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.12.0
|
83
83
|
description: Microsoft Azure Scheduler Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -94,7 +94,6 @@ files:
|
|
94
94
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb
|
95
95
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/day_of_week.rb
|
96
96
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication.rb
|
97
|
-
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_authentication_type.rb
|
98
97
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/http_request.rb
|
99
98
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_action.rb
|
100
99
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_action_type.rb
|
@@ -137,11 +136,8 @@ files:
|
|
137
136
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/models/storage_queue_message.rb
|
138
137
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/module_definition.rb
|
139
138
|
- lib/2016-03-01/generated/azure_mgmt_scheduler/scheduler_management_client.rb
|
140
|
-
- lib/2016-03-01/generated/azure_mgmt_scheduler/version.rb
|
141
139
|
- lib/azure_mgmt_scheduler.rb
|
142
140
|
- lib/module_definition.rb
|
143
|
-
- lib/profiles/common/configurable.rb
|
144
|
-
- lib/profiles/common/default.rb
|
145
141
|
- lib/profiles/latest/modules/scheduler_profile_module.rb
|
146
142
|
- lib/profiles/latest/scheduler_latest_profile_client.rb
|
147
143
|
- lib/profiles/latest/scheduler_module_definition.rb
|
@@ -149,7 +145,12 @@ files:
|
|
149
145
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
150
146
|
licenses:
|
151
147
|
- MIT
|
152
|
-
metadata:
|
148
|
+
metadata:
|
149
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
150
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
151
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
152
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
153
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_scheduler
|
153
154
|
post_install_message:
|
154
155
|
rdoc_options: []
|
155
156
|
require_paths:
|
@@ -166,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
167
|
version: '0'
|
167
168
|
requirements: []
|
168
169
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.
|
170
|
+
rubygems_version: 2.7.8
|
170
171
|
signing_key:
|
171
172
|
specification_version: 4
|
172
173
|
summary: Official Ruby client library to consume Microsoft Azure Scheduler Management
|