CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.RebalancingJob
Create RebalancingJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RebalancingJob(name: string, args: RebalancingJobArgs, opts?: CustomResourceOptions);@overload
def RebalancingJob(resource_name: str,
args: RebalancingJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RebalancingJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
rebalancing_schedule_id: Optional[str] = None,
enabled: Optional[bool] = None)func NewRebalancingJob(ctx *Context, name string, args RebalancingJobArgs, opts ...ResourceOption) (*RebalancingJob, error)public RebalancingJob(string name, RebalancingJobArgs args, CustomResourceOptions? opts = null)
public RebalancingJob(String name, RebalancingJobArgs args)
public RebalancingJob(String name, RebalancingJobArgs args, CustomResourceOptions options)
type: castai:rebalancing:RebalancingJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RebalancingJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RebalancingJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RebalancingJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RebalancingJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RebalancingJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RebalancingJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RebalancingJob resource accepts the following input properties:
- Cluster
Id string - CAST AI cluster id.
- Rebalancing
Schedule stringId - Rebalancing schedule of this job.
- Enabled bool
- The job will only be executed if it's enabled.
- Cluster
Id string - CAST AI cluster id.
- Rebalancing
Schedule stringId - Rebalancing schedule of this job.
- Enabled bool
- The job will only be executed if it's enabled.
- cluster
Id String - CAST AI cluster id.
- rebalancing
Schedule StringId - Rebalancing schedule of this job.
- enabled Boolean
- The job will only be executed if it's enabled.
- cluster
Id string - CAST AI cluster id.
- rebalancing
Schedule stringId - Rebalancing schedule of this job.
- enabled boolean
- The job will only be executed if it's enabled.
- cluster_
id str - CAST AI cluster id.
- rebalancing_
schedule_ strid - Rebalancing schedule of this job.
- enabled bool
- The job will only be executed if it's enabled.
- cluster
Id String - CAST AI cluster id.
- rebalancing
Schedule StringId - Rebalancing schedule of this job.
- enabled Boolean
- The job will only be executed if it's enabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the RebalancingJob resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RebalancingJob Resource
Get an existing RebalancingJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RebalancingJobState, opts?: CustomResourceOptions): RebalancingJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
enabled: Optional[bool] = None,
rebalancing_schedule_id: Optional[str] = None) -> RebalancingJobfunc GetRebalancingJob(ctx *Context, name string, id IDInput, state *RebalancingJobState, opts ...ResourceOption) (*RebalancingJob, error)public static RebalancingJob Get(string name, Input<string> id, RebalancingJobState? state, CustomResourceOptions? opts = null)public static RebalancingJob get(String name, Output<String> id, RebalancingJobState state, CustomResourceOptions options)resources: _: type: castai:rebalancing:RebalancingJob get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - CAST AI cluster id.
- Enabled bool
- The job will only be executed if it's enabled.
- Rebalancing
Schedule stringId - Rebalancing schedule of this job.
- Cluster
Id string - CAST AI cluster id.
- Enabled bool
- The job will only be executed if it's enabled.
- Rebalancing
Schedule stringId - Rebalancing schedule of this job.
- cluster
Id String - CAST AI cluster id.
- enabled Boolean
- The job will only be executed if it's enabled.
- rebalancing
Schedule StringId - Rebalancing schedule of this job.
- cluster
Id string - CAST AI cluster id.
- enabled boolean
- The job will only be executed if it's enabled.
- rebalancing
Schedule stringId - Rebalancing schedule of this job.
- cluster_
id str - CAST AI cluster id.
- enabled bool
- The job will only be executed if it's enabled.
- rebalancing_
schedule_ strid - Rebalancing schedule of this job.
- cluster
Id String - CAST AI cluster id.
- enabled Boolean
- The job will only be executed if it's enabled.
- rebalancing
Schedule StringId - Rebalancing schedule of this job.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
