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,100 @@
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
+ module Models
8
+ #
9
+ # The JSON-serialized array of IotHubDescription objects with a next link.
10
+ #
11
+ class IotHubDescriptionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<IotHubDescription>] The array of IotHubDescription
17
+ # objects.
18
+ attr_accessor :value
19
+
20
+ # @return [String] The next link.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<IotHubDescription>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [IotHubDescriptionListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for IotHubDescriptionListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'IotHubDescriptionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'IotHubDescriptionListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'IotHubDescriptionElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'IotHubDescription'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,59 @@
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
+ module Models
8
+ #
9
+ # Public representation of one of the locations where a resource is
10
+ # provisioned.
11
+ #
12
+ class IotHubLocationDescription
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Azure Geo Regions
17
+ attr_accessor :location
18
+
19
+ # @return [IotHubReplicaRoleType] Specific Role assigned to this
20
+ # location. Possible values include: 'primary', 'secondary'
21
+ attr_accessor :role
22
+
23
+
24
+ #
25
+ # Mapper for IotHubLocationDescription class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'IotHubLocationDescription',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'IotHubLocationDescription',
36
+ model_properties: {
37
+ location: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'location',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ role: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'role',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,73 @@
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
+ module Models
8
+ #
9
+ # The properties indicating whether a given IoT hub name is available.
10
+ #
11
+ class IotHubNameAvailabilityInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value which indicates whether the provided name
16
+ # is available.
17
+ attr_accessor :name_available
18
+
19
+ # @return [IotHubNameUnavailabilityReason] The reason for unavailability.
20
+ # Possible values include: 'Invalid', 'AlreadyExists'
21
+ attr_accessor :reason
22
+
23
+ # @return [String] The detailed reason message.
24
+ attr_accessor :message
25
+
26
+
27
+ #
28
+ # Mapper for IotHubNameAvailabilityInfo class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'IotHubNameAvailabilityInfo',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'IotHubNameAvailabilityInfo',
39
+ model_properties: {
40
+ name_available: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'nameAvailable',
45
+ type: {
46
+ name: 'Boolean'
47
+ }
48
+ },
49
+ reason: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'reason',
54
+ type: {
55
+ name: 'Enum',
56
+ module: 'IotHubNameUnavailabilityReason'
57
+ }
58
+ },
59
+ message: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'message',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,16 @@
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
+ module Models
8
+ #
9
+ # Defines values for IotHubNameUnavailabilityReason
10
+ #
11
+ module IotHubNameUnavailabilityReason
12
+ Invalid = "Invalid"
13
+ AlreadyExists = "AlreadyExists"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,275 @@
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
+ module Models
8
+ #
9
+ # The properties of an IoT hub.
10
+ #
11
+ class IotHubProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<SharedAccessSignatureAuthorizationRule>] The shared
16
+ # access policies you can use to secure a connection to the IoT hub.
17
+ attr_accessor :authorization_policies
18
+
19
+ # @return [Array<IpFilterRule>] The IP filter rules.
20
+ attr_accessor :ip_filter_rules
21
+
22
+ # @return [String] The provisioning state.
23
+ attr_accessor :provisioning_state
24
+
25
+ # @return [String] The hub state.
26
+ attr_accessor :state
27
+
28
+ # @return [String] The name of the host.
29
+ attr_accessor :host_name
30
+
31
+ # @return [Hash{String => EventHubProperties}] The Event Hub-compatible
32
+ # endpoint properties. The only possible keys to this dictionary is
33
+ # events. This key has to be present in the dictionary while making
34
+ # create or update calls for the IoT hub.
35
+ attr_accessor :event_hub_endpoints
36
+
37
+ # @return [RoutingProperties]
38
+ attr_accessor :routing
39
+
40
+ # @return [Hash{String => StorageEndpointProperties}] The list of Azure
41
+ # Storage endpoints where you can upload files. Currently you can
42
+ # configure only one Azure Storage account and that MUST have its key as
43
+ # $default. Specifying more than one storage account causes an error to
44
+ # be thrown. Not specifying a value for this property when the
45
+ # enableFileUploadNotifications property is set to True, causes an error
46
+ # to be thrown.
47
+ attr_accessor :storage_endpoints
48
+
49
+ # @return [Hash{String => MessagingEndpointProperties}] The messaging
50
+ # endpoint properties for the file upload notification queue.
51
+ attr_accessor :messaging_endpoints
52
+
53
+ # @return [Boolean] If True, file upload notifications are enabled.
54
+ attr_accessor :enable_file_upload_notifications
55
+
56
+ # @return [CloudToDeviceProperties]
57
+ attr_accessor :cloud_to_device
58
+
59
+ # @return [String] IoT hub comments.
60
+ attr_accessor :comments
61
+
62
+ # @return [IotHubPropertiesDeviceStreams] The device streams properties
63
+ # of iothub.
64
+ attr_accessor :device_streams
65
+
66
+ # @return [Capabilities] The capabilities and features enabled for the
67
+ # IoT hub. Possible values include: 'None', 'DeviceManagement'
68
+ attr_accessor :features
69
+
70
+ # @return [Array<IotHubLocationDescription>] Primary and secondary
71
+ # location for iot hub
72
+ attr_accessor :locations
73
+
74
+
75
+ #
76
+ # Mapper for IotHubProperties class as Ruby Hash.
77
+ # This will be used for serialization/deserialization.
78
+ #
79
+ def self.mapper()
80
+ {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'IotHubProperties',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'IotHubProperties',
87
+ model_properties: {
88
+ authorization_policies: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'authorizationPolicies',
92
+ type: {
93
+ name: 'Sequence',
94
+ element: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'SharedAccessSignatureAuthorizationRuleElementType',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'SharedAccessSignatureAuthorizationRule'
101
+ }
102
+ }
103
+ }
104
+ },
105
+ ip_filter_rules: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'ipFilterRules',
109
+ type: {
110
+ name: 'Sequence',
111
+ element: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'IpFilterRuleElementType',
115
+ type: {
116
+ name: 'Composite',
117
+ class_name: 'IpFilterRule'
118
+ }
119
+ }
120
+ }
121
+ },
122
+ provisioning_state: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'provisioningState',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ state: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'state',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ host_name: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'hostName',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ event_hub_endpoints: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'eventHubEndpoints',
153
+ type: {
154
+ name: 'Dictionary',
155
+ value: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'EventHubPropertiesElementType',
159
+ type: {
160
+ name: 'Composite',
161
+ class_name: 'EventHubProperties'
162
+ }
163
+ }
164
+ }
165
+ },
166
+ routing: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'routing',
170
+ type: {
171
+ name: 'Composite',
172
+ class_name: 'RoutingProperties'
173
+ }
174
+ },
175
+ storage_endpoints: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'storageEndpoints',
179
+ type: {
180
+ name: 'Dictionary',
181
+ value: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'StorageEndpointPropertiesElementType',
185
+ type: {
186
+ name: 'Composite',
187
+ class_name: 'StorageEndpointProperties'
188
+ }
189
+ }
190
+ }
191
+ },
192
+ messaging_endpoints: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'messagingEndpoints',
196
+ type: {
197
+ name: 'Dictionary',
198
+ value: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ serialized_name: 'MessagingEndpointPropertiesElementType',
202
+ type: {
203
+ name: 'Composite',
204
+ class_name: 'MessagingEndpointProperties'
205
+ }
206
+ }
207
+ }
208
+ },
209
+ enable_file_upload_notifications: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'enableFileUploadNotifications',
213
+ type: {
214
+ name: 'Boolean'
215
+ }
216
+ },
217
+ cloud_to_device: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'cloudToDevice',
221
+ type: {
222
+ name: 'Composite',
223
+ class_name: 'CloudToDeviceProperties'
224
+ }
225
+ },
226
+ comments: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'comments',
230
+ type: {
231
+ name: 'String'
232
+ }
233
+ },
234
+ device_streams: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ serialized_name: 'deviceStreams',
238
+ type: {
239
+ name: 'Composite',
240
+ class_name: 'IotHubPropertiesDeviceStreams'
241
+ }
242
+ },
243
+ features: {
244
+ client_side_validation: true,
245
+ required: false,
246
+ serialized_name: 'features',
247
+ type: {
248
+ name: 'String'
249
+ }
250
+ },
251
+ locations: {
252
+ client_side_validation: true,
253
+ required: false,
254
+ read_only: true,
255
+ serialized_name: 'locations',
256
+ type: {
257
+ name: 'Sequence',
258
+ element: {
259
+ client_side_validation: true,
260
+ required: false,
261
+ serialized_name: 'IotHubLocationDescriptionElementType',
262
+ type: {
263
+ name: 'Composite',
264
+ class_name: 'IotHubLocationDescription'
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+ }
272
+ end
273
+ end
274
+ end
275
+ end