azure_mgmt_iot_hub 0.17.0 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (342) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  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 +1 -1
  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 +1 -1
  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/certificates.rb +12 -0
  39. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  40. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +54 -0
  41. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
  42. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
  43. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +1 -1
  44. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
  45. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
  46. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
  47. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +1 -1
  48. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/resource.rb +9 -0
  49. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +1 -1
  50. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
  51. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -2
  52. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/operations.rb +4 -0
  53. data/lib/2018-04-01/generated/azure_mgmt_iot_hub.rb +33 -31
  54. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb +12 -0
  55. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  56. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +62 -0
  57. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +2 -2
  58. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +1 -1
  59. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
  60. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
  61. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +1 -1
  62. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
  63. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
  64. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
  65. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +1 -1
  66. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/resource.rb +9 -0
  67. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +1 -1
  68. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  69. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  70. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
  71. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +2 -2
  72. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +12 -0
  73. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_input.rb +12 -0
  74. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/operations.rb +4 -0
  75. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/resource_provider_common.rb +2 -0
  76. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub.rb +109 -0
  77. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  78. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
  79. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  80. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  81. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  82. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  83. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  84. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  85. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  86. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  87. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  88. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  89. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  90. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  91. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  92. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  93. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  94. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  95. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  96. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  97. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  98. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  99. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  100. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  101. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  102. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  103. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  104. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  105. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  106. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +253 -0
  107. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  108. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  109. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  110. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  111. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  112. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  113. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  114. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  115. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  116. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  117. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  118. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  119. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  120. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  121. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  122. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  123. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  124. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  125. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  126. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  127. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  128. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  129. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  130. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  131. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  132. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  133. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  134. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  135. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  136. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  137. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  138. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  139. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  140. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  141. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  142. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  143. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  144. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  145. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  146. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  147. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  148. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  149. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  150. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +72 -0
  151. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  152. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  153. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  154. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  155. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  156. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  157. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  158. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  159. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  160. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  161. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub.rb +112 -0
  162. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  163. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub.rb +172 -0
  164. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +147 -0
  165. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  166. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  167. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  168. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  169. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  170. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  171. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  172. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  173. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  174. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  175. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  176. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  177. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  178. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  179. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb +81 -0
  180. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  181. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  182. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  183. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  184. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  185. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb +46 -0
  186. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  187. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  188. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  189. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  190. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  191. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  192. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  193. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  194. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +253 -0
  195. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  196. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  197. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  198. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  199. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  200. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  201. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  202. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  203. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  204. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  205. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  206. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  207. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  208. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  209. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  210. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  211. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  212. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  213. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  214. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  215. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  216. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  217. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  218. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  219. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  220. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  221. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  222. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  223. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  224. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  225. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  226. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  227. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +110 -0
  228. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  229. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  230. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  231. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  232. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  233. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  234. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  235. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  236. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  237. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  238. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +72 -0
  239. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  240. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  241. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  242. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  243. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  244. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  245. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  246. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  247. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  248. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  249. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub.rb +114 -0
  250. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  251. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub.rb +172 -0
  252. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +147 -0
  253. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  254. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  255. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  256. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  257. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  258. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  259. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  260. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  261. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  262. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  263. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  264. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  265. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  266. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  267. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb +81 -0
  268. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  269. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  270. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  271. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  272. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  273. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb +46 -0
  274. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  275. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  276. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  277. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  278. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  279. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  280. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb +59 -0
  281. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  282. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  283. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +275 -0
  284. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  285. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  286. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  287. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_replica_role_type.rb +16 -0
  288. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  289. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  290. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  291. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  292. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  293. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  294. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  295. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  296. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  297. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  298. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  299. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  300. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  301. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  302. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  303. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  304. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  305. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  306. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  307. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  308. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  309. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  310. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  311. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  312. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  313. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  314. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  315. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  316. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  317. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +110 -0
  318. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  319. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  320. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +20 -0
  321. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  322. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  323. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  324. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  325. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  326. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  327. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  328. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +73 -0
  329. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  330. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  331. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  332. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  333. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  334. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  335. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  336. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  337. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  338. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  339. data/lib/azure_mgmt_iot_hub.rb +6 -3
  340. data/lib/profiles/latest/modules/iothub_profile_module.rb +209 -195
  341. data/lib/version.rb +1 -1
  342. metadata +270 -5
@@ -0,0 +1,117 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ #
8
+ # Use this API to manage the IoT hubs in your Azure subscription.
9
+ #
10
+ class ResourceProviderCommon
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ResourceProviderCommon class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [IotHubClient] reference to the IotHubClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get the number of iot hubs in the subscription
26
+ #
27
+ # Get the number of free and paid iot hubs in the subscription
28
+ #
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [UserSubscriptionQuotaListResult] operation results.
33
+ #
34
+ def get_subscription_quota(custom_headers:nil)
35
+ response = get_subscription_quota_async(custom_headers:custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # Get the number of iot hubs in the subscription
41
+ #
42
+ # Get the number of free and paid iot hubs in the subscription
43
+ #
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def get_subscription_quota_with_http_info(custom_headers:nil)
50
+ get_subscription_quota_async(custom_headers:custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Get the number of iot hubs in the subscription
55
+ #
56
+ # Get the number of free and paid iot hubs in the subscription
57
+ #
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def get_subscription_quota_async(custom_headers:nil)
64
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
65
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
66
+
67
+
68
+ request_headers = {}
69
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
70
+
71
+ # Set Headers
72
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
73
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
74
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages'
75
+
76
+ request_url = @base_url || @client.base_url
77
+
78
+ options = {
79
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
80
+ path_params: {'subscriptionId' => @client.subscription_id},
81
+ query_params: {'api-version' => @client.api_version},
82
+ headers: request_headers.merge(custom_headers || {}),
83
+ base_url: request_url
84
+ }
85
+ promise = @client.make_request_async(:get, path_template, options)
86
+
87
+ promise = promise.then do |result|
88
+ http_response = result.response
89
+ status_code = http_response.status
90
+ response_content = http_response.body
91
+ unless status_code == 200
92
+ error_model = JSON.load(response_content)
93
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
94
+ end
95
+
96
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
97
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
98
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
99
+ # Deserialize Response
100
+ if status_code == 200
101
+ begin
102
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
103
+ result_mapper = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::UserSubscriptionQuotaListResult.mapper()
104
+ result.body = @client.deserialize(result_mapper, parsed_response)
105
+ rescue Exception => e
106
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
107
+ end
108
+ end
109
+
110
+ result
111
+ end
112
+
113
+ promise.execute
114
+ end
115
+
116
+ end
117
+ end
@@ -2,9 +2,12 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require '2016-02-03/generated/azure_mgmt_iot_hub'
6
- require '2018-04-01/generated/azure_mgmt_iot_hub'
7
- require '2018-01-22/generated/azure_mgmt_iot_hub'
8
5
  require '2017-07-01/generated/azure_mgmt_iot_hub'
6
+ require '2018-01-22/generated/azure_mgmt_iot_hub'
7
+ require '2019-03-22-preview/generated/azure_mgmt_iot_hub'
8
+ require '2018-04-01/generated/azure_mgmt_iot_hub'
9
+ require '2016-02-03/generated/azure_mgmt_iot_hub'
10
+ require '2018-12-01-preview/generated/azure_mgmt_iot_hub'
9
11
  require '2017-01-19/generated/azure_mgmt_iot_hub'
12
+ require '2019-07-01-preview/generated/azure_mgmt_iot_hub'
10
13
  require 'profiles/latest/iothub_latest_profile_client'
@@ -6,96 +6,100 @@ require 'azure_mgmt_iot_hub'
6
6
 
7
7
  module Azure::IotHub::Profiles::Latest
8
8
  module Mgmt
9
- Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations
10
- IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource
11
- ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon
12
- Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates
9
+ Operations = Azure::IotHub::Mgmt::V2019_03_22_preview::Operations
10
+ IotHubResource = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubResource
11
+ ResourceProviderCommon = Azure::IotHub::Mgmt::V2019_03_22_preview::ResourceProviderCommon
12
+ Certificates = Azure::IotHub::Mgmt::V2019_03_22_preview::Certificates
13
+ IotHub = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHub
13
14
 
14
15
  module Models
15
- ErrorDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails
16
- IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo
17
- CertificateProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateProperties
18
- IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfoListResult
19
- CertificateListDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateListDescription
20
- EndpointHealthData = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData
21
- CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificatePropertiesWithNonce
22
- EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthDataListResult
23
- SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRule
24
- RegistryStatistics = Azure::IotHub::Mgmt::V2018_04_01::Models::RegistryStatistics
25
- EventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubProperties
26
- JobResponse = Azure::IotHub::Mgmt::V2018_04_01::Models::JobResponse
27
- RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusTopicEndpointProperties
28
- JobResponseListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::JobResponseListResult
29
- RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingStorageContainerProperties
30
- IotHubCapacity = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity
31
- RouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteProperties
32
- IotHubSkuDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescription
33
- RoutingProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingProperties
34
- TagsResource = Azure::IotHub::Mgmt::V2018_04_01::Models::TagsResource
35
- MessagingEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::MessagingEndpointProperties
36
- EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupInfo
37
- CloudToDeviceProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::CloudToDeviceProperties
38
- EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupsListResult
39
- IotHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties
40
- IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult
41
- Resource = Azure::IotHub::Mgmt::V2018_04_01::Models::Resource
42
- IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult
43
- OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay
44
- OperationInputs = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs
45
- OperationListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult
46
- IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo
47
- CertificateDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription
48
- Name = Azure::IotHub::Mgmt::V2018_04_01::Models::Name
49
- CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription
50
- UserSubscriptionQuota = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota
51
- RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties
52
- UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult
53
- RoutingEndpoints = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints
54
- RoutingMessage = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage
55
- StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties
56
- TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput
57
- OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties
58
- MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute
59
- SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult
60
- TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult
61
- CertificateVerificationDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription
62
- TestRouteInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput
63
- IpFilterRule = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule
64
- RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition
65
- FallbackRouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties
66
- RouteErrorRange = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange
67
- IotHubSkuInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo
68
- RouteCompilationError = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError
69
- CertificateBodyDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription
70
- TestRouteResultDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails
71
- FeedbackProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties
72
- TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult
73
- RoutingEventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties
74
- ExportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest
75
- Operation = Azure::IotHub::Mgmt::V2018_04_01::Models::Operation
76
- ImportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest
77
- IotHubDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription
78
- AccessRights = Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights
79
- IpFilterActionType = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType
80
- RoutingSource = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource
81
- OperationMonitoringLevel = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel
82
- Capabilities = Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities
83
- IotHubSku = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku
84
- IotHubSkuTier = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier
85
- EndpointHealthStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus
86
- JobType = Azure::IotHub::Mgmt::V2018_04_01::Models::JobType
87
- JobStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus
88
- IotHubScaleType = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType
89
- IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason
90
- TestResultStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus
91
- RouteErrorSeverity = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity
16
+ IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
17
+ IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
18
+ CertificateProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
19
+ EndpointHealthData = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
20
+ CertificateListDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
21
+ EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
22
+ CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
23
+ RegistryStatistics = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
24
+ SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
25
+ JobResponse = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
26
+ EventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
27
+ JobResponseListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
28
+ RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
29
+ IotHubCapacity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
30
+ RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
31
+ IotHubSkuDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
32
+ RouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
33
+ TagsResource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
34
+ EnrichmentProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
35
+ EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
36
+ StorageEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
37
+ EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
38
+ FeedbackProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
39
+ IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
40
+ IotHubPropertiesDeviceStreams = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
41
+ IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
42
+ IotHubSkuInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
43
+ OperationInputs = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
44
+ Resource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
45
+ IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
46
+ OperationDisplay = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
47
+ Name = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
48
+ OperationListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
49
+ UserSubscriptionQuota = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
50
+ CertificateVerificationDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
51
+ UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
52
+ CertificateBodyDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
53
+ RoutingMessage = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
54
+ IpFilterRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
55
+ RoutingTwinProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
56
+ RoutingEventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
57
+ RoutingTwin = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
58
+ FallbackRouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
59
+ TestAllRoutesInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
60
+ MessagingEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
61
+ MatchedRoute = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
62
+ IotHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
63
+ TestAllRoutesResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
64
+ SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
65
+ TestRouteInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
66
+ ErrorDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
67
+ RouteErrorPosition = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
68
+ CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
69
+ RouteErrorRange = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
70
+ RoutingEndpoints = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
71
+ RouteCompilationError = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
72
+ CloudToDeviceProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
73
+ TestRouteResultDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
74
+ Operation = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
75
+ TestRouteResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
76
+ RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
77
+ ExportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
78
+ CertificateDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
79
+ ImportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
80
+ RoutingProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
81
+ FailoverInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
82
+ IotHubDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
83
+ AccessRights = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
84
+ IpFilterActionType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
85
+ RoutingSource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
86
+ Capabilities = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
87
+ IotHubSku = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
88
+ IotHubSkuTier = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
89
+ EndpointHealthStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
90
+ JobType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
91
+ JobStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
92
+ IotHubScaleType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
93
+ IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
94
+ TestResultStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
95
+ RouteErrorSeverity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
92
96
  end
93
97
 
94
98
  #
95
99
  # IotHubManagementClass
96
100
  #
97
101
  class IotHubManagementClass
98
- attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes
102
+ attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :iot_hub, :configurable, :base_url, :options, :model_classes
99
103
 
100
104
  def initialize(options = {})
101
105
  if options.is_a?(Hash) && options.length == 0
@@ -110,7 +114,7 @@ module Azure::IotHub::Profiles::Latest
110
114
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
111
115
  @options = options[:options].nil? ? nil:options[:options]
112
116
 
113
- @client_0 = Azure::IotHub::Mgmt::V2018_04_01::IotHubClient.new(configurable.credentials, base_url, options)
117
+ @client_0 = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubClient.new(configurable.credentials, base_url, options)
114
118
  if(@client_0.respond_to?(:subscription_id))
115
119
  @client_0.subscription_id = configurable.subscription_id
116
120
  end
@@ -119,6 +123,7 @@ module Azure::IotHub::Profiles::Latest
119
123
  @iot_hub_resource = @client_0.iot_hub_resource
120
124
  @resource_provider_common = @client_0.resource_provider_common
121
125
  @certificates = @client_0.certificates
126
+ @iot_hub = @client_0.iot_hub
122
127
 
123
128
  @model_classes = ModelClasses.new
124
129
  end
@@ -139,236 +144,245 @@ module Azure::IotHub::Profiles::Latest
139
144
  end
140
145
 
141
146
  class ModelClasses
142
- def error_details
143
- Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails
144
- end
145
147
  def iot_hub_quota_metric_info
146
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo
147
- end
148
- def certificate_properties
149
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateProperties
148
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
150
149
  end
151
150
  def iot_hub_quota_metric_info_list_result
152
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfoListResult
151
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
153
152
  end
154
- def certificate_list_description
155
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateListDescription
153
+ def certificate_properties
154
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
156
155
  end
157
156
  def endpoint_health_data
158
- Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData
157
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
159
158
  end
160
- def certificate_properties_with_nonce
161
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificatePropertiesWithNonce
159
+ def certificate_list_description
160
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
162
161
  end
163
162
  def endpoint_health_data_list_result
164
- Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthDataListResult
163
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
165
164
  end
166
- def shared_access_signature_authorization_rule
167
- Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRule
165
+ def certificate_properties_with_nonce
166
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
168
167
  end
169
168
  def registry_statistics
170
- Azure::IotHub::Mgmt::V2018_04_01::Models::RegistryStatistics
169
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
171
170
  end
172
- def event_hub_properties
173
- Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubProperties
171
+ def shared_access_signature_authorization_rule
172
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
174
173
  end
175
174
  def job_response
176
- Azure::IotHub::Mgmt::V2018_04_01::Models::JobResponse
175
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
177
176
  end
178
- def routing_service_bus_topic_endpoint_properties
179
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusTopicEndpointProperties
177
+ def event_hub_properties
178
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
180
179
  end
181
180
  def job_response_list_result
182
- Azure::IotHub::Mgmt::V2018_04_01::Models::JobResponseListResult
181
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
183
182
  end
184
- def routing_storage_container_properties
185
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingStorageContainerProperties
183
+ def routing_service_bus_topic_endpoint_properties
184
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
186
185
  end
187
186
  def iot_hub_capacity
188
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity
187
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
189
188
  end
190
- def route_properties
191
- Azure::IotHub::Mgmt::V2018_04_01::Models::RouteProperties
189
+ def routing_storage_container_properties
190
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
192
191
  end
193
192
  def iot_hub_sku_description
194
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescription
193
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
195
194
  end
196
- def routing_properties
197
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingProperties
195
+ def route_properties
196
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
198
197
  end
199
198
  def tags_resource
200
- Azure::IotHub::Mgmt::V2018_04_01::Models::TagsResource
199
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
201
200
  end
202
- def messaging_endpoint_properties
203
- Azure::IotHub::Mgmt::V2018_04_01::Models::MessagingEndpointProperties
201
+ def enrichment_properties
202
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
204
203
  end
205
204
  def event_hub_consumer_group_info
206
- Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupInfo
205
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
207
206
  end
208
- def cloud_to_device_properties
209
- Azure::IotHub::Mgmt::V2018_04_01::Models::CloudToDeviceProperties
207
+ def storage_endpoint_properties
208
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
210
209
  end
211
210
  def event_hub_consumer_groups_list_result
212
- Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupsListResult
211
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
213
212
  end
214
- def iot_hub_properties
215
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties
213
+ def feedback_properties
214
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
216
215
  end
217
216
  def iot_hub_sku_description_list_result
218
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult
217
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
219
218
  end
220
- def resource
221
- Azure::IotHub::Mgmt::V2018_04_01::Models::Resource
219
+ def iot_hub_properties_device_streams
220
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
222
221
  end
223
222
  def iot_hub_description_list_result
224
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult
223
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
225
224
  end
226
- def operation_display
227
- Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay
225
+ def iot_hub_sku_info
226
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
228
227
  end
229
228
  def operation_inputs
230
- Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs
229
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
231
230
  end
232
- def operation_list_result
233
- Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult
231
+ def resource
232
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
234
233
  end
235
234
  def iot_hub_name_availability_info
236
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo
235
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
237
236
  end
238
- def certificate_description
239
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription
237
+ def operation_display
238
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
240
239
  end
241
240
  def name
242
- Azure::IotHub::Mgmt::V2018_04_01::Models::Name
241
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
243
242
  end
244
- def certificate_with_nonce_description
245
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription
243
+ def operation_list_result
244
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
246
245
  end
247
246
  def user_subscription_quota
248
- Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota
247
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
249
248
  end
250
- def routing_service_bus_queue_endpoint_properties
251
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties
249
+ def certificate_verification_description
250
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
252
251
  end
253
252
  def user_subscription_quota_list_result
254
- Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult
253
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
255
254
  end
256
- def routing_endpoints
257
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints
255
+ def certificate_body_description
256
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
258
257
  end
259
258
  def routing_message
260
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage
259
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
261
260
  end
262
- def storage_endpoint_properties
263
- Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties
261
+ def ip_filter_rule
262
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
263
+ end
264
+ def routing_twin_properties
265
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
266
+ end
267
+ def routing_event_hub_properties
268
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
269
+ end
270
+ def routing_twin
271
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
272
+ end
273
+ def fallback_route_properties
274
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
264
275
  end
265
276
  def test_all_routes_input
266
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput
277
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
267
278
  end
268
- def operations_monitoring_properties
269
- Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties
279
+ def messaging_endpoint_properties
280
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
270
281
  end
271
282
  def matched_route
272
- Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute
283
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
273
284
  end
274
- def shared_access_signature_authorization_rule_list_result
275
- Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult
285
+ def iot_hub_properties
286
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
276
287
  end
277
288
  def test_all_routes_result
278
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult
289
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
279
290
  end
280
- def certificate_verification_description
281
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription
291
+ def shared_access_signature_authorization_rule_list_result
292
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
282
293
  end
283
294
  def test_route_input
284
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput
295
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
285
296
  end
286
- def ip_filter_rule
287
- Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule
297
+ def error_details
298
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
288
299
  end
289
300
  def route_error_position
290
- Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition
301
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
291
302
  end
292
- def fallback_route_properties
293
- Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties
303
+ def certificate_with_nonce_description
304
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
294
305
  end
295
306
  def route_error_range
296
- Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange
307
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
297
308
  end
298
- def iot_hub_sku_info
299
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo
309
+ def routing_endpoints
310
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
300
311
  end
301
312
  def route_compilation_error
302
- Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError
313
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
303
314
  end
304
- def certificate_body_description
305
- Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription
315
+ def cloud_to_device_properties
316
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
306
317
  end
307
318
  def test_route_result_details
308
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails
319
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
309
320
  end
310
- def feedback_properties
311
- Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties
321
+ def operation
322
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
312
323
  end
313
324
  def test_route_result
314
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult
325
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
315
326
  end
316
- def routing_event_hub_properties
317
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties
327
+ def routing_service_bus_queue_endpoint_properties
328
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
318
329
  end
319
330
  def export_devices_request
320
- Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest
331
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
321
332
  end
322
- def operation
323
- Azure::IotHub::Mgmt::V2018_04_01::Models::Operation
333
+ def certificate_description
334
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
324
335
  end
325
336
  def import_devices_request
326
- Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest
337
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
338
+ end
339
+ def routing_properties
340
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
341
+ end
342
+ def failover_input
343
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
327
344
  end
328
345
  def iot_hub_description
329
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription
346
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
330
347
  end
331
348
  def access_rights
332
- Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights
349
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
333
350
  end
334
351
  def ip_filter_action_type
335
- Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType
352
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
336
353
  end
337
354
  def routing_source
338
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource
339
- end
340
- def operation_monitoring_level
341
- Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel
355
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
342
356
  end
343
357
  def capabilities
344
- Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities
358
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
345
359
  end
346
360
  def iot_hub_sku
347
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku
361
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
348
362
  end
349
363
  def iot_hub_sku_tier
350
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier
364
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
351
365
  end
352
366
  def endpoint_health_status
353
- Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus
367
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
354
368
  end
355
369
  def job_type
356
- Azure::IotHub::Mgmt::V2018_04_01::Models::JobType
370
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
357
371
  end
358
372
  def job_status
359
- Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus
373
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
360
374
  end
361
375
  def iot_hub_scale_type
362
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType
376
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
363
377
  end
364
378
  def iot_hub_name_unavailability_reason
365
- Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason
379
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
366
380
  end
367
381
  def test_result_status
368
- Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus
382
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
369
383
  end
370
384
  def route_error_severity
371
- Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity
385
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
372
386
  end
373
387
  end
374
388
  end