Monitoring class

Classe que representa um Monitoramento.

Construtores

Monitoring(SynapseClientContext)

Criar um monitoramento.

Métodos

getApplicationDetails(string, string, string, RequestOptionsBase)

Obtenha um detalhe do aplicativo Spark, considerando o nome do workspace, o nome do pool e o livyid.

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

Obter dados do servidor de histórico para um determinado workspace, pool, livyid, appid e 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)

Obter dados de diagnóstico do servidor de histórico para um determinado workspace, pool, livyid, appid e 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)

Obter dados do Gráfico do Servidor de Histórico para um determinado workspace, pool, livyid, appid e attemptId

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

Obter propriedades do servidor de Histórico.

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

Obtenha a lista de aplicativos spark para o workspace.

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

Detalhes do construtor

Monitoring(SynapseClientContext)

Criar um monitoramento.

new Monitoring(client: SynapseClientContext)

Parâmetros

client
SynapseClientContext

Referência ao cliente de serviço.

Detalhes do método

getApplicationDetails(string, string, string, RequestOptionsBase)

Obtenha um detalhe do aplicativo Spark, considerando o nome do workspace, o nome do pool e o livyid.

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MonitoringGetApplicationDetailsResponse>

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

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<SparkJobListViewResponse>

O retorno de chamada

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

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

callback

ServiceCallback<SparkJobListViewResponse>

O retorno de chamada

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

Obter dados do servidor de histórico para um determinado workspace, pool, livyid, appid e attemptId

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Prometer<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>)

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<HistoryServerDataResponse>

O retorno de chamada

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

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

callback

ServiceCallback<HistoryServerDataResponse>

O retorno de chamada

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

Obter dados de diagnóstico do servidor de histórico para um determinado workspace, pool, livyid, appid e attemptId

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

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>)

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<HistoryServerDiagnosticResponse>

O retorno de chamada

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

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

callback

ServiceCallback<HistoryServerDiagnosticResponse>

O retorno de chamada

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

Obter dados do Gráfico do Servidor de Histórico para um determinado workspace, pool, livyid, appid e attemptId

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MonitoringGetHistoryServerGraphResponse>

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>)

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<HistoryServerGraphResponse>

O retorno de chamada

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

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

poolName

string

O nome do pool do Spark.

livyId

string

A ID do Livy.

appId

string

A ID do aplicativo.

attemptId

string

A ID da tentativa.

callback

ServiceCallback<HistoryServerGraphResponse>

O retorno de chamada

getHistoryServerProperties(string, RequestOptionsBase)

Obter propriedades do servidor de Histórico.

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MonitoringGetHistoryServerPropertiesResponse>

getHistoryServerProperties(string, RequestOptionsBase, ServiceCallback<HistoryServerPropertiesResponse>)

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<HistoryServerPropertiesResponse>

O retorno de chamada

getHistoryServerProperties(string, ServiceCallback<HistoryServerPropertiesResponse>)

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

callback

ServiceCallback<HistoryServerPropertiesResponse>

O retorno de chamada

getSparkJobList(string, RequestOptionsBase)

Obtenha a lista de aplicativos spark para o workspace.

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MonitoringGetSparkJobListResponse>

getSparkJobList(string, RequestOptionsBase, ServiceCallback<SparkJobListViewResponse>)

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<SparkJobListViewResponse>

O retorno de chamada

getSparkJobList(string, ServiceCallback<SparkJobListViewResponse>)

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

Parâmetros

workspaceName

string

O nome do workspace no qual executar as operações.

callback

ServiceCallback<SparkJobListViewResponse>

O retorno de chamada