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
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.0b1 (2021-07-19)

**Features**

- Added operation group BackupsOperations

## 9.0.0 (2021-07-01)

**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/[email protected]",
"@autorest/[email protected]"
],
"commit": "ecf31fd7a1f63ee6726d6fa944de7ccf7eb1b6b7",
"commit": "1a22ee0be121e33f98b6290cc737f613f2e1a2d8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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/[email protected] --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/mysql/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/[email protected] --use=@autorest/[email protected] --version=3.4.5",
"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 = "9.0.0"
VERSION = "9.1.0b1"
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.0.0"
VERSION = "9.1.0b1"
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 = "1.0.0b1"
VERSION = "9.1.0b1"
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 = "1.0.0b1"
VERSION = "9.1.0b1"
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.0.0"
VERSION = "9.1.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ 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.

Expand Down Expand Up @@ -97,4 +97,4 @@ async def execute(
return cls(pipeline_response, deserialized, {})

return deserialized
execute.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSQL/checkNameAvailability'} # type: ignore
execute.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability'} # type: ignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def _create_or_update_initial(
server_name: str,
configuration_name: str,
parameters: "_models.Configuration",
**kwargs
**kwargs: Any
) -> Optional["_models.Configuration"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.Configuration"]]
error_map = {
Expand All @@ -64,7 +64,7 @@ async def _create_or_update_initial(
url = self._create_or_update_initial.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'serverName': self._serialize.url("server_name", server_name, 'str'),
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
}
Expand Down Expand Up @@ -98,15 +98,15 @@ async def _create_or_update_initial(
return cls(pipeline_response, deserialized, {})

return deserialized
_create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore
_create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore

async def begin_create_or_update(
self,
resource_group_name: str,
server_name: str,
configuration_name: str,
parameters: "_models.Configuration",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.Configuration"]:
"""Updates a configuration of a server.

Expand All @@ -120,8 +120,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.rdbms.postgresql.models.Configuration
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either Configuration or the result of cls(response)
Expand Down Expand Up @@ -157,7 +157,7 @@ def get_long_running_output(pipeline_response):

path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'serverName': self._serialize.url("server_name", server_name, 'str'),
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
}
Expand All @@ -174,14 +174,14 @@ def get_long_running_output(pipeline_response):
)
else:
return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method)
begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore
begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore

async def get(
self,
resource_group_name: str,
server_name: str,
configuration_name: str,
**kwargs
**kwargs: Any
) -> "_models.Configuration":
"""Gets information about a configuration of server.

Expand All @@ -208,7 +208,7 @@ async def get(
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'serverName': self._serialize.url("server_name", server_name, 'str'),
'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'),
}
Expand Down Expand Up @@ -236,13 +236,13 @@ async def get(
return cls(pipeline_response, deserialized, {})

return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}'} # type: ignore

def list_by_server(
self,
resource_group_name: str,
server_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ConfigurationListResult"]:
"""List all the configurations in a given server.

Expand Down Expand Up @@ -273,7 +273,7 @@ def prepare_request(next_link=None):
url = self.list_by_server.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'serverName': self._serialize.url("server_name", server_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
Expand Down Expand Up @@ -310,4 +310,4 @@ async def get_next(next_link=None):
return AsyncItemPaged(
get_next, extract_data
)
list_by_server.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSQL/servers/{serverName}/configurations'} # type: ignore
list_by_server.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations'} # type: ignore
Loading