你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Monitoring class

表示监视的类。

构造函数

Monitoring(SynapseClientContext)

创建监视。

方法

getApplicationDetails(string, string, string, RequestOptionsBase)

获取一个 Spark 应用程序详细信息,给定工作区名称、池名称和 livyid。

getApplicationDetails(string, string, string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)
getApplicationDetails(string, string, string, ServiceCallback<SparkJobListViewResponse>)
getHistoryServerData(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的历史记录服务器数据

getHistoryServerData(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerDataResponse>)
getHistoryServerData(string, string, string, string, string, ServiceCallback<HistoryServerDataResponse>)
getHistoryServerDiagnostic(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的历史记录服务器诊断数据

getHistoryServerDiagnostic(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerDiagnosticResponse>)
getHistoryServerDiagnostic(string, string, string, string, string, ServiceCallback<HistoryServerDiagnosticResponse>)
getHistoryServerGraph(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的 History Server Graph 数据

getHistoryServerGraph(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerGraphResponse>)
getHistoryServerGraph(string, string, string, string, string, ServiceCallback<HistoryServerGraphResponse>)
getHistoryServerProperties(string, RequestOptionsBase)

获取历史记录服务器属性。

getHistoryServerProperties(string, RequestOptionsBase, ServiceCallback<HistoryServerPropertiesResponse>)
getHistoryServerProperties(string, ServiceCallback<HistoryServerPropertiesResponse>)
getSparkJobList(string, RequestOptionsBase)

获取工作区的 Spark 应用程序列表。

getSparkJobList(string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)
getSparkJobList(string, ServiceCallback<SparkJobListViewResponse>)

构造函数详细信息

Monitoring(SynapseClientContext)

创建监视。

new Monitoring(client: SynapseClientContext)

参数

client
SynapseClientContext

对服务客户端的引用。

方法详细信息

getApplicationDetails(string, string, string, RequestOptionsBase)

获取一个 Spark 应用程序详细信息,给定工作区名称、池名称和 livyid。

function getApplicationDetails(workspaceName: string, poolName: string, livyId: string, options?: RequestOptionsBase): Promise<MonitoringGetApplicationDetailsResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetApplicationDetails响应>

getApplicationDetails(string, string, string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)

function getApplicationDetails(workspaceName: string, poolName: string, livyId: string, options: RequestOptionsBase, callback: ServiceCallback<SparkJobListViewResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

options
RequestOptionsBase

可选参数

getApplicationDetails(string, string, string, ServiceCallback<SparkJobListViewResponse>)

function getApplicationDetails(workspaceName: string, poolName: string, livyId: string, callback: ServiceCallback<SparkJobListViewResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

getHistoryServerData(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的历史记录服务器数据

function getHistoryServerData(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options?: RequestOptionsBase): Promise<MonitoringGetHistoryServerDataResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetHistoryServerDataResponse>

getHistoryServerData(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerDataResponse>)

function getHistoryServerData(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options: RequestOptionsBase, callback: ServiceCallback<HistoryServerDataResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

getHistoryServerData(string, string, string, string, string, ServiceCallback<HistoryServerDataResponse>)

function getHistoryServerData(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, callback: ServiceCallback<HistoryServerDataResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

getHistoryServerDiagnostic(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的历史记录服务器诊断数据

function getHistoryServerDiagnostic(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options?: RequestOptionsBase): Promise<MonitoringGetHistoryServerDiagnosticResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetHistoryServerDiagnosticResponse>

getHistoryServerDiagnostic(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerDiagnosticResponse>)

function getHistoryServerDiagnostic(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options: RequestOptionsBase, callback: ServiceCallback<HistoryServerDiagnosticResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

getHistoryServerDiagnostic(string, string, string, string, string, ServiceCallback<HistoryServerDiagnosticResponse>)

function getHistoryServerDiagnostic(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, callback: ServiceCallback<HistoryServerDiagnosticResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

getHistoryServerGraph(string, string, string, string, string, RequestOptionsBase)

获取给定工作区、池、livyid、appid 和 attemptId 的 History Server Graph 数据

function getHistoryServerGraph(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options?: RequestOptionsBase): Promise<MonitoringGetHistoryServerGraphResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetHistoryServerGraph响应>

getHistoryServerGraph(string, string, string, string, string, RequestOptionsBase, ServiceCallback<HistoryServerGraphResponse>)

function getHistoryServerGraph(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, options: RequestOptionsBase, callback: ServiceCallback<HistoryServerGraphResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

options
RequestOptionsBase

可选参数

getHistoryServerGraph(string, string, string, string, string, ServiceCallback<HistoryServerGraphResponse>)

function getHistoryServerGraph(workspaceName: string, poolName: string, livyId: string, appId: string, attemptId: string, callback: ServiceCallback<HistoryServerGraphResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

poolName

string

spark 池名称。

livyId

string

livy ID。

appId

string

应用程序 ID。

attemptId

string

尝试 ID。

getHistoryServerProperties(string, RequestOptionsBase)

获取历史记录服务器属性。

function getHistoryServerProperties(workspaceName: string, options?: RequestOptionsBase): Promise<MonitoringGetHistoryServerPropertiesResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetHistoryServerProperties响应>

getHistoryServerProperties(string, RequestOptionsBase, ServiceCallback<HistoryServerPropertiesResponse>)

function getHistoryServerProperties(workspaceName: string, options: RequestOptionsBase, callback: ServiceCallback<HistoryServerPropertiesResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

options
RequestOptionsBase

可选参数

getHistoryServerProperties(string, ServiceCallback<HistoryServerPropertiesResponse>)

function getHistoryServerProperties(workspaceName: string, callback: ServiceCallback<HistoryServerPropertiesResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

getSparkJobList(string, RequestOptionsBase)

获取工作区的 Spark 应用程序列表。

function getSparkJobList(workspaceName: string, options?: RequestOptionsBase): Promise<MonitoringGetSparkJobListResponse>

参数

workspaceName

string

要在其中执行作的工作区的名称。

options
RequestOptionsBase

可选参数

返回

Promise<Models.MonitoringGetSparkJobListResponse>

getSparkJobList(string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)

function getSparkJobList(workspaceName: string, options: RequestOptionsBase, callback: ServiceCallback<SparkJobListViewResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。

options
RequestOptionsBase

可选参数

getSparkJobList(string, ServiceCallback<SparkJobListViewResponse>)

function getSparkJobList(workspaceName: string, callback: ServiceCallback<SparkJobListViewResponse>)

参数

workspaceName

string

要在其中执行作的工作区的名称。