azure_sdk 0.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_sdk.rb +9 -0
  4. data/lib/azure_sdk/version.rb +7 -0
  5. data/lib/latest/latest_profile_client.rb +1347 -0
  6. data/lib/latest/module_definition.rb +7 -0
  7. data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
  8. data/lib/latest/modules/advisor_profile_module.rb +153 -0
  9. data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
  10. data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
  11. data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
  12. data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
  13. data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
  14. data/lib/latest/modules/attestation_profile_module.rb +95 -0
  15. data/lib/latest/modules/authorization_profile_module.rb +167 -0
  16. data/lib/latest/modules/automation_profile_module.rb +663 -0
  17. data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
  18. data/lib/latest/modules/azurestack_profile_module.rb +187 -0
  19. data/lib/latest/modules/batch_profile_module.rb +417 -0
  20. data/lib/latest/modules/batchai_profile_module.rb +425 -0
  21. data/lib/latest/modules/billing_profile_module.rb +107 -0
  22. data/lib/latest/modules/botservice_profile_module.rb +293 -0
  23. data/lib/latest/modules/cdn_profile_module.rb +723 -0
  24. data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
  25. data/lib/latest/modules/commerce_profile_module.rb +99 -0
  26. data/lib/latest/modules/compute_profile_module.rb +1295 -0
  27. data/lib/latest/modules/computervision_profile_module.rb +233 -0
  28. data/lib/latest/modules/consumption_profile_module.rb +345 -0
  29. data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
  30. data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
  31. data/lib/latest/modules/containerservice_profile_module.rb +459 -0
  32. data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
  33. data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
  34. data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
  35. data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
  36. data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
  37. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  38. data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
  39. data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
  40. data/lib/latest/modules/databox_profile_module.rb +309 -0
  41. data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
  42. data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
  43. data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
  44. data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
  45. data/lib/latest/modules/datashare_profile_module.rb +399 -0
  46. data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
  47. data/lib/latest/modules/devspaces_profile_module.rb +119 -0
  48. data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
  49. data/lib/latest/modules/dns_profile_module.rb +143 -0
  50. data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
  51. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  52. data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
  53. data/lib/latest/modules/eventhub_profile_module.rb +195 -0
  54. data/lib/latest/modules/face_profile_module.rb +297 -0
  55. data/lib/latest/modules/features_profile_module.rb +73 -0
  56. data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
  57. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  58. data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
  59. data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
  60. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  61. data/lib/latest/modules/importexport_profile_module.rb +135 -0
  62. data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
  63. data/lib/latest/modules/iothub_profile_module.rb +377 -0
  64. data/lib/latest/modules/keyvault_profile_module.rb +623 -0
  65. data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
  66. data/lib/latest/modules/kusto_profile_module.rb +365 -0
  67. data/lib/latest/modules/labservices_profile_module.rb +357 -0
  68. data/lib/latest/modules/links_profile_module.rb +83 -0
  69. data/lib/latest/modules/localsearch_profile_module.rb +151 -0
  70. data/lib/latest/modules/locks_profile_module.rb +79 -0
  71. data/lib/latest/modules/logic_profile_module.rb +787 -0
  72. data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
  73. data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
  74. data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
  75. data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
  76. data/lib/latest/modules/maintenance_profile_module.rb +121 -0
  77. data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
  78. data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
  79. data/lib/latest/modules/mariadb_profile_module.rb +233 -0
  80. data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
  81. data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
  82. data/lib/latest/modules/migrate_profile_module.rb +243 -0
  83. data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
  84. data/lib/latest/modules/monitor_profile_module.rb +723 -0
  85. data/lib/latest/modules/mysql_profile_module.rb +233 -0
  86. data/lib/latest/modules/netapp_profile_module.rb +207 -0
  87. data/lib/latest/modules/network_profile_module.rb +2937 -0
  88. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  89. data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
  90. data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
  91. data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
  92. data/lib/latest/modules/peering_profile_module.rb +259 -0
  93. data/lib/latest/modules/personalizer_profile_module.rb +83 -0
  94. data/lib/latest/modules/policy_profile_module.rb +105 -0
  95. data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
  96. data/lib/latest/modules/portal_profile_module.rb +95 -0
  97. data/lib/latest/modules/postgresql_profile_module.rb +233 -0
  98. data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
  99. data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
  100. data/lib/latest/modules/privatedns_profile_module.rb +137 -0
  101. data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
  102. data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
  103. data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
  104. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
  105. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
  106. data/lib/latest/modules/redis_profile_module.rb +209 -0
  107. data/lib/latest/modules/relay_profile_module.rb +163 -0
  108. data/lib/latest/modules/reservations_profile_module.rb +347 -0
  109. data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
  110. data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
  111. data/lib/latest/modules/resources_profile_module.rb +321 -0
  112. data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
  113. data/lib/latest/modules/scheduler_profile_module.rb +227 -0
  114. data/lib/latest/modules/search_profile_module.rb +127 -0
  115. data/lib/latest/modules/security_profile_module.rb +841 -0
  116. data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
  117. data/lib/latest/modules/servicebus_profile_module.rb +309 -0
  118. data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
  119. data/lib/latest/modules/signalr_profile_module.rb +233 -0
  120. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  121. data/lib/latest/modules/sql_profile_module.rb +1765 -0
  122. data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
  123. data/lib/latest/modules/storage_profile_module.rb +693 -0
  124. data/lib/latest/modules/storagecache_profile_module.rb +217 -0
  125. data/lib/latest/modules/storagesync_profile_module.rb +275 -0
  126. data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
  127. data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
  128. data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
  129. data/lib/latest/modules/support_profile_module.rb +177 -0
  130. data/lib/latest/modules/synapse_profile_module.rb +827 -0
  131. data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
  132. data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
  133. data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
  134. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  135. data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
  136. data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
  137. data/lib/latest/modules/web_profile_module.rb +1419 -0
  138. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  139. data/lib/v2017_03_09/module_definition.rb +7 -0
  140. data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
  141. data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
  142. data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
  143. data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
  144. data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
  145. data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
  146. data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
  147. data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
  148. data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
  149. data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
  150. data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
  151. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
  152. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
  153. data/lib/v2018_03_01/module_definition.rb +7 -0
  154. data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
  155. data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
  156. data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
  157. data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
  158. data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
  159. data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -0
  160. data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
  161. data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -0
  162. data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
  163. data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
  164. data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
  165. data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
  166. data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
  167. data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
  168. data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
  169. data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
  170. data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
  171. data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
  172. data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
  173. data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
  174. data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
  175. data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
  176. data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
  177. data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
  178. data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
  179. data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
  180. metadata +2187 -0
@@ -0,0 +1,153 @@
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_advisor'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Advisor
9
+ module Mgmt
10
+ RecommendationMetadata = Azure::Advisor::Mgmt::V2020_01_01::RecommendationMetadata
11
+ Configurations = Azure::Advisor::Mgmt::V2020_01_01::Configurations
12
+ Recommendations = Azure::Advisor::Mgmt::V2020_01_01::Recommendations
13
+ Operations = Azure::Advisor::Mgmt::V2020_01_01::Operations
14
+ Suppressions = Azure::Advisor::Mgmt::V2020_01_01::Suppressions
15
+
16
+ module Models
17
+ ResourceMetadata = Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceMetadata
18
+ MetadataSupportedValueDetail = Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataSupportedValueDetail
19
+ MetadataEntity = Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataEntity
20
+ MetadataEntityListResult = Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataEntityListResult
21
+ SuppressionContractListResult = Azure::Advisor::Mgmt::V2020_01_01::Models::SuppressionContractListResult
22
+ ConfigurationListResult = Azure::Advisor::Mgmt::V2020_01_01::Models::ConfigurationListResult
23
+ ResourceRecommendationBaseListResult = Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceRecommendationBaseListResult
24
+ ArmErrorResponse = Azure::Advisor::Mgmt::V2020_01_01::Models::ArmErrorResponse
25
+ Resource = Azure::Advisor::Mgmt::V2020_01_01::Models::Resource
26
+ DigestConfig = Azure::Advisor::Mgmt::V2020_01_01::Models::DigestConfig
27
+ OperationDisplayInfo = Azure::Advisor::Mgmt::V2020_01_01::Models::OperationDisplayInfo
28
+ ShortDescription = Azure::Advisor::Mgmt::V2020_01_01::Models::ShortDescription
29
+ OperationEntity = Azure::Advisor::Mgmt::V2020_01_01::Models::OperationEntity
30
+ ARMErrorResponseBody = Azure::Advisor::Mgmt::V2020_01_01::Models::ARMErrorResponseBody
31
+ OperationEntityListResult = Azure::Advisor::Mgmt::V2020_01_01::Models::OperationEntityListResult
32
+ ConfigData = Azure::Advisor::Mgmt::V2020_01_01::Models::ConfigData
33
+ ResourceRecommendationBase = Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceRecommendationBase
34
+ SuppressionContract = Azure::Advisor::Mgmt::V2020_01_01::Models::SuppressionContract
35
+ Scenario = Azure::Advisor::Mgmt::V2020_01_01::Models::Scenario
36
+ CpuThreshold = Azure::Advisor::Mgmt::V2020_01_01::Models::CpuThreshold
37
+ Category = Azure::Advisor::Mgmt::V2020_01_01::Models::Category
38
+ DigestConfigState = Azure::Advisor::Mgmt::V2020_01_01::Models::DigestConfigState
39
+ Impact = Azure::Advisor::Mgmt::V2020_01_01::Models::Impact
40
+ Risk = Azure::Advisor::Mgmt::V2020_01_01::Models::Risk
41
+ end
42
+
43
+ class AdvisorManagementClass
44
+ attr_reader :recommendation_metadata, :configurations, :recommendations, :operations, :suppressions, :configurable, :base_url, :options, :model_classes
45
+
46
+ def initialize(configurable, base_url=nil, options=nil)
47
+ @configurable, @base_url, @options = configurable, base_url, options
48
+
49
+ @client_0 = Azure::Advisor::Mgmt::V2020_01_01::AdvisorManagementClient.new(configurable.credentials, base_url, options)
50
+ if(@client_0.respond_to?(:subscription_id))
51
+ @client_0.subscription_id = configurable.subscription_id
52
+ end
53
+ add_telemetry(@client_0)
54
+ @recommendation_metadata = @client_0.recommendation_metadata
55
+ @configurations = @client_0.configurations
56
+ @recommendations = @client_0.recommendations
57
+ @operations = @client_0.operations
58
+ @suppressions = @client_0.suppressions
59
+
60
+ @model_classes = ModelClasses.new
61
+ end
62
+
63
+ def add_telemetry(client)
64
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Advisor/Mgmt"
65
+ client.add_user_agent_information(profile_information)
66
+ end
67
+
68
+ def method_missing(method, *args)
69
+ if @client_0.respond_to?method
70
+ @client_0.send(method, *args)
71
+ else
72
+ super
73
+ end
74
+ end
75
+
76
+ class ModelClasses
77
+ def resource_metadata
78
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceMetadata
79
+ end
80
+ def metadata_supported_value_detail
81
+ Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataSupportedValueDetail
82
+ end
83
+ def metadata_entity
84
+ Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataEntity
85
+ end
86
+ def metadata_entity_list_result
87
+ Azure::Advisor::Mgmt::V2020_01_01::Models::MetadataEntityListResult
88
+ end
89
+ def suppression_contract_list_result
90
+ Azure::Advisor::Mgmt::V2020_01_01::Models::SuppressionContractListResult
91
+ end
92
+ def configuration_list_result
93
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ConfigurationListResult
94
+ end
95
+ def resource_recommendation_base_list_result
96
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceRecommendationBaseListResult
97
+ end
98
+ def arm_error_response
99
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ArmErrorResponse
100
+ end
101
+ def resource
102
+ Azure::Advisor::Mgmt::V2020_01_01::Models::Resource
103
+ end
104
+ def digest_config
105
+ Azure::Advisor::Mgmt::V2020_01_01::Models::DigestConfig
106
+ end
107
+ def operation_display_info
108
+ Azure::Advisor::Mgmt::V2020_01_01::Models::OperationDisplayInfo
109
+ end
110
+ def short_description
111
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ShortDescription
112
+ end
113
+ def operation_entity
114
+ Azure::Advisor::Mgmt::V2020_01_01::Models::OperationEntity
115
+ end
116
+ def armerror_response_body
117
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ARMErrorResponseBody
118
+ end
119
+ def operation_entity_list_result
120
+ Azure::Advisor::Mgmt::V2020_01_01::Models::OperationEntityListResult
121
+ end
122
+ def config_data
123
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ConfigData
124
+ end
125
+ def resource_recommendation_base
126
+ Azure::Advisor::Mgmt::V2020_01_01::Models::ResourceRecommendationBase
127
+ end
128
+ def suppression_contract
129
+ Azure::Advisor::Mgmt::V2020_01_01::Models::SuppressionContract
130
+ end
131
+ def scenario
132
+ Azure::Advisor::Mgmt::V2020_01_01::Models::Scenario
133
+ end
134
+ def cpu_threshold
135
+ Azure::Advisor::Mgmt::V2020_01_01::Models::CpuThreshold
136
+ end
137
+ def category
138
+ Azure::Advisor::Mgmt::V2020_01_01::Models::Category
139
+ end
140
+ def digest_config_state
141
+ Azure::Advisor::Mgmt::V2020_01_01::Models::DigestConfigState
142
+ end
143
+ def impact
144
+ Azure::Advisor::Mgmt::V2020_01_01::Models::Impact
145
+ end
146
+ def risk
147
+ Azure::Advisor::Mgmt::V2020_01_01::Models::Risk
148
+ end
149
+ end
150
+ end
151
+ end
152
+ end
153
+ end
@@ -0,0 +1,259 @@
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_alerts_management'
6
+
7
+ module Azure::Profiles::Latest
8
+ module AlertsManagement
9
+ module Mgmt
10
+ Operations = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Operations
11
+ Alerts = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Alerts
12
+ SmartGroups = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::SmartGroups
13
+ ActionRules = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::ActionRules
14
+
15
+ module Models
16
+ AlertsSummaryGroupItem = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroupItem
17
+ AlertsSummaryGroup = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroup
18
+ Operation = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Operation
19
+ SmartGroupModificationProperties = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationProperties
20
+ ActionRulesList = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRulesList
21
+ ErrorResponse = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ErrorResponse
22
+ OperationDisplay = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::OperationDisplay
23
+ Resource = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Resource
24
+ Essentials = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Essentials
25
+ SuppressionSchedule = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionSchedule
26
+ ActionRuleProperties = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRuleProperties
27
+ OperationsList = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::OperationsList
28
+ AlertModificationItem = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationItem
29
+ SuppressionConfig = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionConfig
30
+ SmartGroupAggregatedProperty = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupAggregatedProperty
31
+ ErrorResponseBody = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ErrorResponseBody
32
+ PatchObject = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::PatchObject
33
+ AlertsList = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsList
34
+ SmartGroupsList = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupsList
35
+ SmartGroupModificationItem = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationItem
36
+ Scope = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Scope
37
+ AlertModificationProperties = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationProperties
38
+ Condition = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Condition
39
+ AlertProperties = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertProperties
40
+ Conditions = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Conditions
41
+ ManagedResource = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ManagedResource
42
+ Alert = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Alert
43
+ AlertModification = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModification
44
+ SmartGroupModification = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModification
45
+ AlertsSummary = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummary
46
+ SmartGroup = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroup
47
+ ActionRule = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRule
48
+ Suppression = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Suppression
49
+ ActionGroup = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionGroup
50
+ Diagnostics = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Diagnostics
51
+ Severity = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Severity
52
+ SignalType = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SignalType
53
+ AlertState = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertState
54
+ MonitorCondition = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::MonitorCondition
55
+ MonitorService = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::MonitorService
56
+ AlertModificationEvent = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationEvent
57
+ SmartGroupModificationEvent = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationEvent
58
+ State = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::State
59
+ ScopeType = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ScopeType
60
+ Operator = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Operator
61
+ SuppressionType = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionType
62
+ ActionRuleStatus = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRuleStatus
63
+ TimeRange = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::TimeRange
64
+ AlertsSortByFields = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSortByFields
65
+ AlertsSummaryGroupByFields = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroupByFields
66
+ SmartGroupsSortByFields = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupsSortByFields
67
+ end
68
+
69
+ class AlertsManagementManagementClass
70
+ attr_reader :operations, :alerts, :smart_groups, :action_rules, :configurable, :base_url, :options, :model_classes
71
+
72
+ def initialize(configurable, base_url=nil, options=nil)
73
+ @configurable, @base_url, @options = configurable, base_url, options
74
+
75
+ @client_0 = Azure::AlertsManagement::Mgmt::V2019_05_05_preview::AlertsManagementClient.new(configurable.credentials, base_url, options)
76
+ if(@client_0.respond_to?(:subscription_id))
77
+ @client_0.subscription_id = configurable.subscription_id
78
+ end
79
+ add_telemetry(@client_0)
80
+ @operations = @client_0.operations
81
+ @alerts = @client_0.alerts
82
+ @smart_groups = @client_0.smart_groups
83
+ @action_rules = @client_0.action_rules
84
+
85
+ @model_classes = ModelClasses.new
86
+ end
87
+
88
+ def add_telemetry(client)
89
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/AlertsManagement/Mgmt"
90
+ client.add_user_agent_information(profile_information)
91
+ end
92
+
93
+ def method_missing(method, *args)
94
+ if @client_0.respond_to?method
95
+ @client_0.send(method, *args)
96
+ else
97
+ super
98
+ end
99
+ end
100
+
101
+ class ModelClasses
102
+ def alerts_summary_group_item
103
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroupItem
104
+ end
105
+ def alerts_summary_group
106
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroup
107
+ end
108
+ def operation
109
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Operation
110
+ end
111
+ def smart_group_modification_properties
112
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationProperties
113
+ end
114
+ def action_rules_list
115
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRulesList
116
+ end
117
+ def error_response
118
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ErrorResponse
119
+ end
120
+ def operation_display
121
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::OperationDisplay
122
+ end
123
+ def resource
124
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Resource
125
+ end
126
+ def essentials
127
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Essentials
128
+ end
129
+ def suppression_schedule
130
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionSchedule
131
+ end
132
+ def action_rule_properties
133
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRuleProperties
134
+ end
135
+ def operations_list
136
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::OperationsList
137
+ end
138
+ def alert_modification_item
139
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationItem
140
+ end
141
+ def suppression_config
142
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionConfig
143
+ end
144
+ def smart_group_aggregated_property
145
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupAggregatedProperty
146
+ end
147
+ def error_response_body
148
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ErrorResponseBody
149
+ end
150
+ def patch_object
151
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::PatchObject
152
+ end
153
+ def alerts_list
154
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsList
155
+ end
156
+ def smart_groups_list
157
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupsList
158
+ end
159
+ def smart_group_modification_item
160
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationItem
161
+ end
162
+ def scope
163
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Scope
164
+ end
165
+ def alert_modification_properties
166
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationProperties
167
+ end
168
+ def condition
169
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Condition
170
+ end
171
+ def alert_properties
172
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertProperties
173
+ end
174
+ def conditions
175
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Conditions
176
+ end
177
+ def managed_resource
178
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ManagedResource
179
+ end
180
+ def alert
181
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Alert
182
+ end
183
+ def alert_modification
184
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModification
185
+ end
186
+ def smart_group_modification
187
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModification
188
+ end
189
+ def alerts_summary
190
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummary
191
+ end
192
+ def smart_group
193
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroup
194
+ end
195
+ def action_rule
196
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRule
197
+ end
198
+ def suppression
199
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Suppression
200
+ end
201
+ def action_group
202
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionGroup
203
+ end
204
+ def diagnostics
205
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Diagnostics
206
+ end
207
+ def severity
208
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Severity
209
+ end
210
+ def signal_type
211
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SignalType
212
+ end
213
+ def alert_state
214
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertState
215
+ end
216
+ def monitor_condition
217
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::MonitorCondition
218
+ end
219
+ def monitor_service
220
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::MonitorService
221
+ end
222
+ def alert_modification_event
223
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertModificationEvent
224
+ end
225
+ def smart_group_modification_event
226
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupModificationEvent
227
+ end
228
+ def state
229
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::State
230
+ end
231
+ def scope_type
232
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ScopeType
233
+ end
234
+ def operator
235
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::Operator
236
+ end
237
+ def suppression_type
238
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SuppressionType
239
+ end
240
+ def action_rule_status
241
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::ActionRuleStatus
242
+ end
243
+ def time_range
244
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::TimeRange
245
+ end
246
+ def alerts_sort_by_fields
247
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSortByFields
248
+ end
249
+ def alerts_summary_group_by_fields
250
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::AlertsSummaryGroupByFields
251
+ end
252
+ def smart_groups_sort_by_fields
253
+ Azure::AlertsManagement::Mgmt::V2019_05_05_preview::Models::SmartGroupsSortByFields
254
+ end
255
+ end
256
+ end
257
+ end
258
+ end
259
+ end
@@ -0,0 +1,159 @@
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_analysis_services'
6
+
7
+ module Azure::Profiles::Latest
8
+ module AnalysisServices
9
+ module Mgmt
10
+ Servers = Azure::AnalysisServices::Mgmt::V2017_08_01::Servers
11
+ Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations
12
+
13
+ module Models
14
+ AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters
15
+ OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay
16
+ GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive
17
+ OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult
18
+ GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError
19
+ Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource
20
+ GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError
21
+ AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers
22
+ CheckServerNameAvailabilityParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters
23
+ GatewayDetails = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails
24
+ CheckServerNameAvailabilityResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityResult
25
+ IPv4FirewallSettings = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallSettings
26
+ ErrorResponse = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ErrorResponse
27
+ ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku
28
+ OperationStatus = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus
29
+ ServerAdministrators = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators
30
+ SkuEnumerationForNewResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult
31
+ Operation = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation
32
+ SkuDetailsForExistingResource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource
33
+ IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule
34
+ SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult
35
+ AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer
36
+ SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier
37
+ State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State
38
+ ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState
39
+ ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode
40
+ Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
41
+ end
42
+
43
+ class AnalysisServicesManagementClass
44
+ attr_reader :servers, :operations, :configurable, :base_url, :options, :model_classes
45
+
46
+ def initialize(configurable, base_url=nil, options=nil)
47
+ @configurable, @base_url, @options = configurable, base_url, options
48
+
49
+ @client_0 = Azure::AnalysisServices::Mgmt::V2017_08_01::AnalysisServicesManagementClient.new(configurable.credentials, base_url, options)
50
+ if(@client_0.respond_to?(:subscription_id))
51
+ @client_0.subscription_id = configurable.subscription_id
52
+ end
53
+ add_telemetry(@client_0)
54
+ @servers = @client_0.servers
55
+ @operations = @client_0.operations
56
+
57
+ @model_classes = ModelClasses.new
58
+ end
59
+
60
+ def add_telemetry(client)
61
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/AnalysisServices/Mgmt"
62
+ client.add_user_agent_information(profile_information)
63
+ end
64
+
65
+ def method_missing(method, *args)
66
+ if @client_0.respond_to?method
67
+ @client_0.send(method, *args)
68
+ else
69
+ super
70
+ end
71
+ end
72
+
73
+ class ModelClasses
74
+ def analysis_services_server_update_parameters
75
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters
76
+ end
77
+ def operation_display
78
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay
79
+ end
80
+ def gateway_list_status_live
81
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive
82
+ end
83
+ def operation_list_result
84
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult
85
+ end
86
+ def gateway_error
87
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError
88
+ end
89
+ def resource
90
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource
91
+ end
92
+ def gateway_list_status_error
93
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError
94
+ end
95
+ def analysis_services_servers
96
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers
97
+ end
98
+ def check_server_name_availability_parameters
99
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters
100
+ end
101
+ def gateway_details
102
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails
103
+ end
104
+ def check_server_name_availability_result
105
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityResult
106
+ end
107
+ def ipv4_firewall_settings
108
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallSettings
109
+ end
110
+ def error_response
111
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ErrorResponse
112
+ end
113
+ def resource_sku
114
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku
115
+ end
116
+ def operation_status
117
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus
118
+ end
119
+ def server_administrators
120
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators
121
+ end
122
+ def sku_enumeration_for_new_resource_result
123
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult
124
+ end
125
+ def operation
126
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation
127
+ end
128
+ def sku_details_for_existing_resource
129
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource
130
+ end
131
+ def ipv4_firewall_rule
132
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule
133
+ end
134
+ def sku_enumeration_for_existing_resource_result
135
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult
136
+ end
137
+ def analysis_services_server
138
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer
139
+ end
140
+ def sku_tier
141
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier
142
+ end
143
+ def state
144
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State
145
+ end
146
+ def provisioning_state
147
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState
148
+ end
149
+ def connection_mode
150
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode
151
+ end
152
+ def status
153
+ Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
159
+ end