1. Registry
  2. Packages
  3. CAST AI
  4. API Docs
  5. getRebalancingSchedule
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
castai logo
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI

    Using getRebalancingSchedule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRebalancingSchedule(args: GetRebalancingScheduleArgs, opts?: InvokeOptions): Promise<GetRebalancingScheduleResult>
    function getRebalancingScheduleOutput(args: GetRebalancingScheduleOutputArgs, opts?: InvokeOutputOptions): Output<GetRebalancingScheduleResult>
    def get_rebalancing_schedule(name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRebalancingScheduleResult
    def get_rebalancing_schedule_output(name: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetRebalancingScheduleResult]
    func LookupRebalancingSchedule(ctx *Context, args *LookupRebalancingScheduleArgs, opts ...InvokeOption) (*LookupRebalancingScheduleResult, error)
    func LookupRebalancingScheduleOutput(ctx *Context, args *LookupRebalancingScheduleOutputArgs, opts ...InvokeOption) LookupRebalancingScheduleResultOutput

    > Note: This function is named LookupRebalancingSchedule in the Go SDK.

    public static class GetRebalancingSchedule 
    {
        public static Task<GetRebalancingScheduleResult> InvokeAsync(GetRebalancingScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetRebalancingScheduleResult> Invoke(GetRebalancingScheduleInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRebalancingScheduleResult> Invoke(GetRebalancingScheduleInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRebalancingScheduleResult> getRebalancingSchedule(GetRebalancingScheduleArgs args, InvokeOptions options)
    public static Output<GetRebalancingScheduleResult> getRebalancingSchedule(GetRebalancingScheduleArgs args, InvokeOptions options)
    public static Output<GetRebalancingScheduleResult> getRebalancingSchedule(GetRebalancingScheduleArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: castai:rebalancing:getRebalancingSchedule
      arguments:
        # arguments dictionary
    data "castai_get_rebalancing_schedule" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Name string
    name string
    name String
    name string
    name str
    name String

    getRebalancingSchedule Result

    The following output properties are available:

    id string
    The provider-assigned unique ID for this managed resource.
    launch_configurations list(object)
    name string
    schedules list(object)
    trigger_conditions list(object)
    id String
    The provider-assigned unique ID for this managed resource.
    launchConfigurations List<Property Map>
    name String
    schedules List<Property Map>
    triggerConditions List<Property Map>

    Supporting Types

    GetRebalancingScheduleLaunchConfiguration

    AggressiveMode bool
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    AggressiveModeConfig Pulumi.CastAI.Rebalancing.Inputs.GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    DrainFailureConfig Pulumi.CastAI.Rebalancing.Inputs.GetRebalancingScheduleLaunchConfigurationDrainFailureConfig
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    ExecutionConditions Pulumi.CastAI.Rebalancing.Inputs.GetRebalancingScheduleLaunchConfigurationExecutionConditions
    KeepDrainTimeoutNodes bool
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    NodeTtlSeconds int
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    NumTargetedNodes int
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    RebalancingMinNodes int
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    Selector string
    Node selector in JSON format.
    TargetNodeSelectionAlgorithm string
    Defines the algorithm used to select the target nodes for rebalancing.
    AggressiveMode bool
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    AggressiveModeConfig GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    DrainFailureConfig GetRebalancingScheduleLaunchConfigurationDrainFailureConfig
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    ExecutionConditions GetRebalancingScheduleLaunchConfigurationExecutionConditions
    KeepDrainTimeoutNodes bool
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    NodeTtlSeconds int
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    NumTargetedNodes int
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    RebalancingMinNodes int
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    Selector string
    Node selector in JSON format.
    TargetNodeSelectionAlgorithm string
    Defines the algorithm used to select the target nodes for rebalancing.
    aggressive_mode bool
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    aggressive_mode_config object
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    drain_failure_config object
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    execution_conditions object
    keep_drain_timeout_nodes bool
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    node_ttl_seconds number
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    num_targeted_nodes number
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    rebalancing_min_nodes number
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    selector string
    Node selector in JSON format.
    target_node_selection_algorithm string
    Defines the algorithm used to select the target nodes for rebalancing.
    aggressiveMode Boolean
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    aggressiveModeConfig GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    drainFailureConfig GetRebalancingScheduleLaunchConfigurationDrainFailureConfig
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    executionConditions GetRebalancingScheduleLaunchConfigurationExecutionConditions
    keepDrainTimeoutNodes Boolean
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    nodeTtlSeconds Integer
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    numTargetedNodes Integer
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    rebalancingMinNodes Integer
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    selector String
    Node selector in JSON format.
    targetNodeSelectionAlgorithm String
    Defines the algorithm used to select the target nodes for rebalancing.
    aggressiveMode boolean
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    aggressiveModeConfig rebalancingGetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    drainFailureConfig rebalancingGetRebalancingScheduleLaunchConfigurationDrainFailureConfig
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    executionConditions rebalancingGetRebalancingScheduleLaunchConfigurationExecutionConditions
    keepDrainTimeoutNodes boolean
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    nodeTtlSeconds number
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    numTargetedNodes number
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    rebalancingMinNodes number
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    selector string
    Node selector in JSON format.
    targetNodeSelectionAlgorithm string
    Defines the algorithm used to select the target nodes for rebalancing.
    aggressive_mode bool
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    aggressive_mode_config rebalancing.GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    drain_failure_config rebalancing.GetRebalancingScheduleLaunchConfigurationDrainFailureConfig
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    execution_conditions rebalancing.GetRebalancingScheduleLaunchConfigurationExecutionConditions
    keep_drain_timeout_nodes bool
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    node_ttl_seconds int
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    num_targeted_nodes int
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    rebalancing_min_nodes int
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    selector str
    Node selector in JSON format.
    target_node_selection_algorithm str
    Defines the algorithm used to select the target nodes for rebalancing.
    aggressiveMode Boolean
    Deprecated: Use aggressiveModeConfig instead. When enabled, rebalancing considers all problematic pods (pods without controller, job pods, pods with removal-disabled annotation) as not-problematic.

    Deprecated: For equivalent behaviour use aggresiveModeConfig = {ignore_local_persistent_volumes = true, ignoreProblemJobPods = true, ignoreProblemRemovalDisabledPods = true, ignoreProblemPodsWithoutController = true}

    aggressiveModeConfig Property Map
    Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the aggressiveMode parameter unset or set it aggressive_mode=false before using this config option. When the legacy aggressiveMode is set to true, it takes precedence over this option.
    drainFailureConfig Property Map
    Configures behavior when a node fails to drain during rebalancing. Relevant only when keepDrainTimeoutNodes is true.
    executionConditions Property Map
    keepDrainTimeoutNodes Boolean
    Defines whether the nodes that failed to get drained until a predefined timeout, will be kept with a rebalancing.cast.ai/status=drain-failed annotation instead of forcefully drained.
    nodeTtlSeconds Number
    Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
    numTargetedNodes Number
    Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
    rebalancingMinNodes Number
    Minimum number of nodes that should be kept in the cluster after rebalancing.
    selector String
    Node selector in JSON format.
    targetNodeSelectionAlgorithm String
    Defines the algorithm used to select the target nodes for rebalancing.

    GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig

    IgnoreLocalPersistentVolumes bool
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    IgnoreProblemJobPods bool
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    IgnoreProblemPodsWithoutController bool
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    IgnoreProblemRemovalDisabledPods bool
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    IgnoreLocalPersistentVolumes bool
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    IgnoreProblemJobPods bool
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    IgnoreProblemPodsWithoutController bool
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    IgnoreProblemRemovalDisabledPods bool
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    ignore_local_persistent_volumes bool
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    ignore_problem_job_pods bool
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    ignore_problem_pods_without_controller bool
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    ignore_problem_removal_disabled_pods bool
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    ignoreLocalPersistentVolumes Boolean
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    ignoreProblemJobPods Boolean
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    ignoreProblemPodsWithoutController Boolean
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    ignoreProblemRemovalDisabledPods Boolean
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    ignoreLocalPersistentVolumes boolean
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    ignoreProblemJobPods boolean
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    ignoreProblemPodsWithoutController boolean
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    ignoreProblemRemovalDisabledPods boolean
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    ignore_local_persistent_volumes bool
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    ignore_problem_job_pods bool
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    ignore_problem_pods_without_controller bool
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    ignore_problem_removal_disabled_pods bool
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.
    ignoreLocalPersistentVolumes Boolean
    Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
    ignoreProblemJobPods Boolean
    Pods spawned by Jobs or CronJobs will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, pods spawned by Jobs or CronJobs will be terminated if the Rebalancer picks a node that runs them. As such, they are likely to lose their progress.
    ignoreProblemPodsWithoutController Boolean
    Pods that don't have a controller (bare pods) will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods might not restart, since they have no controller to do it.
    ignoreProblemRemovalDisabledPods Boolean
    Pods that are marked with "removal disabled" will not prevent the Rebalancer from deleting a node on which they run. WARNING: When true, such pods will be evicted and disrupted.

    GetRebalancingScheduleLaunchConfigurationDrainFailureConfig

    DisableUncordon bool
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    UncordonAfterSeconds int
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    DisableUncordon bool
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    UncordonAfterSeconds int
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    disable_uncordon bool
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    uncordon_after_seconds number
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    disableUncordon Boolean
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    uncordonAfterSeconds Integer
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    disableUncordon boolean
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    uncordonAfterSeconds number
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    disable_uncordon bool
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    uncordon_after_seconds int
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.
    disableUncordon Boolean
    When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
    uncordonAfterSeconds Number
    Time in seconds after which a drain-failed node is automatically uncordoned. Must be between 60 (1m) and 259200 (72h). Defaults to 1800 (30m). Ignored when disableUncordon is true.

    GetRebalancingScheduleLaunchConfigurationExecutionConditions

    Enabled bool
    Enables or disables the execution conditions.
    AchievedSavingsPercentage int
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    Enabled bool
    Enables or disables the execution conditions.
    AchievedSavingsPercentage int
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    enabled bool
    Enables or disables the execution conditions.
    achieved_savings_percentage number
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    enabled Boolean
    Enables or disables the execution conditions.
    achievedSavingsPercentage Integer
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    enabled boolean
    Enables or disables the execution conditions.
    achievedSavingsPercentage number
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    enabled bool
    Enables or disables the execution conditions.
    achieved_savings_percentage int
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.
    enabled Boolean
    Enables or disables the execution conditions.
    achievedSavingsPercentage Number
    The percentage of the predicted savings that must be achieved in order to fully execute the plan.If the savings are not achieved after creating the new nodes, the plan will fail and delete the created nodes.

    GetRebalancingScheduleSchedule

    Cron string

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    Cron string

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    cron string

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    cron String

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    cron string

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    cron str

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    cron String

    Cron expression defining when the schedule should trigger.

    The cron expression can optionally include the CRON_TZ variable at the beginning to specify the timezone in which the schedule should be interpreted.

    Example:

    CRON_TZ=America/New_York 0 12 * * ?
    

    In the example above, the CRON_TZ variable is set to "America/New_York" indicating that the cron expression should be interpreted in the Eastern Time (ET) timezone.

    To retrieve a list of available timezone values, you can use the following API endpoint:

    GET https://api.cast.ai/v1/time-zones

    When using the CRON_TZ variable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If the CRON_TZ variable is not specified, the cron expression will be interpreted in the UTC timezone.

    GetRebalancingScheduleTriggerCondition

    SavingsPercentage double
    Defines the minimum percentage of savings expected.
    IgnoreSavings bool
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    SavingsPercentage float64
    Defines the minimum percentage of savings expected.
    IgnoreSavings bool
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    savings_percentage number
    Defines the minimum percentage of savings expected.
    ignore_savings bool
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    savingsPercentage Double
    Defines the minimum percentage of savings expected.
    ignoreSavings Boolean
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    savingsPercentage number
    Defines the minimum percentage of savings expected.
    ignoreSavings boolean
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    savings_percentage float
    Defines the minimum percentage of savings expected.
    ignore_savings bool
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.
    savingsPercentage Number
    Defines the minimum percentage of savings expected.
    ignoreSavings Boolean
    If true, the savings percentage will be ignored and the rebalancing will be triggered regardless of the savings percentage.

    Package Details

    Repository
    castai castai/pulumi-castai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the castai Terraform Provider.
    castai logo
    Viewing docs for CAST AI v8.60.0
    published on Wednesday, Aug 19, 2026 by CAST AI

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial