WebPubSubReplicaResource.UpdateAsync Method

Definition

Operation to update an exiting replica.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/replicas/{replicaName}.
  • Operation Id. : Replicas_Update.
  • Default Api Version. : 2025-08-01-preview.
  • Resource. : WebPubSubReplicaResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WebPubSub.WebPubSubReplicaResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.WebPubSub.WebPubSubReplicaData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.WebPubSub.WebPubSubReplicaData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WebPubSub.WebPubSubReplicaResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.WebPubSub.WebPubSubReplicaData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WebPubSub.WebPubSubReplicaResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As WebPubSubReplicaData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of WebPubSubReplicaResource))

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
WebPubSubReplicaData

Parameters for the update operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to