BackupsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:backups> attribute.
Constructor
BackupsOperations(*args, **kwargs)
Methods
| get |
List all the backups for a given server. |
| list_by_server |
List all the backups for a given server. |
get
List all the backups for a given server.
get(resource_group_name: str, server_name: str, backup_name: str, **kwargs: Any) -> ServerBackup
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
server_name
Required
|
The name of the server. Required. |
|
backup_name
Required
|
The name of the backup. Required. |
Returns
| Type | Description |
|---|---|
|
ServerBackup or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_server
List all the backups for a given server.
list_by_server(resource_group_name: str, server_name: str, **kwargs: Any) -> ItemPaged[ServerBackup]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
server_name
Required
|
The name of the server. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either ServerBackup or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.rdbms.mysql_flexibleservers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv198\\Lib\\site-packages\\azure\\mgmt\\rdbms\\mysql_flexibleservers\\models\\__init__.py'>