Partager via


MonitorPrivateLinkScopeCollection.Get(String, CancellationToken) Méthode

Définition

Retourne un PrivateLinkScope Azure Monitor.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • IdPrivateLinkScopes_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> Get (string scopeName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
Public Overridable Function Get (scopeName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MonitorPrivateLinkScopeResource)

Paramètres

scopeName
String

Nom de la ressource Azure Monitor PrivateLinkScope.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

scopeName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

scopeName a la valeur null.

S’applique à