Share via


MockableHybridComputeSubscriptionResource.GetHybridComputePrivateLinkScopesAsync Method

Definition

Gets a list of all Azure Arc PrivateLinkScopes within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes
  • Operation Id: PrivateLinkScopes_List
  • Default Api Version: 2024-07-10
  • Resource: HybridComputePrivateLinkScopeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource> GetHybridComputePrivateLinkScopesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputePrivateLinkScopesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
override this.GetHybridComputePrivateLinkScopesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
Public Overridable Function GetHybridComputePrivateLinkScopesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridComputePrivateLinkScopeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to