Skip to main content

SparkEnvironmentSettings

Properties

PropertyTypeAttributesDescription
environmentIdstringRequired, IdentifierThe Environment ID
publicationStatus'Published' | 'Staging'Required, IdentifierThe publication status
workspaceIdstringRequired, IdentifierThe Workspace ID
driverCoresintSpark driver cores. Must be one of: 4, 8, 16, 32, 64
driverMemorystringSpark driver memory. Must be one of: 28g, 56g, 112g, 224g, 400g
dynamicExecutorAllocationSparkEnvironmentDynamicExecutorAllocationDynamic Executor Allocation properties
executorCoresintSpark executor cores. Must be one of: 4, 8, 16, 32, 64
executorMemorystringSpark executor memory. Must be one of: 28g, 56g, 112g, 224g, 400g
poolSparkEnvironmentPoolThe environment pool
runtimeVersionstringThe runtime version
sparkPropertiesDictionary<string, String>A map of key/value pairs of Spark properties. Keys must start with 'spark.' and contain no white spaces

SparkEnvironmentDynamicExecutorAllocation

PropertyTypeAttributesDescription
enabledboolThe status of the dynamic executor allocation
maxExecutorsintThe maximum executors. Must be set together with minExecutors
minExecutorsintThe minimum executors. Must be set together with maxExecutors

SparkEnvironmentPool

PropertyTypeAttributesDescription
idstringRead-onlyThe pool ID
namestringThe pool name. 'Starter Pool' means use the starting pool. Must be set together with type
type'Capacity' | 'Workspace'The pool type. Must be set together with name

Dictionary<string, String>

Additional properties of type string are allowed.