MockableMonitorSubscriptionResource.GetMonitorPrivateLinkScopesAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes
  • Operation Id: PrivateLinkScopes_List
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> GetMonitorPrivateLinkScopesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetMonitorPrivateLinkScopesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
override this.GetMonitorPrivateLinkScopesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
Public Overridable Function GetMonitorPrivateLinkScopesAsync (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