azure_mgmt_mysql 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql.rb +79 -0
  4. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/check_name_availability.rb +128 -0
  5. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/configurations.rb +402 -0
  6. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/databases.rb +549 -0
  7. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/firewall_rules.rb +549 -0
  8. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/location_based_performance_tier.rb +118 -0
  9. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/log_files.rb +128 -0
  10. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/configuration.rb +132 -0
  11. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/configuration_list_result.rb +55 -0
  12. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/database.rb +84 -0
  13. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/database_list_result.rb +55 -0
  14. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/firewall_rule.rb +92 -0
  15. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb +55 -0
  16. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/geo_redundant_backup.rb +16 -0
  17. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/log_file.rb +119 -0
  18. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/log_file_list_result.rb +55 -0
  19. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/name_availability.rb +68 -0
  20. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/name_availability_request.rb +57 -0
  21. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation.rb +95 -0
  22. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_display.rb +83 -0
  23. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_list_result.rb +55 -0
  24. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_origin.rb +17 -0
  25. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_list_result.rb +56 -0
  26. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_properties.rb +67 -0
  27. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_service_level_objectives.rb +126 -0
  28. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/proxy_resource.rb +71 -0
  29. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server.rb +220 -0
  30. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_for_create.rb +92 -0
  31. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_list_result.rb +55 -0
  32. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_create.rb +86 -0
  33. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_default_create.rb +100 -0
  34. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_geo_restore.rb +88 -0
  35. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_replica.rb +87 -0
  36. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_restore.rb +99 -0
  37. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_security_alert_policy.rb +166 -0
  38. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_security_alert_policy_state.rb +16 -0
  39. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_state.rb +17 -0
  40. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_update_parameters.rb +126 -0
  41. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_version.rb +16 -0
  42. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/sku.rb +97 -0
  43. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/sku_tier.rb +17 -0
  44. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/ssl_enforcement_enum.rb +16 -0
  45. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/storage_autogrow.rb +16 -0
  46. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/storage_profile.rb +81 -0
  47. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/tracked_resource.rb +93 -0
  48. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule.rb +99 -0
  49. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule_list_result.rb +100 -0
  50. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule_state.rb +19 -0
  51. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/module_definition.rb +9 -0
  52. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/my_sqlmanagement_client.rb +172 -0
  53. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/operations.rb +112 -0
  54. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/replicas.rb +128 -0
  55. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/server_security_alert_policies.rb +294 -0
  56. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/servers.rb +918 -0
  57. data/lib/2017-12-01-preview/generated/azure_mgmt_mysql/virtual_network_rules.rb +676 -0
  58. data/lib/2017-12-01/generated/azure_mgmt_mysql.rb +79 -0
  59. data/lib/2017-12-01/generated/azure_mgmt_mysql/check_name_availability.rb +128 -0
  60. data/lib/2017-12-01/generated/azure_mgmt_mysql/configurations.rb +402 -0
  61. data/lib/2017-12-01/generated/azure_mgmt_mysql/databases.rb +549 -0
  62. data/lib/2017-12-01/generated/azure_mgmt_mysql/firewall_rules.rb +549 -0
  63. data/lib/2017-12-01/generated/azure_mgmt_mysql/location_based_performance_tier.rb +118 -0
  64. data/lib/2017-12-01/generated/azure_mgmt_mysql/log_files.rb +128 -0
  65. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/configuration.rb +132 -0
  66. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/configuration_list_result.rb +55 -0
  67. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/database.rb +84 -0
  68. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/database_list_result.rb +55 -0
  69. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule.rb +92 -0
  70. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb +55 -0
  71. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/geo_redundant_backup.rb +16 -0
  72. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb +119 -0
  73. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file_list_result.rb +55 -0
  74. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/name_availability.rb +68 -0
  75. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/name_availability_request.rb +57 -0
  76. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/operation.rb +95 -0
  77. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_display.rb +83 -0
  78. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_list_result.rb +55 -0
  79. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_origin.rb +17 -0
  80. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_list_result.rb +56 -0
  81. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_properties.rb +67 -0
  82. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_service_level_objectives.rb +126 -0
  83. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/proxy_resource.rb +71 -0
  84. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server.rb +220 -0
  85. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_for_create.rb +92 -0
  86. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_list_result.rb +55 -0
  87. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_create.rb +86 -0
  88. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_default_create.rb +100 -0
  89. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_geo_restore.rb +88 -0
  90. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_replica.rb +87 -0
  91. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_restore.rb +99 -0
  92. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_security_alert_policy.rb +166 -0
  93. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_security_alert_policy_state.rb +16 -0
  94. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_state.rb +17 -0
  95. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_update_parameters.rb +126 -0
  96. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_version.rb +16 -0
  97. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/sku.rb +97 -0
  98. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/sku_tier.rb +17 -0
  99. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/ssl_enforcement_enum.rb +16 -0
  100. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/storage_autogrow.rb +16 -0
  101. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/storage_profile.rb +81 -0
  102. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/tracked_resource.rb +93 -0
  103. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule.rb +99 -0
  104. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule_list_result.rb +100 -0
  105. data/lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule_state.rb +19 -0
  106. data/lib/2017-12-01/generated/azure_mgmt_mysql/module_definition.rb +9 -0
  107. data/lib/2017-12-01/generated/azure_mgmt_mysql/my_sqlmanagement_client.rb +172 -0
  108. data/lib/2017-12-01/generated/azure_mgmt_mysql/operations.rb +112 -0
  109. data/lib/2017-12-01/generated/azure_mgmt_mysql/replicas.rb +128 -0
  110. data/lib/2017-12-01/generated/azure_mgmt_mysql/server_security_alert_policies.rb +294 -0
  111. data/lib/2017-12-01/generated/azure_mgmt_mysql/servers.rb +918 -0
  112. data/lib/2017-12-01/generated/azure_mgmt_mysql/virtual_network_rules.rb +676 -0
  113. data/lib/azure_mgmt_mysql.rb +7 -0
  114. data/lib/module_definition.rb +7 -0
  115. data/lib/profiles/latest/modules/mysql_profile_module.rb +245 -0
  116. data/lib/profiles/latest/mysql_latest_profile_client.rb +40 -0
  117. data/lib/profiles/latest/mysql_module_definition.rb +8 -0
  118. data/lib/version.rb +7 -0
  119. metadata +234 -0
@@ -0,0 +1,7 @@
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 '2017-12-01-preview/generated/azure_mgmt_mysql'
6
+ require '2017-12-01/generated/azure_mgmt_mysql'
7
+ require 'profiles/latest/mysql_latest_profile_client'
@@ -0,0 +1,7 @@
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
+ module Azure end
6
+ module Azure::Mysql end
7
+ module Azure::Mysql::Mgmt end
@@ -0,0 +1,245 @@
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::Mysql::Profiles::Latest
8
+ module Mgmt
9
+ Servers = Azure::Mysql::Mgmt::V2017_12_01::Servers
10
+ Replicas = Azure::Mysql::Mgmt::V2017_12_01::Replicas
11
+ FirewallRules = Azure::Mysql::Mgmt::V2017_12_01::FirewallRules
12
+ VirtualNetworkRules = Azure::Mysql::Mgmt::V2017_12_01::VirtualNetworkRules
13
+ Databases = Azure::Mysql::Mgmt::V2017_12_01::Databases
14
+ Configurations = Azure::Mysql::Mgmt::V2017_12_01::Configurations
15
+ LogFiles = Azure::Mysql::Mgmt::V2017_12_01::LogFiles
16
+ LocationBasedPerformanceTier = Azure::Mysql::Mgmt::V2017_12_01::LocationBasedPerformanceTier
17
+ CheckNameAvailability = Azure::Mysql::Mgmt::V2017_12_01::CheckNameAvailability
18
+ ServerSecurityAlertPolicies = Azure::Mysql::Mgmt::V2017_12_01::ServerSecurityAlertPolicies
19
+ Operations = Azure::Mysql::Mgmt::V2017_12_01::Operations
20
+
21
+ module Models
22
+ VirtualNetworkRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
23
+ FirewallRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
24
+ NameAvailabilityRequest = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
25
+ StorageProfile = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
26
+ ProxyResource = Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
27
+ NameAvailability = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
28
+ PerformanceTierListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
29
+ Operation = Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
30
+ PerformanceTierServiceLevelObjectives = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
31
+ ServerPropertiesForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
32
+ LogFileListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
33
+ OperationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
34
+ ServerUpdateParameters = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
35
+ PerformanceTierProperties = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
36
+ DatabaseListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
37
+ ServerForCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
38
+ Sku = Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
39
+ ConfigurationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
40
+ ServerListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
41
+ OperationDisplay = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
42
+ TrackedResource = Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
43
+ ServerPropertiesForDefaultCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
44
+ ServerPropertiesForRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
45
+ ServerPropertiesForGeoRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
46
+ ServerPropertiesForReplica = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
47
+ Server = Azure::Mysql::Mgmt::V2017_12_01::Models::Server
48
+ FirewallRule = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
49
+ VirtualNetworkRule = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
50
+ Database = Azure::Mysql::Mgmt::V2017_12_01::Models::Database
51
+ Configuration = Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
52
+ LogFile = Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
53
+ ServerSecurityAlertPolicy = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
54
+ ServerVersion = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
55
+ SslEnforcementEnum = Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
56
+ ServerState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
57
+ GeoRedundantBackup = Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
58
+ StorageAutogrow = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
59
+ SkuTier = Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
60
+ VirtualNetworkRuleState = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
61
+ OperationOrigin = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
62
+ ServerSecurityAlertPolicyState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
63
+ end
64
+
65
+ #
66
+ # MysqlManagementClass
67
+ #
68
+ class MysqlManagementClass
69
+ 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
70
+
71
+ def initialize(options = {})
72
+ if options.is_a?(Hash) && options.length == 0
73
+ @options = setup_default_options
74
+ else
75
+ @options = options
76
+ end
77
+
78
+ reset!(options)
79
+
80
+ @configurable = self
81
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
82
+ @options = options[:options].nil? ? nil:options[:options]
83
+
84
+ @client_0 = Azure::Mysql::Mgmt::V2017_12_01::MySQLManagementClient.new(configurable.credentials, base_url, options)
85
+ if(@client_0.respond_to?(:subscription_id))
86
+ @client_0.subscription_id = configurable.subscription_id
87
+ end
88
+ add_telemetry(@client_0)
89
+ @servers = @client_0.servers
90
+ @replicas = @client_0.replicas
91
+ @firewall_rules = @client_0.firewall_rules
92
+ @virtual_network_rules = @client_0.virtual_network_rules
93
+ @databases = @client_0.databases
94
+ @configurations = @client_0.configurations
95
+ @log_files = @client_0.log_files
96
+ @location_based_performance_tier = @client_0.location_based_performance_tier
97
+ @check_name_availability = @client_0.check_name_availability
98
+ @server_security_alert_policies = @client_0.server_security_alert_policies
99
+ @operations = @client_0.operations
100
+
101
+ @model_classes = ModelClasses.new
102
+ end
103
+
104
+ def add_telemetry(client)
105
+ profile_information = 'Profiles/Latest/Mysql/Mgmt'
106
+ client.add_user_agent_information(profile_information)
107
+ end
108
+
109
+ def method_missing(method, *args)
110
+ if @client_0.respond_to?method
111
+ @client_0.send(method, *args)
112
+ else
113
+ super
114
+ end
115
+ end
116
+
117
+ end
118
+
119
+ class ModelClasses
120
+ def virtual_network_rule_list_result
121
+ Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
122
+ end
123
+ def firewall_rule_list_result
124
+ Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
125
+ end
126
+ def name_availability_request
127
+ Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
128
+ end
129
+ def storage_profile
130
+ Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
131
+ end
132
+ def proxy_resource
133
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
134
+ end
135
+ def name_availability
136
+ Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
137
+ end
138
+ def performance_tier_list_result
139
+ Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
140
+ end
141
+ def operation
142
+ Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
143
+ end
144
+ def performance_tier_service_level_objectives
145
+ Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierServiceLevelObjectives
146
+ end
147
+ def server_properties_for_create
148
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForCreate
149
+ end
150
+ def log_file_list_result
151
+ Azure::Mysql::Mgmt::V2017_12_01::Models::LogFileListResult
152
+ end
153
+ def operation_list_result
154
+ Azure::Mysql::Mgmt::V2017_12_01::Models::OperationListResult
155
+ end
156
+ def server_update_parameters
157
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerUpdateParameters
158
+ end
159
+ def performance_tier_properties
160
+ Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierProperties
161
+ end
162
+ def database_list_result
163
+ Azure::Mysql::Mgmt::V2017_12_01::Models::DatabaseListResult
164
+ end
165
+ def server_for_create
166
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerForCreate
167
+ end
168
+ def sku
169
+ Azure::Mysql::Mgmt::V2017_12_01::Models::Sku
170
+ end
171
+ def configuration_list_result
172
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
173
+ end
174
+ def server_list_result
175
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
176
+ end
177
+ def operation_display
178
+ Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
179
+ end
180
+ def tracked_resource
181
+ Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
182
+ end
183
+ def server_properties_for_default_create
184
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
185
+ end
186
+ def server_properties_for_restore
187
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
188
+ end
189
+ def server_properties_for_geo_restore
190
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
191
+ end
192
+ def server_properties_for_replica
193
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForReplica
194
+ end
195
+ def server
196
+ Azure::Mysql::Mgmt::V2017_12_01::Models::Server
197
+ end
198
+ def firewall_rule
199
+ Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRule
200
+ end
201
+ def virtual_network_rule
202
+ Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
203
+ end
204
+ def database
205
+ Azure::Mysql::Mgmt::V2017_12_01::Models::Database
206
+ end
207
+ def configuration
208
+ Azure::Mysql::Mgmt::V2017_12_01::Models::Configuration
209
+ end
210
+ def log_file
211
+ Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
212
+ end
213
+ def server_security_alert_policy
214
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicy
215
+ end
216
+ def server_version
217
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerVersion
218
+ end
219
+ def ssl_enforcement_enum
220
+ Azure::Mysql::Mgmt::V2017_12_01::Models::SslEnforcementEnum
221
+ end
222
+ def server_state
223
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerState
224
+ end
225
+ def geo_redundant_backup
226
+ Azure::Mysql::Mgmt::V2017_12_01::Models::GeoRedundantBackup
227
+ end
228
+ def storage_autogrow
229
+ Azure::Mysql::Mgmt::V2017_12_01::Models::StorageAutogrow
230
+ end
231
+ def sku_tier
232
+ Azure::Mysql::Mgmt::V2017_12_01::Models::SkuTier
233
+ end
234
+ def virtual_network_rule_state
235
+ Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
236
+ end
237
+ def operation_origin
238
+ Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
239
+ end
240
+ def server_security_alert_policy_state
241
+ Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
242
+ end
243
+ end
244
+ end
245
+ end
@@ -0,0 +1,40 @@
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 'profiles/latest/mysql_module_definition'
6
+ require 'profiles/latest/modules/mysql_profile_module'
7
+
8
+ module Azure::Mysql::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < MysqlManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,8 @@
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
+ module Azure end
6
+ module Azure::Mysql end
7
+ module Azure::Mysql::Profiles end
8
+ module Azure::Mysql::Profiles::Latest end
@@ -0,0 +1,7 @@
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
+ module Azure::Mysql::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,234 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_mysql
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.17.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-07-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.11.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.11.1
83
+ description:
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql.rb
91
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/check_name_availability.rb
92
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/configurations.rb
93
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/databases.rb
94
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/firewall_rules.rb
95
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/location_based_performance_tier.rb
96
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/log_files.rb
97
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/configuration.rb
98
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/configuration_list_result.rb
99
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/database.rb
100
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/database_list_result.rb
101
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/firewall_rule.rb
102
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb
103
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/geo_redundant_backup.rb
104
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/log_file.rb
105
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/log_file_list_result.rb
106
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/name_availability.rb
107
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/name_availability_request.rb
108
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation.rb
109
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_display.rb
110
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_list_result.rb
111
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/operation_origin.rb
112
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_list_result.rb
113
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_properties.rb
114
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/performance_tier_service_level_objectives.rb
115
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/proxy_resource.rb
116
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server.rb
117
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_for_create.rb
118
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_list_result.rb
119
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_create.rb
120
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_default_create.rb
121
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_geo_restore.rb
122
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_replica.rb
123
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_properties_for_restore.rb
124
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_security_alert_policy.rb
125
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_security_alert_policy_state.rb
126
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_state.rb
127
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_update_parameters.rb
128
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/server_version.rb
129
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/sku.rb
130
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/sku_tier.rb
131
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/ssl_enforcement_enum.rb
132
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/storage_autogrow.rb
133
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/storage_profile.rb
134
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/tracked_resource.rb
135
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule.rb
136
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule_list_result.rb
137
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/models/virtual_network_rule_state.rb
138
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/module_definition.rb
139
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/my_sqlmanagement_client.rb
140
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/operations.rb
141
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/replicas.rb
142
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/server_security_alert_policies.rb
143
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/servers.rb
144
+ - lib/2017-12-01-preview/generated/azure_mgmt_mysql/virtual_network_rules.rb
145
+ - lib/2017-12-01/generated/azure_mgmt_mysql.rb
146
+ - lib/2017-12-01/generated/azure_mgmt_mysql/check_name_availability.rb
147
+ - lib/2017-12-01/generated/azure_mgmt_mysql/configurations.rb
148
+ - lib/2017-12-01/generated/azure_mgmt_mysql/databases.rb
149
+ - lib/2017-12-01/generated/azure_mgmt_mysql/firewall_rules.rb
150
+ - lib/2017-12-01/generated/azure_mgmt_mysql/location_based_performance_tier.rb
151
+ - lib/2017-12-01/generated/azure_mgmt_mysql/log_files.rb
152
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/configuration.rb
153
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/configuration_list_result.rb
154
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/database.rb
155
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/database_list_result.rb
156
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule.rb
157
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb
158
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/geo_redundant_backup.rb
159
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb
160
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file_list_result.rb
161
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/name_availability.rb
162
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/name_availability_request.rb
163
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/operation.rb
164
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_display.rb
165
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_list_result.rb
166
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/operation_origin.rb
167
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_list_result.rb
168
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_properties.rb
169
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/performance_tier_service_level_objectives.rb
170
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/proxy_resource.rb
171
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server.rb
172
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_for_create.rb
173
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_list_result.rb
174
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_create.rb
175
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_default_create.rb
176
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_geo_restore.rb
177
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_replica.rb
178
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_restore.rb
179
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_security_alert_policy.rb
180
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_security_alert_policy_state.rb
181
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_state.rb
182
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_update_parameters.rb
183
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/server_version.rb
184
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/sku.rb
185
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/sku_tier.rb
186
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/ssl_enforcement_enum.rb
187
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/storage_autogrow.rb
188
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/storage_profile.rb
189
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/tracked_resource.rb
190
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule.rb
191
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule_list_result.rb
192
+ - lib/2017-12-01/generated/azure_mgmt_mysql/models/virtual_network_rule_state.rb
193
+ - lib/2017-12-01/generated/azure_mgmt_mysql/module_definition.rb
194
+ - lib/2017-12-01/generated/azure_mgmt_mysql/my_sqlmanagement_client.rb
195
+ - lib/2017-12-01/generated/azure_mgmt_mysql/operations.rb
196
+ - lib/2017-12-01/generated/azure_mgmt_mysql/replicas.rb
197
+ - lib/2017-12-01/generated/azure_mgmt_mysql/server_security_alert_policies.rb
198
+ - lib/2017-12-01/generated/azure_mgmt_mysql/servers.rb
199
+ - lib/2017-12-01/generated/azure_mgmt_mysql/virtual_network_rules.rb
200
+ - lib/azure_mgmt_mysql.rb
201
+ - lib/module_definition.rb
202
+ - lib/profiles/latest/modules/mysql_profile_module.rb
203
+ - lib/profiles/latest/mysql_latest_profile_client.rb
204
+ - lib/profiles/latest/mysql_module_definition.rb
205
+ - lib/version.rb
206
+ homepage: https://aka.ms/azure-sdk-for-ruby
207
+ licenses:
208
+ - MIT
209
+ metadata:
210
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
211
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
212
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
213
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
214
+ post_install_message:
215
+ rdoc_options: []
216
+ require_paths:
217
+ - lib
218
+ required_ruby_version: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: 2.0.0
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ requirements: []
229
+ rubyforge_project:
230
+ rubygems_version: 2.7.6
231
+ signing_key:
232
+ specification_version: 4
233
+ summary: Official Ruby client library to consume Mysql
234
+ test_files: []