你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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