Dela via


TrafficControllerResource.UpdateAsync Method

Definition

Update a TrafficController

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • Operation Id: TrafficControllerInterface_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>> UpdateAsync (Azure.ResourceManager.ServiceNetworking.Models.TrafficControllerPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.TrafficControllerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>>
override this.UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.TrafficControllerPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>>
Public Overridable Function UpdateAsync (patch As TrafficControllerPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficControllerResource))

Parameters

patch
TrafficControllerPatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to