CdnCustomDomainResource.EnableCustomHttps Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enable https delivery of the custom domain.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps
- Operation Id: CdnCustomDomains_EnableCustomHttps
- Default Api Version: 2024-02-01
- Resource: CdnCustomDomainResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource> EnableCustomHttps (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableCustomHttps : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource>
override this.EnableCustomHttps : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource>
Public Overridable Function EnableCustomHttps (waitUntil As WaitUntil, Optional content As CustomDomainHttpsContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of CdnCustomDomainResource)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- content
- CustomDomainHttpsContent
The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.
- cancellationToken
- CancellationToken
The cancellation token to use.