Sprog

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. : AzureMonitorPrivateLinkScopes_List.
  • Default Api Version. : 2023-06-01-preview.
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

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

Applies to