Share via


MobileNetworkSiteResource.DeletePacketCoreAsync Method

Definition

Deletes a packet core under the specified mobile network site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/sites/{siteName}/deletePacketCore
  • Operation Id: Sites_DeletePacketCore
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSiteResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeletePacketCoreAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MobileNetwork.Models.SiteDeletePacketCore siteDeletePacketCore, System.Threading.CancellationToken cancellationToken = default);
abstract member DeletePacketCoreAsync : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.Models.SiteDeletePacketCore * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.DeletePacketCoreAsync : Azure.WaitUntil * Azure.ResourceManager.MobileNetwork.Models.SiteDeletePacketCore * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function DeletePacketCoreAsync (waitUntil As WaitUntil, siteDeletePacketCore As SiteDeletePacketCore, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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.

siteDeletePacketCore
SiteDeletePacketCore

Parameters supplied to delete a packet core under a site.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

siteDeletePacketCore is null.

Applies to