azure_mgmt_iot_hub 0.16.0 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  3. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +52 -0
  4. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
  5. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +2 -2
  6. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
  7. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
  8. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
  9. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
  10. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/resource.rb +9 -0
  11. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
  12. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -2
  13. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  14. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +52 -0
  15. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
  16. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +2 -2
  17. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
  18. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
  19. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
  20. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
  21. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/resource.rb +9 -0
  22. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
  23. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -2
  24. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/certificates.rb +12 -0
  25. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  26. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +52 -0
  27. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
  28. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
  29. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
  30. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
  31. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
  32. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +1 -1
  33. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/resource.rb +9 -0
  34. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +1 -1
  35. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
  36. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -2
  37. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/operations.rb +4 -0
  38. data/lib/2018-01-22/generated/azure_mgmt_iot_hub.rb +89 -0
  39. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  40. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +139 -0
  41. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3296 -0
  42. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  43. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  44. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  45. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  46. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  47. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +107 -0
  48. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +121 -0
  49. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  50. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  51. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  52. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  53. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  54. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  55. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  56. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  57. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  58. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  59. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  60. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  61. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  62. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  63. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  64. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  65. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
  66. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  67. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  68. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  69. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
  70. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  71. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  72. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  73. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
  74. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  75. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  76. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  77. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  78. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  79. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  80. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  81. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  82. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
  83. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  84. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  85. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
  86. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
  87. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  88. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  89. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  90. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  91. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  92. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  93. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  94. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  95. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
  96. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
  97. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  98. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  99. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  100. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  101. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  102. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  103. data/lib/2018-04-01/generated/azure_mgmt_iot_hub.rb +110 -0
  104. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  105. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
  106. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  107. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  108. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  109. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  110. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  111. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  112. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  113. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  114. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  115. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  116. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  117. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +58 -0
  118. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  119. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  120. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  121. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  122. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  123. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  124. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  125. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  126. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  127. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  128. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  129. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  130. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  131. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  132. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  133. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
  134. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  135. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  136. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  137. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  138. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  139. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  140. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  141. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  142. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  143. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  144. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  145. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  146. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  147. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  148. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  149. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  150. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  151. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  152. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
  153. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  154. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  155. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
  156. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
  157. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  158. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  159. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  160. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  161. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  162. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  163. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  164. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  165. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  166. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  167. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  168. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  169. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  170. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  171. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
  172. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  173. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  174. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  175. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  176. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  177. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  178. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +72 -0
  179. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  180. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  181. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  182. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  183. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  184. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  185. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  186. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  187. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  188. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  189. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub.rb +109 -0
  190. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  191. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
  192. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  193. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  194. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  195. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  196. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  197. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  198. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  199. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  200. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  201. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  202. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  203. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  204. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  205. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  206. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  207. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  208. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  209. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  210. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  211. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  212. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  213. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  214. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  215. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  216. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  217. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  218. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  219. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +253 -0
  220. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  221. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  222. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  223. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  224. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  225. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  226. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  227. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  228. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  229. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  230. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  231. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  232. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  233. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  234. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  235. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  236. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  237. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  238. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  239. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  240. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  241. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  242. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  243. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  244. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  245. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  246. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  247. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  248. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  249. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  250. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  251. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  252. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  253. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  254. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  255. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  256. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  257. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  258. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  259. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  260. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  261. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  262. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  263. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +72 -0
  264. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  265. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  266. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  267. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  268. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  269. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  270. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  271. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  272. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  273. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  274. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub.rb +112 -0
  275. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  276. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub.rb +172 -0
  277. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +147 -0
  278. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  279. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  280. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  281. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  282. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  283. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  284. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  285. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  286. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  287. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  288. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  289. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  290. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  291. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  292. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb +81 -0
  293. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  294. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  295. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  296. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  297. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  298. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb +46 -0
  299. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  300. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  301. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  302. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  303. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  304. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  305. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  306. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  307. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +253 -0
  308. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  309. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  310. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  311. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  312. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  313. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  314. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  315. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  316. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  317. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  318. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  319. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  320. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  321. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  322. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  323. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  324. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  325. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  326. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  327. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  328. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  329. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  330. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  331. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  332. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  333. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  334. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  335. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  336. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  337. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  338. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  339. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  340. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +110 -0
  341. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  342. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  343. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  344. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  345. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  346. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  347. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  348. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  349. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  350. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  351. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +72 -0
  352. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  353. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  354. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  355. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  356. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  357. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  358. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  359. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  360. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  361. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  362. data/lib/azure_mgmt_iot_hub.rb +5 -1
  363. data/lib/profiles/latest/modules/iothub_profile_module.rb +254 -162
  364. data/lib/version.rb +1 -1
  365. metadata +329 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f6679541ae6b5fbd38497009fc429e841b62742b
4
- data.tar.gz: d6dc2cee6107f17e71edb9786f9dacbddb6f24d5
2
+ SHA256:
3
+ metadata.gz: fecee24186b51e5a8e4468f1fd47bd78ecef17bff8fd853ffe6d5c3a88a21eb0
4
+ data.tar.gz: 9bd8de419e56b36dd2462352b9827c450cb189792d0e9de94fd0223ed0617152
5
5
  SHA512:
6
- metadata.gz: 1cf021d5e8ee1bbd8fabc1212dea821b59565a72116d3bdebcdcece2b954910b16c1780d41757135b75b1d22e54be11182fac76f7615664d3d363072d714c6b1
7
- data.tar.gz: f32c3a2871b9c7f0a9aa43a8dd80d9aef2261e7a492550bf8ee24ee3a60324e0288a847ba89b14c2adc5155e84a8fbf8727d2055548858b2b6ae8fdd0b85f061
6
+ metadata.gz: b6164fb562dbc11bed922a81509378e5daa52eaf3a8aaf8c8df62f0cf94d159bfb8733dcb8196a371a83b66cf158b1212601e587f55dab84716d6da33a0af20f
7
+ data.tar.gz: 53721b6fe1276e5a3953f9a23c445afcf9436019fb71603df73029c8d2273ae4a751837d5c08186fe8a59ed29af161e1ecb59825037a0c5445600be604e79184
@@ -23,15 +23,16 @@ module Azure::IotHub::Mgmt::V2016_02_03
23
23
  # @return [String] The version of the API.
24
24
  attr_reader :api_version
25
25
 
26
- # @return [String] Gets or sets the preferred language for the response.
26
+ # @return [String] The preferred language for the response.
27
27
  attr_accessor :accept_language
28
28
 
29
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
- # Running Operations. Default value is 30.
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
31
  attr_accessor :long_running_operation_retry_timeout
32
32
 
33
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
- # is generated and included in each request. Default is true.
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
35
36
  attr_accessor :generate_client_request_id
36
37
 
37
38
  # @return [IotHubResource] iot_hub_resource
@@ -123,7 +124,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
123
124
  #
124
125
  def add_telemetry
125
126
  sdk_information = 'azure_mgmt_iot_hub'
126
- sdk_information = "#{sdk_information}/0.16.0"
127
+ sdk_information = "#{sdk_information}/0.17.4"
127
128
  add_user_agent_information(sdk_information)
128
129
  end
129
130
  end
@@ -105,6 +105,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
105
105
  end
106
106
 
107
107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
110
  # Deserialize Response
109
111
  if status_code == 200
110
112
  begin
@@ -300,6 +302,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
300
302
  end
301
303
 
302
304
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
305
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
306
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
303
307
  # Deserialize Response
304
308
  if status_code == 200
305
309
  begin
@@ -397,6 +401,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
397
401
  end
398
402
 
399
403
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
404
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
405
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
400
406
  # Deserialize Response
401
407
  if status_code == 200
402
408
  begin
@@ -498,6 +504,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
498
504
  end
499
505
 
500
506
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
507
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
508
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
501
509
  # Deserialize Response
502
510
  if status_code == 200
503
511
  begin
@@ -599,6 +607,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
599
607
  end
600
608
 
601
609
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
610
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
611
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
602
612
  # Deserialize Response
603
613
  if status_code == 200
604
614
  begin
@@ -713,6 +723,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
713
723
  end
714
724
 
715
725
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
726
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
727
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
716
728
  # Deserialize Response
717
729
  if status_code == 200
718
730
  begin
@@ -831,6 +843,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
831
843
  end
832
844
 
833
845
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
846
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
847
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
834
848
  # Deserialize Response
835
849
  if status_code == 200
836
850
  begin
@@ -943,6 +957,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
943
957
  end
944
958
 
945
959
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
960
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
961
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
946
962
  # Deserialize Response
947
963
  if status_code == 200
948
964
  begin
@@ -1054,6 +1070,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1054
1070
  end
1055
1071
 
1056
1072
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1073
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1074
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1057
1075
 
1058
1076
  result
1059
1077
  end
@@ -1151,6 +1169,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1151
1169
  end
1152
1170
 
1153
1171
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1172
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1173
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1154
1174
  # Deserialize Response
1155
1175
  if status_code == 200
1156
1176
  begin
@@ -1262,6 +1282,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1262
1282
  end
1263
1283
 
1264
1284
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1285
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1286
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1265
1287
  # Deserialize Response
1266
1288
  if status_code == 200
1267
1289
  begin
@@ -1363,6 +1385,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1363
1385
  end
1364
1386
 
1365
1387
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1388
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1389
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1366
1390
  # Deserialize Response
1367
1391
  if status_code == 200
1368
1392
  begin
@@ -1467,6 +1491,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1467
1491
  end
1468
1492
 
1469
1493
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1494
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1495
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1470
1496
  # Deserialize Response
1471
1497
  if status_code == 200
1472
1498
  begin
@@ -1574,6 +1600,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1574
1600
  end
1575
1601
 
1576
1602
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1603
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1604
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1577
1605
  # Deserialize Response
1578
1606
  if status_code == 200
1579
1607
  begin
@@ -1685,6 +1713,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1685
1713
  end
1686
1714
 
1687
1715
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1716
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1717
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1688
1718
  # Deserialize Response
1689
1719
  if status_code == 200
1690
1720
  begin
@@ -1812,6 +1842,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1812
1842
  end
1813
1843
 
1814
1844
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1845
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1846
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1815
1847
  # Deserialize Response
1816
1848
  if status_code == 200
1817
1849
  begin
@@ -1939,6 +1971,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
1939
1971
  end
1940
1972
 
1941
1973
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1974
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1975
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1942
1976
  # Deserialize Response
1943
1977
  if status_code == 200
1944
1978
  begin
@@ -2060,6 +2094,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2060
2094
  end
2061
2095
 
2062
2096
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2097
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2098
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2063
2099
  # Deserialize Response
2064
2100
  if status_code == 201
2065
2101
  begin
@@ -2171,6 +2207,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2171
2207
  end
2172
2208
 
2173
2209
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2210
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2211
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2174
2212
  # Deserialize Response
2175
2213
  if status_code == 202
2176
2214
  begin
@@ -2285,6 +2323,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2285
2323
  end
2286
2324
 
2287
2325
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2326
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2327
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2288
2328
  # Deserialize Response
2289
2329
  if status_code == 200
2290
2330
  begin
@@ -2379,6 +2419,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2379
2419
  end
2380
2420
 
2381
2421
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2422
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2423
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2382
2424
  # Deserialize Response
2383
2425
  if status_code == 200
2384
2426
  begin
@@ -2473,6 +2515,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2473
2515
  end
2474
2516
 
2475
2517
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2518
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2519
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2476
2520
  # Deserialize Response
2477
2521
  if status_code == 200
2478
2522
  begin
@@ -2573,6 +2617,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2573
2617
  end
2574
2618
 
2575
2619
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2620
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2621
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2576
2622
  # Deserialize Response
2577
2623
  if status_code == 200
2578
2624
  begin
@@ -2673,6 +2719,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2673
2719
  end
2674
2720
 
2675
2721
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2722
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2723
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2676
2724
  # Deserialize Response
2677
2725
  if status_code == 200
2678
2726
  begin
@@ -2767,6 +2815,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2767
2815
  end
2768
2816
 
2769
2817
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2818
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2819
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2770
2820
  # Deserialize Response
2771
2821
  if status_code == 200
2772
2822
  begin
@@ -2867,6 +2917,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
2867
2917
  end
2868
2918
 
2869
2919
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2920
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2921
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2870
2922
  # Deserialize Response
2871
2923
  if status_code == 200
2872
2924
  begin
@@ -32,7 +32,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -18,8 +18,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
18
18
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages
19
19
  attr_accessor :retention_time_in_days
20
20
 
21
- # @return [Integer] The number of paritions for receiving device-to-cloud
22
- # messages in the Event Hub-compatible endpoint. See:
21
+ # @return [Integer] The number of partitions for receiving
22
+ # device-to-cloud messages in the Event Hub-compatible endpoint. See:
23
23
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
24
24
  attr_accessor :partition_count
25
25
 
@@ -31,7 +31,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
31
31
  def get_all_items
32
32
  items = @value
33
33
  page = self
34
- while page.next_link != nil do
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
35
  page = page.get_next_page
36
36
  items.concat(page.value)
37
37
  end
@@ -32,7 +32,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -32,7 +32,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -30,7 +30,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -28,6 +28,15 @@ module Azure::IotHub::Mgmt::V2016_02_03
28
28
  attr_accessor :tags
29
29
 
30
30
 
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
31
40
  #
32
41
  # Mapper for Resource class as Ruby Hash.
33
42
  # This will be used for serialization/deserialization.
@@ -32,7 +32,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -12,8 +12,8 @@ module Azure::IotHub::Mgmt::V2016_02_03
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Duration] The period of time for which the the SAS URI
16
- # generated by IoT Hub for file upload is valid. See:
15
+ # @return [Duration] The period of time for which the SAS URI generated
16
+ # by IoT Hub for file upload is valid. See:
17
17
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
18
18
  attr_accessor :sas_ttl_as_iso8601
19
19
 
@@ -23,15 +23,16 @@ module Azure::IotHub::Mgmt::V2017_01_19
23
23
  # @return [String] The version of the API.
24
24
  attr_reader :api_version
25
25
 
26
- # @return [String] Gets or sets the preferred language for the response.
26
+ # @return [String] The preferred language for the response.
27
27
  attr_accessor :accept_language
28
28
 
29
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
- # Running Operations. Default value is 30.
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
31
  attr_accessor :long_running_operation_retry_timeout
32
32
 
33
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
- # is generated and included in each request. Default is true.
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
35
36
  attr_accessor :generate_client_request_id
36
37
 
37
38
  # @return [IotHubResource] iot_hub_resource
@@ -123,7 +124,7 @@ module Azure::IotHub::Mgmt::V2017_01_19
123
124
  #
124
125
  def add_telemetry
125
126
  sdk_information = 'azure_mgmt_iot_hub'
126
- sdk_information = "#{sdk_information}/0.16.0"
127
+ sdk_information = "#{sdk_information}/0.17.4"
127
128
  add_user_agent_information(sdk_information)
128
129
  end
129
130
  end
@@ -105,6 +105,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
105
105
  end
106
106
 
107
107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
110
  # Deserialize Response
109
111
  if status_code == 200
110
112
  begin
@@ -300,6 +302,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
300
302
  end
301
303
 
302
304
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
305
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
306
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
303
307
  # Deserialize Response
304
308
  if status_code == 200
305
309
  begin
@@ -397,6 +401,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
397
401
  end
398
402
 
399
403
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
404
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
405
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
400
406
  # Deserialize Response
401
407
  if status_code == 200
402
408
  begin
@@ -498,6 +504,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
498
504
  end
499
505
 
500
506
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
507
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
508
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
501
509
  # Deserialize Response
502
510
  if status_code == 200
503
511
  begin
@@ -599,6 +607,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
599
607
  end
600
608
 
601
609
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
610
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
611
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
602
612
  # Deserialize Response
603
613
  if status_code == 200
604
614
  begin
@@ -713,6 +723,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
713
723
  end
714
724
 
715
725
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
726
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
727
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
716
728
  # Deserialize Response
717
729
  if status_code == 200
718
730
  begin
@@ -831,6 +843,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
831
843
  end
832
844
 
833
845
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
846
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
847
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
834
848
  # Deserialize Response
835
849
  if status_code == 200
836
850
  begin
@@ -943,6 +957,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
943
957
  end
944
958
 
945
959
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
960
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
961
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
946
962
  # Deserialize Response
947
963
  if status_code == 200
948
964
  begin
@@ -1054,6 +1070,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1054
1070
  end
1055
1071
 
1056
1072
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1073
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1074
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1057
1075
 
1058
1076
  result
1059
1077
  end
@@ -1151,6 +1169,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1151
1169
  end
1152
1170
 
1153
1171
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1172
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1173
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1154
1174
  # Deserialize Response
1155
1175
  if status_code == 200
1156
1176
  begin
@@ -1262,6 +1282,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1262
1282
  end
1263
1283
 
1264
1284
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1285
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1286
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1265
1287
  # Deserialize Response
1266
1288
  if status_code == 200
1267
1289
  begin
@@ -1363,6 +1385,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1363
1385
  end
1364
1386
 
1365
1387
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1388
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1389
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1366
1390
  # Deserialize Response
1367
1391
  if status_code == 200
1368
1392
  begin
@@ -1467,6 +1491,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1467
1491
  end
1468
1492
 
1469
1493
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1494
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1495
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1470
1496
  # Deserialize Response
1471
1497
  if status_code == 200
1472
1498
  begin
@@ -1574,6 +1600,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1574
1600
  end
1575
1601
 
1576
1602
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1603
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1604
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1577
1605
  # Deserialize Response
1578
1606
  if status_code == 200
1579
1607
  begin
@@ -1685,6 +1713,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1685
1713
  end
1686
1714
 
1687
1715
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1716
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1717
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1688
1718
  # Deserialize Response
1689
1719
  if status_code == 200
1690
1720
  begin
@@ -1812,6 +1842,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1812
1842
  end
1813
1843
 
1814
1844
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1845
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1846
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1815
1847
  # Deserialize Response
1816
1848
  if status_code == 200
1817
1849
  begin
@@ -1939,6 +1971,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
1939
1971
  end
1940
1972
 
1941
1973
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1974
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1975
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1942
1976
  # Deserialize Response
1943
1977
  if status_code == 200
1944
1978
  begin
@@ -2060,6 +2094,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2060
2094
  end
2061
2095
 
2062
2096
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2097
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2098
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2063
2099
  # Deserialize Response
2064
2100
  if status_code == 201
2065
2101
  begin
@@ -2171,6 +2207,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2171
2207
  end
2172
2208
 
2173
2209
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2210
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2211
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2174
2212
  # Deserialize Response
2175
2213
  if status_code == 202
2176
2214
  begin
@@ -2285,6 +2323,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2285
2323
  end
2286
2324
 
2287
2325
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2326
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2327
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2288
2328
  # Deserialize Response
2289
2329
  if status_code == 200
2290
2330
  begin
@@ -2379,6 +2419,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2379
2419
  end
2380
2420
 
2381
2421
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2422
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2423
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2382
2424
  # Deserialize Response
2383
2425
  if status_code == 200
2384
2426
  begin
@@ -2473,6 +2515,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2473
2515
  end
2474
2516
 
2475
2517
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2518
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2519
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2476
2520
  # Deserialize Response
2477
2521
  if status_code == 200
2478
2522
  begin
@@ -2573,6 +2617,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2573
2617
  end
2574
2618
 
2575
2619
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2620
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2621
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2576
2622
  # Deserialize Response
2577
2623
  if status_code == 200
2578
2624
  begin
@@ -2673,6 +2719,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2673
2719
  end
2674
2720
 
2675
2721
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2722
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2723
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2676
2724
  # Deserialize Response
2677
2725
  if status_code == 200
2678
2726
  begin
@@ -2767,6 +2815,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2767
2815
  end
2768
2816
 
2769
2817
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2818
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2819
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2770
2820
  # Deserialize Response
2771
2821
  if status_code == 200
2772
2822
  begin
@@ -2867,6 +2917,8 @@ module Azure::IotHub::Mgmt::V2017_01_19
2867
2917
  end
2868
2918
 
2869
2919
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2920
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2921
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2870
2922
  # Deserialize Response
2871
2923
  if status_code == 200
2872
2924
  begin