azure_mgmt_iot_hub 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_iot_hub.rb +14 -6
  3. data/lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb +2 -2
  4. data/lib/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +88 -89
  5. data/lib/generated/azure_mgmt_iot_hub/models/access_rights.rb +1 -1
  6. data/lib/generated/azure_mgmt_iot_hub/models/capabilities.rb +1 -1
  7. data/lib/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +2 -1
  8. data/lib/generated/azure_mgmt_iot_hub/models/error_details.rb +2 -1
  9. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +2 -1
  10. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +2 -1
  11. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +2 -1
  12. data/lib/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +2 -1
  13. data/lib/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +96 -0
  14. data/lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +2 -1
  15. data/lib/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +2 -1
  16. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +2 -1
  17. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +2 -1
  18. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +2 -1
  19. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +2 -1
  20. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +1 -1
  21. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +13 -1
  22. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +2 -1
  23. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +2 -1
  24. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +1 -1
  25. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +1 -1
  26. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +2 -1
  27. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +2 -1
  28. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +2 -1
  29. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +1 -1
  30. data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +1 -1
  31. data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +2 -1
  32. data/lib/generated/azure_mgmt_iot_hub/models/job_response.rb +3 -2
  33. data/lib/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +2 -1
  34. data/lib/generated/azure_mgmt_iot_hub/models/job_status.rb +1 -1
  35. data/lib/generated/azure_mgmt_iot_hub/models/job_type.rb +1 -1
  36. data/lib/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +5 -4
  37. data/lib/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +2 -1
  38. data/lib/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +1 -1
  39. data/lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +5 -2
  40. data/lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +2 -1
  41. data/lib/generated/azure_mgmt_iot_hub/models/route_properties.rb +110 -0
  42. data/lib/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +98 -0
  43. data/lib/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +83 -0
  44. data/lib/generated/azure_mgmt_iot_hub/models/routing_properties.rb +84 -0
  45. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +86 -0
  46. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +86 -0
  47. data/lib/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
  48. data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +2 -1
  49. data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +2 -1
  50. data/lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -1
  51. data/lib/generated/azure_mgmt_iot_hub/module_definition.rb +1 -1
  52. data/lib/generated/azure_mgmt_iot_hub/version.rb +2 -2
  53. metadata +12 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbe3a7e0ffa42d39d484e516b6ba499e92e93e42
4
- data.tar.gz: 68e4b168fb065af5fef1a998a01bfba22dacd891
3
+ metadata.gz: c8a730b7aa3d764c38819836495bb12bf8cdaf41
4
+ data.tar.gz: 6afad72644bda07f89a2b857b696cc7145c6d825
5
5
  SHA512:
6
- metadata.gz: 9b1a0e9b50e25ee3ebf0be7068f34a8117170b3de946d916464fa7c63acabf59aa96613f002b4add5f1236d96fef7126d7d81114d97d5ca5d29a4f95218e4fd8
7
- data.tar.gz: 22d57ec2355710158edc033a01f272d723a5f4e9dd4656f18e87da1e787872e850f9029d8eef0eab54b8ddbb49dc27d23aae2d2f8fff45231ce9ed76d6afb29f
6
+ metadata.gz: 4c27d53b6b831bb7f7be4c23e5e795ea9aa9119cf4654fa62237a09f67893b2239bc99c121005aa3f6cd515d6b1521c1bbf136e35387ed8a600311eaa3e5366e
7
+ data.tar.gz: 946a40a86bd582674000613b29a9b4c9667776c706efe456306cf98dddd27d8f2a9b7c869cc31d15105587774b41ad26162c2499b6577e636ae455b6725a6dea
@@ -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
 
@@ -24,9 +24,15 @@ module Azure::ARM::IotHub
24
24
  autoload :IotHubClient, 'generated/azure_mgmt_iot_hub/iot_hub_client.rb'
25
25
 
26
26
  module Models
27
+ autoload :SharedAccessSignatureAuthorizationRule, 'generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb'
28
+ autoload :SharedAccessSignatureAuthorizationRuleListResult, 'generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb'
29
+ autoload :EventHubProperties, 'generated/azure_mgmt_iot_hub/models/event_hub_properties.rb'
30
+ autoload :ErrorDetails, 'generated/azure_mgmt_iot_hub/models/error_details.rb'
31
+ autoload :RoutingServiceBusTopicEndpointProperties, 'generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb'
27
32
  autoload :IotHubQuotaMetricInfo, 'generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb'
33
+ autoload :RoutingEndpoints, 'generated/azure_mgmt_iot_hub/models/routing_endpoints.rb'
28
34
  autoload :IotHubQuotaMetricInfoListResult, 'generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb'
29
- autoload :IpFilterRule, 'generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb'
35
+ autoload :FallbackRouteProperties, 'generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb'
30
36
  autoload :RegistryStatistics, 'generated/azure_mgmt_iot_hub/models/registry_statistics.rb'
31
37
  autoload :StorageEndpointProperties, 'generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb'
32
38
  autoload :JobResponse, 'generated/azure_mgmt_iot_hub/models/job_response.rb'
@@ -36,24 +42,26 @@ module Azure::ARM::IotHub
36
42
  autoload :IotHubCapacity, 'generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb'
37
43
  autoload :IotHubSkuInfo, 'generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb'
38
44
  autoload :IotHubSkuDescription, 'generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb'
45
+ autoload :IpFilterRule, 'generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb'
39
46
  autoload :EventHubConsumerGroupsListResult, 'generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb'
40
- autoload :ErrorDetails, 'generated/azure_mgmt_iot_hub/models/error_details.rb'
47
+ autoload :RoutingEventHubProperties, 'generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb'
41
48
  autoload :EventHubConsumerGroupInfo, 'generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb'
42
- autoload :EventHubProperties, 'generated/azure_mgmt_iot_hub/models/event_hub_properties.rb'
49
+ autoload :RoutingProperties, 'generated/azure_mgmt_iot_hub/models/routing_properties.rb'
43
50
  autoload :IotHubSkuDescriptionListResult, 'generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb'
44
51
  autoload :CloudToDeviceProperties, 'generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb'
45
52
  autoload :IotHubDescriptionListResult, 'generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb'
46
- autoload :SharedAccessSignatureAuthorizationRuleListResult, 'generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb'
53
+ autoload :RoutingServiceBusQueueEndpointProperties, 'generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb'
47
54
  autoload :OperationInputs, 'generated/azure_mgmt_iot_hub/models/operation_inputs.rb'
48
55
  autoload :MessagingEndpointProperties, 'generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb'
49
56
  autoload :IotHubNameAvailabilityInfo, 'generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb'
50
- autoload :SharedAccessSignatureAuthorizationRule, 'generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb'
57
+ autoload :RouteProperties, 'generated/azure_mgmt_iot_hub/models/route_properties.rb'
51
58
  autoload :ExportDevicesRequest, 'generated/azure_mgmt_iot_hub/models/export_devices_request.rb'
52
59
  autoload :IotHubProperties, 'generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb'
53
60
  autoload :ImportDevicesRequest, 'generated/azure_mgmt_iot_hub/models/import_devices_request.rb'
54
61
  autoload :IotHubDescription, 'generated/azure_mgmt_iot_hub/models/iot_hub_description.rb'
55
62
  autoload :AccessRights, 'generated/azure_mgmt_iot_hub/models/access_rights.rb'
56
63
  autoload :IpFilterActionType, 'generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb'
64
+ autoload :RoutingSource, 'generated/azure_mgmt_iot_hub/models/routing_source.rb'
57
65
  autoload :OperationMonitoringLevel, 'generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb'
58
66
  autoload :Capabilities, 'generated/azure_mgmt_iot_hub/models/capabilities.rb'
59
67
  autoload :IotHubSku, 'generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb'
@@ -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
 
@@ -51,7 +51,7 @@ module Azure::ARM::IotHub
51
51
  @credentials = credentials
52
52
 
53
53
  @iot_hub_resource = IotHubResource.new(self)
54
- @api_version = '2016-02-03'
54
+ @api_version = '2017-01-19'
55
55
  @accept_language = 'en-US'
56
56
  @long_running_operation_retry_timeout = 30
57
57
  @generate_client_request_id = true
@@ -1,14 +1,13 @@
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::IotHub
7
7
  #
8
- # Use this API to manage the IoT hubs in your subscription.
8
+ # Use this API to manage the IoT hubs in your Azure subscription.
9
9
  #
10
10
  class IotHubResource
11
- include Azure::ARM::IotHub::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -82,7 +81,7 @@ module Azure::ARM::IotHub
82
81
  # Set Headers
83
82
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
84
83
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
85
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
84
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
86
85
 
87
86
  request_url = @base_url || @client.base_url
88
87
 
@@ -109,8 +108,8 @@ module Azure::ARM::IotHub
109
108
  if status_code == 200
110
109
  begin
111
110
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
112
- result_mapper = IotHubDescription.mapper()
113
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
111
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
112
+ result.body = @client.deserialize(result_mapper, parsed_response)
114
113
  rescue Exception => e
115
114
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
116
115
  end
@@ -163,8 +162,8 @@ module Azure::ARM::IotHub
163
162
  promise = promise.then do |response|
164
163
  # Defining deserialization method.
165
164
  deserialize_method = lambda do |parsed_response|
166
- result_mapper = IotHubDescription.mapper()
167
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
165
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
166
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
168
167
  end
169
168
 
170
169
  # Waiting for response.
@@ -216,7 +215,7 @@ module Azure::ARM::IotHub
216
215
  name: 'Object'
217
216
  }
218
217
  }
219
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
218
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
220
219
  end
221
220
 
222
221
  # Waiting for response.
@@ -275,7 +274,7 @@ module Azure::ARM::IotHub
275
274
  # Set Headers
276
275
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
277
276
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
278
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs'
277
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs'
279
278
 
280
279
  request_url = @base_url || @client.base_url
281
280
 
@@ -302,8 +301,8 @@ module Azure::ARM::IotHub
302
301
  if status_code == 200
303
302
  begin
304
303
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
305
- result_mapper = IotHubDescriptionListResult.mapper()
306
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
304
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescriptionListResult.mapper()
305
+ result.body = @client.deserialize(result_mapper, parsed_response)
307
306
  rescue Exception => e
308
307
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
309
308
  end
@@ -371,7 +370,7 @@ module Azure::ARM::IotHub
371
370
  # Set Headers
372
371
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
373
372
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
374
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs'
373
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs'
375
374
 
376
375
  request_url = @base_url || @client.base_url
377
376
 
@@ -398,8 +397,8 @@ module Azure::ARM::IotHub
398
397
  if status_code == 200
399
398
  begin
400
399
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
401
- result_mapper = IotHubDescriptionListResult.mapper()
402
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
400
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescriptionListResult.mapper()
401
+ result.body = @client.deserialize(result_mapper, parsed_response)
403
402
  rescue Exception => e
404
403
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
405
404
  end
@@ -471,7 +470,7 @@ module Azure::ARM::IotHub
471
470
  # Set Headers
472
471
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
473
472
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
474
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStats'
473
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStats'
475
474
 
476
475
  request_url = @base_url || @client.base_url
477
476
 
@@ -498,8 +497,8 @@ module Azure::ARM::IotHub
498
497
  if status_code == 200
499
498
  begin
500
499
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
501
- result_mapper = RegistryStatistics.mapper()
502
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
500
+ result_mapper = Azure::ARM::IotHub::Models::RegistryStatistics.mapper()
501
+ result.body = @client.deserialize(result_mapper, parsed_response)
503
502
  rescue Exception => e
504
503
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
505
504
  end
@@ -571,7 +570,7 @@ module Azure::ARM::IotHub
571
570
  # Set Headers
572
571
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
573
572
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
574
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/skus'
573
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/skus'
575
574
 
576
575
  request_url = @base_url || @client.base_url
577
576
 
@@ -598,8 +597,8 @@ module Azure::ARM::IotHub
598
597
  if status_code == 200
599
598
  begin
600
599
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
601
- result_mapper = IotHubSkuDescriptionListResult.mapper()
602
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
600
+ result_mapper = Azure::ARM::IotHub::Models::IotHubSkuDescriptionListResult.mapper()
601
+ result.body = @client.deserialize(result_mapper, parsed_response)
603
602
  rescue Exception => e
604
603
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
605
604
  end
@@ -684,7 +683,7 @@ module Azure::ARM::IotHub
684
683
  # Set Headers
685
684
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
686
685
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
687
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups'
686
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups'
688
687
 
689
688
  request_url = @base_url || @client.base_url
690
689
 
@@ -711,8 +710,8 @@ module Azure::ARM::IotHub
711
710
  if status_code == 200
712
711
  begin
713
712
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
714
- result_mapper = EventHubConsumerGroupsListResult.mapper()
715
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
713
+ result_mapper = Azure::ARM::IotHub::Models::EventHubConsumerGroupsListResult.mapper()
714
+ result.body = @client.deserialize(result_mapper, parsed_response)
716
715
  rescue Exception => e
717
716
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
718
717
  end
@@ -801,7 +800,7 @@ module Azure::ARM::IotHub
801
800
  # Set Headers
802
801
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
803
802
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
804
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
803
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
805
804
 
806
805
  request_url = @base_url || @client.base_url
807
806
 
@@ -828,8 +827,8 @@ module Azure::ARM::IotHub
828
827
  if status_code == 200
829
828
  begin
830
829
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
831
- result_mapper = EventHubConsumerGroupInfo.mapper()
832
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
830
+ result_mapper = Azure::ARM::IotHub::Models::EventHubConsumerGroupInfo.mapper()
831
+ result.body = @client.deserialize(result_mapper, parsed_response)
833
832
  rescue Exception => e
834
833
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
835
834
  end
@@ -912,7 +911,7 @@ module Azure::ARM::IotHub
912
911
  # Set Headers
913
912
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
914
913
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
915
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
914
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
916
915
 
917
916
  request_url = @base_url || @client.base_url
918
917
 
@@ -939,8 +938,8 @@ module Azure::ARM::IotHub
939
938
  if status_code == 200
940
939
  begin
941
940
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
942
- result_mapper = EventHubConsumerGroupInfo.mapper()
943
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
941
+ result_mapper = Azure::ARM::IotHub::Models::EventHubConsumerGroupInfo.mapper()
942
+ result.body = @client.deserialize(result_mapper, parsed_response)
944
943
  rescue Exception => e
945
944
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
946
945
  end
@@ -1022,7 +1021,7 @@ module Azure::ARM::IotHub
1022
1021
  # Set Headers
1023
1022
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1024
1023
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1025
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
1024
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}'
1026
1025
 
1027
1026
  request_url = @base_url || @client.base_url
1028
1027
 
@@ -1118,7 +1117,7 @@ module Azure::ARM::IotHub
1118
1117
  # Set Headers
1119
1118
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1120
1119
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1121
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs'
1120
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs'
1122
1121
 
1123
1122
  request_url = @base_url || @client.base_url
1124
1123
 
@@ -1145,8 +1144,8 @@ module Azure::ARM::IotHub
1145
1144
  if status_code == 200
1146
1145
  begin
1147
1146
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1148
- result_mapper = JobResponseListResult.mapper()
1149
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1147
+ result_mapper = Azure::ARM::IotHub::Models::JobResponseListResult.mapper()
1148
+ result.body = @client.deserialize(result_mapper, parsed_response)
1150
1149
  rescue Exception => e
1151
1150
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1152
1151
  end
@@ -1228,7 +1227,7 @@ module Azure::ARM::IotHub
1228
1227
  # Set Headers
1229
1228
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1230
1229
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1231
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs/{jobId}'
1230
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs/{jobId}'
1232
1231
 
1233
1232
  request_url = @base_url || @client.base_url
1234
1233
 
@@ -1255,8 +1254,8 @@ module Azure::ARM::IotHub
1255
1254
  if status_code == 200
1256
1255
  begin
1257
1256
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1258
- result_mapper = JobResponse.mapper()
1259
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1257
+ result_mapper = Azure::ARM::IotHub::Models::JobResponse.mapper()
1258
+ result.body = @client.deserialize(result_mapper, parsed_response)
1260
1259
  rescue Exception => e
1261
1260
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1262
1261
  end
@@ -1328,7 +1327,7 @@ module Azure::ARM::IotHub
1328
1327
  # Set Headers
1329
1328
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1330
1329
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1331
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics'
1330
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/quotaMetrics'
1332
1331
 
1333
1332
  request_url = @base_url || @client.base_url
1334
1333
 
@@ -1355,8 +1354,8 @@ module Azure::ARM::IotHub
1355
1354
  if status_code == 200
1356
1355
  begin
1357
1356
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1358
- result_mapper = IotHubQuotaMetricInfoListResult.mapper()
1359
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1357
+ result_mapper = Azure::ARM::IotHub::Models::IotHubQuotaMetricInfoListResult.mapper()
1358
+ result.body = @client.deserialize(result_mapper, parsed_response)
1360
1359
  rescue Exception => e
1361
1360
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1362
1361
  end
@@ -1428,11 +1427,11 @@ module Azure::ARM::IotHub
1428
1427
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1429
1428
 
1430
1429
  # Serialize Request
1431
- request_mapper = OperationInputs.mapper()
1432
- request_content = @client.serialize(request_mapper, operation_inputs, 'operation_inputs')
1430
+ request_mapper = Azure::ARM::IotHub::Models::OperationInputs.mapper()
1431
+ request_content = @client.serialize(request_mapper, operation_inputs)
1433
1432
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1434
1433
 
1435
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability'
1434
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability'
1436
1435
 
1437
1436
  request_url = @base_url || @client.base_url
1438
1437
 
@@ -1460,8 +1459,8 @@ module Azure::ARM::IotHub
1460
1459
  if status_code == 200
1461
1460
  begin
1462
1461
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1463
- result_mapper = IotHubNameAvailabilityInfo.mapper()
1464
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1462
+ result_mapper = Azure::ARM::IotHub::Models::IotHubNameAvailabilityInfo.mapper()
1463
+ result.body = @client.deserialize(result_mapper, parsed_response)
1465
1464
  rescue Exception => e
1466
1465
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1467
1466
  end
@@ -1539,7 +1538,7 @@ module Azure::ARM::IotHub
1539
1538
  # Set Headers
1540
1539
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1541
1540
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1542
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys'
1541
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/listkeys'
1543
1542
 
1544
1543
  request_url = @base_url || @client.base_url
1545
1544
 
@@ -1566,8 +1565,8 @@ module Azure::ARM::IotHub
1566
1565
  if status_code == 200
1567
1566
  begin
1568
1567
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1569
- result_mapper = SharedAccessSignatureAuthorizationRuleListResult.mapper()
1570
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1568
+ result_mapper = Azure::ARM::IotHub::Models::SharedAccessSignatureAuthorizationRuleListResult.mapper()
1569
+ result.body = @client.deserialize(result_mapper, parsed_response)
1571
1570
  rescue Exception => e
1572
1571
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1573
1572
  end
@@ -1649,7 +1648,7 @@ module Azure::ARM::IotHub
1649
1648
  # Set Headers
1650
1649
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1651
1650
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1652
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys'
1651
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubKeys/{keyName}/listkeys'
1653
1652
 
1654
1653
  request_url = @base_url || @client.base_url
1655
1654
 
@@ -1676,8 +1675,8 @@ module Azure::ARM::IotHub
1676
1675
  if status_code == 200
1677
1676
  begin
1678
1677
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1679
- result_mapper = SharedAccessSignatureAuthorizationRule.mapper()
1680
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1678
+ result_mapper = Azure::ARM::IotHub::Models::SharedAccessSignatureAuthorizationRule.mapper()
1679
+ result.body = @client.deserialize(result_mapper, parsed_response)
1681
1680
  rescue Exception => e
1682
1681
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1683
1682
  end
@@ -1772,11 +1771,11 @@ module Azure::ARM::IotHub
1772
1771
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1773
1772
 
1774
1773
  # Serialize Request
1775
- request_mapper = ExportDevicesRequest.mapper()
1776
- request_content = @client.serialize(request_mapper, export_devices_parameters, 'export_devices_parameters')
1774
+ request_mapper = Azure::ARM::IotHub::Models::ExportDevicesRequest.mapper()
1775
+ request_content = @client.serialize(request_mapper, export_devices_parameters)
1777
1776
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1778
1777
 
1779
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/exportDevices'
1778
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/exportDevices'
1780
1779
 
1781
1780
  request_url = @base_url || @client.base_url
1782
1781
 
@@ -1804,8 +1803,8 @@ module Azure::ARM::IotHub
1804
1803
  if status_code == 200
1805
1804
  begin
1806
1805
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1807
- result_mapper = JobResponse.mapper()
1808
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1806
+ result_mapper = Azure::ARM::IotHub::Models::JobResponse.mapper()
1807
+ result.body = @client.deserialize(result_mapper, parsed_response)
1809
1808
  rescue Exception => e
1810
1809
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1811
1810
  end
@@ -1900,11 +1899,11 @@ module Azure::ARM::IotHub
1900
1899
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1901
1900
 
1902
1901
  # Serialize Request
1903
- request_mapper = ImportDevicesRequest.mapper()
1904
- request_content = @client.serialize(request_mapper, import_devices_parameters, 'import_devices_parameters')
1902
+ request_mapper = Azure::ARM::IotHub::Models::ImportDevicesRequest.mapper()
1903
+ request_content = @client.serialize(request_mapper, import_devices_parameters)
1905
1904
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1906
1905
 
1907
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices'
1906
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices'
1908
1907
 
1909
1908
  request_url = @base_url || @client.base_url
1910
1909
 
@@ -1932,8 +1931,8 @@ module Azure::ARM::IotHub
1932
1931
  if status_code == 200
1933
1932
  begin
1934
1933
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1935
- result_mapper = JobResponse.mapper()
1936
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1934
+ result_mapper = Azure::ARM::IotHub::Models::JobResponse.mapper()
1935
+ result.body = @client.deserialize(result_mapper, parsed_response)
1937
1936
  rescue Exception => e
1938
1937
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1939
1938
  end
@@ -2022,11 +2021,11 @@ module Azure::ARM::IotHub
2022
2021
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
2023
2022
 
2024
2023
  # Serialize Request
2025
- request_mapper = IotHubDescription.mapper()
2026
- request_content = @client.serialize(request_mapper, iot_hub_description, 'iot_hub_description')
2024
+ request_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
2025
+ request_content = @client.serialize(request_mapper, iot_hub_description)
2027
2026
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2028
2027
 
2029
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
2028
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
2030
2029
 
2031
2030
  request_url = @base_url || @client.base_url
2032
2031
 
@@ -2054,8 +2053,8 @@ module Azure::ARM::IotHub
2054
2053
  if status_code == 201
2055
2054
  begin
2056
2055
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2057
- result_mapper = IotHubDescription.mapper()
2058
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2056
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
2057
+ result.body = @client.deserialize(result_mapper, parsed_response)
2059
2058
  rescue Exception => e
2060
2059
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2061
2060
  end
@@ -2064,8 +2063,8 @@ module Azure::ARM::IotHub
2064
2063
  if status_code == 200
2065
2064
  begin
2066
2065
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2067
- result_mapper = IotHubDescription.mapper()
2068
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2066
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
2067
+ result.body = @client.deserialize(result_mapper, parsed_response)
2069
2068
  rescue Exception => e
2070
2069
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2071
2070
  end
@@ -2137,7 +2136,7 @@ module Azure::ARM::IotHub
2137
2136
  # Set Headers
2138
2137
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2139
2138
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2140
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
2139
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}'
2141
2140
 
2142
2141
  request_url = @base_url || @client.base_url
2143
2142
 
@@ -2164,8 +2163,8 @@ module Azure::ARM::IotHub
2164
2163
  if status_code == 202
2165
2164
  begin
2166
2165
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2167
- result_mapper = IotHubDescription.mapper()
2168
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2166
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
2167
+ result.body = @client.deserialize(result_mapper, parsed_response)
2169
2168
  rescue Exception => e
2170
2169
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2171
2170
  end
@@ -2174,8 +2173,8 @@ module Azure::ARM::IotHub
2174
2173
  if status_code == 200
2175
2174
  begin
2176
2175
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2177
- result_mapper = IotHubDescription.mapper()
2178
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2176
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescription.mapper()
2177
+ result.body = @client.deserialize(result_mapper, parsed_response)
2179
2178
  rescue Exception => e
2180
2179
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2181
2180
  end
@@ -2184,8 +2183,8 @@ module Azure::ARM::IotHub
2184
2183
  if status_code == 404
2185
2184
  begin
2186
2185
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2187
- result_mapper = ErrorDetails.mapper()
2188
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2186
+ result_mapper = Azure::ARM::IotHub::Models::ErrorDetails.mapper()
2187
+ result.body = @client.deserialize(result_mapper, parsed_response)
2189
2188
  rescue Exception => e
2190
2189
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2191
2190
  end
@@ -2277,8 +2276,8 @@ module Azure::ARM::IotHub
2277
2276
  if status_code == 200
2278
2277
  begin
2279
2278
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2280
- result_mapper = IotHubDescriptionListResult.mapper()
2281
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2279
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescriptionListResult.mapper()
2280
+ result.body = @client.deserialize(result_mapper, parsed_response)
2282
2281
  rescue Exception => e
2283
2282
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2284
2283
  end
@@ -2370,8 +2369,8 @@ module Azure::ARM::IotHub
2370
2369
  if status_code == 200
2371
2370
  begin
2372
2371
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2373
- result_mapper = IotHubDescriptionListResult.mapper()
2374
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2372
+ result_mapper = Azure::ARM::IotHub::Models::IotHubDescriptionListResult.mapper()
2373
+ result.body = @client.deserialize(result_mapper, parsed_response)
2375
2374
  rescue Exception => e
2376
2375
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2377
2376
  end
@@ -2463,8 +2462,8 @@ module Azure::ARM::IotHub
2463
2462
  if status_code == 200
2464
2463
  begin
2465
2464
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2466
- result_mapper = IotHubSkuDescriptionListResult.mapper()
2467
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2465
+ result_mapper = Azure::ARM::IotHub::Models::IotHubSkuDescriptionListResult.mapper()
2466
+ result.body = @client.deserialize(result_mapper, parsed_response)
2468
2467
  rescue Exception => e
2469
2468
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2470
2469
  end
@@ -2562,8 +2561,8 @@ module Azure::ARM::IotHub
2562
2561
  if status_code == 200
2563
2562
  begin
2564
2563
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2565
- result_mapper = EventHubConsumerGroupsListResult.mapper()
2566
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2564
+ result_mapper = Azure::ARM::IotHub::Models::EventHubConsumerGroupsListResult.mapper()
2565
+ result.body = @client.deserialize(result_mapper, parsed_response)
2567
2566
  rescue Exception => e
2568
2567
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2569
2568
  end
@@ -2661,8 +2660,8 @@ module Azure::ARM::IotHub
2661
2660
  if status_code == 200
2662
2661
  begin
2663
2662
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2664
- result_mapper = JobResponseListResult.mapper()
2665
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2663
+ result_mapper = Azure::ARM::IotHub::Models::JobResponseListResult.mapper()
2664
+ result.body = @client.deserialize(result_mapper, parsed_response)
2666
2665
  rescue Exception => e
2667
2666
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2668
2667
  end
@@ -2754,8 +2753,8 @@ module Azure::ARM::IotHub
2754
2753
  if status_code == 200
2755
2754
  begin
2756
2755
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2757
- result_mapper = IotHubQuotaMetricInfoListResult.mapper()
2758
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2756
+ result_mapper = Azure::ARM::IotHub::Models::IotHubQuotaMetricInfoListResult.mapper()
2757
+ result.body = @client.deserialize(result_mapper, parsed_response)
2759
2758
  rescue Exception => e
2760
2759
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2761
2760
  end
@@ -2853,8 +2852,8 @@ module Azure::ARM::IotHub
2853
2852
  if status_code == 200
2854
2853
  begin
2855
2854
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2856
- result_mapper = SharedAccessSignatureAuthorizationRuleListResult.mapper()
2857
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
2855
+ result_mapper = Azure::ARM::IotHub::Models::SharedAccessSignatureAuthorizationRuleListResult.mapper()
2856
+ result.body = @client.deserialize(result_mapper, parsed_response)
2858
2857
  rescue Exception => e
2859
2858
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2860
2859
  end