MobileNetworkSimPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all the SIM policies in a mobile network.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to