Class SynapseNotebookActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.SynapseNotebookActivity
Execute Synapse notebook activity.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SynapseNotebookActivity class. -
Method Summary
Modifier and TypeMethodDescriptionconf()
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.notebook()
Get the notebook property: Synapse notebook reference.Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.Get the parameters property: Notebook parameters.Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.void
validate()
Validates the instance.Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.withDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription
(String description) Set the description property: Activity description.withDriverSize
(Object driverSize) Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.withExecutorSize
(Object executorSize) Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.withLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.withNotebook
(SynapseNotebookReference notebook) Set the notebook property: Synapse notebook reference.withNumExecutors
(Integer numExecutors) Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.withParameters
(Map<String, NotebookParameter> parameters) Set the parameters property: Notebook parameters.withPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.withSparkPool
(BigDataPoolParametrizationReference sparkPool) Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.withUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
SynapseNotebookActivity
public SynapseNotebookActivity()Creates an instance of SynapseNotebookActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
notebook
Get the notebook property: Synapse notebook reference.- Returns:
- the notebook value.
-
withNotebook
Set the notebook property: Synapse notebook reference.- Parameters:
notebook
- the notebook value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
sparkPool
Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Returns:
- the sparkPool value.
-
withSparkPool
Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Parameters:
sparkPool
- the sparkPool value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
parameters
Get the parameters property: Notebook parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Notebook parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
executorSize
Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the executorSize value.
-
withExecutorSize
Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
executorSize
- the executorSize value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
conf
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Returns:
- the conf value.
-
withConf
Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Parameters:
conf
- the conf value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
driverSize
Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the driverSize value.
-
withDriverSize
Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
driverSize
- the driverSize value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
numExecutors
Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Returns:
- the numExecutors value.
-
withNumExecutors
Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Parameters:
numExecutors
- the numExecutors value to set.- Returns:
- the SynapseNotebookActivity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-