azure_sdk 0.51.1 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  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 +0 -0
  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 +175 -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 +0 -0
  19. data/lib/latest/modules/batch_profile_module.rb +417 -417
  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 +201 -207
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -99
  26. data/lib/latest/modules/compute_profile_module.rb +1235 -1235
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -233
  28. data/lib/latest/modules/consumption_profile_module.rb +345 -345
  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 +679 -679
  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 +2701 -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/deploymentmanager_profile_module.rb +261 -261
  47. data/lib/latest/modules/devspaces_profile_module.rb +119 -119
  48. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
  49. data/lib/latest/modules/dns_profile_module.rb +143 -143
  50. data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
  51. data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
  52. data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
  53. data/lib/latest/modules/eventhub_profile_module.rb +195 -195
  54. data/lib/latest/modules/face_profile_module.rb +297 -297
  55. data/lib/latest/modules/features_profile_module.rb +73 -73
  56. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
  57. data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
  58. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
  59. data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
  60. data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
  61. data/lib/latest/modules/importexport_profile_module.rb +135 -135
  62. data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
  63. data/lib/latest/modules/iothub_profile_module.rb +377 -377
  64. data/lib/latest/modules/keyvault_profile_module.rb +623 -623
  65. data/lib/latest/modules/kusto_profile_module.rb +349 -297
  66. data/lib/latest/modules/labservices_profile_module.rb +357 -357
  67. data/lib/latest/modules/links_profile_module.rb +83 -83
  68. data/lib/latest/modules/localsearch_profile_module.rb +151 -151
  69. data/lib/latest/modules/locks_profile_module.rb +79 -79
  70. data/lib/latest/modules/logic_profile_module.rb +787 -787
  71. data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
  72. data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
  73. data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
  74. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
  75. data/lib/latest/modules/maintenance_profile_module.rb +121 -121
  76. data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
  77. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
  78. data/lib/latest/modules/mariadb_profile_module.rb +233 -233
  79. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
  80. data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
  81. data/lib/latest/modules/migrate_profile_module.rb +243 -243
  82. data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
  83. data/lib/latest/modules/monitor_profile_module.rb +723 -723
  84. data/lib/latest/modules/mysql_profile_module.rb +233 -233
  85. data/lib/latest/modules/netapp_profile_module.rb +209 -209
  86. data/lib/latest/modules/network_profile_module.rb +2489 -2489
  87. data/lib/latest/modules/newssearch_profile_module.rb +143 -143
  88. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
  89. data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
  90. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
  91. data/lib/latest/modules/peering_profile_module.rb +259 -259
  92. data/lib/latest/modules/personalizer_profile_module.rb +83 -83
  93. data/lib/latest/modules/policy_profile_module.rb +105 -105
  94. data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
  95. data/lib/latest/modules/portal_profile_module.rb +95 -95
  96. data/lib/latest/modules/postgresql_profile_module.rb +233 -233
  97. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
  98. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
  99. data/lib/latest/modules/privatedns_profile_module.rb +137 -137
  100. data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
  101. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
  102. data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
  103. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
  104. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
  105. data/lib/latest/modules/redis_profile_module.rb +209 -209
  106. data/lib/latest/modules/relay_profile_module.rb +163 -163
  107. data/lib/latest/modules/reservations_profile_module.rb +359 -237
  108. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
  109. data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
  110. data/lib/latest/modules/resources_profile_module.rb +321 -321
  111. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
  112. data/lib/latest/modules/scheduler_profile_module.rb +227 -227
  113. data/lib/latest/modules/search_profile_module.rb +127 -127
  114. data/lib/latest/modules/security_profile_module.rb +733 -733
  115. data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
  116. data/lib/latest/modules/servicebus_profile_module.rb +309 -309
  117. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
  118. data/lib/latest/modules/signalr_profile_module.rb +161 -161
  119. data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
  120. data/lib/latest/modules/sql_profile_module.rb +1765 -1765
  121. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
  122. data/lib/latest/modules/storage_profile_module.rb +569 -549
  123. data/lib/latest/modules/storagecache_profile_module.rb +173 -173
  124. data/lib/latest/modules/storagesync_profile_module.rb +275 -275
  125. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
  126. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
  127. data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
  128. data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
  129. data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
  130. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
  131. data/lib/latest/modules/videosearch_profile_module.rb +175 -175
  132. data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
  133. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
  134. data/lib/latest/modules/web_profile_module.rb +1419 -1419
  135. data/lib/latest/modules/websearch_profile_module.rb +211 -211
  136. data/lib/v2017_03_09/module_definition.rb +6 -6
  137. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
  138. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
  139. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
  140. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
  141. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
  142. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
  143. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
  144. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
  145. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
  146. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
  147. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
  148. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
  149. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
  150. data/lib/v2018_03_01/module_definition.rb +6 -6
  151. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
  152. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
  153. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
  154. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
  155. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
  156. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
  157. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
  158. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
  159. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
  160. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
  161. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
  162. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
  163. data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
  164. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
  165. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
  166. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
  167. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
  168. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
  169. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
  170. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
  171. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
  172. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
  173. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
  174. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
  175. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
  176. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
  177. metadata +27 -26
@@ -1,125 +1,125 @@
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_mixedreality'
6
-
7
- module Azure::Profiles::Latest
8
- module MixedReality
9
- module Mgmt
10
- Operations = Azure::MixedReality::Mgmt::V2019_12_02_preview::Operations
11
- RemoteRenderingAccounts = Azure::MixedReality::Mgmt::V2019_12_02_preview::RemoteRenderingAccounts
12
- SpatialAnchorsAccounts = Azure::MixedReality::Mgmt::V2019_12_02_preview::SpatialAnchorsAccounts
13
-
14
- module Models
15
- ErrorResponse = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
16
- AccountKeys = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeys
17
- CheckNameAvailabilityResponse = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityResponse
18
- RemoteRenderingAccountPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccountPage
19
- Operation = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Operation
20
- CheckNameAvailabilityRequest = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityRequest
21
- SpatialAnchorsAccountPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccountPage
22
- OperationPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationPage
23
- Resource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Resource
24
- OperationDisplay = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationDisplay
25
- AccountKeyRegenerateRequest = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeyRegenerateRequest
26
- RemoteRenderingAccount = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccount
27
- ProxyResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ProxyResource
28
- AzureEntityResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AzureEntityResource
29
- TrackedResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::TrackedResource
30
- SpatialAnchorsAccount = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccount
31
- NameAvailability = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameAvailability
32
- NameUnavailableReason = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameUnavailableReason
33
- end
34
-
35
- class MixedRealityManagementClass
36
- attr_reader :operations, :remote_rendering_accounts, :spatial_anchors_accounts, :configurable, :base_url, :options, :model_classes
37
-
38
- def initialize(configurable, base_url=nil, options=nil)
39
- @configurable, @base_url, @options = configurable, base_url, options
40
-
41
- @client_0 = Azure::MixedReality::Mgmt::V2019_12_02_preview::MixedRealityClient.new(configurable.credentials, base_url, options)
42
- if(@client_0.respond_to?(:subscription_id))
43
- @client_0.subscription_id = configurable.subscription_id
44
- end
45
- add_telemetry(@client_0)
46
- @operations = @client_0.operations
47
- @remote_rendering_accounts = @client_0.remote_rendering_accounts
48
- @spatial_anchors_accounts = @client_0.spatial_anchors_accounts
49
-
50
- @model_classes = ModelClasses.new
51
- end
52
-
53
- def add_telemetry(client)
54
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/MixedReality/Mgmt"
55
- client.add_user_agent_information(profile_information)
56
- end
57
-
58
- def method_missing(method, *args)
59
- if @client_0.respond_to?method
60
- @client_0.send(method, *args)
61
- else
62
- super
63
- end
64
- end
65
-
66
- class ModelClasses
67
- def error_response
68
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
69
- end
70
- def account_keys
71
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeys
72
- end
73
- def check_name_availability_response
74
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityResponse
75
- end
76
- def remote_rendering_account_page
77
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccountPage
78
- end
79
- def operation
80
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Operation
81
- end
82
- def check_name_availability_request
83
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityRequest
84
- end
85
- def spatial_anchors_account_page
86
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccountPage
87
- end
88
- def operation_page
89
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationPage
90
- end
91
- def resource
92
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Resource
93
- end
94
- def operation_display
95
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationDisplay
96
- end
97
- def account_key_regenerate_request
98
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeyRegenerateRequest
99
- end
100
- def remote_rendering_account
101
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccount
102
- end
103
- def proxy_resource
104
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ProxyResource
105
- end
106
- def azure_entity_resource
107
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AzureEntityResource
108
- end
109
- def tracked_resource
110
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::TrackedResource
111
- end
112
- def spatial_anchors_account
113
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccount
114
- end
115
- def name_availability
116
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameAvailability
117
- end
118
- def name_unavailable_reason
119
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameUnavailableReason
120
- end
121
- end
122
- end
123
- end
124
- end
125
- 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_mixedreality'
6
+
7
+ module Azure::Profiles::Latest
8
+ module MixedReality
9
+ module Mgmt
10
+ Operations = Azure::MixedReality::Mgmt::V2019_12_02_preview::Operations
11
+ RemoteRenderingAccounts = Azure::MixedReality::Mgmt::V2019_12_02_preview::RemoteRenderingAccounts
12
+ SpatialAnchorsAccounts = Azure::MixedReality::Mgmt::V2019_12_02_preview::SpatialAnchorsAccounts
13
+
14
+ module Models
15
+ ErrorResponse = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
16
+ AccountKeys = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeys
17
+ CheckNameAvailabilityResponse = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityResponse
18
+ RemoteRenderingAccountPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccountPage
19
+ Operation = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Operation
20
+ CheckNameAvailabilityRequest = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityRequest
21
+ SpatialAnchorsAccountPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccountPage
22
+ OperationPage = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationPage
23
+ Resource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Resource
24
+ OperationDisplay = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationDisplay
25
+ AccountKeyRegenerateRequest = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeyRegenerateRequest
26
+ RemoteRenderingAccount = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccount
27
+ ProxyResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ProxyResource
28
+ AzureEntityResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AzureEntityResource
29
+ TrackedResource = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::TrackedResource
30
+ SpatialAnchorsAccount = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccount
31
+ NameAvailability = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameAvailability
32
+ NameUnavailableReason = Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameUnavailableReason
33
+ end
34
+
35
+ class MixedRealityManagementClass
36
+ attr_reader :operations, :remote_rendering_accounts, :spatial_anchors_accounts, :configurable, :base_url, :options, :model_classes
37
+
38
+ def initialize(configurable, base_url=nil, options=nil)
39
+ @configurable, @base_url, @options = configurable, base_url, options
40
+
41
+ @client_0 = Azure::MixedReality::Mgmt::V2019_12_02_preview::MixedRealityClient.new(configurable.credentials, base_url, options)
42
+ if(@client_0.respond_to?(:subscription_id))
43
+ @client_0.subscription_id = configurable.subscription_id
44
+ end
45
+ add_telemetry(@client_0)
46
+ @operations = @client_0.operations
47
+ @remote_rendering_accounts = @client_0.remote_rendering_accounts
48
+ @spatial_anchors_accounts = @client_0.spatial_anchors_accounts
49
+
50
+ @model_classes = ModelClasses.new
51
+ end
52
+
53
+ def add_telemetry(client)
54
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/MixedReality/Mgmt"
55
+ client.add_user_agent_information(profile_information)
56
+ end
57
+
58
+ def method_missing(method, *args)
59
+ if @client_0.respond_to?method
60
+ @client_0.send(method, *args)
61
+ else
62
+ super
63
+ end
64
+ end
65
+
66
+ class ModelClasses
67
+ def error_response
68
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
69
+ end
70
+ def account_keys
71
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeys
72
+ end
73
+ def check_name_availability_response
74
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityResponse
75
+ end
76
+ def remote_rendering_account_page
77
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccountPage
78
+ end
79
+ def operation
80
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Operation
81
+ end
82
+ def check_name_availability_request
83
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::CheckNameAvailabilityRequest
84
+ end
85
+ def spatial_anchors_account_page
86
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccountPage
87
+ end
88
+ def operation_page
89
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationPage
90
+ end
91
+ def resource
92
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::Resource
93
+ end
94
+ def operation_display
95
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::OperationDisplay
96
+ end
97
+ def account_key_regenerate_request
98
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AccountKeyRegenerateRequest
99
+ end
100
+ def remote_rendering_account
101
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::RemoteRenderingAccount
102
+ end
103
+ def proxy_resource
104
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ProxyResource
105
+ end
106
+ def azure_entity_resource
107
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::AzureEntityResource
108
+ end
109
+ def tracked_resource
110
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::TrackedResource
111
+ end
112
+ def spatial_anchors_account
113
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::SpatialAnchorsAccount
114
+ end
115
+ def name_availability
116
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameAvailability
117
+ end
118
+ def name_unavailable_reason
119
+ Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::NameUnavailableReason
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
125
+ end
@@ -1,723 +1,723 @@
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_monitor'
6
-
7
- module Azure::Profiles::Latest
8
- module Monitor
9
- module Mgmt
10
- ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
11
- AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
12
- EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
13
- Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
14
- TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
15
- AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules
16
- AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents
17
- LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles
18
- ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts
19
- DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
20
- DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
21
- MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline
22
- MetricNamespaces = Azure::Monitor::Mgmt::V2017_12_01_preview::MetricNamespaces
23
- MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
24
- Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
25
- MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts
26
- MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus
27
- ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules
28
- VMInsights = Azure::Monitor::Mgmt::V2018_11_27_preview::VMInsights
29
- ActionGroups = Azure::Monitor::Mgmt::V2019_03_01::ActionGroups
30
-
31
- module Models
32
- RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
33
- Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
34
- SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
35
- AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
36
- EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
37
- EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
38
- WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
39
- ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
40
- AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
41
- ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
42
- ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
43
- AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
44
- EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
45
- AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
46
- MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
47
- EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
48
- HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
49
- OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
50
- TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
51
- Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
52
- OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
53
- AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
54
- EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
55
- MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
56
- TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
57
- ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
58
- ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
59
- ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
60
- RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
61
- AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
62
- RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
63
- AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
64
- RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
65
- LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
66
- ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
67
- LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
68
- Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
69
- RuleAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
70
- IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
71
- RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
72
- RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource
73
- ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition
74
- LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition
75
- ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition
76
- RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction
77
- RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction
78
- AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource
79
- LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
80
- ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator
81
- TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
82
- ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
83
- ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
84
- ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
85
- ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
86
- ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
87
- ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
88
- ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
89
- ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
90
- MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
91
- LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
92
- DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
93
- DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
94
- RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
95
- DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
96
- DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
97
- CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
98
- Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
99
- BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
100
- BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue
101
- TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
102
- CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
103
- Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
104
- MetricNamespaceCollection = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
105
- MetricNamespaceName = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
106
- MetricNamespace = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
107
- MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
108
- LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
109
- MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
110
- MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
111
- TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
112
- Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
113
- MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
114
- Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
115
- MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
116
- Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
117
- AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
118
- ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
119
- MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
120
- MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
121
- MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
122
- MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
123
- MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
124
- MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
125
- MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
126
- MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
127
- MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
128
- MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
129
- MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
130
- LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
131
- LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
132
- Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
133
- TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
134
- Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action
135
- Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source
136
- AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
137
- LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
138
- LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
139
- AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
140
- Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
141
- ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
142
- QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
143
- ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
144
- MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
145
- AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
146
- WorkspaceInfo = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
147
- ProxyResource = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
148
- DataContainer = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
149
- ResponseWithError = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
150
- Error = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
151
- VMInsightsOnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
152
- OnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
153
- DataStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
154
- LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
155
- Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
156
- AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
157
- SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
158
- ArmRoleReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
159
- ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
160
- AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
161
- VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
162
- ActionGroupList = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
163
- WebhookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
164
- EnableRequest = Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
165
- EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
166
- ErrorResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
167
- AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
168
- ActionGroupPatchBody = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
169
- ActionGroupResource = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
170
- ReceiverStatus = Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
171
- end
172
-
173
- class MonitorManagementClass
174
- attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_namespaces, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :vminsights, :action_groups, :configurable, :base_url, :options, :model_classes
175
-
176
- def initialize(configurable, base_url=nil, options=nil)
177
- @configurable, @base_url, @options = configurable, base_url, options
178
-
179
- @client_0 = Azure::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
180
- if(@client_0.respond_to?(:subscription_id))
181
- @client_0.subscription_id = configurable.subscription_id
182
- end
183
- add_telemetry(@client_0)
184
- @activity_logs = @client_0.activity_logs
185
- @autoscale_settings = @client_0.autoscale_settings
186
- @event_categories = @client_0.event_categories
187
- @operations = @client_0.operations
188
- @tenant_activity_logs = @client_0.tenant_activity_logs
189
-
190
- @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
191
- if(@client_1.respond_to?(:subscription_id))
192
- @client_1.subscription_id = configurable.subscription_id
193
- end
194
- add_telemetry(@client_1)
195
- @alert_rules = @client_1.alert_rules
196
- @alert_rule_incidents = @client_1.alert_rule_incidents
197
- @log_profiles = @client_1.log_profiles
198
-
199
- @client_2 = Azure::Monitor::Mgmt::V2017_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
200
- if(@client_2.respond_to?(:subscription_id))
201
- @client_2.subscription_id = configurable.subscription_id
202
- end
203
- add_telemetry(@client_2)
204
- @activity_log_alerts = @client_2.activity_log_alerts
205
-
206
- @client_3 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
207
- if(@client_3.respond_to?(:subscription_id))
208
- @client_3.subscription_id = configurable.subscription_id
209
- end
210
- add_telemetry(@client_3)
211
- @diagnostic_settings_operations = @client_3.diagnostic_settings_operations
212
- @diagnostic_settings_category_operations = @client_3.diagnostic_settings_category_operations
213
-
214
- @client_4 = Azure::Monitor::Mgmt::V2017_11_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
215
- if(@client_4.respond_to?(:subscription_id))
216
- @client_4.subscription_id = configurable.subscription_id
217
- end
218
- add_telemetry(@client_4)
219
- @metric_baseline = @client_4.metric_baseline
220
-
221
- @client_5 = Azure::Monitor::Mgmt::V2017_12_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
222
- if(@client_5.respond_to?(:subscription_id))
223
- @client_5.subscription_id = configurable.subscription_id
224
- end
225
- add_telemetry(@client_5)
226
- @metric_namespaces = @client_5.metric_namespaces
227
-
228
- @client_6 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
229
- if(@client_6.respond_to?(:subscription_id))
230
- @client_6.subscription_id = configurable.subscription_id
231
- end
232
- add_telemetry(@client_6)
233
- @metric_definitions = @client_6.metric_definitions
234
- @metrics = @client_6.metrics
235
-
236
- @client_7 = Azure::Monitor::Mgmt::V2018_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
237
- if(@client_7.respond_to?(:subscription_id))
238
- @client_7.subscription_id = configurable.subscription_id
239
- end
240
- add_telemetry(@client_7)
241
- @metric_alerts = @client_7.metric_alerts
242
- @metric_alerts_status = @client_7.metric_alerts_status
243
-
244
- @client_8 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options)
245
- if(@client_8.respond_to?(:subscription_id))
246
- @client_8.subscription_id = configurable.subscription_id
247
- end
248
- add_telemetry(@client_8)
249
- @scheduled_query_rules = @client_8.scheduled_query_rules
250
-
251
- @client_9 = Azure::Monitor::Mgmt::V2018_11_27_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
252
- if(@client_9.respond_to?(:subscription_id))
253
- @client_9.subscription_id = configurable.subscription_id
254
- end
255
- add_telemetry(@client_9)
256
- @vminsights = @client_9.vminsights
257
-
258
- @client_10 = Azure::Monitor::Mgmt::V2019_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
259
- if(@client_10.respond_to?(:subscription_id))
260
- @client_10.subscription_id = configurable.subscription_id
261
- end
262
- add_telemetry(@client_10)
263
- @action_groups = @client_10.action_groups
264
-
265
- @model_classes = ModelClasses.new
266
- end
267
-
268
- def add_telemetry(client)
269
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Monitor/Mgmt"
270
- client.add_user_agent_information(profile_information)
271
- end
272
-
273
- def method_missing(method, *args)
274
- if @client_10.respond_to?method
275
- @client_10.send(method, *args)
276
- elsif @client_9.respond_to?method
277
- @client_9.send(method, *args)
278
- elsif @client_8.respond_to?method
279
- @client_8.send(method, *args)
280
- elsif @client_7.respond_to?method
281
- @client_7.send(method, *args)
282
- elsif @client_6.respond_to?method
283
- @client_6.send(method, *args)
284
- elsif @client_5.respond_to?method
285
- @client_5.send(method, *args)
286
- elsif @client_4.respond_to?method
287
- @client_4.send(method, *args)
288
- elsif @client_3.respond_to?method
289
- @client_3.send(method, *args)
290
- elsif @client_2.respond_to?method
291
- @client_2.send(method, *args)
292
- elsif @client_1.respond_to?method
293
- @client_1.send(method, *args)
294
- elsif @client_0.respond_to?method
295
- @client_0.send(method, *args)
296
- else
297
- super
298
- end
299
- end
300
-
301
- class ModelClasses
302
- def recurrent_schedule
303
- Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
304
- end
305
- def recurrence
306
- Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
307
- end
308
- def sender_authorization
309
- Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
310
- end
311
- def autoscale_profile
312
- Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
313
- end
314
- def event_data
315
- Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
316
- end
317
- def email_notification
318
- Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
319
- end
320
- def webhook_notification
321
- Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
322
- end
323
- def scale_capacity
324
- Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
325
- end
326
- def autoscale_notification
327
- Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
328
- end
329
- def scale_action
330
- Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
331
- end
332
- def scale_rule
333
- Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
334
- end
335
- def autoscale_setting_resource_patch
336
- Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
337
- end
338
- def event_data_collection
339
- Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
340
- end
341
- def autoscale_setting_resource_collection
342
- Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
343
- end
344
- def metric_trigger
345
- Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
346
- end
347
- def event_category_collection
348
- Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
349
- end
350
- def http_request_info
351
- Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
352
- end
353
- def operation_display
354
- Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
355
- end
356
- def time_window
357
- Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
358
- end
359
- def operation
360
- Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
361
- end
362
- def operation_list_result
363
- Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
364
- end
365
- def autoscale_setting_resource
366
- Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
367
- end
368
- def event_level
369
- Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
370
- end
371
- def metric_statistic_type
372
- Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
373
- end
374
- def time_aggregation_type
375
- Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
376
- end
377
- def comparison_operation_type
378
- Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
379
- end
380
- def scale_direction
381
- Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
382
- end
383
- def scale_type
384
- Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
385
- end
386
- def rule_condition
387
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
388
- end
389
- def alert_rule_resource_patch
390
- Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
391
- end
392
- def rule_management_event_claims_data_source
393
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
394
- end
395
- def alert_rule_resource_collection
396
- Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
397
- end
398
- def rule_data_source
399
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
400
- end
401
- def log_profile_resource_patch
402
- Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
403
- end
404
- def management_event_aggregation_condition
405
- Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
406
- end
407
- def log_profile_collection
408
- Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
409
- end
410
- def incident
411
- Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
412
- end
413
- def rule_action
414
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
415
- end
416
- def incident_list_result
417
- Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
418
- end
419
- def rule_metric_data_source
420
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
421
- end
422
- def rule_management_event_data_source
423
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource
424
- end
425
- def threshold_rule_condition
426
- Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition
427
- end
428
- def location_threshold_rule_condition
429
- Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition
430
- end
431
- def management_event_rule_condition
432
- Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition
433
- end
434
- def rule_email_action
435
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction
436
- end
437
- def rule_webhook_action
438
- Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction
439
- end
440
- def alert_rule_resource
441
- Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource
442
- end
443
- def log_profile_resource
444
- Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
445
- end
446
- def condition_operator
447
- Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator
448
- end
449
- def time_aggregation_operator
450
- Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
451
- end
452
- def activity_log_alert_leaf_condition
453
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
454
- end
455
- def activity_log_alert_all_of_condition
456
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
457
- end
458
- def activity_log_alert_action_group
459
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
460
- end
461
- def activity_log_alert_action_list
462
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
463
- end
464
- def activity_log_alert_patch_body
465
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
466
- end
467
- def activity_log_alert_list
468
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
469
- end
470
- def activity_log_alert_resource
471
- Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
472
- end
473
- def proxy_only_resource
474
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
475
- end
476
- def metric_settings
477
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
478
- end
479
- def log_settings
480
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
481
- end
482
- def diagnostic_settings_category_resource_collection
483
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
484
- end
485
- def diagnostic_settings_resource_collection
486
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
487
- end
488
- def retention_policy
489
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
490
- end
491
- def diagnostic_settings_resource
492
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
493
- end
494
- def diagnostic_settings_category_resource
495
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
496
- end
497
- def category_type
498
- Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
499
- end
500
- def baseline
501
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
502
- end
503
- def baseline_response
504
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
505
- end
506
- def baseline_metadata_value
507
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue
508
- end
509
- def time_series_information
510
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
511
- end
512
- def calculate_baseline_response
513
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
514
- end
515
- def sensitivity
516
- Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
517
- end
518
- def metric_namespace_collection
519
- Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
520
- end
521
- def metric_namespace_name
522
- Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
523
- end
524
- def metric_namespace
525
- Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
526
- end
527
- def metric_value
528
- Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
529
- end
530
- def localizable_string
531
- Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
532
- end
533
- def metadata_value
534
- Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
535
- end
536
- def metric_definition
537
- Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
538
- end
539
- def time_series_element
540
- Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
541
- end
542
- def metric
543
- Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
544
- end
545
- def metric_definition_collection
546
- Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
547
- end
548
- def response
549
- Azure::Monitor::Mgmt::V2018_01_01::Models::Response
550
- end
551
- def metric_availability
552
- Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
553
- end
554
- def unit
555
- Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
556
- end
557
- def aggregation_type
558
- Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
559
- end
560
- def result_type
561
- Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
562
- end
563
- def metric_alert_criteria
564
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
565
- end
566
- def metric_alert_resource_patch
567
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
568
- end
569
- def metric_alert_status_properties
570
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
571
- end
572
- def metric_alert_status_collection
573
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
574
- end
575
- def metric_criteria
576
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
577
- end
578
- def metric_alert_action
579
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
580
- end
581
- def metric_alert_resource_collection
582
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
583
- end
584
- def metric_dimension
585
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
586
- end
587
- def metric_alert_status
588
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
589
- end
590
- def metric_alert_resource
591
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
592
- end
593
- def metric_alert_single_resource_multiple_metric_criteria
594
- Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
595
- end
596
- def log_search_rule_resource_collection
597
- Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
598
- end
599
- def log_metric_trigger
600
- Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
601
- end
602
- def schedule
603
- Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
604
- end
605
- def trigger_condition
606
- Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
607
- end
608
- def action
609
- Azure::Monitor::Mgmt::V2018_04_16::Models::Action
610
- end
611
- def source
612
- Azure::Monitor::Mgmt::V2018_04_16::Models::Source
613
- end
614
- def az_ns_action_group
615
- Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
616
- end
617
- def log_search_rule_resource_patch
618
- Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
619
- end
620
- def log_search_rule_resource
621
- Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
622
- end
623
- def alerting_action
624
- Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
625
- end
626
- def enabled
627
- Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
628
- end
629
- def provisioning_state
630
- Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
631
- end
632
- def query_type
633
- Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
634
- end
635
- def conditional_operator
636
- Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
637
- end
638
- def metric_trigger_type
639
- Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
640
- end
641
- def alert_severity
642
- Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
643
- end
644
- def workspace_info
645
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
646
- end
647
- def proxy_resource
648
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
649
- end
650
- def data_container
651
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
652
- end
653
- def response_with_error
654
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
655
- end
656
- def error
657
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
658
- end
659
- def vminsights_onboarding_status
660
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
661
- end
662
- def onboarding_status
663
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
664
- end
665
- def data_status
666
- Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
667
- end
668
- def logic_app_receiver
669
- Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
670
- end
671
- def resource
672
- Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
673
- end
674
- def azure_function_receiver
675
- Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
676
- end
677
- def sms_receiver
678
- Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
679
- end
680
- def arm_role_receiver
681
- Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
682
- end
683
- def itsm_receiver
684
- Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
685
- end
686
- def azure_app_push_receiver
687
- Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
688
- end
689
- def voice_receiver
690
- Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
691
- end
692
- def action_group_list
693
- Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
694
- end
695
- def webhook_receiver
696
- Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
697
- end
698
- def enable_request
699
- Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
700
- end
701
- def email_receiver
702
- Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
703
- end
704
- def error_response
705
- Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
706
- end
707
- def automation_runbook_receiver
708
- Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
709
- end
710
- def action_group_patch_body
711
- Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
712
- end
713
- def action_group_resource
714
- Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
715
- end
716
- def receiver_status
717
- Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
718
- end
719
- end
720
- end
721
- end
722
- end
723
- 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_monitor'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Monitor
9
+ module Mgmt
10
+ ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
11
+ AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
12
+ EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
13
+ Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
14
+ TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
15
+ AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules
16
+ AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents
17
+ LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles
18
+ ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts
19
+ DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
20
+ DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
21
+ MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline
22
+ MetricNamespaces = Azure::Monitor::Mgmt::V2017_12_01_preview::MetricNamespaces
23
+ MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
24
+ Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
25
+ MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts
26
+ MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus
27
+ ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules
28
+ VMInsights = Azure::Monitor::Mgmt::V2018_11_27_preview::VMInsights
29
+ ActionGroups = Azure::Monitor::Mgmt::V2019_03_01::ActionGroups
30
+
31
+ module Models
32
+ RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
33
+ Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
34
+ SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
35
+ AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
36
+ EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
37
+ EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
38
+ WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
39
+ ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
40
+ AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
41
+ ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
42
+ ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
43
+ AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
44
+ EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
45
+ AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
46
+ MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
47
+ EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
48
+ HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
49
+ OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
50
+ TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
51
+ Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
52
+ OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
53
+ AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
54
+ EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
55
+ MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
56
+ TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
57
+ ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
58
+ ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
59
+ ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
60
+ RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
61
+ AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
62
+ RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
63
+ AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
64
+ RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
65
+ LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
66
+ ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
67
+ LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
68
+ Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
69
+ RuleAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
70
+ IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
71
+ RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
72
+ RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource
73
+ ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition
74
+ LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition
75
+ ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition
76
+ RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction
77
+ RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction
78
+ AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource
79
+ LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
80
+ ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator
81
+ TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
82
+ ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
83
+ ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
84
+ ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
85
+ ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
86
+ ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
87
+ ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
88
+ ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
89
+ ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
90
+ MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
91
+ LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
92
+ DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
93
+ DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
94
+ RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
95
+ DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
96
+ DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
97
+ CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
98
+ Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
99
+ BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
100
+ BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue
101
+ TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
102
+ CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
103
+ Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
104
+ MetricNamespaceCollection = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
105
+ MetricNamespaceName = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
106
+ MetricNamespace = Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
107
+ MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
108
+ LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
109
+ MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
110
+ MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
111
+ TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
112
+ Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
113
+ MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
114
+ Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
115
+ MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
116
+ Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
117
+ AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
118
+ ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
119
+ MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
120
+ MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
121
+ MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
122
+ MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
123
+ MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
124
+ MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
125
+ MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
126
+ MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
127
+ MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
128
+ MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
129
+ MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
130
+ LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
131
+ LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
132
+ Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
133
+ TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
134
+ Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action
135
+ Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source
136
+ AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
137
+ LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
138
+ LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
139
+ AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
140
+ Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
141
+ ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
142
+ QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
143
+ ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
144
+ MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
145
+ AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
146
+ WorkspaceInfo = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
147
+ ProxyResource = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
148
+ DataContainer = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
149
+ ResponseWithError = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
150
+ Error = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
151
+ VMInsightsOnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
152
+ OnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
153
+ DataStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
154
+ LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
155
+ Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
156
+ AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
157
+ SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
158
+ ArmRoleReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
159
+ ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
160
+ AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
161
+ VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
162
+ ActionGroupList = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
163
+ WebhookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
164
+ EnableRequest = Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
165
+ EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
166
+ ErrorResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
167
+ AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
168
+ ActionGroupPatchBody = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
169
+ ActionGroupResource = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
170
+ ReceiverStatus = Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
171
+ end
172
+
173
+ class MonitorManagementClass
174
+ attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_namespaces, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :vminsights, :action_groups, :configurable, :base_url, :options, :model_classes
175
+
176
+ def initialize(configurable, base_url=nil, options=nil)
177
+ @configurable, @base_url, @options = configurable, base_url, options
178
+
179
+ @client_0 = Azure::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
180
+ if(@client_0.respond_to?(:subscription_id))
181
+ @client_0.subscription_id = configurable.subscription_id
182
+ end
183
+ add_telemetry(@client_0)
184
+ @activity_logs = @client_0.activity_logs
185
+ @autoscale_settings = @client_0.autoscale_settings
186
+ @event_categories = @client_0.event_categories
187
+ @operations = @client_0.operations
188
+ @tenant_activity_logs = @client_0.tenant_activity_logs
189
+
190
+ @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
191
+ if(@client_1.respond_to?(:subscription_id))
192
+ @client_1.subscription_id = configurable.subscription_id
193
+ end
194
+ add_telemetry(@client_1)
195
+ @alert_rules = @client_1.alert_rules
196
+ @alert_rule_incidents = @client_1.alert_rule_incidents
197
+ @log_profiles = @client_1.log_profiles
198
+
199
+ @client_2 = Azure::Monitor::Mgmt::V2017_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
200
+ if(@client_2.respond_to?(:subscription_id))
201
+ @client_2.subscription_id = configurable.subscription_id
202
+ end
203
+ add_telemetry(@client_2)
204
+ @activity_log_alerts = @client_2.activity_log_alerts
205
+
206
+ @client_3 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
207
+ if(@client_3.respond_to?(:subscription_id))
208
+ @client_3.subscription_id = configurable.subscription_id
209
+ end
210
+ add_telemetry(@client_3)
211
+ @diagnostic_settings_operations = @client_3.diagnostic_settings_operations
212
+ @diagnostic_settings_category_operations = @client_3.diagnostic_settings_category_operations
213
+
214
+ @client_4 = Azure::Monitor::Mgmt::V2017_11_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
215
+ if(@client_4.respond_to?(:subscription_id))
216
+ @client_4.subscription_id = configurable.subscription_id
217
+ end
218
+ add_telemetry(@client_4)
219
+ @metric_baseline = @client_4.metric_baseline
220
+
221
+ @client_5 = Azure::Monitor::Mgmt::V2017_12_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
222
+ if(@client_5.respond_to?(:subscription_id))
223
+ @client_5.subscription_id = configurable.subscription_id
224
+ end
225
+ add_telemetry(@client_5)
226
+ @metric_namespaces = @client_5.metric_namespaces
227
+
228
+ @client_6 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
229
+ if(@client_6.respond_to?(:subscription_id))
230
+ @client_6.subscription_id = configurable.subscription_id
231
+ end
232
+ add_telemetry(@client_6)
233
+ @metric_definitions = @client_6.metric_definitions
234
+ @metrics = @client_6.metrics
235
+
236
+ @client_7 = Azure::Monitor::Mgmt::V2018_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
237
+ if(@client_7.respond_to?(:subscription_id))
238
+ @client_7.subscription_id = configurable.subscription_id
239
+ end
240
+ add_telemetry(@client_7)
241
+ @metric_alerts = @client_7.metric_alerts
242
+ @metric_alerts_status = @client_7.metric_alerts_status
243
+
244
+ @client_8 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options)
245
+ if(@client_8.respond_to?(:subscription_id))
246
+ @client_8.subscription_id = configurable.subscription_id
247
+ end
248
+ add_telemetry(@client_8)
249
+ @scheduled_query_rules = @client_8.scheduled_query_rules
250
+
251
+ @client_9 = Azure::Monitor::Mgmt::V2018_11_27_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
252
+ if(@client_9.respond_to?(:subscription_id))
253
+ @client_9.subscription_id = configurable.subscription_id
254
+ end
255
+ add_telemetry(@client_9)
256
+ @vminsights = @client_9.vminsights
257
+
258
+ @client_10 = Azure::Monitor::Mgmt::V2019_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
259
+ if(@client_10.respond_to?(:subscription_id))
260
+ @client_10.subscription_id = configurable.subscription_id
261
+ end
262
+ add_telemetry(@client_10)
263
+ @action_groups = @client_10.action_groups
264
+
265
+ @model_classes = ModelClasses.new
266
+ end
267
+
268
+ def add_telemetry(client)
269
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Monitor/Mgmt"
270
+ client.add_user_agent_information(profile_information)
271
+ end
272
+
273
+ def method_missing(method, *args)
274
+ if @client_10.respond_to?method
275
+ @client_10.send(method, *args)
276
+ elsif @client_9.respond_to?method
277
+ @client_9.send(method, *args)
278
+ elsif @client_8.respond_to?method
279
+ @client_8.send(method, *args)
280
+ elsif @client_7.respond_to?method
281
+ @client_7.send(method, *args)
282
+ elsif @client_6.respond_to?method
283
+ @client_6.send(method, *args)
284
+ elsif @client_5.respond_to?method
285
+ @client_5.send(method, *args)
286
+ elsif @client_4.respond_to?method
287
+ @client_4.send(method, *args)
288
+ elsif @client_3.respond_to?method
289
+ @client_3.send(method, *args)
290
+ elsif @client_2.respond_to?method
291
+ @client_2.send(method, *args)
292
+ elsif @client_1.respond_to?method
293
+ @client_1.send(method, *args)
294
+ elsif @client_0.respond_to?method
295
+ @client_0.send(method, *args)
296
+ else
297
+ super
298
+ end
299
+ end
300
+
301
+ class ModelClasses
302
+ def recurrent_schedule
303
+ Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
304
+ end
305
+ def recurrence
306
+ Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
307
+ end
308
+ def sender_authorization
309
+ Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
310
+ end
311
+ def autoscale_profile
312
+ Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
313
+ end
314
+ def event_data
315
+ Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
316
+ end
317
+ def email_notification
318
+ Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
319
+ end
320
+ def webhook_notification
321
+ Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
322
+ end
323
+ def scale_capacity
324
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
325
+ end
326
+ def autoscale_notification
327
+ Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
328
+ end
329
+ def scale_action
330
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
331
+ end
332
+ def scale_rule
333
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
334
+ end
335
+ def autoscale_setting_resource_patch
336
+ Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
337
+ end
338
+ def event_data_collection
339
+ Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
340
+ end
341
+ def autoscale_setting_resource_collection
342
+ Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
343
+ end
344
+ def metric_trigger
345
+ Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
346
+ end
347
+ def event_category_collection
348
+ Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
349
+ end
350
+ def http_request_info
351
+ Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
352
+ end
353
+ def operation_display
354
+ Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
355
+ end
356
+ def time_window
357
+ Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
358
+ end
359
+ def operation
360
+ Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
361
+ end
362
+ def operation_list_result
363
+ Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
364
+ end
365
+ def autoscale_setting_resource
366
+ Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
367
+ end
368
+ def event_level
369
+ Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
370
+ end
371
+ def metric_statistic_type
372
+ Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
373
+ end
374
+ def time_aggregation_type
375
+ Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
376
+ end
377
+ def comparison_operation_type
378
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
379
+ end
380
+ def scale_direction
381
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
382
+ end
383
+ def scale_type
384
+ Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
385
+ end
386
+ def rule_condition
387
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
388
+ end
389
+ def alert_rule_resource_patch
390
+ Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
391
+ end
392
+ def rule_management_event_claims_data_source
393
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
394
+ end
395
+ def alert_rule_resource_collection
396
+ Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
397
+ end
398
+ def rule_data_source
399
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
400
+ end
401
+ def log_profile_resource_patch
402
+ Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
403
+ end
404
+ def management_event_aggregation_condition
405
+ Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
406
+ end
407
+ def log_profile_collection
408
+ Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
409
+ end
410
+ def incident
411
+ Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
412
+ end
413
+ def rule_action
414
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
415
+ end
416
+ def incident_list_result
417
+ Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
418
+ end
419
+ def rule_metric_data_source
420
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
421
+ end
422
+ def rule_management_event_data_source
423
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource
424
+ end
425
+ def threshold_rule_condition
426
+ Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition
427
+ end
428
+ def location_threshold_rule_condition
429
+ Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition
430
+ end
431
+ def management_event_rule_condition
432
+ Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition
433
+ end
434
+ def rule_email_action
435
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction
436
+ end
437
+ def rule_webhook_action
438
+ Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction
439
+ end
440
+ def alert_rule_resource
441
+ Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource
442
+ end
443
+ def log_profile_resource
444
+ Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource
445
+ end
446
+ def condition_operator
447
+ Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator
448
+ end
449
+ def time_aggregation_operator
450
+ Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator
451
+ end
452
+ def activity_log_alert_leaf_condition
453
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition
454
+ end
455
+ def activity_log_alert_all_of_condition
456
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition
457
+ end
458
+ def activity_log_alert_action_group
459
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup
460
+ end
461
+ def activity_log_alert_action_list
462
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList
463
+ end
464
+ def activity_log_alert_patch_body
465
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody
466
+ end
467
+ def activity_log_alert_list
468
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
469
+ end
470
+ def activity_log_alert_resource
471
+ Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
472
+ end
473
+ def proxy_only_resource
474
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
475
+ end
476
+ def metric_settings
477
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
478
+ end
479
+ def log_settings
480
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
481
+ end
482
+ def diagnostic_settings_category_resource_collection
483
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
484
+ end
485
+ def diagnostic_settings_resource_collection
486
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
487
+ end
488
+ def retention_policy
489
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
490
+ end
491
+ def diagnostic_settings_resource
492
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
493
+ end
494
+ def diagnostic_settings_category_resource
495
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
496
+ end
497
+ def category_type
498
+ Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
499
+ end
500
+ def baseline
501
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
502
+ end
503
+ def baseline_response
504
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
505
+ end
506
+ def baseline_metadata_value
507
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue
508
+ end
509
+ def time_series_information
510
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation
511
+ end
512
+ def calculate_baseline_response
513
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse
514
+ end
515
+ def sensitivity
516
+ Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity
517
+ end
518
+ def metric_namespace_collection
519
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceCollection
520
+ end
521
+ def metric_namespace_name
522
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespaceName
523
+ end
524
+ def metric_namespace
525
+ Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
526
+ end
527
+ def metric_value
528
+ Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
529
+ end
530
+ def localizable_string
531
+ Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
532
+ end
533
+ def metadata_value
534
+ Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
535
+ end
536
+ def metric_definition
537
+ Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
538
+ end
539
+ def time_series_element
540
+ Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
541
+ end
542
+ def metric
543
+ Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
544
+ end
545
+ def metric_definition_collection
546
+ Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
547
+ end
548
+ def response
549
+ Azure::Monitor::Mgmt::V2018_01_01::Models::Response
550
+ end
551
+ def metric_availability
552
+ Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
553
+ end
554
+ def unit
555
+ Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
556
+ end
557
+ def aggregation_type
558
+ Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
559
+ end
560
+ def result_type
561
+ Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
562
+ end
563
+ def metric_alert_criteria
564
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
565
+ end
566
+ def metric_alert_resource_patch
567
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
568
+ end
569
+ def metric_alert_status_properties
570
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
571
+ end
572
+ def metric_alert_status_collection
573
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
574
+ end
575
+ def metric_criteria
576
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
577
+ end
578
+ def metric_alert_action
579
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
580
+ end
581
+ def metric_alert_resource_collection
582
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
583
+ end
584
+ def metric_dimension
585
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
586
+ end
587
+ def metric_alert_status
588
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
589
+ end
590
+ def metric_alert_resource
591
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
592
+ end
593
+ def metric_alert_single_resource_multiple_metric_criteria
594
+ Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
595
+ end
596
+ def log_search_rule_resource_collection
597
+ Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
598
+ end
599
+ def log_metric_trigger
600
+ Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
601
+ end
602
+ def schedule
603
+ Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
604
+ end
605
+ def trigger_condition
606
+ Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
607
+ end
608
+ def action
609
+ Azure::Monitor::Mgmt::V2018_04_16::Models::Action
610
+ end
611
+ def source
612
+ Azure::Monitor::Mgmt::V2018_04_16::Models::Source
613
+ end
614
+ def az_ns_action_group
615
+ Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
616
+ end
617
+ def log_search_rule_resource_patch
618
+ Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
619
+ end
620
+ def log_search_rule_resource
621
+ Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
622
+ end
623
+ def alerting_action
624
+ Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
625
+ end
626
+ def enabled
627
+ Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
628
+ end
629
+ def provisioning_state
630
+ Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
631
+ end
632
+ def query_type
633
+ Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
634
+ end
635
+ def conditional_operator
636
+ Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator
637
+ end
638
+ def metric_trigger_type
639
+ Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType
640
+ end
641
+ def alert_severity
642
+ Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity
643
+ end
644
+ def workspace_info
645
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo
646
+ end
647
+ def proxy_resource
648
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ProxyResource
649
+ end
650
+ def data_container
651
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataContainer
652
+ end
653
+ def response_with_error
654
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::ResponseWithError
655
+ end
656
+ def error
657
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::Error
658
+ end
659
+ def vminsights_onboarding_status
660
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
661
+ end
662
+ def onboarding_status
663
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
664
+ end
665
+ def data_status
666
+ Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
667
+ end
668
+ def logic_app_receiver
669
+ Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
670
+ end
671
+ def resource
672
+ Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
673
+ end
674
+ def azure_function_receiver
675
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
676
+ end
677
+ def sms_receiver
678
+ Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
679
+ end
680
+ def arm_role_receiver
681
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
682
+ end
683
+ def itsm_receiver
684
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
685
+ end
686
+ def azure_app_push_receiver
687
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
688
+ end
689
+ def voice_receiver
690
+ Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
691
+ end
692
+ def action_group_list
693
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
694
+ end
695
+ def webhook_receiver
696
+ Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
697
+ end
698
+ def enable_request
699
+ Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
700
+ end
701
+ def email_receiver
702
+ Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
703
+ end
704
+ def error_response
705
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
706
+ end
707
+ def automation_runbook_receiver
708
+ Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
709
+ end
710
+ def action_group_patch_body
711
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
712
+ end
713
+ def action_group_resource
714
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
715
+ end
716
+ def receiver_status
717
+ Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
718
+ end
719
+ end
720
+ end
721
+ end
722
+ end
723
+ end