Condividi tramite


ManagedDatabaseMoveOperationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SqlManagementClient's

<xref:managed_database_move_operations> attribute.

Constructor

ManagedDatabaseMoveOperationsOperations(*args, **kwargs)

Methods

get

Gets a managed database move operation.

list_by_location

Lists managed database move operations.

get

Gets a managed database move operation.

async get(resource_group_name: str, location_name: str, operation_id: str, **kwargs: Any) -> ManagedDatabaseMoveOperationResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

location_name
Required
str

Required.

operation_id
Required
str

Required.

Returns

Type Description

ManagedDatabaseMoveOperationResult or the result of cls(response)

Exceptions

Type Description

list_by_location

Lists managed database move operations.

list_by_location(resource_group_name: str, location_name: str, only_latest_per_database: bool | None = None, filter: str | None = None, **kwargs: Any) -> AsyncItemPaged[ManagedDatabaseMoveOperationResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

location_name
Required
str

Required.

only_latest_per_database

Whether or not to only get the latest operation for each database. Has higher priority than $filter. Default value is None.

Default value: None
filter
str

An OData filter expression that filters elements in the collection. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either ManagedDatabaseMoveOperationResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>