managed_database_move_operations
Creates, updates, deletes, gets or lists a managed_database_move_operations resource.
Overview
| Name | managed_database_move_operations |
| Type | Resource |
| Id | azure.sql.managed_database_move_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_location
Successfully retrieved move operation result.
| Name | Datatype | Description |
|---|---|---|
properties | object | Resource properties. |
Successfully retrieved move operation results.
| Name | Datatype | Description |
|---|---|---|
properties | object | Resource properties. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, locationName, operationId, subscriptionId | Gets a managed database move operation. | |
list_by_location | select | resourceGroupName, locationName, subscriptionId | onlyLatestPerDatabase, $filter | Lists 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.
| Name | Datatype | Description |
|---|---|---|
locationName | string | |
operationId | string (uuid) | |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
$filter | string | An OData filter expression that filters elements in the collection. |
onlyLatestPerDatabase | boolean | Whether or not to only get the latest operation for each database. Has higher priority than $filter. |
SELECT examples
- get
- list_by_location
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
;
Lists managed database move operations.
SELECT
properties
FROM azure.sql.managed_database_move_operations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND locationName = '{{ locationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND onlyLatestPerDatabase = '{{ onlyLatestPerDatabase }}'
AND $filter = '{{ $filter }}'
;