PeeringServicePrefixCollection.GetAllAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all prefixes under the given subscription, resource group and peering service.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes
- Operation Id: Prefixes_ListByPeeringService
public virtual Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource> GetAllAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource>
Public Overridable Function GetAllAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PeeringServicePrefixResource)
Parameters
- expand
- String
The properties to be expanded.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of PeeringServicePrefixResource that may take multiple service requests to iterate over.