Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure.mysql.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 all of the available REST API operations.
check_virtual_network_subnet_usage_executeexecsubscriptionId, locationNameGet virtual network subnet usage for a given vNet resource id.
check_name_availability_executeexecsubscriptionId, locationName, nameCheck the availability of name for server
check_name_availability_without_location_executeexecsubscriptionId, nameCheck the availability of name for server

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

SELECT examples

Lists all of the available REST API operations.

SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure.mysql.operations
;

Lifecycle Methods

Get virtual network subnet usage for a given vNet resource id.

EXEC azure.mysql.operations.check_virtual_network_subnet_usage_execute 
@subscriptionId='{{ subscriptionId }}' --required,
@locationName='{{ locationName }}' --required
@@json=
'{
"virtualNetworkResourceId": "{{ virtualNetworkResourceId }}"
}'
;