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.
- checksums.yaml +4 -4
- 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 +0 -0
- 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 +175 -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 +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- 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 +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- 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 +679 -679
- 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 +2701 -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/deploymentmanager_profile_module.rb +261 -261
- 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 +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- 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 +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- 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 +349 -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 -121
- 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 +871 -871
- 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 +209 -209
- 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 +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- 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 +215 -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 +1301 -1301
- 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 +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- 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 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- 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/timeseriesinsights_profile_module.rb +0 -0
- 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 +27 -26
@@ -1,233 +1,233 @@
|
|
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_mysql'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Mysql
|
9
|
-
module Mgmt
|
10
|
-
Servers = Azure::Mysql::Mgmt::V2017_12_01::Servers
|
11
|
-
Replicas = Azure::Mysql::Mgmt::V2017_12_01::Replicas
|
12
|
-
FirewallRules = Azure::Mysql::Mgmt::V2017_12_01::FirewallRules
|
13
|
-
VirtualNetworkRules = Azure::Mysql::Mgmt::V2017_12_01::VirtualNetworkRules
|
14
|
-
Databases = Azure::Mysql::Mgmt::V2017_12_01::Databases
|
15
|
-
Configurations = Azure::Mysql::Mgmt::V2017_12_01::Configurations
|
16
|
-
LogFiles = Azure::Mysql::Mgmt::V2017_12_01::LogFiles
|
17
|
-
LocationBasedPerformanceTier = Azure::Mysql::Mgmt::V2017_12_01::LocationBasedPerformanceTier
|
18
|
-
CheckNameAvailability = Azure::Mysql::Mgmt::V2017_12_01::CheckNameAvailability
|
19
|
-
ServerSecurityAlertPolicies = Azure::Mysql::Mgmt::V2017_12_01::ServerSecurityAlertPolicies
|
20
|
-
Operations = Azure::Mysql::Mgmt::V2017_12_01::Operations
|
21
|
-
|
22
|
-
module Models
|
23
|
-
VirtualNetworkRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
|
24
|
-
FirewallRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
|
25
|
-
NameAvailabilityRequest = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
|
26
|
-
StorageProfile = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
27
|
-
ProxyResource = Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
28
|
-
NameAvailability = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
29
|
-
PerformanceTierListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
|
30
|
-
Operation = Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
|
31
|
-
PerformanceTierServiceLevelObjectives = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
|
32
|
-
ServerPropertiesForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
|
33
|
-
LogFileListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
|
34
|
-
OperationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
|
35
|
-
ServerUpdateParameters = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
|
36
|
-
PerformanceTierProperties = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
|
37
|
-
DatabaseListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
|
38
|
-
ServerForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
|
39
|
-
Sku = Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
|
40
|
-
ConfigurationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
|
41
|
-
ServerListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
|
42
|
-
OperationDisplay = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
43
|
-
TrackedResource = Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
44
|
-
ServerPropertiesForDefaultCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
45
|
-
ServerPropertiesForRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
|
46
|
-
ServerPropertiesForGeoRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
|
47
|
-
ServerPropertiesForReplica = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
|
48
|
-
Server = Azure::Mysql::Mgmt::V2017_12_01::Models::Server
|
49
|
-
FirewallRule = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
|
50
|
-
VirtualNetworkRule = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
|
51
|
-
Database = Azure::Mysql::Mgmt::V2017_12_01::Models::Database
|
52
|
-
Configuration = Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
|
53
|
-
LogFile = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
|
54
|
-
ServerSecurityAlertPolicy = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
|
55
|
-
ServerVersion = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
|
56
|
-
SslEnforcementEnum = Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
|
57
|
-
ServerState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
|
58
|
-
GeoRedundantBackup = Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
|
59
|
-
StorageAutogrow = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
|
60
|
-
SkuTier = Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
|
61
|
-
VirtualNetworkRuleState = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
|
62
|
-
OperationOrigin = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
|
63
|
-
ServerSecurityAlertPolicyState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
64
|
-
end
|
65
|
-
|
66
|
-
class MysqlManagementClass
|
67
|
-
attr_reader :servers, :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :configurable, :base_url, :options, :model_classes
|
68
|
-
|
69
|
-
def initialize(configurable, base_url=nil, options=nil)
|
70
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
71
|
-
|
72
|
-
@client_0 = Azure::Mysql::Mgmt::V2017_12_01::MySQLManagementClient.new(configurable.credentials, base_url, options)
|
73
|
-
if(@client_0.respond_to?(:subscription_id))
|
74
|
-
@client_0.subscription_id = configurable.subscription_id
|
75
|
-
end
|
76
|
-
add_telemetry(@client_0)
|
77
|
-
@servers = @client_0.servers
|
78
|
-
@replicas = @client_0.replicas
|
79
|
-
@firewall_rules = @client_0.firewall_rules
|
80
|
-
@virtual_network_rules = @client_0.virtual_network_rules
|
81
|
-
@databases = @client_0.databases
|
82
|
-
@configurations = @client_0.configurations
|
83
|
-
@log_files = @client_0.log_files
|
84
|
-
@location_based_performance_tier = @client_0.location_based_performance_tier
|
85
|
-
@check_name_availability = @client_0.check_name_availability
|
86
|
-
@server_security_alert_policies = @client_0.server_security_alert_policies
|
87
|
-
@operations = @client_0.operations
|
88
|
-
|
89
|
-
@model_classes = ModelClasses.new
|
90
|
-
end
|
91
|
-
|
92
|
-
def add_telemetry(client)
|
93
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Mysql/Mgmt"
|
94
|
-
client.add_user_agent_information(profile_information)
|
95
|
-
end
|
96
|
-
|
97
|
-
def method_missing(method, *args)
|
98
|
-
if @client_0.respond_to?method
|
99
|
-
@client_0.send(method, *args)
|
100
|
-
else
|
101
|
-
super
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
class ModelClasses
|
106
|
-
def virtual_network_rule_list_result
|
107
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
|
108
|
-
end
|
109
|
-
def firewall_rule_list_result
|
110
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
|
111
|
-
end
|
112
|
-
def name_availability_request
|
113
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
|
114
|
-
end
|
115
|
-
def storage_profile
|
116
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
117
|
-
end
|
118
|
-
def proxy_resource
|
119
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
120
|
-
end
|
121
|
-
def name_availability
|
122
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
123
|
-
end
|
124
|
-
def performance_tier_list_result
|
125
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
|
126
|
-
end
|
127
|
-
def operation
|
128
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
|
129
|
-
end
|
130
|
-
def performance_tier_service_level_objectives
|
131
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
|
132
|
-
end
|
133
|
-
def server_properties_for_create
|
134
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
|
135
|
-
end
|
136
|
-
def log_file_list_result
|
137
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
|
138
|
-
end
|
139
|
-
def operation_list_result
|
140
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
|
141
|
-
end
|
142
|
-
def server_update_parameters
|
143
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
|
144
|
-
end
|
145
|
-
def performance_tier_properties
|
146
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
|
147
|
-
end
|
148
|
-
def database_list_result
|
149
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
|
150
|
-
end
|
151
|
-
def server_for_create
|
152
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
|
153
|
-
end
|
154
|
-
def sku
|
155
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
|
156
|
-
end
|
157
|
-
def configuration_list_result
|
158
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
|
159
|
-
end
|
160
|
-
def server_list_result
|
161
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
|
162
|
-
end
|
163
|
-
def operation_display
|
164
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
165
|
-
end
|
166
|
-
def tracked_resource
|
167
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
168
|
-
end
|
169
|
-
def server_properties_for_default_create
|
170
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
171
|
-
end
|
172
|
-
def server_properties_for_restore
|
173
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
|
174
|
-
end
|
175
|
-
def server_properties_for_geo_restore
|
176
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
|
177
|
-
end
|
178
|
-
def server_properties_for_replica
|
179
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
|
180
|
-
end
|
181
|
-
def server
|
182
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::Server
|
183
|
-
end
|
184
|
-
def firewall_rule
|
185
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
|
186
|
-
end
|
187
|
-
def virtual_network_rule
|
188
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
|
189
|
-
end
|
190
|
-
def database
|
191
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::Database
|
192
|
-
end
|
193
|
-
def configuration
|
194
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
|
195
|
-
end
|
196
|
-
def log_file
|
197
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
|
198
|
-
end
|
199
|
-
def server_security_alert_policy
|
200
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
|
201
|
-
end
|
202
|
-
def server_version
|
203
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
|
204
|
-
end
|
205
|
-
def ssl_enforcement_enum
|
206
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
|
207
|
-
end
|
208
|
-
def server_state
|
209
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
|
210
|
-
end
|
211
|
-
def geo_redundant_backup
|
212
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
|
213
|
-
end
|
214
|
-
def storage_autogrow
|
215
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
|
216
|
-
end
|
217
|
-
def sku_tier
|
218
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
|
219
|
-
end
|
220
|
-
def virtual_network_rule_state
|
221
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
|
222
|
-
end
|
223
|
-
def operation_origin
|
224
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
|
225
|
-
end
|
226
|
-
def server_security_alert_policy_state
|
227
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
228
|
-
end
|
229
|
-
end
|
230
|
-
end
|
231
|
-
end
|
232
|
-
end
|
233
|
-
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_mysql'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Mysql
|
9
|
+
module Mgmt
|
10
|
+
Servers = Azure::Mysql::Mgmt::V2017_12_01::Servers
|
11
|
+
Replicas = Azure::Mysql::Mgmt::V2017_12_01::Replicas
|
12
|
+
FirewallRules = Azure::Mysql::Mgmt::V2017_12_01::FirewallRules
|
13
|
+
VirtualNetworkRules = Azure::Mysql::Mgmt::V2017_12_01::VirtualNetworkRules
|
14
|
+
Databases = Azure::Mysql::Mgmt::V2017_12_01::Databases
|
15
|
+
Configurations = Azure::Mysql::Mgmt::V2017_12_01::Configurations
|
16
|
+
LogFiles = Azure::Mysql::Mgmt::V2017_12_01::LogFiles
|
17
|
+
LocationBasedPerformanceTier = Azure::Mysql::Mgmt::V2017_12_01::LocationBasedPerformanceTier
|
18
|
+
CheckNameAvailability = Azure::Mysql::Mgmt::V2017_12_01::CheckNameAvailability
|
19
|
+
ServerSecurityAlertPolicies = Azure::Mysql::Mgmt::V2017_12_01::ServerSecurityAlertPolicies
|
20
|
+
Operations = Azure::Mysql::Mgmt::V2017_12_01::Operations
|
21
|
+
|
22
|
+
module Models
|
23
|
+
VirtualNetworkRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
|
24
|
+
FirewallRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
|
25
|
+
NameAvailabilityRequest = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
|
26
|
+
StorageProfile = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
27
|
+
ProxyResource = Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
28
|
+
NameAvailability = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
29
|
+
PerformanceTierListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
|
30
|
+
Operation = Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
|
31
|
+
PerformanceTierServiceLevelObjectives = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
|
32
|
+
ServerPropertiesForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
|
33
|
+
LogFileListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
|
34
|
+
OperationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
|
35
|
+
ServerUpdateParameters = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
|
36
|
+
PerformanceTierProperties = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
|
37
|
+
DatabaseListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
|
38
|
+
ServerForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
|
39
|
+
Sku = Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
|
40
|
+
ConfigurationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
|
41
|
+
ServerListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
|
42
|
+
OperationDisplay = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
43
|
+
TrackedResource = Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
44
|
+
ServerPropertiesForDefaultCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
45
|
+
ServerPropertiesForRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
|
46
|
+
ServerPropertiesForGeoRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
|
47
|
+
ServerPropertiesForReplica = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
|
48
|
+
Server = Azure::Mysql::Mgmt::V2017_12_01::Models::Server
|
49
|
+
FirewallRule = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
|
50
|
+
VirtualNetworkRule = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
|
51
|
+
Database = Azure::Mysql::Mgmt::V2017_12_01::Models::Database
|
52
|
+
Configuration = Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
|
53
|
+
LogFile = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
|
54
|
+
ServerSecurityAlertPolicy = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
|
55
|
+
ServerVersion = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
|
56
|
+
SslEnforcementEnum = Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
|
57
|
+
ServerState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
|
58
|
+
GeoRedundantBackup = Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
|
59
|
+
StorageAutogrow = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
|
60
|
+
SkuTier = Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
|
61
|
+
VirtualNetworkRuleState = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
|
62
|
+
OperationOrigin = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
|
63
|
+
ServerSecurityAlertPolicyState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
64
|
+
end
|
65
|
+
|
66
|
+
class MysqlManagementClass
|
67
|
+
attr_reader :servers, :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :configurable, :base_url, :options, :model_classes
|
68
|
+
|
69
|
+
def initialize(configurable, base_url=nil, options=nil)
|
70
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
71
|
+
|
72
|
+
@client_0 = Azure::Mysql::Mgmt::V2017_12_01::MySQLManagementClient.new(configurable.credentials, base_url, options)
|
73
|
+
if(@client_0.respond_to?(:subscription_id))
|
74
|
+
@client_0.subscription_id = configurable.subscription_id
|
75
|
+
end
|
76
|
+
add_telemetry(@client_0)
|
77
|
+
@servers = @client_0.servers
|
78
|
+
@replicas = @client_0.replicas
|
79
|
+
@firewall_rules = @client_0.firewall_rules
|
80
|
+
@virtual_network_rules = @client_0.virtual_network_rules
|
81
|
+
@databases = @client_0.databases
|
82
|
+
@configurations = @client_0.configurations
|
83
|
+
@log_files = @client_0.log_files
|
84
|
+
@location_based_performance_tier = @client_0.location_based_performance_tier
|
85
|
+
@check_name_availability = @client_0.check_name_availability
|
86
|
+
@server_security_alert_policies = @client_0.server_security_alert_policies
|
87
|
+
@operations = @client_0.operations
|
88
|
+
|
89
|
+
@model_classes = ModelClasses.new
|
90
|
+
end
|
91
|
+
|
92
|
+
def add_telemetry(client)
|
93
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Mysql/Mgmt"
|
94
|
+
client.add_user_agent_information(profile_information)
|
95
|
+
end
|
96
|
+
|
97
|
+
def method_missing(method, *args)
|
98
|
+
if @client_0.respond_to?method
|
99
|
+
@client_0.send(method, *args)
|
100
|
+
else
|
101
|
+
super
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
class ModelClasses
|
106
|
+
def virtual_network_rule_list_result
|
107
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
|
108
|
+
end
|
109
|
+
def firewall_rule_list_result
|
110
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
|
111
|
+
end
|
112
|
+
def name_availability_request
|
113
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
|
114
|
+
end
|
115
|
+
def storage_profile
|
116
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
117
|
+
end
|
118
|
+
def proxy_resource
|
119
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
120
|
+
end
|
121
|
+
def name_availability
|
122
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
123
|
+
end
|
124
|
+
def performance_tier_list_result
|
125
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
|
126
|
+
end
|
127
|
+
def operation
|
128
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
|
129
|
+
end
|
130
|
+
def performance_tier_service_level_objectives
|
131
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
|
132
|
+
end
|
133
|
+
def server_properties_for_create
|
134
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
|
135
|
+
end
|
136
|
+
def log_file_list_result
|
137
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
|
138
|
+
end
|
139
|
+
def operation_list_result
|
140
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
|
141
|
+
end
|
142
|
+
def server_update_parameters
|
143
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
|
144
|
+
end
|
145
|
+
def performance_tier_properties
|
146
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
|
147
|
+
end
|
148
|
+
def database_list_result
|
149
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
|
150
|
+
end
|
151
|
+
def server_for_create
|
152
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
|
153
|
+
end
|
154
|
+
def sku
|
155
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
|
156
|
+
end
|
157
|
+
def configuration_list_result
|
158
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
|
159
|
+
end
|
160
|
+
def server_list_result
|
161
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
|
162
|
+
end
|
163
|
+
def operation_display
|
164
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
165
|
+
end
|
166
|
+
def tracked_resource
|
167
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
168
|
+
end
|
169
|
+
def server_properties_for_default_create
|
170
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
171
|
+
end
|
172
|
+
def server_properties_for_restore
|
173
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
|
174
|
+
end
|
175
|
+
def server_properties_for_geo_restore
|
176
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
|
177
|
+
end
|
178
|
+
def server_properties_for_replica
|
179
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
|
180
|
+
end
|
181
|
+
def server
|
182
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::Server
|
183
|
+
end
|
184
|
+
def firewall_rule
|
185
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
|
186
|
+
end
|
187
|
+
def virtual_network_rule
|
188
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
|
189
|
+
end
|
190
|
+
def database
|
191
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::Database
|
192
|
+
end
|
193
|
+
def configuration
|
194
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
|
195
|
+
end
|
196
|
+
def log_file
|
197
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
|
198
|
+
end
|
199
|
+
def server_security_alert_policy
|
200
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
|
201
|
+
end
|
202
|
+
def server_version
|
203
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
|
204
|
+
end
|
205
|
+
def ssl_enforcement_enum
|
206
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
|
207
|
+
end
|
208
|
+
def server_state
|
209
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
|
210
|
+
end
|
211
|
+
def geo_redundant_backup
|
212
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
|
213
|
+
end
|
214
|
+
def storage_autogrow
|
215
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
|
216
|
+
end
|
217
|
+
def sku_tier
|
218
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
|
219
|
+
end
|
220
|
+
def virtual_network_rule_state
|
221
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
|
222
|
+
end
|
223
|
+
def operation_origin
|
224
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
|
225
|
+
end
|
226
|
+
def server_security_alert_policy_state
|
227
|
+
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|