共用方式為


FrontendEndpointResource.EnableHttps 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 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

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