共用方式為


FrontendEndpointResource.EnableHttpsAsync Method

Definition

Enables a frontendEndpoint for HTTPS traffic

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps
  • Operation Id: FrontendEndpoints_EnableHttps
  • Default Api Version: 2021-06-01
  • Resource: FrontendEndpointResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> EnableHttpsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration customHttpsConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableHttpsAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.EnableHttpsAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.CustomHttpsConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function EnableHttpsAsync (waitUntil As WaitUntil, customHttpsConfiguration As CustomHttpsConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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.

customHttpsConfiguration
CustomHttpsConfiguration

The configuration specifying how to enable HTTPS.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

customHttpsConfiguration is null.

Applies to