operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.cdn.operations |
Fields
The following fields are returned by SELECT
queries:
- list
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
name | string | Operation name: {provider}/{resource}/{operation} |
display |
| The object that represents the operation. |
isDataAction | boolean | Indicates whether the operation is a data action |
origin | string | The origin of operations. |
properties | object | Properties of operation, include metric specifications. (x-ms-client-name: OperationProperties) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | Lists all of the available CDN REST API operations. | ||
check_endpoint_name_availability | exec | subscriptionId , resourceGroupName , name , type | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. | |
check_name_availability | exec | name , type | Check 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_subscription | exec | subscriptionId , name , type | Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. | |
validate_probe | exec | subscriptionId , probeURL | Check 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | Name of the Resource group within the Azure subscription. |
subscriptionId | string | Azure Subscription ID. |
SELECT
examples
- list
Lists all of the available CDN REST API operations.
SELECT
name,
display,
isDataAction,
origin,
properties
FROM azure.cdn.operations
;
Lifecycle Methods
- check_endpoint_name_availability
- check_name_availability
- check_name_availability_with_subscription
- validate_probe
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 }}"
}'
;
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
EXEC azure.cdn.operations.check_name_availability
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
EXEC azure.cdn.operations.check_name_availability_with_subscription
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Check 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.
EXEC azure.cdn.operations.validate_probe
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"probeURL": "{{ probeURL }}"
}'
;