共用方式為


PrivateEndpointCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all private endpoints in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to