Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure.data_replication.operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
actionTypestringEnum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
displayobjectLocalized display information for this particular operation.
isDataActionbooleanWhether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
originstringThe intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectGets the operations.
check_name_availabilityexecsubscriptionId, locationChecks the resource name availability.
deployment_preflightexecsubscriptionId, resourceGroupName, deploymentId

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
deploymentIdstringDeployment Id.
locationstringThe name of the Azure region.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the operations.

SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure.data_replication.operations
;

Lifecycle Methods

Checks the resource name availability.

EXEC azure.data_replication.operations.check_name_availability 
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;