Skip to main content

sql_operations_status_controller_sql_operation_status

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

Overview

Namesql_operations_status_controller_sql_operation_status
TypeResource
Idazure.migrate.sql_operations_status_controller_sql_operation_status

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
idstringGets the Id.
namestringGets the operation name.
endTimestringGets the start time.
errorobjectGets the error.
propertiesobjectOperation status properties
startTimestringGets the start time.
statusstringGets the status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, siteName, sqlSiteName, operationStatusNameMethod to get operation status.

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
operationStatusNamestringOperation status Arm Name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
siteNamestringSite name
sqlSiteNamestringSQL site name.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Method to get operation status.

SELECT
id,
name,
endTime,
error,
properties,
startTime,
status
FROM azure.migrate.sql_operations_status_controller_sql_operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND siteName = '{{ siteName }}' -- required
AND sqlSiteName = '{{ sqlSiteName }}' -- required
AND operationStatusName = '{{ operationStatusName }}' -- required
;