azure_mgmt_iot_hub 0.16.0 → 0.17.0

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