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

castai.EvictorAdvancedConfig

Get Started
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    Create EvictorAdvancedConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EvictorAdvancedConfig(name: string, args: EvictorAdvancedConfigArgs, opts?: CustomResourceOptions);
    @overload
    def EvictorAdvancedConfig(resource_name: str,
                              args: EvictorAdvancedConfigArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def EvictorAdvancedConfig(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              cluster_id: Optional[str] = None,
                              evictor_advanced_configs: Optional[Sequence[_autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]] = None)
    func NewEvictorAdvancedConfig(ctx *Context, name string, args EvictorAdvancedConfigArgs, opts ...ResourceOption) (*EvictorAdvancedConfig, error)
    public EvictorAdvancedConfig(string name, EvictorAdvancedConfigArgs args, CustomResourceOptions? opts = null)
    public EvictorAdvancedConfig(String name, EvictorAdvancedConfigArgs args)
    public EvictorAdvancedConfig(String name, EvictorAdvancedConfigArgs args, CustomResourceOptions options)
    
    type: castai:autoscaling:EvictorAdvancedConfig
    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 EvictorAdvancedConfigArgs
    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 EvictorAdvancedConfigArgs
    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 EvictorAdvancedConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EvictorAdvancedConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EvictorAdvancedConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EvictorAdvancedConfig 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 EvictorAdvancedConfig resource accepts the following input properties:

    ClusterId string
    CAST AI cluster id.
    EvictorAdvancedConfigs List<Pulumi.CastAI.Autoscaling.Inputs.EvictorAdvancedConfigEvictorAdvancedConfig>
    evictor advanced configuration to target specific node/pod
    ClusterId string
    CAST AI cluster id.
    EvictorAdvancedConfigs EvictorAdvancedConfigEvictorAdvancedConfigArgs
    evictor advanced configuration to target specific node/pod
    clusterId String
    CAST AI cluster id.
    evictorAdvancedConfigs List<EvictorAdvancedConfigEvictorAdvancedConfig>
    evictor advanced configuration to target specific node/pod
    clusterId string
    CAST AI cluster id.
    evictorAdvancedConfigs autoscalingEvictorAdvancedConfigEvictorAdvancedConfig[]
    evictor advanced configuration to target specific node/pod
    cluster_id str
    CAST AI cluster id.
    evictor_advanced_configs Sequence[autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]
    evictor advanced configuration to target specific node/pod
    clusterId String
    CAST AI cluster id.
    evictorAdvancedConfigs List<Property Map>
    evictor advanced configuration to target specific node/pod

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EvictorAdvancedConfig 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 EvictorAdvancedConfig Resource

    Get an existing EvictorAdvancedConfig 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?: EvictorAdvancedConfigState, opts?: CustomResourceOptions): EvictorAdvancedConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            evictor_advanced_configs: Optional[Sequence[_autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]] = None) -> EvictorAdvancedConfig
    func GetEvictorAdvancedConfig(ctx *Context, name string, id IDInput, state *EvictorAdvancedConfigState, opts ...ResourceOption) (*EvictorAdvancedConfig, error)
    public static EvictorAdvancedConfig Get(string name, Input<string> id, EvictorAdvancedConfigState? state, CustomResourceOptions? opts = null)
    public static EvictorAdvancedConfig get(String name, Output<String> id, EvictorAdvancedConfigState state, CustomResourceOptions options)
    resources:  _:    type: castai:autoscaling:EvictorAdvancedConfig    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.
    EvictorAdvancedConfigs List<Pulumi.CastAI.Autoscaling.Inputs.EvictorAdvancedConfigEvictorAdvancedConfig>
    evictor advanced configuration to target specific node/pod
    ClusterId string
    CAST AI cluster id.
    EvictorAdvancedConfigs EvictorAdvancedConfigEvictorAdvancedConfigArgs
    evictor advanced configuration to target specific node/pod
    clusterId String
    CAST AI cluster id.
    evictorAdvancedConfigs List<EvictorAdvancedConfigEvictorAdvancedConfig>
    evictor advanced configuration to target specific node/pod
    clusterId string
    CAST AI cluster id.
    evictorAdvancedConfigs autoscalingEvictorAdvancedConfigEvictorAdvancedConfig[]
    evictor advanced configuration to target specific node/pod
    cluster_id str
    CAST AI cluster id.
    evictor_advanced_configs Sequence[autoscaling.EvictorAdvancedConfigEvictorAdvancedConfigArgs]
    evictor advanced configuration to target specific node/pod
    clusterId String
    CAST AI cluster id.
    evictorAdvancedConfigs List<Property Map>
    evictor advanced configuration to target specific node/pod

    Supporting Types

    EvictorAdvancedConfigEvictorAdvancedConfig, EvictorAdvancedConfigEvictorAdvancedConfigArgs

    Aggressive bool
    Apply Aggressive mode to Evictor
    Disposable bool
    Mark node as disposable
    NodeSelectors EvictorAdvancedConfigEvictorAdvancedConfigNodeSelector
    node selector
    PodSelectors EvictorAdvancedConfigEvictorAdvancedConfigPodSelector
    pod selector
    RemovalDisabled bool
    Mark pods as removal disabled
    aggressive Boolean
    Apply Aggressive mode to Evictor
    disposable Boolean
    Mark node as disposable
    nodeSelectors List<EvictorAdvancedConfigEvictorAdvancedConfigNodeSelector>
    node selector
    podSelectors List<EvictorAdvancedConfigEvictorAdvancedConfigPodSelector>
    pod selector
    removalDisabled Boolean
    Mark pods as removal disabled
    aggressive boolean
    Apply Aggressive mode to Evictor
    disposable boolean
    Mark node as disposable
    nodeSelectors autoscalingEvictorAdvancedConfigEvictorAdvancedConfigNodeSelector[]
    node selector
    podSelectors autoscalingEvictorAdvancedConfigEvictorAdvancedConfigPodSelector[]
    pod selector
    removalDisabled boolean
    Mark pods as removal disabled
    aggressive Boolean
    Apply Aggressive mode to Evictor
    disposable Boolean
    Mark node as disposable
    nodeSelectors List<Property Map>
    node selector
    podSelectors List<Property Map>
    pod selector
    removalDisabled Boolean
    Mark pods as removal disabled

    EvictorAdvancedConfigEvictorAdvancedConfigNodeSelector, EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorArgs

    EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorMatchExpression, EvictorAdvancedConfigEvictorAdvancedConfigNodeSelectorMatchExpressionArgs

    Key string
    Operator string
    Values List<string>
    Key string
    Operator string
    Values []string
    key String
    operator String
    values List<String>
    key string
    operator string
    values string[]
    key str
    operator str
    values Sequence[str]
    key String
    operator String
    values List<String>

    EvictorAdvancedConfigEvictorAdvancedConfigPodSelector, EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorArgs

    EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorMatchExpression, EvictorAdvancedConfigEvictorAdvancedConfigPodSelectorMatchExpressionArgs

    Key string
    Operator string
    Values List<string>
    Key string
    Operator string
    Values []string
    key String
    operator String
    values List<String>
    key string
    operator string
    values string[]
    key str
    operator str
    values Sequence[str]
    key String
    operator String
    values List<String>

    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