Monitoring class
表示监视的类。
构造函数
| Monitoring(Synapse |
创建监视。 |
方法
构造函数详细信息
Monitoring(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
可选参数
- callback
回调
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。
- callback
回调
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
可选参数
- callback
回调
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。
- callback
回调
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
可选参数
- callback
回调
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。
- callback
回调
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<MonitoringGetSparkJobListResponse>
Promise<Models.MonitoringGetSparkJobListResponse>
getSparkJobList(string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)
function getSparkJobList(workspaceName: string, options: RequestOptionsBase, callback: ServiceCallback<SparkJobListViewResponse>)
参数
- workspaceName
-
string
要在其中执行作的工作区的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
getSparkJobList(string, ServiceCallback<SparkJobListViewResponse>)
function getSparkJobList(workspaceName: string, callback: ServiceCallback<SparkJobListViewResponse>)
参数
- workspaceName
-
string
要在其中执行作的工作区的名称。
- callback
回调