azure_mgmt_search 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 02b882467a1b5a7d5160201ab2b6b3f2e368543d
4
- data.tar.gz: 7df58525ed0109bea6bb8395fc5d0d47364f5367
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZWZjYjg0MDY3MjE0ZmE3MmQ3YzlmYmNiZjhkZWU2NDcyNzRkZDQ2MQ==
5
+ data.tar.gz: !binary |-
6
+ ODA2OWJlYzk3YzMzNDFhZTE5NGY4YmZiNGJiOWFhZWI2ZjExODYxYw==
5
7
  SHA512:
6
- metadata.gz: 9f379b67c544e5dc3f120046e5c810d03696a2e66a5f4b6a745906bb3a9ac4ac8c43216c300cd11443119bff99590cc352ab27d87f0c0a4e1d957b19940c8e74
7
- data.tar.gz: 6dc0631760b0afd3a9bab2e3aef9e8c79b632b12a200ed1300e50a232c625bbacaab66c3e6d12acb61173e154c8911c93392dd5c465ed344e6c5ca16856ba30e
8
+ metadata.gz: !binary |-
9
+ NzhjYmM1OTA5ZTY5M2ZlNmQ3ZDA0ZTk2ZjJmZjIwYTg2MTk1MTBhMDQ5ZGNi
10
+ YWQ1NzgyMzA3YjdjMDMwMmEwYTVkYTIxZGYxY2M4MDMwZDU1MGE2MDcyYmQ1
11
+ ZjUwYWIxNzdmZDVlNDJkNjZjNGQxOWIyZjk3MjgyZDIyZThkOWI=
12
+ data.tar.gz: !binary |-
13
+ NTljYzkwZWU4Yzg5MDhiNTQ5ZjgwMDNlZTQ5MTVlZjc3NDU5NmE5YTZmN2Ez
14
+ ZjZiMzU3MmM5NGQ1MTk3YzNkMTA3MTYwNDljMDRkN2IxZjI2OGQyNmEwZGE4
15
+ MTk1ZWE1NWQ0MmM5ZjAxNzBlZjkwOTNiYjdmOGUwYWFkZjY3YmE=
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'rake', '~> 10'
30
30
  spec.add_development_dependency 'rspec', '~> 3'
31
31
  spec.add_development_dependency 'dotenv', '~> 2'
32
- spec.add_development_dependency 'azure_mgmt_resources', '~> 0.2'
32
+ spec.add_development_dependency 'azure_mgmt_resources', '~> 0.3'
33
33
 
34
- spec.add_runtime_dependency 'ms_rest_azure', '~> 0.2.0'
34
+ spec.add_runtime_dependency 'ms_rest_azure', '~> 0.2.3'
35
35
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -30,13 +30,47 @@ module Azure::ARM::Search
30
30
  # the current subscription.
31
31
  # @param service_name [String] The name of the Search service for which to
32
32
  # list admin keys.
33
- # @param [Hash{String => String}] The hash of custom headers need to be
34
- # applied to HTTP request.
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
35
  #
36
- # @return [Concurrent::Promise] Promise object which allows to get HTTP
37
- # response.
36
+ # @return [AdminKeyResult] operation results.
38
37
  #
39
38
  def list(resource_group_name, service_name, custom_headers = nil)
39
+ response = list_async(resource_group_name, service_name, custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # Returns the primary and secondary API keys for the given Azure Search
45
+ # service.
46
+ #
47
+ # @param resource_group_name [String] The name of the resource group within
48
+ # the current subscription.
49
+ # @param service_name [String] The name of the Search service for which to
50
+ # list admin keys.
51
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
52
+ # will be added to the HTTP request.
53
+ #
54
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
55
+ #
56
+ def list_with_http_info(resource_group_name, service_name, custom_headers = nil)
57
+ list_async(resource_group_name, service_name, custom_headers).value!
58
+ end
59
+
60
+ #
61
+ # Returns the primary and secondary API keys for the given Azure Search
62
+ # service.
63
+ #
64
+ # @param resource_group_name [String] The name of the resource group within
65
+ # the current subscription.
66
+ # @param service_name [String] The name of the Search service for which to
67
+ # list admin keys.
68
+ # @param [Hash{String => String}] A hash of custom headers that will be added
69
+ # to the HTTP request.
70
+ #
71
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
72
+ #
73
+ def list_async(resource_group_name, service_name, custom_headers = nil)
40
74
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
41
75
  fail ArgumentError, 'service_name is nil' if service_name.nil?
42
76
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -53,7 +87,10 @@ module Azure::ARM::Search
53
87
  query_params: {'api-version' => @client.api_version},
54
88
  headers: request_headers.merge(custom_headers || {})
55
89
  }
56
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
57
94
  promise = request.run_promise do |req|
58
95
  @client.credentials.sign_request(req) unless @client.credentials.nil?
59
96
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -29,13 +29,45 @@ module Azure::ARM::Search
29
29
  # the current subscription.
30
30
  # @param service_name [String] The name of the Search service for which to
31
31
  # list query keys.
32
- # @param [Hash{String => String}] The hash of custom headers need to be
33
- # applied to HTTP request.
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
34
  #
35
- # @return [Concurrent::Promise] Promise object which allows to get HTTP
36
- # response.
35
+ # @return [ListQueryKeysResult] operation results.
37
36
  #
38
37
  def list(resource_group_name, service_name, custom_headers = nil)
38
+ response = list_async(resource_group_name, service_name, custom_headers).value!
39
+ response.body unless response.nil?
40
+ end
41
+
42
+ #
43
+ # Returns the list of query API keys for the given Azure Search service.
44
+ #
45
+ # @param resource_group_name [String] The name of the resource group within
46
+ # the current subscription.
47
+ # @param service_name [String] The name of the Search service for which to
48
+ # list query keys.
49
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
50
+ # will be added to the HTTP request.
51
+ #
52
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
53
+ #
54
+ def list_with_http_info(resource_group_name, service_name, custom_headers = nil)
55
+ list_async(resource_group_name, service_name, custom_headers).value!
56
+ end
57
+
58
+ #
59
+ # Returns the list of query API keys for the given Azure Search service.
60
+ #
61
+ # @param resource_group_name [String] The name of the resource group within
62
+ # the current subscription.
63
+ # @param service_name [String] The name of the Search service for which to
64
+ # list query keys.
65
+ # @param [Hash{String => String}] A hash of custom headers that will be added
66
+ # to the HTTP request.
67
+ #
68
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
69
+ #
70
+ def list_async(resource_group_name, service_name, custom_headers = nil)
39
71
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
40
72
  fail ArgumentError, 'service_name is nil' if service_name.nil?
41
73
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -52,7 +84,10 @@ module Azure::ARM::Search
52
84
  query_params: {'api-version' => @client.api_version},
53
85
  headers: request_headers.merge(custom_headers || {})
54
86
  }
55
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
87
+
88
+ request_url = @base_url || @client.base_url
89
+
90
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
56
91
  promise = request.run_promise do |req|
57
92
  @client.credentials.sign_request(req) unless @client.credentials.nil?
58
93
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -33,13 +33,53 @@ module Azure::ARM::Search
33
33
  # update.
34
34
  # @param parameters [SearchServiceCreateOrUpdateParameters] The properties to
35
35
  # set or update on the Search service.
36
- # @param [Hash{String => String}] The hash of custom headers need to be
37
- # applied to HTTP request.
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
38
  #
39
- # @return [Concurrent::Promise] Promise object which allows to get HTTP
40
- # response.
39
+ # @return [SearchServiceResource] operation results.
41
40
  #
42
41
  def create_or_update(resource_group_name, service_name, parameters, custom_headers = nil)
42
+ response = create_or_update_async(resource_group_name, service_name, parameters, custom_headers).value!
43
+ response.body unless response.nil?
44
+ end
45
+
46
+ #
47
+ # Creates or updates a Search service in the given resource group. If the
48
+ # Search service already exists, all properties will be updated with the
49
+ # given values.
50
+ #
51
+ # @param resource_group_name [String] The name of the resource group within
52
+ # the current subscription.
53
+ # @param service_name [String] The name of the Search service to create or
54
+ # update.
55
+ # @param parameters [SearchServiceCreateOrUpdateParameters] The properties to
56
+ # set or update on the Search service.
57
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
58
+ # will be added to the HTTP request.
59
+ #
60
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
61
+ #
62
+ def create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers = nil)
63
+ create_or_update_async(resource_group_name, service_name, parameters, custom_headers).value!
64
+ end
65
+
66
+ #
67
+ # Creates or updates a Search service in the given resource group. If the
68
+ # Search service already exists, all properties will be updated with the
69
+ # given values.
70
+ #
71
+ # @param resource_group_name [String] The name of the resource group within
72
+ # the current subscription.
73
+ # @param service_name [String] The name of the Search service to create or
74
+ # update.
75
+ # @param parameters [SearchServiceCreateOrUpdateParameters] The properties to
76
+ # set or update on the Search service.
77
+ # @param [Hash{String => String}] A hash of custom headers that will be added
78
+ # to the HTTP request.
79
+ #
80
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
81
+ #
82
+ def create_or_update_async(resource_group_name, service_name, parameters, custom_headers = nil)
43
83
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
44
84
  fail ArgumentError, 'service_name is nil' if service_name.nil?
45
85
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -57,7 +97,7 @@ module Azure::ARM::Search
57
97
  unless parameters.nil?
58
98
  parameters = SearchServiceCreateOrUpdateParameters.serialize_object(parameters)
59
99
  end
60
- request_content = JSON.generate(parameters, quirks_mode: true)
100
+ request_content = parameters != nil ? JSON.generate(parameters, quirks_mode: true) : nil
61
101
  path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{serviceName}'
62
102
  options = {
63
103
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
@@ -66,7 +106,10 @@ module Azure::ARM::Search
66
106
  body: request_content,
67
107
  headers: request_headers.merge(custom_headers || {})
68
108
  }
69
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :put, options)
109
+
110
+ request_url = @base_url || @client.base_url
111
+
112
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
70
113
  promise = request.run_promise do |req|
71
114
  @client.credentials.sign_request(req) unless @client.credentials.nil?
72
115
  end
@@ -120,13 +163,44 @@ module Azure::ARM::Search
120
163
  # @param resource_group_name [String] The name of the resource group within
121
164
  # the current subscription.
122
165
  # @param service_name [String] The name of the Search service to delete.
123
- # @param [Hash{String => String}] The hash of custom headers need to be
124
- # applied to HTTP request.
166
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
167
+ # will be added to the HTTP request.
125
168
  #
126
- # @return [Concurrent::Promise] Promise object which allows to get HTTP
127
- # response.
128
169
  #
129
170
  def delete(resource_group_name, service_name, custom_headers = nil)
171
+ response = delete_async(resource_group_name, service_name, custom_headers).value!
172
+ nil
173
+ end
174
+
175
+ #
176
+ # Deletes a Search service in the given resource group, along with its
177
+ # associated resources.
178
+ #
179
+ # @param resource_group_name [String] The name of the resource group within
180
+ # the current subscription.
181
+ # @param service_name [String] The name of the Search service to delete.
182
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
183
+ # will be added to the HTTP request.
184
+ #
185
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
186
+ #
187
+ def delete_with_http_info(resource_group_name, service_name, custom_headers = nil)
188
+ delete_async(resource_group_name, service_name, custom_headers).value!
189
+ end
190
+
191
+ #
192
+ # Deletes a Search service in the given resource group, along with its
193
+ # associated resources.
194
+ #
195
+ # @param resource_group_name [String] The name of the resource group within
196
+ # the current subscription.
197
+ # @param service_name [String] The name of the Search service to delete.
198
+ # @param [Hash{String => String}] A hash of custom headers that will be added
199
+ # to the HTTP request.
200
+ #
201
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
202
+ #
203
+ def delete_async(resource_group_name, service_name, custom_headers = nil)
130
204
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
131
205
  fail ArgumentError, 'service_name is nil' if service_name.nil?
132
206
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -143,7 +217,10 @@ module Azure::ARM::Search
143
217
  query_params: {'api-version' => @client.api_version},
144
218
  headers: request_headers.merge(custom_headers || {})
145
219
  }
146
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :delete, options)
220
+
221
+ request_url = @base_url || @client.base_url
222
+
223
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :delete, options)
147
224
  promise = request.run_promise do |req|
148
225
  @client.credentials.sign_request(req) unless @client.credentials.nil?
149
226
  end
@@ -171,13 +248,41 @@ module Azure::ARM::Search
171
248
  #
172
249
  # @param resource_group_name [String] The name of the resource group within
173
250
  # the current subscription.
174
- # @param [Hash{String => String}] The hash of custom headers need to be
175
- # applied to HTTP request.
251
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
252
+ # will be added to the HTTP request.
176
253
  #
177
- # @return [Concurrent::Promise] Promise object which allows to get HTTP
178
- # response.
254
+ # @return [SearchServiceListResult] operation results.
179
255
  #
180
256
  def list(resource_group_name, custom_headers = nil)
257
+ response = list_async(resource_group_name, custom_headers).value!
258
+ response.body unless response.nil?
259
+ end
260
+
261
+ #
262
+ # Returns a list of all Search services in the given resource group.
263
+ #
264
+ # @param resource_group_name [String] The name of the resource group within
265
+ # the current subscription.
266
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
267
+ # will be added to the HTTP request.
268
+ #
269
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
270
+ #
271
+ def list_with_http_info(resource_group_name, custom_headers = nil)
272
+ list_async(resource_group_name, custom_headers).value!
273
+ end
274
+
275
+ #
276
+ # Returns a list of all Search services in the given resource group.
277
+ #
278
+ # @param resource_group_name [String] The name of the resource group within
279
+ # the current subscription.
280
+ # @param [Hash{String => String}] A hash of custom headers that will be added
281
+ # to the HTTP request.
282
+ #
283
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
284
+ #
285
+ def list_async(resource_group_name, custom_headers = nil)
181
286
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
182
287
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
183
288
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -193,7 +298,10 @@ module Azure::ARM::Search
193
298
  query_params: {'api-version' => @client.api_version},
194
299
  headers: request_headers.merge(custom_headers || {})
195
300
  }
196
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
301
+
302
+ request_url = @base_url || @client.base_url
303
+
304
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
197
305
  promise = request.run_promise do |req|
198
306
  @client.credentials.sign_request(req) unless @client.credentials.nil?
199
307
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Search
7
- VERSION = '0.2.1'
7
+ VERSION = '0.3.0'
8
8
  end
metadata CHANGED
@@ -1,106 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: !binary |-
5
+ MC4zLjA=
5
6
  platform: ruby
6
7
  authors:
7
8
  - Microsoft Corporation
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-03-11 00:00:00.000000000 Z
12
+ date: 2016-05-23 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - "~>"
18
+ - - ~>
18
19
  - !ruby/object:Gem::Version
19
20
  version: '1.9'
20
21
  type: :development
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
- - - "~>"
25
+ - - ~>
25
26
  - !ruby/object:Gem::Version
26
27
  version: '1.9'
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: rake
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - "~>"
32
+ - - ~>
32
33
  - !ruby/object:Gem::Version
33
34
  version: '10'
34
35
  type: :development
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
- - - "~>"
39
+ - - ~>
39
40
  - !ruby/object:Gem::Version
40
41
  version: '10'
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: rspec
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
- - - "~>"
46
+ - - ~>
46
47
  - !ruby/object:Gem::Version
47
- version: '3'
48
+ version: !binary |-
49
+ Mw==
48
50
  type: :development
49
51
  prerelease: false
50
52
  version_requirements: !ruby/object:Gem::Requirement
51
53
  requirements:
52
- - - "~>"
54
+ - - ~>
53
55
  - !ruby/object:Gem::Version
54
- version: '3'
56
+ version: !binary |-
57
+ Mw==
55
58
  - !ruby/object:Gem::Dependency
56
59
  name: dotenv
57
60
  requirement: !ruby/object:Gem::Requirement
58
61
  requirements:
59
- - - "~>"
62
+ - - ~>
60
63
  - !ruby/object:Gem::Version
61
64
  version: '2'
62
65
  type: :development
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - "~>"
69
+ - - ~>
67
70
  - !ruby/object:Gem::Version
68
71
  version: '2'
69
72
  - !ruby/object:Gem::Dependency
70
73
  name: azure_mgmt_resources
71
74
  requirement: !ruby/object:Gem::Requirement
72
75
  requirements:
73
- - - "~>"
76
+ - - ~>
74
77
  - !ruby/object:Gem::Version
75
- version: '0.2'
78
+ version: !binary |-
79
+ MC4z
76
80
  type: :development
77
81
  prerelease: false
78
82
  version_requirements: !ruby/object:Gem::Requirement
79
83
  requirements:
80
- - - "~>"
84
+ - - ~>
81
85
  - !ruby/object:Gem::Version
82
- version: '0.2'
86
+ version: !binary |-
87
+ MC4z
83
88
  - !ruby/object:Gem::Dependency
84
89
  name: ms_rest_azure
85
90
  requirement: !ruby/object:Gem::Requirement
86
91
  requirements:
87
- - - "~>"
92
+ - - ~>
88
93
  - !ruby/object:Gem::Version
89
- version: 0.2.0
94
+ version: !binary |-
95
+ MC4yLjM=
90
96
  type: :runtime
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - "~>"
100
+ - - ~>
95
101
  - !ruby/object:Gem::Version
96
- version: 0.2.0
102
+ version: !binary |-
103
+ MC4yLjM=
97
104
  description: Microsoft Azure Search Management Client Library for Ruby
98
105
  email: azrubyteam@microsoft.com
99
106
  executables: []
100
107
  extensions: []
101
108
  extra_rdoc_files: []
102
109
  files:
103
- - ".rspec"
110
+ - .rspec
104
111
  - LICENSE.txt
105
112
  - Rakefile
106
113
  - azure_mgmt_search.gemspec
@@ -133,17 +140,17 @@ require_paths:
133
140
  - lib
134
141
  required_ruby_version: !ruby/object:Gem::Requirement
135
142
  requirements:
136
- - - ">="
143
+ - - ! '>='
137
144
  - !ruby/object:Gem::Version
138
145
  version: 1.9.3
139
146
  required_rubygems_version: !ruby/object:Gem::Requirement
140
147
  requirements:
141
- - - ">="
148
+ - - ! '>='
142
149
  - !ruby/object:Gem::Version
143
150
  version: '0'
144
151
  requirements: []
145
152
  rubyforge_project:
146
- rubygems_version: 2.4.6
153
+ rubygems_version: 2.4.5
147
154
  signing_key:
148
155
  specification_version: 4
149
156
  summary: Official Ruby client library to consume Microsoft Azure Search Management