Microsoft.Cdn (stable:2025-04-15)

2025/03/28 • 115 new methods

CheckEndpointNameAvailability (new)
Description Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/checkEndpointNameAvailability
{
checkEndpointNameAvailabilityInput:
{
name: string ,
type: enum ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
availableHostname: string ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDProfiles_CheckEndpointNameAvailability (new)
Description Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkEndpointNameAvailability
{
checkEndpointNameAvailabilityInput:
{
name: string ,
type: enum ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
availableHostname: string ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDProfiles_ListResourceUsage (new)
Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/usages
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDProfiles_CheckHostNameAvailability (new)
Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkHostNameAvailability
{
resourceGroupName: string ,
profileName: string ,
checkHostNameAvailabilityInput:
{
hostName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDProfiles_ValidateSecret (new)
Description Validate a Secret in the profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/validateSecret
{
resourceGroupName: string ,
profileName: string ,
validateSecretInput:
{
secretType: enum ,
secretSource:
{
id: string ,
}
,
secretVersion: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
status: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDProfiles_Upgrade (new)
Description Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade
{
resourceGroupName: string ,
profileName: string ,
profileUpgradeParameters:
{
wafMappingList:
[
{
securityPolicyName: string ,
changeToWafPolicy:
{
id: string ,
}
,
}
,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_ListByProfile (new)
Description Lists existing AzureFrontDoor domains.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_Get (new)
Description Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_Create (new)
Description Creates a new domain within the specified profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
customDomainName: string ,
customDomain:
{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_Update (new)
Description Updates an existing domain within a profile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
customDomainName: string ,
customDomainUpdateProperties:
{
properties:
{
profileName: string ,
tlsSettings:
{
certificateType: enum ,
cipherSuiteSetType: enum ,
minimumTlsVersion: enum ,
customizedCipherSuiteSet:
{
cipherSuiteSetForTls12:
[
string ,
]
,
cipherSuiteSetForTls13:
[
string ,
]
,
}
,
secret:
{
id: string ,
}
,
}
,
azureDnsZone:
{
id: string ,
}
,
preValidatedCustomDomainResourceId:
{
id: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
domainValidationState: enum ,
hostName: string ,
extendedProperties: object ,
validationProperties:
{
validationToken: string ,
expirationDate: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_Delete (new)
Description Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDCustomDomains_RefreshValidationToken (new)
Description Updates the domain validation token.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/customDomains/{customDomainName}/refreshValidationToken
{
resourceGroupName: string ,
profileName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_ListByProfile (new)
Description Lists existing AzureFrontDoor endpoints.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_Get (new)
Description Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_Create (new)
Description Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
endpoint:
{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_Update (new)
Description Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update domains, use the Update Custom Domain operation.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
endpointUpdateProperties:
{
tags: object ,
properties:
{
profileName: string ,
enabledState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
autoGeneratedDomainNameLabelScope: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_Delete (new)
Description Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_PurgeContent (new)
Description Removes a content from AzureFrontDoor.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
contents:
{
contentPaths:
[
string ,
]
,
domains:
[
string ,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_ListResourceUsage (new)
Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/usages
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDEndpoints_ValidateCustomDomain (new)
Description Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/validateCustomDomain
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainProperties:
{
hostName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
customDomainValidated: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_ListByProfile (new)
Description Lists all of the existing origin groups within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_Get (new)
Description Gets an existing origin group within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_Create (new)
Description Creates a new origin group within the specified profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originGroup:
{
properties: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (201)

{
properties: object ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_Update (new)
Description Updates an existing origin group within a profile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originGroupUpdateProperties:
{
properties:
{
profileName: string ,
loadBalancingSettings:
{
sampleSize: integer ,
successfulSamplesRequired: integer ,
additionalLatencyInMilliseconds: integer ,
}
,
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
sessionAffinityState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_Delete (new)
Description Deletes an existing origin group within a profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOriginGroups_ListResourceUsage (new)
Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile..
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/usages
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_ListByOriginGroup (new)
Description Lists all of the existing origins within an origin group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Get (new)
Description Gets an existing origin within an origin group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Create (new)
Description Creates a new origin within the specified origin group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
origin:
{
properties: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
properties: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Update (new)
Description Updates an existing origin within an origin group.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
originUpdateProperties:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Delete (new)
Description Deletes an existing origin within an origin group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Routes_ListByEndpoint (new)
Description Lists all of the existing origins within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Routes_Get (new)
Description Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
routeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Routes_Create (new)
Description Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
routeName: string ,
route:
{
properties: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
properties: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Routes_Update (new)
Description Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
routeName: string ,
routeUpdateProperties:
{
properties:
{
endpointName: string ,
customDomains:
[
{
id: string ,
isActive: boolean ,
}
,
]
,
originGroup:
{
id: string ,
}
,
originPath: string ,
ruleSets:
[
{
id: string ,
}
,
]
,
supportedProtocols:
[
string ,
]
,
patternsToMatch:
[
string ,
]
,
cacheConfiguration:
{
queryStringCachingBehavior: enum ,
queryParameters: string ,
compressionSettings:
{
contentTypesToCompress:
[
string ,
]
,
isCompressionEnabled: boolean ,
}
,
}
,
forwardingProtocol: enum ,
linkToDefaultDomain: enum ,
httpsRedirect: enum ,
enabledState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Routes_Delete (new)
Description Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
routeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RuleSets_ListByProfile (new)
Description Lists existing AzureFrontDoor rule sets within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
profileName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RuleSets_Get (new)
Description Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RuleSets_Create (new)
Description Creates a new rule set within the specified profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
}
,
}

⚐ Response (201)

{
properties:
{
profileName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RuleSets_Delete (new)
Description Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RuleSets_ListResourceUsage (new)
Description Checks the quota and actual usage of endpoints under the given Azure Front Door profile..
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/usages
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Rules_ListByRuleSet (new)
Description Lists all of the existing delivery rules within a rule set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Rules_Get (new)
Description Gets an existing delivery rule within a rule set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
ruleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Rules_Create (new)
Description Creates a new delivery rule within the specified rule set.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
ruleName: string ,
rule:
{
properties: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (201)

{
properties: object ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Rules_Update (new)
Description Updates an existing delivery rule within a rule set.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
ruleName: string ,
ruleUpdateProperties:
{
properties:
{
ruleSetName: string ,
order: integer ,
conditions:
[
{
name: enum ,
}
,
]
,
actions:
[
{
name: enum ,
}
,
]
,
matchProcessingBehavior: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties: object ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Rules_Delete (new)
Description Deletes an existing delivery rule within a rule set.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
{
resourceGroupName: string ,
profileName: string ,
ruleSetName: string ,
ruleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityPolicies_ListByProfile (new)
Description Lists security policies associated with the profile
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityPolicies_Get (new)
Description Gets an existing security policy within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
{
resourceGroupName: string ,
profileName: string ,
securityPolicyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityPolicies_Create (new)
Description Creates a new security policy within the specified profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
{
resourceGroupName: string ,
profileName: string ,
securityPolicyName: string ,
securityPolicy:
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityPolicies_Patch (new)
Description Updates an existing security policy within a profile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
{
resourceGroupName: string ,
profileName: string ,
securityPolicyName: string ,
securityPolicyUpdateProperties:
{
properties:
{
parameters:
{
type: enum ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityPolicies_Delete (new)
Description Deletes an existing security policy within profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/securityPolicies/{securityPolicyName}
{
resourceGroupName: string ,
profileName: string ,
securityPolicyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_ListByProfile (new)
Description Lists existing AzureFrontDoor secrets.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Get (new)
Description Gets an existing Secret within a profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}
{
resourceGroupName: string ,
profileName: string ,
secretName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Create (new)
Description Creates a new Secret within the specified profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}
{
resourceGroupName: string ,
profileName: string ,
secretName: string ,
secret:
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
profileName: string ,
parameters:
{
type: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Delete (new)
Description Deletes an existing Secret within profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName}
{
resourceGroupName: string ,
profileName: string ,
secretName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetLogAnalyticsMetrics (new)
Description Get log report for AFD profile
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
metrics: array ,
dateTimeBegin: string ,
dateTimeEnd: string ,
granularity: string ,
groupBy: array ,
continents: array ,
countryOrRegions: array ,
customDomains: array ,
protocols: array ,
}

⚐ Response (200)

{
dateTimeBegin: string ,
dateTimeEnd: string ,
granularity: enum ,
series:
[
{
metric: string ,
unit: enum ,
groups:
[
{
name: string ,
value: string ,
}
,
]
,
data:
[
{
dateTime: string ,
value: number ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetLogAnalyticsRankings (new)
Description Get log analytics ranking report for AFD profile
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsRankings
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
rankings: array ,
metrics: array ,
maxRanking: integer ,
dateTimeBegin: string ,
dateTimeEnd: string ,
customDomains: array ,
}

⚐ Response (200)

{
dateTimeBegin: string ,
dateTimeEnd: string ,
tables:
[
{
ranking: string ,
data:
[
{
name: string ,
metrics:
[
{
metric: string ,
value: integer ,
percentage: number ,
}
,
]
,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetLogAnalyticsLocations (new)
Description Get all available location names for AFD log analytics report.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsLocations
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
}

⚐ Response (200)

{
continents:
[
{
id: string ,
}
,
]
,
countryOrRegions:
[
{
id: string ,
continentId: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetLogAnalyticsResources (new)
Description Get all endpoints and custom domains available for AFD log report
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsResources
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
}

⚐ Response (200)

{
endpoints:
[
{
id: string ,
name: string ,
history: boolean ,
customDomains:
[
{
id: string ,
name: string ,
endpointId: string ,
history: boolean ,
}
,
]
,
}
,
]
,
customDomains:
[
{
id: string ,
name: string ,
endpointId: string ,
history: boolean ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetWafLogAnalyticsMetrics (new)
Description Get Waf related log analytics report for AFD profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
metrics: array ,
dateTimeBegin: string ,
dateTimeEnd: string ,
granularity: string ,
actions: array ,
groupBy: array ,
ruleTypes: array ,
}

⚐ Response (200)

{
dateTimeBegin: string ,
dateTimeEnd: string ,
granularity: enum ,
series:
[
{
metric: string ,
unit: enum ,
groups:
[
{
name: string ,
value: string ,
}
,
]
,
data:
[
{
dateTime: string ,
value: number ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogAnalytics_GetWafLogAnalyticsRankings (new)
Description Get WAF log analytics charts for AFD profile
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
profileName: string ,
metrics: array ,
dateTimeBegin: string ,
dateTimeEnd: string ,
maxRanking: integer ,
rankings: array ,
actions: array ,
ruleTypes: array ,
}

⚐ Response (200)

{
dateTimeBegin: string ,
dateTimeEnd: string ,
groups:
[
string ,
]
,
data:
[
{
groupValues:
[
string ,
]
,
metrics:
[
{
metric: string ,
value: integer ,
percentage: number ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_List (new)
Description Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_ListByResourceGroup (new)
Description Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_Get (new)
Description Gets 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.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_Create (new)
Description Creates 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.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
profile:
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_Update (new)
Description Updates 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.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
profileUpdateParameters:
{
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
sku:
{
name: enum ,
}
,
kind: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
resourceState: enum ,
provisioningState: enum ,
extendedProperties: object ,
frontDoorId: string ,
originResponseTimeoutSeconds: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_Delete (new)
Description Deletes 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.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_CanMigrate (new)
Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/canMigrate
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
canMigrateParameters:
{
classicResourceReference:
{
id: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
properties:
{
canMigrate: boolean ,
defaultSku: enum ,
errors:
[
{
code: string ,
resourceName: string ,
errorMessage: string ,
nextSteps: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_Migrate (new)
Description Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
migrationParameters:
{
sku:
{
name: enum ,
}
,
classicResourceReference:
{
id: string ,
}
,
profileName: string ,
migrationWebApplicationFirewallMappings:
[
{
migratedFrom:
{
id: string ,
}
,
migratedTo:
{
id: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
properties:
{
migratedProfileResourceId:
{
id: string ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
id: string ,
type: string ,
properties:
{
migratedProfileResourceId:
{
id: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_MigrationCommit (new)
Description Commit the migrated Azure Frontdoor(Standard/Premium) profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationCommit
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_GenerateSsoUri (new)
Description Generates 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.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
ssoUriValue: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_ListSupportedOptimizationTypes (new)
Description Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getSupportedOptimizationTypes
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
supportedOptimizationTypes:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_ListResourceUsage (new)
Description Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkResourceUsage
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_ListByProfile (new)
Description Lists existing CDN endpoints.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints
{
resourceGroupName: string ,
profileName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Get (new)
Description Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Create (new)
Description Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
endpoint:
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Update (new)
Description Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
endpointUpdateProperties:
{
tags: object ,
properties:
{
originPath: string ,
contentTypesToCompress:
[
string ,
]
,
originHostHeader: string ,
isCompressionEnabled: boolean ,
isHttpAllowed: boolean ,
isHttpsAllowed: boolean ,
queryStringCachingBehavior: enum ,
optimizationType: enum ,
probePath: string ,
geoFilters:
[
{
relativePath: string ,
action: enum ,
countryCodes:
[
string ,
]
,
}
,
]
,
defaultOriginGroup:
{
id: string ,
}
,
urlSigningKeys:
[
{
keyId: string ,
keySourceParameters:
{
typeName: enum ,
subscriptionId: string ,
resourceGroupName: string ,
vaultName: string ,
secretName: string ,
secretVersion: string ,
}
,
}
,
]
,
deliveryPolicy:
{
description: string ,
rules:
[
{
name: string ,
order: integer ,
conditions:
[
{
name: enum ,
}
,
]
,
actions:
[
{
name: enum ,
}
,
]
,
}
,
]
,
}
,
webApplicationFirewallPolicyLink:
{
id: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Delete (new)
Description Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Start (new)
Description Starts an existing CDN endpoint that is on a stopped state.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Stop (new)
Description Stops an existing running CDN endpoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
origins:
[
{
name: string ,
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
originGroups:
[
{
name: string ,
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
]
,
customDomains:
[
{
name: string ,
properties:
{
hostName: string ,
validationData: string ,
}
,
}
,
]
,
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_PurgeContent (new)
Description Removes a content from CDN.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
contentFilePaths:
{
contentPaths:
[
string ,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_LoadContent (new)
Description Pre-loads a content to CDN. Available for Verizon Profiles.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
contentFilePaths:
{
contentPaths:
[
string ,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_ValidateCustomDomain (new)
Description Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainProperties:
{
hostName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
customDomainValidated: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_ListResourceUsage (new)
Description Checks the quota and usage of geo filters and custom domains under the given endpoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Origins_ListByEndpoint (new)
Description Lists all of the existing origins within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Origins_Get (new)
Description Gets an existing origin within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Origins_Create (new)
Description Creates a new origin within the specified endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originName: string ,
origin:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Origins_Update (new)
Description Updates an existing origin within an endpoint.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originName: string ,
originUpdateProperties:
{
properties:
{
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
enabled: boolean ,
privateLinkAlias: string ,
privateLinkResourceId: string ,
privateLinkLocation: string ,
privateLinkApprovalMessage: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
privateEndpointStatus: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Origins_Delete (new)
Description Deletes an existing origin within an endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OriginGroups_ListByEndpoint (new)
Description Lists all of the existing origin groups within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OriginGroups_Get (new)
Description Gets an existing origin group within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OriginGroups_Create (new)
Description Creates a new origin group within the specified endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originGroupName: string ,
originGroup:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OriginGroups_Update (new)
Description Updates an existing origin group within an endpoint.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originGroupName: string ,
originGroupUpdateProperties:
{
properties:
{
healthProbeSettings:
{
probePath: string ,
probeRequestType: enum ,
probeProtocol: enum ,
probeIntervalInSeconds: integer ,
}
,
origins:
[
{
id: string ,
}
,
]
,
trafficRestorationTimeToHealedOrNewEndpointsInMinutes: integer ,
responseBasedOriginErrorDetectionSettings:
{
responseBasedDetectedErrorTypes: enum ,
responseBasedFailoverThresholdPercentage: integer ,
httpErrorRanges:
[
{
begin: integer ,
end: integer ,
}
,
]
,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
resourceState: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OriginGroups_Delete (new)
Description Deletes an existing origin group within an endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
originGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_ListByEndpoint (new)
Description Lists all of the existing custom domains within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_Get (new)
Description Gets an existing custom domain within an endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_Create (new)
Description Creates a new custom domain within an endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainName: string ,
customDomainProperties:
{
properties:
{
hostName: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_Delete (new)
Description Deletes an existing custom domain within an endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_DisableCustomHttps (new)
Description Disable https delivery of the custom domain.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomDomains_EnableCustomHttps (new)
Description Enable https delivery of the custom domain.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps
{
resourceGroupName: string ,
profileName: string ,
endpointName: string ,
customDomainName: string ,
customDomainHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
hostName: string ,
resourceState: enum ,
customHttpsProvisioningState: enum ,
customHttpsProvisioningSubstate: enum ,
customHttpsParameters:
{
certificateSource: enum ,
protocolType: enum ,
minimumTlsVersion: enum ,
}
,
validationData: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailability (new)
Description Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Cdn/checkNameAvailability
{
checkNameAvailabilityInput:
{
name: string ,
type: enum ,
}
,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailabilityWithSubscription (new)
Description Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability
{
checkNameAvailabilityInput:
{
name: string ,
type: enum ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ValidateProbe (new)
Description 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.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe
{
validateProbeInput:
{
probeURL: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
isValid: boolean ,
errorCode: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceUsage_List (new)
Description Check the quota and actual usage of the CDN profiles under the given subscription.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
unit: enum ,
currentValue: integer ,
limit: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available CDN REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Cdn/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties:
{
serviceSpecification:
{
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
logFilterPattern: string ,
}
,
]
,
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
availabilities:
[
{
timeGrain: string ,
blobDuration: string ,
}
,
]
,
supportedTimeGrainTypes:
[
string ,
]
,
dimensions:
[
{
name: string ,
displayName: string ,
internalName: string ,
}
,
]
,
fillGapWithZero: boolean ,
metricFilterPattern: string ,
isInternal: boolean ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EdgeNodes_List (new)
Description Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Cdn/edgenodes
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ipAddressGroups:
[
{
deliveryRegion: string ,
ipv4Addresses:
[
{
baseIpAddress: string ,
prefixLength: integer ,
}
,
]
,
ipv6Addresses:
[
{
baseIpAddress: string ,
prefixLength: integer ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_CdnCanMigrateToAfd (new)
Description Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnCanMigrateToAfd
{
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
properties:
{
canMigrate: boolean ,
defaultSku: enum ,
errors:
[
{
code: string ,
resourceName: string ,
errorMessage: string ,
nextSteps: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_CdnMigrateToAfd (new)
Description Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd
{
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
api-version: string ,
migrationParameters:
{
sku:
{
name: enum ,
}
,
migrationEndpointMappings:
[
{
migratedFrom: string ,
migratedTo: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
properties:
{
migratedProfileResourceId:
{
id: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Profiles_MigrationAbort (new)
Description Abort the migration to Azure Frontdoor Premium/Standard.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/migrationAbort
{
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_List (new)
Description Lists all of the protection policies within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Get (new)
Description Retrieve protection policy with specified name within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdate (new)
Description Create or update policy with specified rule set name within a resource group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
cdnWebApplicationFirewallPolicy:
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Update (new)
Description Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
cdnWebApplicationFirewallPolicyPatchParameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
defaultRedirectUrl: string ,
defaultCustomBlockResponseStatusCode: integer ,
defaultCustomBlockResponseBody: string ,
}
,
rateLimitRules:
{
rules:
[
{
rateLimitThreshold: integer ,
rateLimitDurationInMinutes: integer ,
}
,
]
,
}
,
customRules:
{
rules:
[
{
name: string ,
enabledState: enum ,
priority: integer ,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
anomalyScore: integer ,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
endpointLinks:
[
{
id: string ,
}
,
]
,
extendedProperties: object ,
provisioningState: enum ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Delete (new)
Description Deletes Policy
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/cdnWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagedRuleSets_List (new)
Description Lists all available managed rule sets.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
ruleSetType: string ,
ruleSetVersion: string ,
ruleGroups:
[
{
ruleGroupName: string ,
description: string ,
rules:
[
{
ruleId: string ,
description: string ,
}
,
]
,
}
,
]
,
}
,
sku:
{
name: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}