Skip to content

Commit

Permalink
[AutoRelease] t2-rdbms-2021-09-02-91864 (#20513)
Browse files Browse the repository at this point in the history
* CodeGen from PR 15892 in Azure/azure-rest-api-specs
Update readme.python.md (#15892)

* version,CHANGELOG

* Update CHANGELOG.md

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 Sep 3, 2021
1 parent a6cfc77 commit f94ea1f
Show file tree
Hide file tree
Showing 39 changed files with 87 additions and 164 deletions.
6 changes: 6 additions & 0 deletions sdk/rdbms/azure-mgmt-rdbms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 9.1.0 (2021-09-02)

**Features**

- Upgrade api-version to `2021-05-01`

## 9.1.0b1 (2021-07-19)

**Features**
Expand Down
6 changes: 3 additions & 3 deletions sdk/rdbms/azure-mgmt-rdbms/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "1a22ee0be121e33f98b6290cc737f613f2e1a2d8",
"commit": "5d442a18cbb7ede47abfd7ae8b7acc20cc1d7946",
"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.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/postgresql/resource-manager/readme.md"
"autorest_command": "autorest specification/mysql/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.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/mysql/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 = "9.1.0b1"
VERSION = "9.1.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 = "9.1.0b1"
VERSION = "9.1.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 = "9.1.0b1"
VERSION = "9.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,8 @@ class ServerPropertiesForDefaultCreate(ServerPropertiesForCreate):
Possible values include: "Default", "PointInTimeRestore", "GeoRestore", "Replica".
:type create_mode: str or ~azure.mgmt.rdbms.mysql.models.CreateMode
:param administrator_login: Required. The administrator's login name of a server. Can only be
specified when the server is being created (and is required for creation).
specified when the server is being created (and is required for creation). The login name is
required when updating password.
:type administrator_login: str
:param administrator_login_password: Required. The password of the administrator login.
:type administrator_login_password: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,8 @@ class ServerPropertiesForDefaultCreate(ServerPropertiesForCreate):
Possible values include: "Default", "PointInTimeRestore", "GeoRestore", "Replica".
:type create_mode: str or ~azure.mgmt.rdbms.mysql.models.CreateMode
:param administrator_login: Required. The administrator's login name of a server. Can only be
specified when the server is being created (and is required for creation).
specified when the server is being created (and is required for creation). The login name is
required when updating password.
:type administrator_login: str
:param administrator_login_password: Required. The password of the administrator login.
:type administrator_login_password: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-05-01-preview"
self.api_version = "2021-05-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": "2021-05-01-preview",
"total_api_version_list": ["2021-05-01-preview"],
"chosen_version": "2021-05-01",
"total_api_version_list": ["2021-05-01"],
"client": {
"name": "MySQLManagementClient",
"filename": "_my_sql_management_client",
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 = "9.1.0b1"
VERSION = "9.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-05-01-preview"
self.api_version = "2021-05-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 @@ -66,7 +66,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -125,7 +125,7 @@ def list_by_server(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def execute(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def execute(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -201,7 +201,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -250,7 +250,7 @@ async def _batch_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -386,7 +386,7 @@ def list_by_server(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -191,7 +191,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -319,7 +319,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -378,7 +378,7 @@ def list_by_server(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -191,7 +191,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -319,7 +319,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -378,7 +378,7 @@ def list_by_server(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def execute(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def list_by_server(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -185,7 +185,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -311,7 +311,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -430,7 +430,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -485,7 +485,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -552,7 +552,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -613,7 +613,7 @@ async def _failover_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -722,7 +722,7 @@ async def _restart_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -839,7 +839,7 @@ async def _start_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -947,7 +947,7 @@ async def _stop_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-05-01-preview"
api_version = "2021-05-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from ._models_py3 import FirewallRuleListResult
from ._models_py3 import GetPrivateDnsZoneSuffixResponse
from ._models_py3 import HighAvailability
from ._models_py3 import Identity
from ._models_py3 import MaintenanceWindow
from ._models_py3 import NameAvailability
from ._models_py3 import NameAvailabilityRequest
Expand Down Expand Up @@ -66,7 +65,6 @@
from ._models import FirewallRuleListResult # type: ignore
from ._models import GetPrivateDnsZoneSuffixResponse # type: ignore
from ._models import HighAvailability # type: ignore
from ._models import Identity # type: ignore
from ._models import MaintenanceWindow # type: ignore
from ._models import NameAvailability # type: ignore
from ._models import NameAvailabilityRequest # type: ignore
Expand Down Expand Up @@ -126,7 +124,6 @@
'FirewallRuleListResult',
'GetPrivateDnsZoneSuffixResponse',
'HighAvailability',
'Identity',
'MaintenanceWindow',
'NameAvailability',
'NameAvailabilityRequest',
Expand Down
Loading

0 comments on commit f94ea1f

Please sign in to comment.