Freigeben über


MonitorPrivateLinkScopeCollection.GetAsync(String, CancellationToken) Methode

Definition

Gibt ein Azure Monitor PrivateLinkScope zurück.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Vorgang IdPrivateLinkScopes_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>> GetAsync (string scopeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>>
Public Overridable Function GetAsync (scopeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MonitorPrivateLinkScopeResource))

Parameter

scopeName
String

Der Name der Azure Monitor PrivateLinkScope-Ressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

scopeName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

scopeName ist NULL.

Gilt für: