Freigeben über


CdnCustomDomainResource.EnableCustomHttpsAsync Methode

Definition

Aktivieren Sie die HTTPS-Übermittlung der benutzerdefinierten Domäne.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps
  • Vorgangs-IdCdnCustomDomains_EnableCustomHttps
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))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

content
CustomDomainHttpsContent

Die Konfiguration, die angibt, wie HTTPS für die benutzerdefinierte Domäne aktiviert werden soll – mithilfe des verwalteten CDN-Zertifikats oder des benutzereigenen Zertifikats. Wenn dies nicht angegeben ist, verwendet die Aktivierung von ssl standardmäßig das verwaltete CDN-Zertifikat.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: