Compartilhar via


MonitorPrivateLinkScopeCollection.GetAsync(String, CancellationToken) Método

Definição

Retorna um PrivateLinkScope do Azure Monitor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • IdPrivateLinkScopes_Get de operação
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))

Parâmetros

scopeName
String

O nome do recurso PrivateLinkScope do Azure Monitor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

scopeName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

scopeName é nulo.

Aplica-se a