共用方式為


PeeringServicePrefixCollection.GetAll(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.Pageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource> GetAll (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Peering.PeeringServicePrefixResource>
Public Overridable Function GetAll (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PeeringServicePrefixResource)

Parameters

expand
String

The properties to be expanded.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PeeringServicePrefixResource that may take multiple service requests to iterate over.

Applies to