Compartilhar via


OperationalInsightsWorkspaceResource.GetOperationalInsightsDataSource Método

Definição

Obtém uma instância de fonte de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • IdDataSources_Get de operação
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource> GetOperationalInsightsDataSource (string dataSourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationalInsightsDataSource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
override this.GetOperationalInsightsDataSource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
Public Overridable Function GetOperationalInsightsDataSource (dataSourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationalInsightsDataSourceResource)

Parâmetros

dataSourceName
String

Nome da fonte de dados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

dataSourceName é nulo.

Aplica-se a