Share via


MockableNetworkSubscriptionResource.GetCustomIPPrefixesAsync Method

Definition

Gets all the custom IP prefixes in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to