Databricks SDK for JavaScript
    Preparing search index...

    Variable EnforcePolicyComplianceForClusterRequest_EnforceModeConst

    EnforcePolicyComplianceForClusterRequest_EnforceMode: {
        ENFORCE_IMMEDIATELY: "ENFORCE_IMMEDIATELY";
        ENFORCE_MODE_UNSPECIFIED: "";
        WAIT_FOR_TERMINATION: "WAIT_FOR_TERMINATION";
    } = ...

    Type Declaration

    • ReadonlyENFORCE_IMMEDIATELY: "ENFORCE_IMMEDIATELY"

      If the cluster is in the TERMINATED state, edit the cluster immediately. If the cluster is in the RUNNING state, edit and restart the cluster. Else, the operation fails.

    • ReadonlyENFORCE_MODE_UNSPECIFIED: ""

      Default value. This value is unused.

    • ReadonlyWAIT_FOR_TERMINATION: "WAIT_FOR_TERMINATION"

      If the cluster is in the TERMINATED state, edit the cluster immediately. Else, the cluster is not edited. Instead, a pending enforcement is scheduled to update the cluster when it terminates or restarts. Only workspace admins can use this mode.