operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.data_box.operations |
Fields
The following fields are returned by SELECT
queries:
- list
The supported operations list.
Name | Datatype | Description |
---|---|---|
name | string | Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} |
display | object | Operation display values. |
isDataAction | boolean | Indicates whether the operation is a data action |
origin | string | Origin of the operation. Can be : user|system|user,system |
properties | object | Operation properties. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | This method gets all the operations. | ||
mitigate | exec | jobName , subscriptionId , resourceGroupName | Request to mitigate for a given job |
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 |
---|---|---|
jobName | string | The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only |
resourceGroupName | string | The Resource Group Name |
subscriptionId | string | The Subscription Id |
SELECT
examples
- list
This method gets all the operations.
SELECT
name,
display,
isDataAction,
origin,
properties
FROM azure.data_box.operations
;
Lifecycle Methods
- mitigate
Request to mitigate for a given job
EXEC azure.data_box.operations.mitigate
@jobName='{{ jobName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required
@@json=
'{
"customerResolutionCode": "{{ customerResolutionCode }}",
"serialNumberCustomerResolutionMap": "{{ serialNumberCustomerResolutionMap }}"
}'
;