operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.dev_center.operations |
Fields
The following fields are returned by SELECT
queries:
- list
OK. The request has succeeded.
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 | Lists all of the available resource provider operations. | ||
check_name_availability_execute | exec | subscriptionId | Check the availability of name for resource | |
check_scoped_name_availability_execute | exec | subscriptionId | Check the availability of name for resource |
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 |
---|---|---|
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
Lists all of the available resource provider operations.
SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure.dev_center.operations
;
Lifecycle Methods
- check_name_availability_execute
- check_scoped_name_availability_execute
Check the availability of name for resource
EXEC azure.dev_center.operations.check_name_availability_execute
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Check the availability of name for resource
EXEC azure.dev_center.operations.check_scoped_name_availability_execute
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}",
"scope": "{{ scope }}"
}'
;