Skip to main content

afd_profiles

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

Overview

Nameafd_profiles
TypeResource
Idazure.cdn.afd_profiles

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_endpoint_name_availabilityexecsubscriptionId, resourceGroupName, profileName, name, typeCheck the availability of an afdx endpoint name, and return the globally unique endpoint host name.
check_host_name_availabilityexecresourceGroupName, profileName, subscriptionId, hostNameValidates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
validate_secretexecresourceGroupName, profileName, subscriptionId, secretSource, secretTypeValidate a Secret in the profile.
upgradeexecresourceGroupName, profileName, subscriptionId, wafMappingListUpgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.

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
profileNamestringName of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
resourceGroupNamestringName of the Resource group within the Azure subscription.
subscriptionIdstringAzure Subscription ID.

Lifecycle Methods

Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.

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