Share via


MonitorPrivateLinkResourceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to