MobileNetworkSliceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all slices in the mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices
  • Operation Id: Slices_ListByMobileNetwork
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSliceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MobileNetworkSliceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MobileNetworkSliceResource that may take multiple service requests to iterate over.

Applies to