Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure_extras.developer_hub.operations

Fields

The following fields are returned by SELECT queries:

Operation details.

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
listselectReturns list of operations.
github_oauthexecsubscriptionId, location
github_oauth_callbackexecsubscriptionId, location, code, state
generate_preview_artifactsexecsubscriptionId, location

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
codestringThe code response from authenticating the GitHub App.
locationstringThe name of the Azure region.
statestringThe state response from authenticating the GitHub App.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Returns list of operations.

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

Lifecycle Methods

OK

EXEC azure_extras.developer_hub.operations.github_oauth 
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"redirectUrl": "{{ redirectUrl }}"
}'
;