Partilhar via


OperationalInsightsLinkedServiceCollection.GetAsync Método

Definição

Obtém uma instância de serviço vinculada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
  • Operação IdLinkedServices_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>> GetAsync (string linkedServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
Public Overridable Function GetAsync (linkedServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalInsightsLinkedServiceResource))

Parâmetros

linkedServiceName
String

Nome do serviço vinculado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

linkedServiceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

linkedServiceName é nulo.

Aplica-se a