Share via


MobileNetworkSliceCollection.GetAll(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.Pageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MobileNetwork.MobileNetworkSliceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MobileNetworkSliceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to