共用方式為


PeeringServicePrefixCollection.GetAllAsync(String, CancellationToken) Method

Definition

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.

Applies to