共用方式為


TrafficControllerResource.Update Method

Definition

Update a TrafficController

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