azure_sdk 0.42.0 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/azure_sdk.rb +9 -9
  4. data/lib/azure_sdk/version.rb +1 -1
  5. data/lib/latest/latest_profile_client.rb +1267 -1257
  6. data/lib/latest/module_definition.rb +6 -6
  7. data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
  8. data/lib/latest/modules/advisor_profile_module.rb +119 -119
  9. data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
  10. data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
  11. data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
  12. data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
  13. data/lib/latest/modules/appconfiguration_profile_module.rb +107 -107
  14. data/lib/latest/modules/attestation_profile_module.rb +95 -95
  15. data/lib/latest/modules/authorization_profile_module.rb +167 -167
  16. data/lib/latest/modules/automation_profile_module.rb +663 -663
  17. data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
  18. data/lib/latest/modules/azurestack_profile_module.rb +163 -163
  19. data/lib/latest/modules/batch_profile_module.rb +377 -377
  20. data/lib/latest/modules/batchai_profile_module.rb +425 -425
  21. data/lib/latest/modules/billing_profile_module.rb +107 -107
  22. data/lib/latest/modules/botservice_profile_module.rb +293 -293
  23. data/lib/latest/modules/cdn_profile_module.rb +325 -325
  24. data/lib/latest/modules/cognitiveservices_profile_module.rb +207 -207
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -99
  26. data/lib/latest/modules/compute_profile_module.rb +0 -0
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -233
  28. data/lib/latest/modules/consumption_profile_module.rb +255 -255
  29. data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
  30. data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
  31. data/lib/latest/modules/containerservice_profile_module.rb +385 -385
  32. data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
  33. data/lib/latest/modules/cosmosdb_profile_module.rb +559 -559
  34. data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
  35. data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
  36. data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
  37. data/lib/latest/modules/customsearch_profile_module.rb +123 -123
  38. data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
  39. data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
  40. data/lib/latest/modules/databox_profile_module.rb +309 -309
  41. data/lib/latest/modules/datafactory_profile_module.rb +2159 -2159
  42. data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
  43. data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
  44. data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
  45. data/lib/latest/modules/datashare_profile_module.rb +383 -383
  46. data/lib/latest/modules/devspaces_profile_module.rb +119 -119
  47. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
  48. data/lib/latest/modules/dns_profile_module.rb +143 -143
  49. data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
  50. data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
  51. data/lib/latest/modules/eventgrid_profile_module.rb +671 -671
  52. data/lib/latest/modules/eventhub_profile_module.rb +171 -171
  53. data/lib/latest/modules/face_profile_module.rb +297 -297
  54. data/lib/latest/modules/features_profile_module.rb +73 -73
  55. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
  56. data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
  57. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
  58. data/lib/latest/modules/hdinsight_profile_module.rb +407 -407
  59. data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
  60. data/lib/latest/modules/iotcentral_profile_module.rb +103 -103
  61. data/lib/latest/modules/iothub_profile_module.rb +377 -377
  62. data/lib/latest/modules/keyvault_profile_module.rb +623 -623
  63. data/lib/latest/modules/kusto_profile_module.rb +297 -297
  64. data/lib/latest/modules/labservices_profile_module.rb +357 -357
  65. data/lib/latest/modules/links_profile_module.rb +83 -83
  66. data/lib/latest/modules/localsearch_profile_module.rb +151 -151
  67. data/lib/latest/modules/locks_profile_module.rb +79 -79
  68. data/lib/latest/modules/logic_profile_module.rb +787 -787
  69. data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
  70. data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
  71. data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
  72. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
  73. data/lib/latest/modules/maintenance_profile_module.rb +121 -0
  74. data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
  75. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
  76. data/lib/latest/modules/mariadb_profile_module.rb +233 -233
  77. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
  78. data/lib/latest/modules/mediaservices_profile_module.rb +859 -859
  79. data/lib/latest/modules/migrate_profile_module.rb +243 -243
  80. data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
  81. data/lib/latest/modules/monitor_profile_module.rb +723 -723
  82. data/lib/latest/modules/mysql_profile_module.rb +233 -233
  83. data/lib/latest/modules/netapp_profile_module.rb +185 -175
  84. data/lib/latest/modules/network_profile_module.rb +2489 -2489
  85. data/lib/latest/modules/newssearch_profile_module.rb +143 -143
  86. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
  87. data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
  88. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
  89. data/lib/latest/modules/peering_profile_module.rb +259 -259
  90. data/lib/latest/modules/personalizer_profile_module.rb +83 -83
  91. data/lib/latest/modules/policy_profile_module.rb +105 -105
  92. data/lib/latest/modules/policyinsights_profile_module.rb +193 -193
  93. data/lib/latest/modules/postgresql_profile_module.rb +233 -233
  94. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
  95. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
  96. data/lib/latest/modules/privatedns_profile_module.rb +137 -137
  97. data/lib/latest/modules/qnamaker_profile_module.rb +219 -219
  98. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
  99. data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
  100. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1241 -1241
  101. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
  102. data/lib/latest/modules/redis_profile_module.rb +209 -209
  103. data/lib/latest/modules/relay_profile_module.rb +163 -163
  104. data/lib/latest/modules/reservations_profile_module.rb +237 -237
  105. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
  106. data/lib/latest/modules/resources_profile_module.rb +321 -321
  107. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
  108. data/lib/latest/modules/scheduler_profile_module.rb +227 -227
  109. data/lib/latest/modules/search_profile_module.rb +127 -127
  110. data/lib/latest/modules/security_profile_module.rb +733 -733
  111. data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
  112. data/lib/latest/modules/servicebus_profile_module.rb +309 -309
  113. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
  114. data/lib/latest/modules/signalr_profile_module.rb +161 -161
  115. data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
  116. data/lib/latest/modules/sql_profile_module.rb +1765 -1757
  117. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +223 -223
  118. data/lib/latest/modules/storage_profile_module.rb +525 -525
  119. data/lib/latest/modules/storagecache_profile_module.rb +173 -173
  120. data/lib/latest/modules/storagesync_profile_module.rb +249 -249
  121. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
  122. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
  123. data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
  124. data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
  125. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
  126. data/lib/latest/modules/videosearch_profile_module.rb +175 -175
  127. data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
  128. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
  129. data/lib/latest/modules/web_profile_module.rb +1419 -1419
  130. data/lib/latest/modules/websearch_profile_module.rb +211 -211
  131. data/lib/v2017_03_09/module_definition.rb +6 -6
  132. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
  133. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
  134. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
  135. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
  136. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
  137. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
  138. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
  139. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
  140. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
  141. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
  142. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
  143. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
  144. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
  145. data/lib/v2018_03_01/module_definition.rb +6 -6
  146. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
  147. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
  148. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
  149. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
  150. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
  151. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
  152. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
  153. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
  154. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
  155. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
  156. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
  157. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
  158. data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
  159. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
  160. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
  161. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
  162. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
  163. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
  164. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
  165. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
  166. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
  167. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
  168. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
  169. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
  170. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
  171. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
  172. metadata +23 -8
@@ -1,103 +1,103 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'azure_mgmt_iot_central'
6
-
7
- module Azure::Profiles::Latest
8
- module IotCentral
9
- module Mgmt
10
- Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps
11
- Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
12
-
13
- module Models
14
- AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
15
- AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
16
- OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
17
- AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
18
- Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
19
- ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
20
- OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
21
- Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
22
- OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
23
- ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
24
- AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
25
- App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
26
- AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
27
- end
28
-
29
- class IotCentralManagementClass
30
- attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes
31
-
32
- def initialize(configurable, base_url=nil, options=nil)
33
- @configurable, @base_url, @options = configurable, base_url, options
34
-
35
- @client_0 = Azure::IotCentral::Mgmt::V2018_09_01::IotCentralClient.new(configurable.credentials, base_url, options)
36
- if(@client_0.respond_to?(:subscription_id))
37
- @client_0.subscription_id = configurable.subscription_id
38
- end
39
- add_telemetry(@client_0)
40
- @apps = @client_0.apps
41
- @operations = @client_0.operations
42
-
43
- @model_classes = ModelClasses.new
44
- end
45
-
46
- def add_telemetry(client)
47
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotCentral/Mgmt"
48
- client.add_user_agent_information(profile_information)
49
- end
50
-
51
- def method_missing(method, *args)
52
- if @client_0.respond_to?method
53
- @client_0.send(method, *args)
54
- else
55
- super
56
- end
57
- end
58
-
59
- class ModelClasses
60
- def app_list_result
61
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
62
- end
63
- def app_sku_info
64
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
65
- end
66
- def operation_display
67
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
68
- end
69
- def app_patch
70
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
71
- end
72
- def operation
73
- Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
74
- end
75
- def error_response_body
76
- Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
77
- end
78
- def operation_list_result
79
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
80
- end
81
- def resource
82
- Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
83
- end
84
- def operation_inputs
85
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
86
- end
87
- def error_details
88
- Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
89
- end
90
- def app_availability_info
91
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
92
- end
93
- def app
94
- Azure::IotCentral::Mgmt::V2018_09_01::Models::App
95
- end
96
- def app_sku
97
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
98
- end
99
- end
100
- end
101
- end
102
- end
103
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_iot_central'
6
+
7
+ module Azure::Profiles::Latest
8
+ module IotCentral
9
+ module Mgmt
10
+ Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps
11
+ Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
12
+
13
+ module Models
14
+ AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
15
+ AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
16
+ OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
17
+ AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
18
+ Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
19
+ ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
20
+ OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
21
+ Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
22
+ OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
23
+ ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
24
+ AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
25
+ App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
26
+ AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
27
+ end
28
+
29
+ class IotCentralManagementClass
30
+ attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes
31
+
32
+ def initialize(configurable, base_url=nil, options=nil)
33
+ @configurable, @base_url, @options = configurable, base_url, options
34
+
35
+ @client_0 = Azure::IotCentral::Mgmt::V2018_09_01::IotCentralClient.new(configurable.credentials, base_url, options)
36
+ if(@client_0.respond_to?(:subscription_id))
37
+ @client_0.subscription_id = configurable.subscription_id
38
+ end
39
+ add_telemetry(@client_0)
40
+ @apps = @client_0.apps
41
+ @operations = @client_0.operations
42
+
43
+ @model_classes = ModelClasses.new
44
+ end
45
+
46
+ def add_telemetry(client)
47
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotCentral/Mgmt"
48
+ client.add_user_agent_information(profile_information)
49
+ end
50
+
51
+ def method_missing(method, *args)
52
+ if @client_0.respond_to?method
53
+ @client_0.send(method, *args)
54
+ else
55
+ super
56
+ end
57
+ end
58
+
59
+ class ModelClasses
60
+ def app_list_result
61
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
62
+ end
63
+ def app_sku_info
64
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
65
+ end
66
+ def operation_display
67
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
68
+ end
69
+ def app_patch
70
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
71
+ end
72
+ def operation
73
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
74
+ end
75
+ def error_response_body
76
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
77
+ end
78
+ def operation_list_result
79
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
80
+ end
81
+ def resource
82
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
83
+ end
84
+ def operation_inputs
85
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
86
+ end
87
+ def error_details
88
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
89
+ end
90
+ def app_availability_info
91
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
92
+ end
93
+ def app
94
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::App
95
+ end
96
+ def app_sku
97
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
103
+ end
@@ -1,377 +1,377 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'azure_mgmt_iot_hub'
6
-
7
- module Azure::Profiles::Latest
8
- module IotHub
9
- module Mgmt
10
- Operations = Azure::IotHub::Mgmt::V2019_03_22_preview::Operations
11
- IotHubResource = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubResource
12
- ResourceProviderCommon = Azure::IotHub::Mgmt::V2019_03_22_preview::ResourceProviderCommon
13
- Certificates = Azure::IotHub::Mgmt::V2019_03_22_preview::Certificates
14
- IotHub = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHub
15
-
16
- module Models
17
- IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
18
- IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
19
- CertificateProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
20
- EndpointHealthData = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
21
- CertificateListDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
22
- EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
23
- CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
24
- RegistryStatistics = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
25
- SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
26
- JobResponse = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
27
- EventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
28
- JobResponseListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
29
- RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
30
- IotHubCapacity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
31
- RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
32
- IotHubSkuDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
33
- RouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
34
- TagsResource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
35
- EnrichmentProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
36
- EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
37
- StorageEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
38
- EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
39
- FeedbackProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
40
- IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
41
- IotHubPropertiesDeviceStreams = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
42
- IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
43
- IotHubSkuInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
44
- OperationInputs = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
45
- Resource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
46
- IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
47
- OperationDisplay = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
48
- Name = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
49
- OperationListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
50
- UserSubscriptionQuota = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
51
- CertificateVerificationDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
52
- UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
53
- CertificateBodyDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
54
- RoutingMessage = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
55
- IpFilterRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
56
- RoutingTwinProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
57
- RoutingEventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
58
- RoutingTwin = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
59
- FallbackRouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
60
- TestAllRoutesInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
61
- MessagingEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
62
- MatchedRoute = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
63
- IotHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
64
- TestAllRoutesResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
65
- SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
66
- TestRouteInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
67
- ErrorDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
68
- RouteErrorPosition = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
69
- CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
70
- RouteErrorRange = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
71
- RoutingEndpoints = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
72
- RouteCompilationError = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
73
- CloudToDeviceProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
74
- TestRouteResultDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
75
- Operation = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
76
- TestRouteResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
77
- RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
78
- ExportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
79
- CertificateDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
80
- ImportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
81
- RoutingProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
82
- FailoverInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
83
- IotHubDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
84
- AccessRights = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
85
- IpFilterActionType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
86
- RoutingSource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
87
- Capabilities = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
88
- IotHubSku = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
89
- IotHubSkuTier = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
90
- EndpointHealthStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
91
- JobType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
92
- JobStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
93
- IotHubScaleType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
94
- IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
95
- TestResultStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
96
- RouteErrorSeverity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
97
- end
98
-
99
- class IotHubManagementClass
100
- attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :iot_hub, :configurable, :base_url, :options, :model_classes
101
-
102
- def initialize(configurable, base_url=nil, options=nil)
103
- @configurable, @base_url, @options = configurable, base_url, options
104
-
105
- @client_0 = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubClient.new(configurable.credentials, base_url, options)
106
- if(@client_0.respond_to?(:subscription_id))
107
- @client_0.subscription_id = configurable.subscription_id
108
- end
109
- add_telemetry(@client_0)
110
- @operations = @client_0.operations
111
- @iot_hub_resource = @client_0.iot_hub_resource
112
- @resource_provider_common = @client_0.resource_provider_common
113
- @certificates = @client_0.certificates
114
- @iot_hub = @client_0.iot_hub
115
-
116
- @model_classes = ModelClasses.new
117
- end
118
-
119
- def add_telemetry(client)
120
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotHub/Mgmt"
121
- client.add_user_agent_information(profile_information)
122
- end
123
-
124
- def method_missing(method, *args)
125
- if @client_0.respond_to?method
126
- @client_0.send(method, *args)
127
- else
128
- super
129
- end
130
- end
131
-
132
- class ModelClasses
133
- def iot_hub_quota_metric_info
134
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
135
- end
136
- def iot_hub_quota_metric_info_list_result
137
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
138
- end
139
- def certificate_properties
140
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
141
- end
142
- def endpoint_health_data
143
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
144
- end
145
- def certificate_list_description
146
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
147
- end
148
- def endpoint_health_data_list_result
149
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
150
- end
151
- def certificate_properties_with_nonce
152
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
153
- end
154
- def registry_statistics
155
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
156
- end
157
- def shared_access_signature_authorization_rule
158
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
159
- end
160
- def job_response
161
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
162
- end
163
- def event_hub_properties
164
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
165
- end
166
- def job_response_list_result
167
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
168
- end
169
- def routing_service_bus_topic_endpoint_properties
170
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
171
- end
172
- def iot_hub_capacity
173
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
174
- end
175
- def routing_storage_container_properties
176
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
177
- end
178
- def iot_hub_sku_description
179
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
180
- end
181
- def route_properties
182
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
183
- end
184
- def tags_resource
185
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
186
- end
187
- def enrichment_properties
188
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
189
- end
190
- def event_hub_consumer_group_info
191
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
192
- end
193
- def storage_endpoint_properties
194
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
195
- end
196
- def event_hub_consumer_groups_list_result
197
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
198
- end
199
- def feedback_properties
200
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
201
- end
202
- def iot_hub_sku_description_list_result
203
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
204
- end
205
- def iot_hub_properties_device_streams
206
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
207
- end
208
- def iot_hub_description_list_result
209
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
210
- end
211
- def iot_hub_sku_info
212
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
213
- end
214
- def operation_inputs
215
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
216
- end
217
- def resource
218
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
219
- end
220
- def iot_hub_name_availability_info
221
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
222
- end
223
- def operation_display
224
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
225
- end
226
- def name
227
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
228
- end
229
- def operation_list_result
230
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
231
- end
232
- def user_subscription_quota
233
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
234
- end
235
- def certificate_verification_description
236
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
237
- end
238
- def user_subscription_quota_list_result
239
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
240
- end
241
- def certificate_body_description
242
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
243
- end
244
- def routing_message
245
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
246
- end
247
- def ip_filter_rule
248
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
249
- end
250
- def routing_twin_properties
251
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
252
- end
253
- def routing_event_hub_properties
254
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
255
- end
256
- def routing_twin
257
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
258
- end
259
- def fallback_route_properties
260
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
261
- end
262
- def test_all_routes_input
263
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
264
- end
265
- def messaging_endpoint_properties
266
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
267
- end
268
- def matched_route
269
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
270
- end
271
- def iot_hub_properties
272
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
273
- end
274
- def test_all_routes_result
275
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
276
- end
277
- def shared_access_signature_authorization_rule_list_result
278
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
279
- end
280
- def test_route_input
281
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
282
- end
283
- def error_details
284
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
285
- end
286
- def route_error_position
287
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
288
- end
289
- def certificate_with_nonce_description
290
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
291
- end
292
- def route_error_range
293
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
294
- end
295
- def routing_endpoints
296
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
297
- end
298
- def route_compilation_error
299
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
300
- end
301
- def cloud_to_device_properties
302
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
303
- end
304
- def test_route_result_details
305
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
306
- end
307
- def operation
308
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
309
- end
310
- def test_route_result
311
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
312
- end
313
- def routing_service_bus_queue_endpoint_properties
314
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
315
- end
316
- def export_devices_request
317
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
318
- end
319
- def certificate_description
320
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
321
- end
322
- def import_devices_request
323
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
324
- end
325
- def routing_properties
326
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
327
- end
328
- def failover_input
329
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
330
- end
331
- def iot_hub_description
332
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
333
- end
334
- def access_rights
335
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
336
- end
337
- def ip_filter_action_type
338
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
339
- end
340
- def routing_source
341
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
342
- end
343
- def capabilities
344
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
345
- end
346
- def iot_hub_sku
347
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
348
- end
349
- def iot_hub_sku_tier
350
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
351
- end
352
- def endpoint_health_status
353
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
354
- end
355
- def job_type
356
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
357
- end
358
- def job_status
359
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
360
- end
361
- def iot_hub_scale_type
362
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
363
- end
364
- def iot_hub_name_unavailability_reason
365
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
366
- end
367
- def test_result_status
368
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
369
- end
370
- def route_error_severity
371
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
372
- end
373
- end
374
- end
375
- end
376
- end
377
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_iot_hub'
6
+
7
+ module Azure::Profiles::Latest
8
+ module IotHub
9
+ module Mgmt
10
+ Operations = Azure::IotHub::Mgmt::V2019_03_22_preview::Operations
11
+ IotHubResource = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubResource
12
+ ResourceProviderCommon = Azure::IotHub::Mgmt::V2019_03_22_preview::ResourceProviderCommon
13
+ Certificates = Azure::IotHub::Mgmt::V2019_03_22_preview::Certificates
14
+ IotHub = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHub
15
+
16
+ module Models
17
+ IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
18
+ IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
19
+ CertificateProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
20
+ EndpointHealthData = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
21
+ CertificateListDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
22
+ EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
23
+ CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
24
+ RegistryStatistics = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
25
+ SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
26
+ JobResponse = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
27
+ EventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
28
+ JobResponseListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
29
+ RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
30
+ IotHubCapacity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
31
+ RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
32
+ IotHubSkuDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
33
+ RouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
34
+ TagsResource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
35
+ EnrichmentProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
36
+ EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
37
+ StorageEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
38
+ EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
39
+ FeedbackProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
40
+ IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
41
+ IotHubPropertiesDeviceStreams = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
42
+ IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
43
+ IotHubSkuInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
44
+ OperationInputs = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
45
+ Resource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
46
+ IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
47
+ OperationDisplay = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
48
+ Name = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
49
+ OperationListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
50
+ UserSubscriptionQuota = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
51
+ CertificateVerificationDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
52
+ UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
53
+ CertificateBodyDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
54
+ RoutingMessage = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
55
+ IpFilterRule = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
56
+ RoutingTwinProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
57
+ RoutingEventHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
58
+ RoutingTwin = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
59
+ FallbackRouteProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
60
+ TestAllRoutesInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
61
+ MessagingEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
62
+ MatchedRoute = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
63
+ IotHubProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
64
+ TestAllRoutesResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
65
+ SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
66
+ TestRouteInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
67
+ ErrorDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
68
+ RouteErrorPosition = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
69
+ CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
70
+ RouteErrorRange = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
71
+ RoutingEndpoints = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
72
+ RouteCompilationError = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
73
+ CloudToDeviceProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
74
+ TestRouteResultDetails = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
75
+ Operation = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
76
+ TestRouteResult = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
77
+ RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
78
+ ExportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
79
+ CertificateDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
80
+ ImportDevicesRequest = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
81
+ RoutingProperties = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
82
+ FailoverInput = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
83
+ IotHubDescription = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
84
+ AccessRights = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
85
+ IpFilterActionType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
86
+ RoutingSource = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
87
+ Capabilities = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
88
+ IotHubSku = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
89
+ IotHubSkuTier = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
90
+ EndpointHealthStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
91
+ JobType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
92
+ JobStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
93
+ IotHubScaleType = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
94
+ IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
95
+ TestResultStatus = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
96
+ RouteErrorSeverity = Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
97
+ end
98
+
99
+ class IotHubManagementClass
100
+ attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :iot_hub, :configurable, :base_url, :options, :model_classes
101
+
102
+ def initialize(configurable, base_url=nil, options=nil)
103
+ @configurable, @base_url, @options = configurable, base_url, options
104
+
105
+ @client_0 = Azure::IotHub::Mgmt::V2019_03_22_preview::IotHubClient.new(configurable.credentials, base_url, options)
106
+ if(@client_0.respond_to?(:subscription_id))
107
+ @client_0.subscription_id = configurable.subscription_id
108
+ end
109
+ add_telemetry(@client_0)
110
+ @operations = @client_0.operations
111
+ @iot_hub_resource = @client_0.iot_hub_resource
112
+ @resource_provider_common = @client_0.resource_provider_common
113
+ @certificates = @client_0.certificates
114
+ @iot_hub = @client_0.iot_hub
115
+
116
+ @model_classes = ModelClasses.new
117
+ end
118
+
119
+ def add_telemetry(client)
120
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotHub/Mgmt"
121
+ client.add_user_agent_information(profile_information)
122
+ end
123
+
124
+ def method_missing(method, *args)
125
+ if @client_0.respond_to?method
126
+ @client_0.send(method, *args)
127
+ else
128
+ super
129
+ end
130
+ end
131
+
132
+ class ModelClasses
133
+ def iot_hub_quota_metric_info
134
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfo
135
+ end
136
+ def iot_hub_quota_metric_info_list_result
137
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubQuotaMetricInfoListResult
138
+ end
139
+ def certificate_properties
140
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateProperties
141
+ end
142
+ def endpoint_health_data
143
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthData
144
+ end
145
+ def certificate_list_description
146
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateListDescription
147
+ end
148
+ def endpoint_health_data_list_result
149
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthDataListResult
150
+ end
151
+ def certificate_properties_with_nonce
152
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificatePropertiesWithNonce
153
+ end
154
+ def registry_statistics
155
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RegistryStatistics
156
+ end
157
+ def shared_access_signature_authorization_rule
158
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRule
159
+ end
160
+ def job_response
161
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponse
162
+ end
163
+ def event_hub_properties
164
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubProperties
165
+ end
166
+ def job_response_list_result
167
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobResponseListResult
168
+ end
169
+ def routing_service_bus_topic_endpoint_properties
170
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusTopicEndpointProperties
171
+ end
172
+ def iot_hub_capacity
173
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubCapacity
174
+ end
175
+ def routing_storage_container_properties
176
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingStorageContainerProperties
177
+ end
178
+ def iot_hub_sku_description
179
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescription
180
+ end
181
+ def route_properties
182
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteProperties
183
+ end
184
+ def tags_resource
185
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TagsResource
186
+ end
187
+ def enrichment_properties
188
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
189
+ end
190
+ def event_hub_consumer_group_info
191
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupInfo
192
+ end
193
+ def storage_endpoint_properties
194
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties
195
+ end
196
+ def event_hub_consumer_groups_list_result
197
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EventHubConsumerGroupsListResult
198
+ end
199
+ def feedback_properties
200
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FeedbackProperties
201
+ end
202
+ def iot_hub_sku_description_list_result
203
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuDescriptionListResult
204
+ end
205
+ def iot_hub_properties_device_streams
206
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubPropertiesDeviceStreams
207
+ end
208
+ def iot_hub_description_list_result
209
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescriptionListResult
210
+ end
211
+ def iot_hub_sku_info
212
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuInfo
213
+ end
214
+ def operation_inputs
215
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationInputs
216
+ end
217
+ def resource
218
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Resource
219
+ end
220
+ def iot_hub_name_availability_info
221
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameAvailabilityInfo
222
+ end
223
+ def operation_display
224
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationDisplay
225
+ end
226
+ def name
227
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Name
228
+ end
229
+ def operation_list_result
230
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::OperationListResult
231
+ end
232
+ def user_subscription_quota
233
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuota
234
+ end
235
+ def certificate_verification_description
236
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateVerificationDescription
237
+ end
238
+ def user_subscription_quota_list_result
239
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::UserSubscriptionQuotaListResult
240
+ end
241
+ def certificate_body_description
242
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateBodyDescription
243
+ end
244
+ def routing_message
245
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingMessage
246
+ end
247
+ def ip_filter_rule
248
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterRule
249
+ end
250
+ def routing_twin_properties
251
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwinProperties
252
+ end
253
+ def routing_event_hub_properties
254
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEventHubProperties
255
+ end
256
+ def routing_twin
257
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingTwin
258
+ end
259
+ def fallback_route_properties
260
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FallbackRouteProperties
261
+ end
262
+ def test_all_routes_input
263
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesInput
264
+ end
265
+ def messaging_endpoint_properties
266
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MessagingEndpointProperties
267
+ end
268
+ def matched_route
269
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::MatchedRoute
270
+ end
271
+ def iot_hub_properties
272
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubProperties
273
+ end
274
+ def test_all_routes_result
275
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestAllRoutesResult
276
+ end
277
+ def shared_access_signature_authorization_rule_list_result
278
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
279
+ end
280
+ def test_route_input
281
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteInput
282
+ end
283
+ def error_details
284
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ErrorDetails
285
+ end
286
+ def route_error_position
287
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorPosition
288
+ end
289
+ def certificate_with_nonce_description
290
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateWithNonceDescription
291
+ end
292
+ def route_error_range
293
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorRange
294
+ end
295
+ def routing_endpoints
296
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints
297
+ end
298
+ def route_compilation_error
299
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteCompilationError
300
+ end
301
+ def cloud_to_device_properties
302
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CloudToDeviceProperties
303
+ end
304
+ def test_route_result_details
305
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResultDetails
306
+ end
307
+ def operation
308
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Operation
309
+ end
310
+ def test_route_result
311
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestRouteResult
312
+ end
313
+ def routing_service_bus_queue_endpoint_properties
314
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingServiceBusQueueEndpointProperties
315
+ end
316
+ def export_devices_request
317
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ExportDevicesRequest
318
+ end
319
+ def certificate_description
320
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::CertificateDescription
321
+ end
322
+ def import_devices_request
323
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::ImportDevicesRequest
324
+ end
325
+ def routing_properties
326
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingProperties
327
+ end
328
+ def failover_input
329
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::FailoverInput
330
+ end
331
+ def iot_hub_description
332
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubDescription
333
+ end
334
+ def access_rights
335
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::AccessRights
336
+ end
337
+ def ip_filter_action_type
338
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IpFilterActionType
339
+ end
340
+ def routing_source
341
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingSource
342
+ end
343
+ def capabilities
344
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::Capabilities
345
+ end
346
+ def iot_hub_sku
347
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSku
348
+ end
349
+ def iot_hub_sku_tier
350
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubSkuTier
351
+ end
352
+ def endpoint_health_status
353
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EndpointHealthStatus
354
+ end
355
+ def job_type
356
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobType
357
+ end
358
+ def job_status
359
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::JobStatus
360
+ end
361
+ def iot_hub_scale_type
362
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubScaleType
363
+ end
364
+ def iot_hub_name_unavailability_reason
365
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::IotHubNameUnavailabilityReason
366
+ end
367
+ def test_result_status
368
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::TestResultStatus
369
+ end
370
+ def route_error_severity
371
+ Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RouteErrorSeverity
372
+ end
373
+ end
374
+ end
375
+ end
376
+ end
377
+ end