Partilhar via


OperationalInsightsWorkspaceResource.GetOperationalInsightsLinkedServiceAsync Método

Definição

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

  • 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>> GetOperationalInsightsLinkedServiceAsync (string linkedServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationalInsightsLinkedServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
override this.GetOperationalInsightsLinkedServiceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsLinkedServiceResource>>
Public Overridable Function GetOperationalInsightsLinkedServiceAsync (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 era esperado que não estivesse vazio.

linkedServiceName é nulo.

Aplica-se a