Skip to main content

database_operations

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

Overview

Namedatabase_operations
TypeResource
Idazure.sql.database_operations

Fields

NameDatatypeDescription
propertiesobjectThe properties of a database operation.

Methods

NameAccessible byRequired ParamsDescription
list_by_databaseSELECTdatabaseName, resourceGroupName, serverName, subscriptionIdGets a list of operations performed on the database.
cancelEXECdatabaseName, operationId, resourceGroupName, serverName, subscriptionIdCancels the asynchronous operation on the database.

SELECT examples

Gets a list of operations performed on the database.

SELECT
properties
FROM azure.sql.database_operations
WHERE databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';