Dela via


CdnCustomDomainResource.EnableCustomHttpsAsync Method

Definition

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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource>> EnableCustomHttpsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableCustomHttpsAsync : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource>>
override this.EnableCustomHttpsAsync : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.CdnCustomDomainResource>>
Public Overridable Function EnableCustomHttpsAsync (waitUntil As WaitUntil, Optional content As CustomDomainHttpsContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

Returns

Applies to