azure_mgmt_postgresql 0.17.0

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