Files
fabric-rest-api-specs/environment/examples/UpdateEnvironmentSparkCompute.json

74 lines
2.3 KiB
JSON

{
"parameters": {
"workspaceId": "f089354e-8366-4e18-aea3-4cb4a3a50b48",
"environmentId": "707cfd07-cbf1-41da-aad7-dd157ddb8c11",
"beta": "false",
"updateEnvironmentSparkComputeRequest": {
"instancePool": {
"name": "MyWorkspacePool",
"type": "Workspace"
},
"driverCores": 4,
"driverMemory": "56g",
"executorCores": 4,
"executorMemory": "56g",
"dynamicExecutorAllocation": {
"enabled": false,
"minExecutors": 1,
"maxExecutors": 1
},
"sparkProperties": [
{
"key": "spark.acls.enable",
"value": "false"
},
{
"key": "spark.admin.acls",
"value": null
}
],
"runtimeVersion": "1.2",
"customLivePoolSupport": "Enabled",
"customLivePoolSettings": {
"maxClustersToHydrate": 4,
"clusterIdleTimeout": "PT20M",
"customLivePoolLifespan": "PT1H"
}
}
},
"responses": {
"200": {
"body": {
"instancePool": {
"name": "MyWorkspacePool",
"type": "Workspace",
"id": "78942136-106c-4f3e-80fc-7ff4eae11603",
"maxClustersToHydrateLimit": 10
},
"driverCores": 4,
"driverMemory": "56g",
"executorCores": 4,
"executorMemory": "56g",
"dynamicExecutorAllocation": {
"enabled": false,
"minExecutors": 1,
"maxExecutors": 1
},
"sparkProperties": [
{
"key": "spark.acls.enable",
"value": "false"
}
],
"runtimeVersion": "1.2",
"customLivePoolSupport": "Enabled",
"customLivePoolSettings": {
"maxClustersToHydrate": 4,
"clusterIdleTimeout": "PT20M",
"customLivePoolLifespan": "PT1H"
}
}
}
}
}