Skip to content

Commit 5a4da24

Browse files
Azure CLI BotSDKAutomsyyc
authored
[AutoRelease] t2-rdbms-2021-04-29-80657(Do not merge) (Azure#18414)
* CodeGen from PR 14182 in Azure/azure-rest-api-specs [python]Update readme.python.md for postgresql (Azure#14182) * Update readme.python.md * Update readme.python.md * version,CHANGELOG * test * Update shared_requirements.txt Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
1 parent 64e9e0e commit 5a4da24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4203
-3075
lines changed

sdk/rdbms/azure-mgmt-rdbms/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Release History
22

3+
## 8.1.0b4 (2021-04-29)
4+
5+
**Features**
6+
7+
- Added operation ServerSecurityAlertPoliciesOperations.list_by_server
8+
- Added operation ServerKeysOperations.list
9+
10+
**Breaking changes**
11+
12+
- Removed operation ServerKeysOperations.list_by_server
13+
314
## 8.1.0b3 (2021-04-27)
415

516
**Features**

sdk/rdbms/azure-mgmt-rdbms/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"autorest": "3.3.0",
33
"use": "@autorest/python@5.6.6",
4-
"commit": "f1d8c4ebb54fdc1301eb2f2a465982cf58b54f69",
4+
"commit": "62e437e7b686c6f4fbc3e7f8b34749899932c221",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
66
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
77
"readme": "specification/postgresql/resource-manager/readme.md"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "8.1.0b3"
8+
VERSION = "8.1.0b4"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/_metadata.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"chosen_version": "",
3-
"total_api_version_list": ["2020-02-14-preview", "2020-11-05-preview", "2021-03-31-privatepreview"],
3+
"total_api_version_list": ["2017-12-01", "2018-06-01", "2020-01-01"],
44
"client": {
55
"name": "PostgreSQLManagementClient",
66
"filename": "_postgre_sql_management_client",
@@ -99,13 +99,22 @@
9999
},
100100
"operation_groups": {
101101
"servers": "ServersOperations",
102+
"replicas": "ReplicasOperations",
102103
"firewall_rules": "FirewallRulesOperations",
104+
"virtual_network_rules": "VirtualNetworkRulesOperations",
105+
"databases": "DatabasesOperations",
103106
"configurations": "ConfigurationsOperations",
107+
"server_parameters": "ServerParametersOperations",
108+
"log_files": "LogFilesOperations",
109+
"server_administrators": "ServerAdministratorsOperations",
110+
"recoverable_servers": "RecoverableServersOperations",
111+
"server_based_performance_tier": "ServerBasedPerformanceTierOperations",
112+
"location_based_performance_tier": "LocationBasedPerformanceTierOperations",
104113
"check_name_availability": "CheckNameAvailabilityOperations",
105-
"location_based_capabilities": "LocationBasedCapabilitiesOperations",
106-
"virtual_network_subnet_usage": "VirtualNetworkSubnetUsageOperations",
107114
"operations": "Operations",
108-
"databases": "DatabasesOperations",
109-
"get_private_dns_zone_suffix": "GetPrivateDnsZoneSuffixOperations"
115+
"server_security_alert_policies": "ServerSecurityAlertPoliciesOperations",
116+
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
117+
"private_link_resources": "PrivateLinkResourcesOperations",
118+
"server_keys": "ServerKeysOperations"
110119
}
111120
}

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/_postgre_sql_management_client.py

Lines changed: 62 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,23 @@
2020

2121
from ._configuration import PostgreSQLManagementClientConfiguration
2222
from .operations import ServersOperations
23+
from .operations import ReplicasOperations
2324
from .operations import FirewallRulesOperations
25+
from .operations import VirtualNetworkRulesOperations
26+
from .operations import DatabasesOperations
2427
from .operations import ConfigurationsOperations
28+
from .operations import ServerParametersOperations
29+
from .operations import LogFilesOperations
30+
from .operations import ServerAdministratorsOperations
31+
from .operations import RecoverableServersOperations
32+
from .operations import ServerBasedPerformanceTierOperations
33+
from .operations import LocationBasedPerformanceTierOperations
2534
from .operations import CheckNameAvailabilityOperations
26-
from .operations import LocationBasedCapabilitiesOperations
27-
from .operations import VirtualNetworkSubnetUsageOperations
2835
from .operations import Operations
29-
from .operations import DatabasesOperations
30-
from .operations import GetPrivateDnsZoneSuffixOperations
36+
from .operations import ServerSecurityAlertPoliciesOperations
37+
from .operations import PrivateEndpointConnectionsOperations
38+
from .operations import PrivateLinkResourcesOperations
39+
from .operations import ServerKeysOperations
3140
from . import models
3241

3342

@@ -36,22 +45,40 @@ class PostgreSQLManagementClient(object):
3645
3746
:ivar servers: ServersOperations operations
3847
:vartype servers: azure.mgmt.rdbms.postgresql.operations.ServersOperations
48+
:ivar replicas: ReplicasOperations operations
49+
:vartype replicas: azure.mgmt.rdbms.postgresql.operations.ReplicasOperations
3950
:ivar firewall_rules: FirewallRulesOperations operations
4051
:vartype firewall_rules: azure.mgmt.rdbms.postgresql.operations.FirewallRulesOperations
52+
:ivar virtual_network_rules: VirtualNetworkRulesOperations operations
53+
:vartype virtual_network_rules: azure.mgmt.rdbms.postgresql.operations.VirtualNetworkRulesOperations
54+
:ivar databases: DatabasesOperations operations
55+
:vartype databases: azure.mgmt.rdbms.postgresql.operations.DatabasesOperations
4156
:ivar configurations: ConfigurationsOperations operations
4257
:vartype configurations: azure.mgmt.rdbms.postgresql.operations.ConfigurationsOperations
58+
:ivar server_parameters: ServerParametersOperations operations
59+
:vartype server_parameters: azure.mgmt.rdbms.postgresql.operations.ServerParametersOperations
60+
:ivar log_files: LogFilesOperations operations
61+
:vartype log_files: azure.mgmt.rdbms.postgresql.operations.LogFilesOperations
62+
:ivar server_administrators: ServerAdministratorsOperations operations
63+
:vartype server_administrators: azure.mgmt.rdbms.postgresql.operations.ServerAdministratorsOperations
64+
:ivar recoverable_servers: RecoverableServersOperations operations
65+
:vartype recoverable_servers: azure.mgmt.rdbms.postgresql.operations.RecoverableServersOperations
66+
:ivar server_based_performance_tier: ServerBasedPerformanceTierOperations operations
67+
:vartype server_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.ServerBasedPerformanceTierOperations
68+
:ivar location_based_performance_tier: LocationBasedPerformanceTierOperations operations
69+
:vartype location_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.LocationBasedPerformanceTierOperations
4370
:ivar check_name_availability: CheckNameAvailabilityOperations operations
4471
:vartype check_name_availability: azure.mgmt.rdbms.postgresql.operations.CheckNameAvailabilityOperations
45-
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
46-
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql.operations.LocationBasedCapabilitiesOperations
47-
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
48-
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql.operations.VirtualNetworkSubnetUsageOperations
4972
:ivar operations: Operations operations
5073
:vartype operations: azure.mgmt.rdbms.postgresql.operations.Operations
51-
:ivar databases: DatabasesOperations operations
52-
:vartype databases: azure.mgmt.rdbms.postgresql.operations.DatabasesOperations
53-
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
54-
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql.operations.GetPrivateDnsZoneSuffixOperations
74+
:ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations
75+
:vartype server_security_alert_policies: azure.mgmt.rdbms.postgresql.operations.ServerSecurityAlertPoliciesOperations
76+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
77+
:vartype private_endpoint_connections: azure.mgmt.rdbms.postgresql.operations.PrivateEndpointConnectionsOperations
78+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
79+
:vartype private_link_resources: azure.mgmt.rdbms.postgresql.operations.PrivateLinkResourcesOperations
80+
:ivar server_keys: ServerKeysOperations operations
81+
:vartype server_keys: azure.mgmt.rdbms.postgresql.operations.ServerKeysOperations
5582
:param credential: Credential needed for the client to connect to Azure.
5683
:type credential: ~azure.core.credentials.TokenCredential
5784
:param subscription_id: The ID of the target subscription.
@@ -80,21 +107,39 @@ def __init__(
80107

81108
self.servers = ServersOperations(
82109
self._client, self._config, self._serialize, self._deserialize)
110+
self.replicas = ReplicasOperations(
111+
self._client, self._config, self._serialize, self._deserialize)
83112
self.firewall_rules = FirewallRulesOperations(
84113
self._client, self._config, self._serialize, self._deserialize)
114+
self.virtual_network_rules = VirtualNetworkRulesOperations(
115+
self._client, self._config, self._serialize, self._deserialize)
116+
self.databases = DatabasesOperations(
117+
self._client, self._config, self._serialize, self._deserialize)
85118
self.configurations = ConfigurationsOperations(
86119
self._client, self._config, self._serialize, self._deserialize)
87-
self.check_name_availability = CheckNameAvailabilityOperations(
120+
self.server_parameters = ServerParametersOperations(
121+
self._client, self._config, self._serialize, self._deserialize)
122+
self.log_files = LogFilesOperations(
123+
self._client, self._config, self._serialize, self._deserialize)
124+
self.server_administrators = ServerAdministratorsOperations(
88125
self._client, self._config, self._serialize, self._deserialize)
89-
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
126+
self.recoverable_servers = RecoverableServersOperations(
90127
self._client, self._config, self._serialize, self._deserialize)
91-
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
128+
self.server_based_performance_tier = ServerBasedPerformanceTierOperations(
129+
self._client, self._config, self._serialize, self._deserialize)
130+
self.location_based_performance_tier = LocationBasedPerformanceTierOperations(
131+
self._client, self._config, self._serialize, self._deserialize)
132+
self.check_name_availability = CheckNameAvailabilityOperations(
92133
self._client, self._config, self._serialize, self._deserialize)
93134
self.operations = Operations(
94135
self._client, self._config, self._serialize, self._deserialize)
95-
self.databases = DatabasesOperations(
136+
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
137+
self._client, self._config, self._serialize, self._deserialize)
138+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
139+
self._client, self._config, self._serialize, self._deserialize)
140+
self.private_link_resources = PrivateLinkResourcesOperations(
96141
self._client, self._config, self._serialize, self._deserialize)
97-
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
142+
self.server_keys = ServerKeysOperations(
98143
self._client, self._config, self._serialize, self._deserialize)
99144

100145
def _send_request(self, http_request, **kwargs):

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "8.1.0b3"
9+
VERSION = "8.1.0b4"

sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql/aio/_postgre_sql_management_client.py

Lines changed: 62 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,23 @@
1818

1919
from ._configuration import PostgreSQLManagementClientConfiguration
2020
from .operations import ServersOperations
21+
from .operations import ReplicasOperations
2122
from .operations import FirewallRulesOperations
23+
from .operations import VirtualNetworkRulesOperations
24+
from .operations import DatabasesOperations
2225
from .operations import ConfigurationsOperations
26+
from .operations import ServerParametersOperations
27+
from .operations import LogFilesOperations
28+
from .operations import ServerAdministratorsOperations
29+
from .operations import RecoverableServersOperations
30+
from .operations import ServerBasedPerformanceTierOperations
31+
from .operations import LocationBasedPerformanceTierOperations
2332
from .operations import CheckNameAvailabilityOperations
24-
from .operations import LocationBasedCapabilitiesOperations
25-
from .operations import VirtualNetworkSubnetUsageOperations
2633
from .operations import Operations
27-
from .operations import DatabasesOperations
28-
from .operations import GetPrivateDnsZoneSuffixOperations
34+
from .operations import ServerSecurityAlertPoliciesOperations
35+
from .operations import PrivateEndpointConnectionsOperations
36+
from .operations import PrivateLinkResourcesOperations
37+
from .operations import ServerKeysOperations
2938
from .. import models
3039

3140

@@ -34,22 +43,40 @@ class PostgreSQLManagementClient(object):
3443
3544
:ivar servers: ServersOperations operations
3645
:vartype servers: azure.mgmt.rdbms.postgresql.aio.operations.ServersOperations
46+
:ivar replicas: ReplicasOperations operations
47+
:vartype replicas: azure.mgmt.rdbms.postgresql.aio.operations.ReplicasOperations
3748
:ivar firewall_rules: FirewallRulesOperations operations
3849
:vartype firewall_rules: azure.mgmt.rdbms.postgresql.aio.operations.FirewallRulesOperations
50+
:ivar virtual_network_rules: VirtualNetworkRulesOperations operations
51+
:vartype virtual_network_rules: azure.mgmt.rdbms.postgresql.aio.operations.VirtualNetworkRulesOperations
52+
:ivar databases: DatabasesOperations operations
53+
:vartype databases: azure.mgmt.rdbms.postgresql.aio.operations.DatabasesOperations
3954
:ivar configurations: ConfigurationsOperations operations
4055
:vartype configurations: azure.mgmt.rdbms.postgresql.aio.operations.ConfigurationsOperations
56+
:ivar server_parameters: ServerParametersOperations operations
57+
:vartype server_parameters: azure.mgmt.rdbms.postgresql.aio.operations.ServerParametersOperations
58+
:ivar log_files: LogFilesOperations operations
59+
:vartype log_files: azure.mgmt.rdbms.postgresql.aio.operations.LogFilesOperations
60+
:ivar server_administrators: ServerAdministratorsOperations operations
61+
:vartype server_administrators: azure.mgmt.rdbms.postgresql.aio.operations.ServerAdministratorsOperations
62+
:ivar recoverable_servers: RecoverableServersOperations operations
63+
:vartype recoverable_servers: azure.mgmt.rdbms.postgresql.aio.operations.RecoverableServersOperations
64+
:ivar server_based_performance_tier: ServerBasedPerformanceTierOperations operations
65+
:vartype server_based_performance_tier: azure.mgmt.rdbms.postgresql.aio.operations.ServerBasedPerformanceTierOperations
66+
:ivar location_based_performance_tier: LocationBasedPerformanceTierOperations operations
67+
:vartype location_based_performance_tier: azure.mgmt.rdbms.postgresql.aio.operations.LocationBasedPerformanceTierOperations
4168
:ivar check_name_availability: CheckNameAvailabilityOperations operations
4269
:vartype check_name_availability: azure.mgmt.rdbms.postgresql.aio.operations.CheckNameAvailabilityOperations
43-
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
44-
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql.aio.operations.LocationBasedCapabilitiesOperations
45-
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
46-
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql.aio.operations.VirtualNetworkSubnetUsageOperations
4770
:ivar operations: Operations operations
4871
:vartype operations: azure.mgmt.rdbms.postgresql.aio.operations.Operations
49-
:ivar databases: DatabasesOperations operations
50-
:vartype databases: azure.mgmt.rdbms.postgresql.aio.operations.DatabasesOperations
51-
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
52-
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql.aio.operations.GetPrivateDnsZoneSuffixOperations
72+
:ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations
73+
:vartype server_security_alert_policies: azure.mgmt.rdbms.postgresql.aio.operations.ServerSecurityAlertPoliciesOperations
74+
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
75+
:vartype private_endpoint_connections: azure.mgmt.rdbms.postgresql.aio.operations.PrivateEndpointConnectionsOperations
76+
:ivar private_link_resources: PrivateLinkResourcesOperations operations
77+
:vartype private_link_resources: azure.mgmt.rdbms.postgresql.aio.operations.PrivateLinkResourcesOperations
78+
:ivar server_keys: ServerKeysOperations operations
79+
:vartype server_keys: azure.mgmt.rdbms.postgresql.aio.operations.ServerKeysOperations
5380
:param credential: Credential needed for the client to connect to Azure.
5481
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
5582
:param subscription_id: The ID of the target subscription.
@@ -77,21 +104,39 @@ def __init__(
77104

78105
self.servers = ServersOperations(
79106
self._client, self._config, self._serialize, self._deserialize)
107+
self.replicas = ReplicasOperations(
108+
self._client, self._config, self._serialize, self._deserialize)
80109
self.firewall_rules = FirewallRulesOperations(
81110
self._client, self._config, self._serialize, self._deserialize)
111+
self.virtual_network_rules = VirtualNetworkRulesOperations(
112+
self._client, self._config, self._serialize, self._deserialize)
113+
self.databases = DatabasesOperations(
114+
self._client, self._config, self._serialize, self._deserialize)
82115
self.configurations = ConfigurationsOperations(
83116
self._client, self._config, self._serialize, self._deserialize)
84-
self.check_name_availability = CheckNameAvailabilityOperations(
117+
self.server_parameters = ServerParametersOperations(
118+
self._client, self._config, self._serialize, self._deserialize)
119+
self.log_files = LogFilesOperations(
120+
self._client, self._config, self._serialize, self._deserialize)
121+
self.server_administrators = ServerAdministratorsOperations(
85122
self._client, self._config, self._serialize, self._deserialize)
86-
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
123+
self.recoverable_servers = RecoverableServersOperations(
87124
self._client, self._config, self._serialize, self._deserialize)
88-
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
125+
self.server_based_performance_tier = ServerBasedPerformanceTierOperations(
126+
self._client, self._config, self._serialize, self._deserialize)
127+
self.location_based_performance_tier = LocationBasedPerformanceTierOperations(
128+
self._client, self._config, self._serialize, self._deserialize)
129+
self.check_name_availability = CheckNameAvailabilityOperations(
89130
self._client, self._config, self._serialize, self._deserialize)
90131
self.operations = Operations(
91132
self._client, self._config, self._serialize, self._deserialize)
92-
self.databases = DatabasesOperations(
133+
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
134+
self._client, self._config, self._serialize, self._deserialize)
135+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
136+
self._client, self._config, self._serialize, self._deserialize)
137+
self.private_link_resources = PrivateLinkResourcesOperations(
93138
self._client, self._config, self._serialize, self._deserialize)
94-
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
139+
self.server_keys = ServerKeysOperations(
95140
self._client, self._config, self._serialize, self._deserialize)
96141

97142
async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:

0 commit comments

Comments
 (0)