Share via


MobileNetworkPacketCaptureResource.UpdateAsync Method

Definition

Creates or updates a packet capture.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCaptures/{packetCaptureName}
  • Operation Id: PacketCaptures_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkPacketCaptureResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As MobileNetworkPacketCaptureData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MobileNetworkPacketCaptureResource))

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
MobileNetworkPacketCaptureData

Parameters supplied to the create or update packet capture operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to