共用方式為


FrontDoorRulesEngineResource.UpdateAsync Method

Definition

Creates a new Rules Engine Configuration with the specified name within the specified Front Door.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}
  • Operation Id: RulesEngines_CreateOrUpdate
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorRulesEngineResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.FrontDoor.FrontDoorRulesEngineResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As FrontDoorRulesEngineData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of FrontDoorRulesEngineResource))

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.

data
FrontDoorRulesEngineData

Rules Engine Configuration properties needed to create a new Rules Engine Configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to