operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.data_replication.operations |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
name | string | The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" |
actionType | string | Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
display | object | Localized display information for this particular operation. |
isDataAction | boolean | Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. |
origin | string | The 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | Gets the operations. | ||
check_name_availability | exec | subscriptionId , location | Checks the resource name availability. | |
deployment_preflight | exec | subscriptionId , 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.
Name | Datatype | Description |
---|---|---|
deploymentId | string | Deployment Id. |
location | string | The name of the Azure region. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- list
Gets the operations.
SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure.data_replication.operations
;
Lifecycle Methods
- check_name_availability
- deployment_preflight
Checks the resource name availability.
EXEC azure.data_replication.operations.check_name_availability
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Success
EXEC azure.data_replication.operations.deployment_preflight
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@deploymentId='{{ deploymentId }}' --required
@@json=
'{
"resources": "{{ resources }}"
}'
;