Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure.cdn.operations

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
namestringOperation name: {provider}/{resource}/{operation}
displayThe object that represents the operation.
isDataActionbooleanIndicates whether the operation is a data action
originstringThe origin of operations.
propertiesobjectProperties of operation, include metric specifications. (x-ms-client-name: OperationProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists all of the available CDN REST API operations.
check_endpoint_name_availabilityexecsubscriptionId, resourceGroupName, name, typeCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
check_name_availabilityexecname, typeCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
check_name_availability_with_subscriptionexecsubscriptionId, name, typeCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
validate_probeexecsubscriptionId, probeURLCheck if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.

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
resourceGroupNamestringName of the Resource group within the Azure subscription.
subscriptionIdstringAzure Subscription ID.

SELECT examples

Lists all of the available CDN REST API operations.

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

Lifecycle Methods

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.

EXEC azure.cdn.operations.check_endpoint_name_availability 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}",
"autoGeneratedDomainNameLabelScope": "{{ autoGeneratedDomainNameLabelScope }}"
}'
;