azure_sdk 0.42.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +1267 -1257
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +107 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +163 -163
- data/lib/latest/modules/batch_profile_module.rb +377 -377
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +207 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +0 -0
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +255 -255
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +559 -559
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2159 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +671 -671
- data/lib/latest/modules/eventhub_profile_module.rb +171 -171
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +407 -407
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/iotcentral_profile_module.rb +103 -103
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +297 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +859 -859
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +185 -175
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +193 -193
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +219 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1241 -1241
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +237 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1757
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +223 -223
- data/lib/latest/modules/storage_profile_module.rb +525 -525
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +249 -249
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +23 -8
@@ -1,119 +1,119 @@
|
|
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
|
-
Configurations = Azure::Advisor::Mgmt::V2017_04_19::Configurations
|
11
|
-
Recommendations = Azure::Advisor::Mgmt::V2017_04_19::Recommendations
|
12
|
-
Operations = Azure::Advisor::Mgmt::V2017_04_19::Operations
|
13
|
-
Suppressions = Azure::Advisor::Mgmt::V2017_04_19::Suppressions
|
14
|
-
|
15
|
-
module Models
|
16
|
-
ResourceRecommendationBaseListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBaseListResult
|
17
|
-
Resource = Azure::Advisor::Mgmt::V2017_04_19::Models::Resource
|
18
|
-
ConfigData = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigData
|
19
|
-
OperationDisplayInfo = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationDisplayInfo
|
20
|
-
ARMErrorResponseBody = Azure::Advisor::Mgmt::V2017_04_19::Models::ARMErrorResponseBody
|
21
|
-
OperationEntity = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntity
|
22
|
-
ShortDescription = Azure::Advisor::Mgmt::V2017_04_19::Models::ShortDescription
|
23
|
-
ConfigurationListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigurationListResult
|
24
|
-
OperationEntityListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntityListResult
|
25
|
-
ConfigDataProperties = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigDataProperties
|
26
|
-
SuppressionContractListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContractListResult
|
27
|
-
ResourceRecommendationBase = Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBase
|
28
|
-
SuppressionContract = Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContract
|
29
|
-
Category = Azure::Advisor::Mgmt::V2017_04_19::Models::Category
|
30
|
-
Impact = Azure::Advisor::Mgmt::V2017_04_19::Models::Impact
|
31
|
-
Risk = Azure::Advisor::Mgmt::V2017_04_19::Models::Risk
|
32
|
-
end
|
33
|
-
|
34
|
-
class AdvisorManagementClass
|
35
|
-
attr_reader :configurations, :recommendations, :operations, :suppressions, :configurable, :base_url, :options, :model_classes
|
36
|
-
|
37
|
-
def initialize(configurable, base_url=nil, options=nil)
|
38
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
39
|
-
|
40
|
-
@client_0 = Azure::Advisor::Mgmt::V2017_04_19::AdvisorManagementClient.new(configurable.credentials, base_url, options)
|
41
|
-
if(@client_0.respond_to?(:subscription_id))
|
42
|
-
@client_0.subscription_id = configurable.subscription_id
|
43
|
-
end
|
44
|
-
add_telemetry(@client_0)
|
45
|
-
@configurations = @client_0.configurations
|
46
|
-
@recommendations = @client_0.recommendations
|
47
|
-
@operations = @client_0.operations
|
48
|
-
@suppressions = @client_0.suppressions
|
49
|
-
|
50
|
-
@model_classes = ModelClasses.new
|
51
|
-
end
|
52
|
-
|
53
|
-
def add_telemetry(client)
|
54
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Advisor/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 resource_recommendation_base_list_result
|
68
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBaseListResult
|
69
|
-
end
|
70
|
-
def resource
|
71
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::Resource
|
72
|
-
end
|
73
|
-
def config_data
|
74
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigData
|
75
|
-
end
|
76
|
-
def operation_display_info
|
77
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationDisplayInfo
|
78
|
-
end
|
79
|
-
def armerror_response_body
|
80
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ARMErrorResponseBody
|
81
|
-
end
|
82
|
-
def operation_entity
|
83
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntity
|
84
|
-
end
|
85
|
-
def short_description
|
86
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ShortDescription
|
87
|
-
end
|
88
|
-
def configuration_list_result
|
89
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigurationListResult
|
90
|
-
end
|
91
|
-
def operation_entity_list_result
|
92
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntityListResult
|
93
|
-
end
|
94
|
-
def config_data_properties
|
95
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigDataProperties
|
96
|
-
end
|
97
|
-
def suppression_contract_list_result
|
98
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContractListResult
|
99
|
-
end
|
100
|
-
def resource_recommendation_base
|
101
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBase
|
102
|
-
end
|
103
|
-
def suppression_contract
|
104
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContract
|
105
|
-
end
|
106
|
-
def category
|
107
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::Category
|
108
|
-
end
|
109
|
-
def impact
|
110
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::Impact
|
111
|
-
end
|
112
|
-
def risk
|
113
|
-
Azure::Advisor::Mgmt::V2017_04_19::Models::Risk
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
end
|
118
|
-
end
|
119
|
-
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_advisor'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Advisor
|
9
|
+
module Mgmt
|
10
|
+
Configurations = Azure::Advisor::Mgmt::V2017_04_19::Configurations
|
11
|
+
Recommendations = Azure::Advisor::Mgmt::V2017_04_19::Recommendations
|
12
|
+
Operations = Azure::Advisor::Mgmt::V2017_04_19::Operations
|
13
|
+
Suppressions = Azure::Advisor::Mgmt::V2017_04_19::Suppressions
|
14
|
+
|
15
|
+
module Models
|
16
|
+
ResourceRecommendationBaseListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBaseListResult
|
17
|
+
Resource = Azure::Advisor::Mgmt::V2017_04_19::Models::Resource
|
18
|
+
ConfigData = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigData
|
19
|
+
OperationDisplayInfo = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationDisplayInfo
|
20
|
+
ARMErrorResponseBody = Azure::Advisor::Mgmt::V2017_04_19::Models::ARMErrorResponseBody
|
21
|
+
OperationEntity = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntity
|
22
|
+
ShortDescription = Azure::Advisor::Mgmt::V2017_04_19::Models::ShortDescription
|
23
|
+
ConfigurationListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigurationListResult
|
24
|
+
OperationEntityListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntityListResult
|
25
|
+
ConfigDataProperties = Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigDataProperties
|
26
|
+
SuppressionContractListResult = Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContractListResult
|
27
|
+
ResourceRecommendationBase = Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBase
|
28
|
+
SuppressionContract = Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContract
|
29
|
+
Category = Azure::Advisor::Mgmt::V2017_04_19::Models::Category
|
30
|
+
Impact = Azure::Advisor::Mgmt::V2017_04_19::Models::Impact
|
31
|
+
Risk = Azure::Advisor::Mgmt::V2017_04_19::Models::Risk
|
32
|
+
end
|
33
|
+
|
34
|
+
class AdvisorManagementClass
|
35
|
+
attr_reader :configurations, :recommendations, :operations, :suppressions, :configurable, :base_url, :options, :model_classes
|
36
|
+
|
37
|
+
def initialize(configurable, base_url=nil, options=nil)
|
38
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
39
|
+
|
40
|
+
@client_0 = Azure::Advisor::Mgmt::V2017_04_19::AdvisorManagementClient.new(configurable.credentials, base_url, options)
|
41
|
+
if(@client_0.respond_to?(:subscription_id))
|
42
|
+
@client_0.subscription_id = configurable.subscription_id
|
43
|
+
end
|
44
|
+
add_telemetry(@client_0)
|
45
|
+
@configurations = @client_0.configurations
|
46
|
+
@recommendations = @client_0.recommendations
|
47
|
+
@operations = @client_0.operations
|
48
|
+
@suppressions = @client_0.suppressions
|
49
|
+
|
50
|
+
@model_classes = ModelClasses.new
|
51
|
+
end
|
52
|
+
|
53
|
+
def add_telemetry(client)
|
54
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Advisor/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 resource_recommendation_base_list_result
|
68
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBaseListResult
|
69
|
+
end
|
70
|
+
def resource
|
71
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::Resource
|
72
|
+
end
|
73
|
+
def config_data
|
74
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigData
|
75
|
+
end
|
76
|
+
def operation_display_info
|
77
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationDisplayInfo
|
78
|
+
end
|
79
|
+
def armerror_response_body
|
80
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ARMErrorResponseBody
|
81
|
+
end
|
82
|
+
def operation_entity
|
83
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntity
|
84
|
+
end
|
85
|
+
def short_description
|
86
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ShortDescription
|
87
|
+
end
|
88
|
+
def configuration_list_result
|
89
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigurationListResult
|
90
|
+
end
|
91
|
+
def operation_entity_list_result
|
92
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::OperationEntityListResult
|
93
|
+
end
|
94
|
+
def config_data_properties
|
95
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigDataProperties
|
96
|
+
end
|
97
|
+
def suppression_contract_list_result
|
98
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContractListResult
|
99
|
+
end
|
100
|
+
def resource_recommendation_base
|
101
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::ResourceRecommendationBase
|
102
|
+
end
|
103
|
+
def suppression_contract
|
104
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::SuppressionContract
|
105
|
+
end
|
106
|
+
def category
|
107
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::Category
|
108
|
+
end
|
109
|
+
def impact
|
110
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::Impact
|
111
|
+
end
|
112
|
+
def risk
|
113
|
+
Azure::Advisor::Mgmt::V2017_04_19::Models::Risk
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -1,259 +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
|
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
|