Skip to content

Commit

Permalink
[AutoRelease] t2-rdbms-2021-04-29-80657(Do not merge) (Azure#18414)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Apr 29, 2021
1 parent 64e9e0e commit 5a4da24
Show file tree
Hide file tree
Showing 44 changed files with 4,203 additions and 3,075 deletions.
11 changes: 11 additions & 0 deletions sdk/rdbms/azure-mgmt-rdbms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Release History

## 8.1.0b4 (2021-04-29)

**Features**

- Added operation ServerSecurityAlertPoliciesOperations.list_by_server
- Added operation ServerKeysOperations.list

**Breaking changes**

- Removed operation ServerKeysOperations.list_by_server

## 8.1.0b3 (2021-04-27)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/rdbms/azure-mgmt-rdbms/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "f1d8c4ebb54fdc1301eb2f2a465982cf58b54f69",
"commit": "62e437e7b686c6f4fbc3e7f8b34749899932c221",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"readme": "specification/postgresql/resource-manager/readme.md"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "8.1.0b3"
VERSION = "8.1.0b4"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2020-02-14-preview", "2020-11-05-preview", "2021-03-31-privatepreview"],
"total_api_version_list": ["2017-12-01", "2018-06-01", "2020-01-01"],
"client": {
"name": "PostgreSQLManagementClient",
"filename": "_postgre_sql_management_client",
Expand Down Expand Up @@ -99,13 +99,22 @@
},
"operation_groups": {
"servers": "ServersOperations",
"replicas": "ReplicasOperations",
"firewall_rules": "FirewallRulesOperations",
"virtual_network_rules": "VirtualNetworkRulesOperations",
"databases": "DatabasesOperations",
"configurations": "ConfigurationsOperations",
"server_parameters": "ServerParametersOperations",
"log_files": "LogFilesOperations",
"server_administrators": "ServerAdministratorsOperations",
"recoverable_servers": "RecoverableServersOperations",
"server_based_performance_tier": "ServerBasedPerformanceTierOperations",
"location_based_performance_tier": "LocationBasedPerformanceTierOperations",
"check_name_availability": "CheckNameAvailabilityOperations",
"location_based_capabilities": "LocationBasedCapabilitiesOperations",
"virtual_network_subnet_usage": "VirtualNetworkSubnetUsageOperations",
"operations": "Operations",
"databases": "DatabasesOperations",
"get_private_dns_zone_suffix": "GetPrivateDnsZoneSuffixOperations"
"server_security_alert_policies": "ServerSecurityAlertPoliciesOperations",
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
"private_link_resources": "PrivateLinkResourcesOperations",
"server_keys": "ServerKeysOperations"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,23 @@

from ._configuration import PostgreSQLManagementClientConfiguration
from .operations import ServersOperations
from .operations import ReplicasOperations
from .operations import FirewallRulesOperations
from .operations import VirtualNetworkRulesOperations
from .operations import DatabasesOperations
from .operations import ConfigurationsOperations
from .operations import ServerParametersOperations
from .operations import LogFilesOperations
from .operations import ServerAdministratorsOperations
from .operations import RecoverableServersOperations
from .operations import ServerBasedPerformanceTierOperations
from .operations import LocationBasedPerformanceTierOperations
from .operations import CheckNameAvailabilityOperations
from .operations import LocationBasedCapabilitiesOperations
from .operations import VirtualNetworkSubnetUsageOperations
from .operations import Operations
from .operations import DatabasesOperations
from .operations import GetPrivateDnsZoneSuffixOperations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ServerKeysOperations
from . import models


Expand All @@ -36,22 +45,40 @@ class PostgreSQLManagementClient(object):
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.rdbms.postgresql.operations.ReplicasOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.rdbms.postgresql.operations.FirewallRulesOperations
:ivar virtual_network_rules: VirtualNetworkRulesOperations operations
:vartype virtual_network_rules: azure.mgmt.rdbms.postgresql.operations.VirtualNetworkRulesOperations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql.operations.DatabasesOperations
:ivar configurations: ConfigurationsOperations operations
:vartype configurations: azure.mgmt.rdbms.postgresql.operations.ConfigurationsOperations
:ivar server_parameters: ServerParametersOperations operations
:vartype server_parameters: azure.mgmt.rdbms.postgresql.operations.ServerParametersOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files: azure.mgmt.rdbms.postgresql.operations.LogFilesOperations
:ivar server_administrators: ServerAdministratorsOperations operations
:vartype server_administrators: azure.mgmt.rdbms.postgresql.operations.ServerAdministratorsOperations
:ivar recoverable_servers: RecoverableServersOperations operations
:vartype recoverable_servers: azure.mgmt.rdbms.postgresql.operations.RecoverableServersOperations
:ivar server_based_performance_tier: ServerBasedPerformanceTierOperations operations
:vartype server_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.ServerBasedPerformanceTierOperations
:ivar location_based_performance_tier: LocationBasedPerformanceTierOperations operations
:vartype location_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.LocationBasedPerformanceTierOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability: azure.mgmt.rdbms.postgresql.operations.CheckNameAvailabilityOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql.operations.LocationBasedCapabilitiesOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql.operations.VirtualNetworkSubnetUsageOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.postgresql.operations.Operations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql.operations.DatabasesOperations
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql.operations.GetPrivateDnsZoneSuffixOperations
:ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.postgresql.operations.ServerSecurityAlertPoliciesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: azure.mgmt.rdbms.postgresql.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: azure.mgmt.rdbms.postgresql.operations.PrivateLinkResourcesOperations
:ivar server_keys: ServerKeysOperations operations
:vartype server_keys: azure.mgmt.rdbms.postgresql.operations.ServerKeysOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription.
Expand Down Expand Up @@ -80,21 +107,39 @@ def __init__(

self.servers = ServersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(
self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_rules = VirtualNetworkRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.configurations = ConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self.server_parameters = ServerParametersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.log_files = LogFilesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_administrators = ServerAdministratorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
self.recoverable_servers = RecoverableServersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self.server_based_performance_tier = ServerBasedPerformanceTierOperations(
self._client, self._config, self._serialize, self._deserialize)
self.location_based_performance_tier = LocationBasedPerformanceTierOperations(
self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
self.server_keys = ServerKeysOperations(
self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, http_request, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "8.1.0b3"
VERSION = "8.1.0b4"
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@

from ._configuration import PostgreSQLManagementClientConfiguration
from .operations import ServersOperations
from .operations import ReplicasOperations
from .operations import FirewallRulesOperations
from .operations import VirtualNetworkRulesOperations
from .operations import DatabasesOperations
from .operations import ConfigurationsOperations
from .operations import ServerParametersOperations
from .operations import LogFilesOperations
from .operations import ServerAdministratorsOperations
from .operations import RecoverableServersOperations
from .operations import ServerBasedPerformanceTierOperations
from .operations import LocationBasedPerformanceTierOperations
from .operations import CheckNameAvailabilityOperations
from .operations import LocationBasedCapabilitiesOperations
from .operations import VirtualNetworkSubnetUsageOperations
from .operations import Operations
from .operations import DatabasesOperations
from .operations import GetPrivateDnsZoneSuffixOperations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ServerKeysOperations
from .. import models


Expand All @@ -34,22 +43,40 @@ class PostgreSQLManagementClient(object):
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql.aio.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.rdbms.postgresql.aio.operations.ReplicasOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.rdbms.postgresql.aio.operations.FirewallRulesOperations
:ivar virtual_network_rules: VirtualNetworkRulesOperations operations
:vartype virtual_network_rules: azure.mgmt.rdbms.postgresql.aio.operations.VirtualNetworkRulesOperations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql.aio.operations.DatabasesOperations
:ivar configurations: ConfigurationsOperations operations
:vartype configurations: azure.mgmt.rdbms.postgresql.aio.operations.ConfigurationsOperations
:ivar server_parameters: ServerParametersOperations operations
:vartype server_parameters: azure.mgmt.rdbms.postgresql.aio.operations.ServerParametersOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files: azure.mgmt.rdbms.postgresql.aio.operations.LogFilesOperations
:ivar server_administrators: ServerAdministratorsOperations operations
:vartype server_administrators: azure.mgmt.rdbms.postgresql.aio.operations.ServerAdministratorsOperations
:ivar recoverable_servers: RecoverableServersOperations operations
:vartype recoverable_servers: azure.mgmt.rdbms.postgresql.aio.operations.RecoverableServersOperations
:ivar server_based_performance_tier: ServerBasedPerformanceTierOperations operations
:vartype server_based_performance_tier: azure.mgmt.rdbms.postgresql.aio.operations.ServerBasedPerformanceTierOperations
:ivar location_based_performance_tier: LocationBasedPerformanceTierOperations operations
:vartype location_based_performance_tier: azure.mgmt.rdbms.postgresql.aio.operations.LocationBasedPerformanceTierOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability: azure.mgmt.rdbms.postgresql.aio.operations.CheckNameAvailabilityOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql.aio.operations.LocationBasedCapabilitiesOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql.aio.operations.VirtualNetworkSubnetUsageOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.postgresql.aio.operations.Operations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql.aio.operations.DatabasesOperations
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql.aio.operations.GetPrivateDnsZoneSuffixOperations
:ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.postgresql.aio.operations.ServerSecurityAlertPoliciesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: azure.mgmt.rdbms.postgresql.aio.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: azure.mgmt.rdbms.postgresql.aio.operations.PrivateLinkResourcesOperations
:ivar server_keys: ServerKeysOperations operations
:vartype server_keys: azure.mgmt.rdbms.postgresql.aio.operations.ServerKeysOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription.
Expand Down Expand Up @@ -77,21 +104,39 @@ def __init__(

self.servers = ServersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(
self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_rules = VirtualNetworkRulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.configurations = ConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self.server_parameters = ServerParametersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.log_files = LogFilesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.server_administrators = ServerAdministratorsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
self.recoverable_servers = RecoverableServersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self.server_based_performance_tier = ServerBasedPerformanceTierOperations(
self._client, self._config, self._serialize, self._deserialize)
self.location_based_performance_tier = LocationBasedPerformanceTierOperations(
self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
self.server_keys = ServerKeysOperations(
self._client, self._config, self._serialize, self._deserialize)

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

0 comments on commit 5a4da24

Please sign in to comment.