Compartir a través de


OperationalInsightsWorkspaceResource.GetOperationalInsightsDataSource Método

Definición

Obtiene una instancia de origen de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • IdDataSources_Get de operación
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

Nombre del origen de datos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

dataSourceName es una cadena vacía y se espera que no esté vacía.

dataSourceName es null.

Se aplica a