Freigeben über


FrontendEndpointResource.EnableHttps Methode

Definition

Aktiviert front-EndEndpoint für HTTPS-Datenverkehr

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps
  • Vorgang IdFrontendEndpoints_EnableHttps
public virtual Azure.ResourceManager.ArmOperation EnableHttps (Azure.WaitUntil waitUntil, Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration customHttpsConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableHttps : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.EnableHttps : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function EnableHttps (waitUntil As WaitUntil, customHttpsConfiguration As CustomHttpsConfiguration, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameter

waitUntil
WaitUntil

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

customHttpsConfiguration
CustomHttpsConfiguration

Die Konfiguration, die angibt, wie HTTPS aktiviert werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

customHttpsConfiguration ist NULL.

Gilt für: