published on Wednesday, Aug 19, 2026 by CAST AI
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 dictionarydata "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<Pulumi.Cast AI. Rebalancing. Outputs. Get Rebalancing Schedule Launch Configuration> - Name string
- Schedules
List<Pulumi.
Cast AI. Rebalancing. Outputs. Get Rebalancing Schedule Schedule> - Trigger
Conditions List<Pulumi.Cast AI. Rebalancing. Outputs. Get Rebalancing Schedule Trigger Condition>
- Id string
- The provider-assigned unique ID for this managed resource.
- Launch
Configurations GetRebalancing Schedule Launch Configuration - Name string
- Schedules
Get
Rebalancing Schedule Schedule - Trigger
Conditions GetRebalancing Schedule Trigger Condition
- 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.
- launch
Configurations List<GetRebalancing Schedule Launch Configuration> - name String
- schedules
List<Get
Rebalancing Schedule Schedule> - trigger
Conditions List<GetRebalancing Schedule Trigger Condition>
- id string
- The provider-assigned unique ID for this managed resource.
- launch
Configurations rebalancingGet Rebalancing Schedule Launch Configuration[] - name string
- schedules
rebalancing
Get Rebalancing Schedule Schedule[] - trigger
Conditions rebalancingGet Rebalancing Schedule Trigger Condition[]
- id str
- The provider-assigned unique ID for this managed resource.
- launch_
configurations Sequence[rebalancing.Get Rebalancing Schedule Launch Configuration] - name str
- schedules
Sequence[rebalancing.
Get Rebalancing Schedule Schedule] - trigger_
conditions Sequence[rebalancing.Get Rebalancing Schedule Trigger Condition]
- id String
- The provider-assigned unique ID for this managed resource.
- launch
Configurations List<Property Map> - name String
- schedules List<Property Map>
- trigger
Conditions List<Property Map>
Supporting Types
GetRebalancingScheduleLaunchConfiguration
- 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.
- Aggressive
Mode Pulumi.Config Cast AI. Rebalancing. Inputs. Get Rebalancing Schedule Launch Configuration Aggressive Mode Config - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - Drain
Failure Pulumi.Config Cast AI. Rebalancing. Inputs. Get Rebalancing Schedule Launch Configuration Drain Failure Config - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - Execution
Conditions Pulumi.Cast AI. Rebalancing. Inputs. Get Rebalancing Schedule Launch Configuration Execution Conditions - Keep
Drain boolTimeout Nodes - 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 intSeconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- Num
Targeted intNodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- Rebalancing
Min intNodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- Selector string
- Node selector in JSON format.
- Target
Node stringSelection Algorithm - 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.
- Aggressive
Mode GetConfig Rebalancing Schedule Launch Configuration Aggressive Mode Config - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - Drain
Failure GetConfig Rebalancing Schedule Launch Configuration Drain Failure Config - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - Execution
Conditions GetRebalancing Schedule Launch Configuration Execution Conditions - Keep
Drain boolTimeout Nodes - 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 intSeconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- Num
Targeted intNodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- Rebalancing
Min intNodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- Selector string
- Node selector in JSON format.
- Target
Node stringSelection Algorithm - 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.
- aggressive_
mode_ objectconfig - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - drain_
failure_ objectconfig - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - execution_
conditions object - keep_
drain_ booltimeout_ nodes - 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_ numberseconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- num_
targeted_ numbernodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- rebalancing_
min_ numbernodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- selector string
- Node selector in JSON format.
- target_
node_ stringselection_ algorithm - Defines the algorithm used to select the target nodes for rebalancing.
- aggressive
Mode 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.
- aggressive
Mode GetConfig Rebalancing Schedule Launch Configuration Aggressive Mode Config - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - drain
Failure GetConfig Rebalancing Schedule Launch Configuration Drain Failure Config - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - execution
Conditions GetRebalancing Schedule Launch Configuration Execution Conditions - keep
Drain BooleanTimeout Nodes - 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 IntegerSeconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- num
Targeted IntegerNodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- rebalancing
Min IntegerNodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- selector String
- Node selector in JSON format.
- target
Node StringSelection Algorithm - Defines the algorithm used to select the target nodes for rebalancing.
- aggressive
Mode 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.
- aggressive
Mode rebalancingConfig Get Rebalancing Schedule Launch Configuration Aggressive Mode Config - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - drain
Failure rebalancingConfig Get Rebalancing Schedule Launch Configuration Drain Failure Config - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - execution
Conditions rebalancingGet Rebalancing Schedule Launch Configuration Execution Conditions - keep
Drain booleanTimeout Nodes - 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 numberSeconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- num
Targeted numberNodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- rebalancing
Min numberNodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- selector string
- Node selector in JSON format.
- target
Node stringSelection Algorithm - 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.
- aggressive_
mode_ rebalancing.config Get Rebalancing Schedule Launch Configuration Aggressive Mode Config - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - drain_
failure_ rebalancing.config Get Rebalancing Schedule Launch Configuration Drain Failure Config - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - execution_
conditions rebalancing.Get Rebalancing Schedule Launch Configuration Execution Conditions - keep_
drain_ booltimeout_ nodes - 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_ intseconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- num_
targeted_ intnodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- rebalancing_
min_ intnodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- selector str
- Node selector in JSON format.
- target_
node_ strselection_ algorithm - Defines the algorithm used to select the target nodes for rebalancing.
- aggressive
Mode 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.
- aggressive
Mode Property MapConfig - Advanced configuration for the aggressive rebalancing mode. This is the recommended way to configure aggressive rebalancing. Please keep the
aggressiveModeparameter unset or set itaggressive_mode=falsebefore using this config option. When the legacyaggressiveModeis set totrue, it takes precedence over this option. - drain
Failure Property MapConfig - Configures behavior when a node fails to drain during rebalancing. Relevant only when
keepDrainTimeoutNodesis true. - execution
Conditions Property Map - keep
Drain BooleanTimeout Nodes - 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 NumberSeconds - Specifies amount of time since node creation before the node is allowed to be considered for automated rebalancing.
- num
Targeted NumberNodes - Maximum number of nodes that will be selected for rebalancing. 0 means all nodes in the cluster can be selected.
- rebalancing
Min NumberNodes - Minimum number of nodes that should be kept in the cluster after rebalancing.
- selector String
- Node selector in JSON format.
- target
Node StringSelection Algorithm - Defines the algorithm used to select the target nodes for rebalancing.
GetRebalancingScheduleLaunchConfigurationAggressiveModeConfig
- Ignore
Local boolPersistent Volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- Ignore
Problem boolJob Pods - 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 boolPods Without Controller - 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 boolRemoval Disabled Pods - 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 boolPersistent Volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- Ignore
Problem boolJob Pods - 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 boolPods Without Controller - 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 boolRemoval Disabled Pods - 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_ boolpersistent_ volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- ignore_
problem_ booljob_ pods - 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_ boolpods_ without_ controller - 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_ boolremoval_ disabled_ pods - 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 BooleanPersistent Volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- ignore
Problem BooleanJob Pods - 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 BooleanPods Without Controller - 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 BooleanRemoval Disabled Pods - 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 booleanPersistent Volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- ignore
Problem booleanJob Pods - 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 booleanPods Without Controller - 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 booleanRemoval Disabled Pods - 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_ boolpersistent_ volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- ignore_
problem_ booljob_ pods - 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_ boolpods_ without_ controller - 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_ boolremoval_ disabled_ pods - 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 BooleanPersistent Volumes - Rebalance workloads that use local-path Persistent Volumes. THIS WILL RESULT IN DATA LOSS.
- ignore
Problem BooleanJob Pods - 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 BooleanPods Without Controller - 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 BooleanRemoval Disabled Pods - 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
- Disable
Uncordon bool - When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
- Uncordon
After intSeconds - 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
disableUncordonis 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 intSeconds - 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
disableUncordonis 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_ numberseconds - 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
disableUncordonis true.
- disable
Uncordon Boolean - When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
- uncordon
After IntegerSeconds - 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
disableUncordonis true.
- disable
Uncordon boolean - When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
- uncordon
After numberSeconds - 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
disableUncordonis 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_ intseconds - 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
disableUncordonis true.
- disable
Uncordon Boolean - When true, drain-failed nodes will NOT be automatically uncordoned. Defaults to false (nodes are uncordoned after the timeout).
- uncordon
After NumberSeconds - 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
disableUncordonis true.
GetRebalancingScheduleLaunchConfigurationExecutionConditions
- Enabled bool
- Enables or disables the execution conditions.
- Achieved
Savings intPercentage - 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 intPercentage - 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_ numberpercentage - 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.
- achieved
Savings IntegerPercentage - 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.
- achieved
Savings numberPercentage - 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_ intpercentage - 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.
- achieved
Savings NumberPercentage - 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
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- Cron string
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron string
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron String
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron string
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron str
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
- cron String
Cron expression defining when the schedule should trigger.
The
cronexpression can optionally include theCRON_TZvariable 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_TZvariable 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_TZvariable, ensure that the specified timezone is valid and supported by checking the list of available timezones from the API endpoint. If theCRON_TZvariable is not specified, the cron expression will be interpreted in the UTC timezone.
GetRebalancingScheduleTriggerCondition
- Savings
Percentage double - 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.
- Savings
Percentage float64 - 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.
- 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.
- savings
Percentage Double - Defines the minimum percentage of savings expected.
- ignore
Savings Boolean - 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 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.
- savings
Percentage Number - Defines the minimum percentage of savings expected.
- ignore
Savings 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
castaiTerraform Provider.
published on Wednesday, Aug 19, 2026 by CAST AI