Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure.network.operations

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

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 Network Rest API operations.
express_route_provider_portexecproviderport, subscriptionIdRetrieves detail of a provider port.
check_dns_name_availabilityexeclocation, domainNameLabel, subscriptionIdChecks whether a domain name in the cloudapp.azure.com zone is available for use.
supported_security_providersexecsubscriptionId, resourceGroupName, virtualWANNameGives the supported security providers for the virtual wan.
generatevirtualwanvpnserverconfigurationvpnprofileexecsubscriptionId, resourceGroupName, virtualWANNameGenerates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group.
disconnect_active_sessionsexecresourceGroupName, bastionHostName, subscriptionIdReturns the list of currently active sessions on the Bastion.

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
bastionHostNamestringThe name of the Bastion Host.
domainNameLabelstringThe domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
locationstringThe location of the domain name.
providerportstringThe name of the provider port.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualWANNamestringThe name of the VirtualWAN whose associated VpnServerConfigurations is needed.

SELECT examples

Lists all of the available Network Rest API operations.

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

Lifecycle Methods

Retrieves detail of a provider port.

EXEC azure.network.operations.express_route_provider_port 
@providerport='{{ providerport }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;