共用方式為


RelayPrivateLinkResourceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets lists of resources that supports Privatelinks.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/privateLinkResources
  • Operation Id: PrivateLinkResources_List
  • Default Api Version: 2021-11-01
  • Resource: RelayPrivateLinkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayPrivateLinkResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayPrivateLinkResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayPrivateLinkResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RelayPrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to