Custom Domains - Disable Custom Https
Disable https delivery of the custom domain.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps?api-version=2024-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
custom
|
path | True |
string |
Name of the custom domain within an endpoint. |
endpoint
|
path | True |
string |
Name of the endpoint under the profile which is unique globally. |
profile
|
path | True |
string |
Name of the CDN profile which is unique within the resource group. |
resource
|
path | True |
string |
Name of the Resource group within the Azure subscription. Regex pattern: |
subscription
|
path | True |
string |
Azure Subscription ID. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. Current version is 2024-02-01. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
202 Accepted |
Accepted and the operation will complete asynchronously. Headers location: string |
|
Other Status Codes |
CDN error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
CustomDomains_DisableCustomHttps
Sample request
Sample response
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Disabled",
"customHttpsProvisioningSubstate": "CertificateDeleted",
"validationData": null
}
}
azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-02-01
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": null
}
}
Definitions
Name | Description |
---|---|
Cdn |
Defines the parameters for using CDN managed certificate for securing custom domain. |
Cdn |
Defines the certificate source parameters using CDN managed certificate for enabling SSL. |
Certificate |
Type of certificate used |
Custom |
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com. |
Custom |
Resource status of the custom domain. |
Custom |
Provisioning status of the custom domain. |
Custom |
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. |
Delete |
Describes the action that shall be taken when the certificate is removed from Key Vault. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Identity |
The type of identity that creates/modifies resources |
Key |
Describes the parameters for using a user's KeyVault certificate for securing custom domain. |
Minimum |
TLS protocol version that will be used for Https |
Protocol |
Defines the TLS extension protocol that is used for secure delivery. |
System |
Read only system data |
Update |
Describes the action that shall be taken when the certificate is updated in Key Vault. |
User |
Defines the certificate source parameters using user's keyvault certificate for enabling SSL. |
CdnCertificateSourceParameters
Defines the parameters for using CDN managed certificate for securing custom domain.
Name | Type | Description |
---|---|---|
certificateType |
Type of certificate used |
|
typeName | string: |
CdnManagedHttpsParameters
Defines the certificate source parameters using CDN managed certificate for enabling SSL.
Name | Type | Description |
---|---|---|
certificateSource |
string:
Cdn |
Defines the source of the SSL certificate. |
certificateSourceParameters |
Defines the certificate source parameters using CDN managed certificate for enabling SSL. |
|
minimumTlsVersion |
TLS protocol version that will be used for Https |
|
protocolType |
Defines the TLS extension protocol that is used for secure delivery. |
CertificateType
Type of certificate used
Name | Type | Description |
---|---|---|
Dedicated |
string |
|
Shared |
string |
CustomDomain
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.customHttpsParameters | CustomDomainHttpsParameters: |
Certificate parameters for securing custom HTTPS |
properties.customHttpsProvisioningState |
Provisioning status of the custom domain. |
|
properties.customHttpsProvisioningSubstate |
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. |
|
properties.hostName |
string |
The host name of the custom domain. Must be a domain name. |
properties.provisioningState |
Provisioning status of Custom Https of the custom domain. |
|
properties.resourceState |
Resource status of the custom domain. |
|
properties.validationData |
string |
Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. |
systemData |
Read only system data |
|
type |
string |
Resource type. |
CustomDomainResourceState
Resource status of the custom domain.
Name | Type | Description |
---|---|---|
Active |
string |
|
Creating |
string |
|
Deleting |
string |
CustomHttpsProvisioningState
Provisioning status of the custom domain.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Disabling |
string |
|
Enabled |
string |
|
Enabling |
string |
|
Failed |
string |
CustomHttpsProvisioningSubstate
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
Name | Type | Description |
---|---|---|
CertificateDeleted |
string |
|
CertificateDeployed |
string |
|
DeletingCertificate |
string |
|
DeployingCertificate |
string |
|
DomainControlValidationRequestApproved |
string |
|
DomainControlValidationRequestRejected |
string |
|
DomainControlValidationRequestTimedOut |
string |
|
IssuingCertificate |
string |
|
PendingDomainControlValidationREquestApproval |
string |
|
SubmittingDomainControlValidationRequest |
string |
DeleteRule
Describes the action that shall be taken when the certificate is removed from Key Vault.
Name | Type | Description |
---|---|---|
NoAction |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
IdentityType
The type of identity that creates/modifies resources
Name | Type | Description |
---|---|---|
application |
string |
|
key |
string |
|
managedIdentity |
string |
|
user |
string |
KeyVaultCertificateSourceParameters
Describes the parameters for using a user's KeyVault certificate for securing custom domain.
Name | Type | Description |
---|---|---|
deleteRule |
Describes the action that shall be taken when the certificate is removed from Key Vault. |
|
resourceGroupName |
string |
Resource group of the user's Key Vault containing the SSL certificate |
secretName |
string |
The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. |
secretVersion |
string |
The version(GUID) of Key Vault Secret in Key Vault. |
subscriptionId |
string |
Subscription Id of the user's Key Vault containing the SSL certificate |
typeName | string: | |
updateRule |
Describes the action that shall be taken when the certificate is updated in Key Vault. |
|
vaultName |
string |
The name of the user's Key Vault containing the SSL certificate |
MinimumTlsVersion
TLS protocol version that will be used for Https
Name | Type | Description |
---|---|---|
None |
string |
|
TLS10 |
string |
|
TLS12 |
string |
ProtocolType
Defines the TLS extension protocol that is used for secure delivery.
Name | Type | Description |
---|---|---|
IPBased |
string |
|
ServerNameIndication |
string |
SystemData
Read only system data
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC) |
createdBy |
string |
An identifier for the identity that created the resource |
createdByType |
The type of identity that created the resource |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
An identifier for the identity that last modified the resource |
lastModifiedByType |
The type of identity that last modified the resource |
UpdateRule
Describes the action that shall be taken when the certificate is updated in Key Vault.
Name | Type | Description |
---|---|---|
NoAction |
string |
UserManagedHttpsParameters
Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
Name | Type | Description |
---|---|---|
certificateSource |
string:
Azure |
Defines the source of the SSL certificate. |
certificateSourceParameters |
Defines the certificate source parameters using user's keyvault certificate for enabling SSL. |
|
minimumTlsVersion |
TLS protocol version that will be used for Https |
|
protocolType |
Defines the TLS extension protocol that is used for secure delivery. |