1. Packages
  2. CAST AI
  3. API Docs
  4. RebalancingJob
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

castai.RebalancingJob

Start a Neo task
Explain and create a castai.RebalancingJob resource
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    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:

    ClusterId string
    CAST AI cluster id.
    RebalancingScheduleId string
    Rebalancing schedule of this job.
    Enabled bool
    The job will only be executed if it's enabled.
    ClusterId string
    CAST AI cluster id.
    RebalancingScheduleId string
    Rebalancing schedule of this job.
    Enabled bool
    The job will only be executed if it's enabled.
    clusterId String
    CAST AI cluster id.
    rebalancingScheduleId String
    Rebalancing schedule of this job.
    enabled Boolean
    The job will only be executed if it's enabled.
    clusterId string
    CAST AI cluster id.
    rebalancingScheduleId string
    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_id str
    Rebalancing schedule of this job.
    enabled bool
    The job will only be executed if it's enabled.
    clusterId String
    CAST AI cluster id.
    rebalancingScheduleId String
    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) -> RebalancingJob
    func 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.
    The following state arguments are supported:
    ClusterId string
    CAST AI cluster id.
    Enabled bool
    The job will only be executed if it's enabled.
    RebalancingScheduleId string
    Rebalancing schedule of this job.
    ClusterId string
    CAST AI cluster id.
    Enabled bool
    The job will only be executed if it's enabled.
    RebalancingScheduleId string
    Rebalancing schedule of this job.
    clusterId String
    CAST AI cluster id.
    enabled Boolean
    The job will only be executed if it's enabled.
    rebalancingScheduleId String
    Rebalancing schedule of this job.
    clusterId string
    CAST AI cluster id.
    enabled boolean
    The job will only be executed if it's enabled.
    rebalancingScheduleId string
    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_id str
    Rebalancing schedule of this job.
    clusterId String
    CAST AI cluster id.
    enabled Boolean
    The job will only be executed if it's enabled.
    rebalancingScheduleId String
    Rebalancing schedule of this job.

    Package Details

    Repository
    castai castai/pulumi-castai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the castai Terraform Provider.
    castai logo
    CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
      Meet Neo: Your AI Platform Teammate