Skip to main content

managed_database_move_operations

Creates, updates, deletes, gets or lists a managed_database_move_operations resource.

Overview

Namemanaged_database_move_operations
TypeResource
Idazure.sql.managed_database_move_operations

Fields

The following fields are returned by SELECT queries:

Successfully retrieved move operation result.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, locationName, operationId, subscriptionIdGets a managed database move operation.
list_by_locationselectresourceGroupName, locationName, subscriptionIdonlyLatestPerDatabase, $filterLists managed database move operations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationNamestring
operationIdstring (uuid)
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.
$filterstringAn OData filter expression that filters elements in the collection.
onlyLatestPerDatabasebooleanWhether or not to only get the latest operation for each database. Has higher priority than $filter.

SELECT examples

Gets a managed database move operation.

SELECT
properties
FROM azure.sql.managed_database_move_operations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND locationName = '{{ locationName }}' -- required
AND operationId = '{{ operationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;