Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure_extras.ag_food_platform.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
listselectLists the available operations of Microsoft.AgFoodPlatform resource provider.
check_name_availability_check_name_availabilityexecsubscriptionIdChecks the name availability of the resource with requested resource name.

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
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Lists the available operations of Microsoft.AgFoodPlatform resource provider.

SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure_extras.ag_food_platform.operations
;

Lifecycle Methods

Checks the name availability of the resource with requested resource name.

EXEC azure_extras.ag_food_platform.operations.check_name_availability_check_name_availability 
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;