Share via


PacketCoreControlPlaneResource.CollectDiagnosticsPackage Method

Definition

Collect a diagnostics package for the specified packet core control plane. This action will upload the diagnostics to a storage account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/collectDiagnosticsPackage
  • Operation Id: PacketCoreControlPlanes_CollectDiagnosticsPackage
  • Default Api Version: 2024-02-01
  • Resource: PacketCoreControlPlaneResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.Models.AsyncOperationStatus> CollectDiagnosticsPackage (Azure.WaitUntil waitUntil, Azure.ResourceManager.MobileNetwork.Models.PacketCoreControlPlaneCollectDiagnosticsPackage packetCoreControlPlaneCollectDiagnosticsPackage, System.Threading.CancellationToken cancellationToken = default);
abstract member CollectDiagnosticsPackage : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.Models.PacketCoreControlPlaneCollectDiagnosticsPackage * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.Models.AsyncOperationStatus>
override this.CollectDiagnosticsPackage : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.Models.PacketCoreControlPlaneCollectDiagnosticsPackage * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MobileNetwork.Models.AsyncOperationStatus>
Public Overridable Function CollectDiagnosticsPackage (waitUntil As WaitUntil, packetCoreControlPlaneCollectDiagnosticsPackage As PacketCoreControlPlaneCollectDiagnosticsPackage, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AsyncOperationStatus)

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.

packetCoreControlPlaneCollectDiagnosticsPackage
PacketCoreControlPlaneCollectDiagnosticsPackage

Parameters supplied to the packet core control plane collect diagnostics package operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

packetCoreControlPlaneCollectDiagnosticsPackage is null.

Applies to