Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure.data_box.operations

Fields

The following fields are returned by SELECT queries:

The supported operations list.

NameDatatypeDescription
namestringName of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}
displayobjectOperation display values.
isDataActionbooleanIndicates whether the operation is a data action
originstringOrigin of the operation. Can be : user|system|user,system
propertiesobjectOperation properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectThis method gets all the operations.
mitigateexecjobName, subscriptionId, resourceGroupNameRequest 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.

NameDatatypeDescription
jobNamestringThe 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
resourceGroupNamestringThe Resource Group Name
subscriptionIdstringThe Subscription Id

SELECT examples

This method gets all the operations.

SELECT
name,
display,
isDataAction,
origin,
properties
FROM azure.data_box.operations
;

Lifecycle Methods

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 }}"
}'
;