Share via


MockableMobileNetworkSubscriptionResource.GetMobileNetworksAsync Method

Definition

Lists all the mobile networks in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to