Skip to main content

profiles

Creates, updates, deletes, gets or lists a profiles resource.

Overview

Nameprofiles
TypeResource
Idazure.cdn.profiles

Fields

NameDatatypeDescription
extended_propertiestextfield from the properties object
front_door_idtextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
kindtextKind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
locationtextResource location.
log_scrubbingtextfield from the properties object
origin_response_timeout_secondstextfield from the properties object
profileNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
skutextStandard_Verizon = The SKU name for a Standard Verizon CDN profile.

Premium_Verizon = The SKU name for a Premium Verizon CDN profile. Custom_Verizon = The SKU name for a Custom Verizon CDN profile. Standard_Akamai = The SKU name for an Akamai CDN profile. Standard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model. Standard_Microsoft = The SKU name for a Standard Microsoft CDN profile. Standard_AzureFrontDoor = The SKU name for an Azure Front Door Standard profile. Premium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile. Standard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model. Standard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model. StandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model. StandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model. StandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model. | | subscriptionId | text | field from the properties object | | tags | text | Resource tags. |

Methods

NameAccessible byRequired ParamsDescription
getSELECTprofileName, resourceGroupName, subscriptionIdGets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
listSELECTsubscriptionIdLists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
createINSERTprofileName, resourceGroupName, subscriptionId, data__skuCreates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
deleteDELETEprofileName, resourceGroupName, subscriptionIdDeletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.
updateUPDATEprofileName, resourceGroupName, subscriptionIdUpdates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
can_migrateEXECresourceGroupName, subscriptionId, data__classicResourceReferenceChecks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
generate_sso_uriEXECprofileName, resourceGroupName, subscriptionIdGenerates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
migrateEXECresourceGroupName, subscriptionId, data__classicResourceReference, data__profileName, data__skuMigrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
migration_commitEXECprofileName, resourceGroupName, subscriptionIdCommit the migrated Azure Frontdoor(Standard/Premium) profile.

SELECT examples

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

SELECT
extended_properties,
front_door_id,
identity,
kind,
location,
log_scrubbing,
origin_response_timeout_seconds,
profileName,
provisioning_state,
resourceGroupName,
resource_state,
sku,
subscriptionId,
tags
FROM azure.cdn.vw_profiles
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new profiles resource.

/*+ create */
INSERT INTO azure.cdn.profiles (
profileName,
resourceGroupName,
subscriptionId,
data__sku,
location,
tags,
sku,
identity,
properties
)
SELECT
'{{ profileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__sku }}',
'{{ location }}',
'{{ tags }}',
'{{ sku }}',
'{{ identity }}',
'{{ properties }}'
;

UPDATE example

Updates a profiles resource.

/*+ update */
UPDATE azure.cdn.profiles
SET
tags = '{{ tags }}',
identity = '{{ identity }}',
properties = '{{ properties }}'
WHERE
profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified profiles resource.

/*+ delete */
DELETE FROM azure.cdn.profiles
WHERE profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';