Skip to main content

🧠 Azure Synapse Spark pool autoscale is disabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-09-22T15:07:03.123150717Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒goneβœ”οΈ 99βœ”οΈ isDisappeared(CA10Z1__disappearanceTime__c)βœ”οΈ null
🟒missing-provisioning-stateβœ”οΈ 199βœ”οΈ extract('CA10Z1__provisioningState__c').isEmpty()βœ”οΈ null
🟒not-readyβœ”οΈ 299βœ”οΈ extract('CA10Z1__provisioningState__c') != 'Succeeded'βœ”οΈ null
🟒invalid-boundsβœ”οΈ 399βœ”οΈ extract('CA10Z1__autoScaleState__c').isEmpty() || not(extract('CA10Z1__autoScaleState__c') == 'Enabled' || extract('CA10Z1__autoScaleState__c') == 'Disabled') || (extract('CA10Z1__autoScaleState__c') == 'Enabled' && (extract('CA10Z1__autoScaleMinNodeCount__c').isEmpty() || extract('CA10Z1__autoScaleMaxNodeCount__c').isEmpty() || extract('CA10Z1__autoScaleMinNodeCount__c') > extract('CA10Z1__autoScaleMaxNodeCount__c')))βœ”οΈ null
🟒unknown-autoscale-stateβœ”οΈ 399βœ”οΈ extract('CA10Z1__autoScaleState__c').isEmpty() || not(extract('CA10Z1__autoScaleState__c') == 'Enabled' || extract('CA10Z1__autoScaleState__c') == 'Disabled') || (extract('CA10Z1__autoScaleState__c') == 'Enabled' && (extract('CA10Z1__autoScaleMinNodeCount__c').isEmpty() || extract('CA10Z1__autoScaleMaxNodeCount__c').isEmpty() || extract('CA10Z1__autoScaleMinNodeCount__c') > extract('CA10Z1__autoScaleMaxNodeCount__c')))βœ”οΈ null
🟒disabledβœ”οΈ 499βœ”οΈ extract('CA10Z1__autoScaleState__c') == 'Disabled'βœ”οΈ null
🟒enabledβœ”οΈ 500βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/azure/synapse/spark-pool-autoscale-disabled/policy.yaml2306F9B67304B97CC03D6EDBEF08FED6
Open/ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yamlCEC005B6F3D746661F511F10B74C7E73
Open/ce/ca/azure/synapse/spark-pool-autoscale-disabled/test-data.jsonF99580F6E73ACB3CD31BDBA5F1A72381
Open/types/CA10Z1__CaAzureSynapseBigDataPool__c/object.extracts.yamlC123E7415A5B87925BC47FE534A9EB60

Available Commands​

repo-manager policies generate FULL /ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/synapse/spark-pool-autoscale-disabled/prod.logic.yaml

Content​

Open File

---
inputType: "CA10Z1__CaAzureSynapseBigDataPool__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10Z1__CaAzureSynapseBigDataPool__c/object.extracts.yaml
conditions:
- status: "UNDETERMINED"
currentStateMessage: "The Spark pool provisioning state is unavailable."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10Z1__provisioningState__c"
- status: "INAPPLICABLE"
currentStateMessage: "Only successfully provisioned Spark pools are in scope."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10Z1__provisioningState__c"
right:
TEXT: "Succeeded"
- status: "UNDETERMINED"
currentStateMessage: "The autoscale state or enabled bounds are unavailable or invalid."
check:
OR:
args:
- IS_EMPTY:
arg:
EXTRACT: "CA10Z1__autoScaleState__c"
- NOT:
arg:
OR:
args:
- IS_EQUAL:
left:
EXTRACT: "CA10Z1__autoScaleState__c"
right:
TEXT: "Enabled"
- IS_EQUAL:
left:
EXTRACT: "CA10Z1__autoScaleState__c"
right:
TEXT: "Disabled"
- AND:
args:
- IS_EQUAL:
left:
EXTRACT: "CA10Z1__autoScaleState__c"
right:
TEXT: "Enabled"
- OR:
args:
- IS_EMPTY:
arg:
EXTRACT: "CA10Z1__autoScaleMinNodeCount__c"
- IS_EMPTY:
arg:
EXTRACT: "CA10Z1__autoScaleMaxNodeCount__c"
- GREATER_THAN:
left:
EXTRACT: "CA10Z1__autoScaleMinNodeCount__c"
right:
EXTRACT: "CA10Z1__autoScaleMaxNodeCount__c"
- status: "INCOMPLIANT"
currentStateMessage: "Spark pool autoscale is disabled."
remediationMessage: "Review workload limits, then enable autoscale with valid bounds."
check:
IS_EQUAL:
left:
EXTRACT: "CA10Z1__autoScaleState__c"
right:
TEXT: "Disabled"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Spark pool autoscale is enabled with valid bounds."