Share via


MonitorPrivateLinkScopeCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of Azure Monitor PrivateLinkScopes within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes
  • Operation Id: PrivateLinkScopes_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MonitorPrivateLinkScopeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to