azure_mgmt_search 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ede1fbc82a76d4542d231ebc9f325f178ff9303d
4
- data.tar.gz: 3454acecdb3e8aca5453062994e868da6463d43a
3
+ metadata.gz: 9a4eeaf4017187b95c725d7c84bedc80dbe420ff
4
+ data.tar.gz: 027e9c2f0de2442a4590e99786cc93518d9710fa
5
5
  SHA512:
6
- metadata.gz: 9843223c14c149ffd98fe9be6e176fd9dc46536bb24df2af127a332eceaaa5028898896df6582ceebae5ba322a2a4b891c9819137c82488f20ff0df8601a83e4
7
- data.tar.gz: 8cf08477560c74e2a08a0282f75d3e462a257cc3909b5f6b65fd19dfa5cc57f33e2c896fb3a601c3e721c85079517cc3d00c25e66f8d45e7fa6a6c7fb8857e2e
6
+ metadata.gz: 0917aced380744f32b0e54b474ff8a719b58de1b5309a03208d52382a86a81bd11d7fc58abc2029f63fc0a7f4ea803c71358e03de57f47d670da4515087bc8a7
7
+ data.tar.gz: 9cbcc93869306125f3fb64fbcf7c355db64c7a497a105967ed812a3be2da96068d572aa1278fbd6234126f77d677e96f057ebe1815a03abe101906e98df68701
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::Search
8
8
  # Client that can be used to manage Azure Search services and API keys.
9
9
  #
10
10
  class AdminKeys
11
- include Azure::ARM::Search::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -96,7 +95,7 @@ module Azure::ARM::Search
96
95
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
97
96
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
98
97
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
99
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys'
98
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys'
100
99
 
101
100
  request_url = @base_url || @client.base_url
102
101
 
@@ -123,8 +122,8 @@ module Azure::ARM::Search
123
122
  if status_code == 200
124
123
  begin
125
124
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
126
- result_mapper = AdminKeyResult.mapper()
127
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
125
+ result_mapper = Azure::ARM::Search::Models::AdminKeyResult.mapper()
126
+ result.body = @client.deserialize(result_mapper, parsed_response)
128
127
  rescue Exception => e
129
128
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
130
129
  end
@@ -220,7 +219,7 @@ module Azure::ARM::Search
220
219
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
221
220
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
222
221
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
223
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}'
222
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}'
224
223
 
225
224
  request_url = @base_url || @client.base_url
226
225
 
@@ -247,8 +246,8 @@ module Azure::ARM::Search
247
246
  if status_code == 200
248
247
  begin
249
248
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
250
- result_mapper = AdminKeyResult.mapper()
251
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
249
+ result_mapper = Azure::ARM::Search::Models::AdminKeyResult.mapper()
250
+ result.body = @client.deserialize(result_mapper, parsed_response)
252
251
  rescue Exception => e
253
252
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
254
253
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -13,6 +13,7 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [String] The primary admin API key of the Search service.
17
18
  attr_accessor :primary_key
18
19
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The Search service name to validate. Search service
16
17
  # names must only contain lowercase letters, digits or dashes, cannot use
17
18
  # dash as the first two or last one characters, cannot contain
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Boolean] A value indicating whether the name is available.
16
17
  attr_accessor :is_name_available
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -13,6 +13,7 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [String] The name of the query API key; may be empty.
17
18
  attr_accessor :name
18
19
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return A client-generated GUID value that identifies this request. If
16
17
  # specified, this will be included in response information as a way to
17
18
  # track the request.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Integer] The number of replicas in the Search service. If
16
17
  # specified, it must be a value between 1 and 12 inclusive for standard
17
18
  # SKUs or between 1 and 3 inclusive for basic SKU. Default value: 1 .
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -13,6 +13,7 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [SkuName] The SKU of the Search service. Valid values include:
17
18
  # 'free': Shared service. 'basic': Dedicated service with up to 3
18
19
  # replicas. 'standard': Dedicated service with up to 12 partitions and 12
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::Search
8
8
  # Client that can be used to manage Azure Search services and API keys.
9
9
  #
10
10
  class QueryKeys
11
- include Azure::ARM::Search::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -100,7 +99,7 @@ module Azure::ARM::Search
100
99
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
101
100
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
102
101
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
103
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}'
102
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}'
104
103
 
105
104
  request_url = @base_url || @client.base_url
106
105
 
@@ -127,8 +126,8 @@ module Azure::ARM::Search
127
126
  if status_code == 200
128
127
  begin
129
128
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
130
- result_mapper = QueryKey.mapper()
131
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
129
+ result_mapper = Azure::ARM::Search::Models::QueryKey.mapper()
130
+ result.body = @client.deserialize(result_mapper, parsed_response)
132
131
  rescue Exception => e
133
132
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
134
133
  end
@@ -211,7 +210,7 @@ module Azure::ARM::Search
211
210
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
212
211
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
213
212
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
214
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys'
213
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys'
215
214
 
216
215
  request_url = @base_url || @client.base_url
217
216
 
@@ -238,8 +237,8 @@ module Azure::ARM::Search
238
237
  if status_code == 200
239
238
  begin
240
239
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
241
- result_mapper = ListQueryKeysResult.mapper()
242
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
240
+ result_mapper = Azure::ARM::Search::Models::ListQueryKeysResult.mapper()
241
+ result.body = @client.deserialize(result_mapper, parsed_response)
243
242
  rescue Exception => e
244
243
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
245
244
  end
@@ -334,7 +333,7 @@ module Azure::ARM::Search
334
333
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
335
334
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
336
335
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
337
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}'
336
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}'
338
337
 
339
338
  request_url = @base_url || @client.base_url
340
339
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::Search
8
8
  # Client that can be used to manage Azure Search services and API keys.
9
9
  #
10
10
  class Services
11
- include Azure::ARM::Search::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -125,11 +124,11 @@ module Azure::ARM::Search
125
124
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
126
125
 
127
126
  # Serialize Request
128
- request_mapper = SearchService.mapper()
129
- request_content = @client.serialize(request_mapper, service, 'service')
127
+ request_mapper = Azure::ARM::Search::Models::SearchService.mapper()
128
+ request_content = @client.serialize(request_mapper, service)
130
129
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
131
130
 
132
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
131
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
133
132
 
134
133
  request_url = @base_url || @client.base_url
135
134
 
@@ -157,8 +156,8 @@ module Azure::ARM::Search
157
156
  if status_code == 200
158
157
  begin
159
158
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
160
- result_mapper = SearchService.mapper()
161
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
159
+ result_mapper = Azure::ARM::Search::Models::SearchService.mapper()
160
+ result.body = @client.deserialize(result_mapper, parsed_response)
162
161
  rescue Exception => e
163
162
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
164
163
  end
@@ -167,8 +166,8 @@ module Azure::ARM::Search
167
166
  if status_code == 201
168
167
  begin
169
168
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
170
- result_mapper = SearchService.mapper()
171
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
169
+ result_mapper = Azure::ARM::Search::Models::SearchService.mapper()
170
+ result.body = @client.deserialize(result_mapper, parsed_response)
172
171
  rescue Exception => e
173
172
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
174
173
  end
@@ -251,7 +250,7 @@ module Azure::ARM::Search
251
250
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
252
251
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
253
252
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
254
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
253
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
255
254
 
256
255
  request_url = @base_url || @client.base_url
257
256
 
@@ -278,8 +277,8 @@ module Azure::ARM::Search
278
277
  if status_code == 200
279
278
  begin
280
279
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
281
- result_mapper = SearchService.mapper()
282
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
280
+ result_mapper = Azure::ARM::Search::Models::SearchService.mapper()
281
+ result.body = @client.deserialize(result_mapper, parsed_response)
283
282
  rescue Exception => e
284
283
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
285
284
  end
@@ -364,7 +363,7 @@ module Azure::ARM::Search
364
363
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
365
364
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
366
365
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
367
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
366
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}'
368
367
 
369
368
  request_url = @base_url || @client.base_url
370
369
 
@@ -458,7 +457,7 @@ module Azure::ARM::Search
458
457
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
459
458
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
460
459
  request_headers['x-ms-client-request-id'] = client_request_id.to_s unless client_request_id.to_s.nil?
461
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices'
460
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices'
462
461
 
463
462
  request_url = @base_url || @client.base_url
464
463
 
@@ -485,8 +484,8 @@ module Azure::ARM::Search
485
484
  if status_code == 200
486
485
  begin
487
486
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
488
- result_mapper = SearchServiceListResult.mapper()
489
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
487
+ result_mapper = Azure::ARM::Search::Models::SearchServiceListResult.mapper()
488
+ result.body = @client.deserialize(result_mapper, parsed_response)
490
489
  rescue Exception => e
491
490
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
492
491
  end
@@ -579,11 +578,11 @@ module Azure::ARM::Search
579
578
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
580
579
 
581
580
  # Serialize Request
582
- request_mapper = CheckNameAvailabilityInput.mapper()
583
- request_content = @client.serialize(request_mapper, check_name_availability_input, 'check_name_availability_input')
581
+ request_mapper = Azure::ARM::Search::Models::CheckNameAvailabilityInput.mapper()
582
+ request_content = @client.serialize(request_mapper, check_name_availability_input)
584
583
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
585
584
 
586
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability'
585
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability'
587
586
 
588
587
  request_url = @base_url || @client.base_url
589
588
 
@@ -611,8 +610,8 @@ module Azure::ARM::Search
611
610
  if status_code == 200
612
611
  begin
613
612
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
614
- result_mapper = CheckNameAvailabilityOutput.mapper()
615
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
613
+ result_mapper = Azure::ARM::Search::Models::CheckNameAvailabilityOutput.mapper()
614
+ result.body = @client.deserialize(result_mapper, parsed_response)
616
615
  rescue Exception => e
617
616
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
618
617
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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.10.0'
7
+ VERSION = '0.11.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-06 00:00:00.000000000 Z
11
+ date: 2017-07-19 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.7.0
75
+ version: 0.8.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.7.0
82
+ version: 0.8.0
83
83
  description: Microsoft Azure Search Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []