Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions sdk/rdbms/azure-mgmt-rdbms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Release History

## 9.0.0 (2021-07-01)

**Features**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yuchao Yan (@msyyc) do you know what it would take to update the changelog automation to start using the changlog guidelines at https://aka.ms/azsdk/guideline/changelogs? It would be good to start to normalize these so things like release notes in https://github.com/Azure/azure-sdk/pull/3106/files#diff-08335e0740b49e683f3701559846980fa57e48206720236dffed325e475ad0d4R376 will match the other PRs. Could you please file and issue to update the generator to update these headings?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. We would make a study for https://aka.ms/azsdk/guideline/changelogs


- Model ServerVersionCapability has a new parameter status
- Model Server has a new parameter network
- Model Server has a new parameter backup
- Model Server has a new parameter storage
- Model Server has a new parameter system_data
- Model Server has a new parameter high_availability
- Model Server has a new parameter minor_version
- Model Server has a new parameter source_server_resource_id
- Model Database has a new parameter system_data
- Model StorageProfile has a new parameter storage_autogrow
- Model StorageProfile has a new parameter geo_redundant_backup
- Model VcoreCapability has a new parameter status
- Model Configuration has a new parameter system_data
- Model StorageEditionCapability has a new parameter status
- Model FirewallRule has a new parameter system_data
- Model ServerForUpdate has a new parameter create_mode
- Model ServerForUpdate has a new parameter backup
- Model ServerForUpdate has a new parameter high_availability
- Model ServerForUpdate has a new parameter storage
- Model StorageMBCapability has a new parameter status
- Added operation GetPrivateDnsZoneSuffixOperations.execute
- Added operation ConfigurationsOperations.begin_put

**Breaking changes**

- Operation ServersOperations.begin_restart has a new signature
- Model Server no longer has parameter byok_enforcement
- Model Server no longer has parameter public_network_access
- Model Server no longer has parameter display_name
- Model Server no longer has parameter ha_state
- Model Server no longer has parameter private_dns_zone_arguments
- Model Server no longer has parameter source_server_name
- Model Server no longer has parameter storage_profile
- Model Server no longer has parameter source_resource_group_name
- Model Server no longer has parameter delegated_subnet_arguments
- Model Server no longer has parameter source_subscription_id
- Model Server no longer has parameter ha_enabled
- Model Server no longer has parameter standby_availability_zone
- Model ServerForUpdate no longer has parameter storage_profile
- Model ServerForUpdate no longer has parameter ha_enabled
- Model CapabilityProperties has a new signature

## 8.1.0 (2021-06-08)

- New models and operations for mariadb
Expand Down
8 changes: 4 additions & 4 deletions sdk/rdbms/azure-mgmt-rdbms/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.0",
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "5b141b3de81d3a38ee2406e1a9db5a9ecd08ff7d",
"commit": "ac63172f00e5c3adec2bca81c6d1b21046b0e749",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/mariadb/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.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/mariadb/resource-manager/readme.md"
"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.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/postgresql/resource-manager/readme.md"
}
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.0"
VERSION = "9.0.0"
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.0"
VERSION = "9.0.0"
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.0"
VERSION = "9.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-rdbms/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
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"],
"chosen_version": "2021-06-01",
"total_api_version_list": ["2021-06-01"],
"client": {
"name": "PostgreSQLManagementClient",
"filename": "_postgre_sql_management_client",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ class PostgreSQLManagementClient(object):
"""The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.

:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql_flexibleservers.operations.ServersOperations
:vartype servers: postgre_sql_management_client.operations.ServersOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.rdbms.postgresql_flexibleservers.operations.FirewallRulesOperations
:vartype firewall_rules: postgre_sql_management_client.operations.FirewallRulesOperations
:ivar configurations: ConfigurationsOperations operations
:vartype configurations: azure.mgmt.rdbms.postgresql_flexibleservers.operations.ConfigurationsOperations
:vartype configurations: postgre_sql_management_client.operations.ConfigurationsOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability: azure.mgmt.rdbms.postgresql_flexibleservers.operations.CheckNameAvailabilityOperations
:vartype check_name_availability: postgre_sql_management_client.operations.CheckNameAvailabilityOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql_flexibleservers.operations.LocationBasedCapabilitiesOperations
:vartype location_based_capabilities: postgre_sql_management_client.operations.LocationBasedCapabilitiesOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql_flexibleservers.operations.VirtualNetworkSubnetUsageOperations
:vartype virtual_network_subnet_usage: postgre_sql_management_client.operations.VirtualNetworkSubnetUsageOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.postgresql_flexibleservers.operations.Operations
:vartype operations: postgre_sql_management_client.operations.Operations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql_flexibleservers.operations.DatabasesOperations
:vartype databases: postgre_sql_management_client.operations.DatabasesOperations
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql_flexibleservers.operations.GetPrivateDnsZoneSuffixOperations
:vartype get_private_dns_zone_suffix: postgre_sql_management_client.operations.GetPrivateDnsZoneSuffixOperations
: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
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.0"
VERSION = "9.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-rdbms/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ class PostgreSQLManagementClient(object):
"""The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.

:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.ServersOperations
:vartype servers: postgre_sql_management_client.aio.operations.ServersOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.FirewallRulesOperations
:vartype firewall_rules: postgre_sql_management_client.aio.operations.FirewallRulesOperations
:ivar configurations: ConfigurationsOperations operations
:vartype configurations: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.ConfigurationsOperations
:vartype configurations: postgre_sql_management_client.aio.operations.ConfigurationsOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.CheckNameAvailabilityOperations
:vartype check_name_availability: postgre_sql_management_client.aio.operations.CheckNameAvailabilityOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
:vartype location_based_capabilities: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.LocationBasedCapabilitiesOperations
:vartype location_based_capabilities: postgre_sql_management_client.aio.operations.LocationBasedCapabilitiesOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.VirtualNetworkSubnetUsageOperations
:vartype virtual_network_subnet_usage: postgre_sql_management_client.aio.operations.VirtualNetworkSubnetUsageOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.Operations
:vartype operations: postgre_sql_management_client.aio.operations.Operations
:ivar databases: DatabasesOperations operations
:vartype databases: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.DatabasesOperations
:vartype databases: postgre_sql_management_client.aio.operations.DatabasesOperations
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.GetPrivateDnsZoneSuffixOperations
:vartype get_private_dns_zone_suffix: postgre_sql_management_client.aio.operations.GetPrivateDnsZoneSuffixOperations
: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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CheckNameAvailabilityOperations:
instantiates it for you and attaches it as an attribute.

:ivar models: Alias to model classes used in this operation group.
:type models: ~azure.mgmt.rdbms.postgresql_flexibleservers.models
:type models: ~postgre_sql_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
Expand All @@ -43,24 +43,24 @@ def __init__(self, client, config, serializer, deserializer) -> None:
async def execute(
self,
name_availability_request: "_models.NameAvailabilityRequest",
**kwargs
**kwargs: Any
) -> "_models.NameAvailability":
"""Check the availability of name for resource.

:param name_availability_request: The required parameters for checking if resource name is
available.
:type name_availability_request: ~azure.mgmt.rdbms.postgresql_flexibleservers.models.NameAvailabilityRequest
:type name_availability_request: ~postgre_sql_management_client.models.NameAvailabilityRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:return: NameAvailability, or the result of cls(response)
:rtype: ~azure.mgmt.rdbms.postgresql_flexibleservers.models.NameAvailability
:rtype: ~postgre_sql_management_client.models.NameAvailability
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailability"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-02-14-preview"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Loading