SparkBatch class
Classe représentant un SparkBatch.
Constructeurs
| Spark |
Créez un SparkBatch. |
Méthodes
Détails du constructeur
SparkBatch(SynapseClientContext)
Créez un SparkBatch.
new SparkBatch(client: SynapseClientContext)
Paramètres
- client
- SynapseClientContext
Référence au client de service.
Détails de la méthode
create(string, string, ExtendedLivyBatchRequest, ServiceCallback<ExtendedLivyBatchResponse>)
function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, callback: ServiceCallback<ExtendedLivyBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- livyRequest
- ExtendedLivyBatchRequest
Charge utile de demande de tâche de traitement par lots compatible livy.
- callback
Rappel
create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)
Créez un travail de traitement par lots Spark.
function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options?: SparkBatchCreateOptionalParams): Promise<SparkBatchCreateResponse>
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- livyRequest
- ExtendedLivyBatchRequest
Charge utile de demande de tâche de traitement par lots compatible livy.
- options
- SparkBatchCreateOptionalParams
Paramètres facultatifs
Retours
Promise<SparkBatchCreateResponse>
Promise<Models.SparkBatchCreateResponse>
create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options: SparkBatchCreateOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- livyRequest
- ExtendedLivyBatchRequest
Charge utile de demande de tâche de traitement par lots compatible livy.
- options
- SparkBatchCreateOptionalParams
Paramètres facultatifs
- callback
Rappel
deleteMethod(string, string, number, RequestOptionsBase)
Annule une tâche de traitement par lots Spark en cours d’exécution.
function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options?: RequestOptionsBase): Promise<RestResponse>
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- options
- RequestOptionsBase
Paramètres facultatifs
Retours
Promise<RestResponse>
Promesse<msRest.RestResponse>
deleteMethod(string, string, number, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options: RequestOptionsBase, callback: ServiceCallback<void>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- options
- RequestOptionsBase
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
deleteMethod(string, string, number, ServiceCallback<void>)
function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<void>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- callback
-
ServiceCallback<void>
Rappel
get(string, string, number, ServiceCallback<ExtendedLivyBatchResponse>)
function get(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<ExtendedLivyBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- callback
Rappel
get(string, string, number, SparkBatchGetOptionalParams)
Obtient un travail de traitement par lots Spark unique.
function get(workspaceName: string, sparkPoolName: string, batchId: number, options?: SparkBatchGetOptionalParams): Promise<SparkBatchGetResponse>
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- options
- SparkBatchGetOptionalParams
Paramètres facultatifs
Retours
Promise<SparkBatchGetResponse>
Promise<Models.SparkBatchGetResponse>
get(string, string, number, SparkBatchGetOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
function get(workspaceName: string, sparkPoolName: string, batchId: number, options: SparkBatchGetOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- batchId
-
number
Identificateur du travail de traitement par lots.
- options
- SparkBatchGetOptionalParams
Paramètres facultatifs
- callback
Rappel
list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)
function list(workspaceName: string, sparkPoolName: string, callback: ServiceCallback<ExtendedLivyListBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- callback
Rappel
list(string, string, SparkBatchListOptionalParams)
Répertoriez tous les travaux de traitement par lots Spark qui s’exécutent sous un pool Spark particulier.
function list(workspaceName: string, sparkPoolName: string, options?: SparkBatchListOptionalParams): Promise<SparkBatchListResponse>
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- options
- SparkBatchListOptionalParams
Paramètres facultatifs
Retours
Promise<SparkBatchListResponse>
Promise<Models.SparkBatchListResponse>
list(string, string, SparkBatchListOptionalParams, ServiceCallback<ExtendedLivyListBatchResponse>)
function list(workspaceName: string, sparkPoolName: string, options: SparkBatchListOptionalParams, callback: ServiceCallback<ExtendedLivyListBatchResponse>)
Paramètres
- workspaceName
-
string
Nom de l’espace de travail sur lequel exécuter des opérations.
- sparkPoolName
-
string
Nom du pool Spark. « ondemand » cible la piscine ondemand.
- options
- SparkBatchListOptionalParams
Paramètres facultatifs
- callback
Rappel