Share via


MockableMonitorSubscriptionResource.GetMonitorPrivateLinkScopes 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.Pageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> GetMonitorPrivateLinkScopes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetMonitorPrivateLinkScopes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
override this.GetMonitorPrivateLinkScopes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
Public Overridable Function GetMonitorPrivateLinkScopes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MonitorPrivateLinkScopeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to