published on Thursday, Oct 15, 2026 by Volcengine
published on Thursday, Oct 15, 2026 by Volcengine
Scaling policy for VKE node pool (ScalingPolicy), used to configure scheduled or scheduled instance elastic scaling strategies for node pools in the specified cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.vke.NodepoolScalingPolicy("example", {
clusterId: "cluster_id-xxxx",
nodePoolId: "node_pool_id-xxxxx",
type: "Recurrence",
adjustmentValue: 2,
enabled: true,
scheduledPolicy: {
launch_time: "2026-09-19T00:00Z",
recurrence_type: "Daily",
recurrence_value: "1",
recurrence_end_time: "2026-10-19T00:00Z",
},
scheduledInstancePolicy: {
elastic_scheduled_instance_type: "Esi",
start_delivery_time: "2026-09-19T04:00Z",
end_delivery_time: "2026-09-19T04:10Z",
best_effort: false,
},
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.vke.NodepoolScalingPolicy("example",
cluster_id="cluster_id-xxxx",
node_pool_id="node_pool_id-xxxxx",
type="Recurrence",
adjustment_value=2,
enabled=True,
scheduled_policy={
"launch_time": "2026-09-19T00:00Z",
"recurrence_type": "Daily",
"recurrence_value": "1",
"recurrence_end_time": "2026-10-19T00:00Z",
},
scheduled_instance_policy={
"elastic_scheduled_instance_type": "Esi",
"start_delivery_time": "2026-09-19T04:00Z",
"end_delivery_time": "2026-09-19T04:10Z",
"best_effort": False,
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vke"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vke.NewNodepoolScalingPolicy(ctx, "example", &vke.NodepoolScalingPolicyArgs{
ClusterId: pulumi.String("cluster_id-xxxx"),
NodePoolId: pulumi.String("node_pool_id-xxxxx"),
Type: pulumi.String("Recurrence"),
AdjustmentValue: pulumi.Int(2),
Enabled: pulumi.Bool(true),
ScheduledPolicy: &vke.NodepoolScalingPolicyScheduledPolicyArgs{
Launch_time: "2026-09-19T00:00Z",
Recurrence_type: "Daily",
Recurrence_value: "1",
Recurrence_end_time: "2026-10-19T00:00Z",
},
ScheduledInstancePolicy: &vke.NodepoolScalingPolicyScheduledInstancePolicyArgs{
Elastic_scheduled_instance_type: "Esi",
Start_delivery_time: "2026-09-19T04:00Z",
End_delivery_time: "2026-09-19T04:10Z",
Best_effort: false,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var example = new Volcenginecc.Vke.NodepoolScalingPolicy("example", new()
{
ClusterId = "cluster_id-xxxx",
NodePoolId = "node_pool_id-xxxxx",
Type = "Recurrence",
AdjustmentValue = 2,
Enabled = true,
ScheduledPolicy = new Volcenginecc.Vke.Inputs.NodepoolScalingPolicyScheduledPolicyArgs
{
Launch_time = "2026-09-19T00:00Z",
Recurrence_type = "Daily",
Recurrence_value = "1",
Recurrence_end_time = "2026-10-19T00:00Z",
},
ScheduledInstancePolicy = new Volcenginecc.Vke.Inputs.NodepoolScalingPolicyScheduledInstancePolicyArgs
{
Elastic_scheduled_instance_type = "Esi",
Start_delivery_time = "2026-09-19T04:00Z",
End_delivery_time = "2026-09-19T04:10Z",
Best_effort = false,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vke.NodepoolScalingPolicy;
import com.volcengine.volcenginecc.vke.NodepoolScalingPolicyArgs;
import com.pulumi.volcenginecc.vke.inputs.NodepoolScalingPolicyScheduledPolicyArgs;
import com.pulumi.volcenginecc.vke.inputs.NodepoolScalingPolicyScheduledInstancePolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new NodepoolScalingPolicy("example", NodepoolScalingPolicyArgs.builder()
.clusterId("cluster_id-xxxx")
.nodePoolId("node_pool_id-xxxxx")
.type("Recurrence")
.adjustmentValue(2)
.enabled(true)
.scheduledPolicy(NodepoolScalingPolicyScheduledPolicyArgs.builder()
.launch_time("2026-09-19T00:00Z")
.recurrence_type("Daily")
.recurrence_value("1")
.recurrence_end_time("2026-10-19T00:00Z")
.build())
.scheduledInstancePolicy(NodepoolScalingPolicyScheduledInstancePolicyArgs.builder()
.elastic_scheduled_instance_type("Esi")
.start_delivery_time("2026-09-19T04:00Z")
.end_delivery_time("2026-09-19T04:10Z")
.best_effort(false)
.build())
.build());
}
}
resources:
example:
type: volcenginecc:vke:NodepoolScalingPolicy
properties:
clusterId: cluster_id-xxxx
nodePoolId: node_pool_id-xxxxx
type: Recurrence
adjustmentValue: 2
enabled: true
scheduledPolicy:
launch_time: 2026-09-19T00:00Z
recurrence_type: Daily
recurrence_value: '1'
recurrence_end_time: 2026-10-19T00:00Z
scheduledInstancePolicy:
elastic_scheduled_instance_type: Esi
start_delivery_time: 2026-09-19T04:00Z
end_delivery_time: 2026-09-19T04:10Z
best_effort: false
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_vke_nodepoolscalingpolicy" "example" {
cluster_id = "cluster_id-xxxx"
node_pool_id = "node_pool_id-xxxxx"
type = "Recurrence"
adjustment_value = 2
enabled = true
scheduled_policy = {
launch_time = "2026-09-19T00:00Z"
recurrence_type = "Daily"
recurrence_value = "1"
recurrence_end_time = "2026-10-19T00:00Z"
}
scheduled_instance_policy = {
elastic_scheduled_instance_type = "Esi"
start_delivery_time = "2026-09-19T04:00Z"
end_delivery_time = "2026-09-19T04:10Z"
best_effort = false
}
}
Create NodepoolScalingPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodepoolScalingPolicy(name: string, args: NodepoolScalingPolicyArgs, opts?: CustomResourceOptions);@overload
def NodepoolScalingPolicy(resource_name: str,
args: NodepoolScalingPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodepoolScalingPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
adjustment_value: Optional[int] = None,
cluster_id: Optional[str] = None,
node_pool_id: Optional[str] = None,
type: Optional[str] = None,
enabled: Optional[bool] = None,
scheduled_instance_policy: Optional[NodepoolScalingPolicyScheduledInstancePolicyArgs] = None,
scheduled_policy: Optional[NodepoolScalingPolicyScheduledPolicyArgs] = None)func NewNodepoolScalingPolicy(ctx *Context, name string, args NodepoolScalingPolicyArgs, opts ...ResourceOption) (*NodepoolScalingPolicy, error)public NodepoolScalingPolicy(string name, NodepoolScalingPolicyArgs args, CustomResourceOptions? opts = null)
public NodepoolScalingPolicy(String name, NodepoolScalingPolicyArgs args)
public NodepoolScalingPolicy(String name, NodepoolScalingPolicyArgs args, CustomResourceOptions options)
type: volcenginecc:vke:NodepoolScalingPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_vke_nodepool_scaling_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NodepoolScalingPolicyArgs
- 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 NodepoolScalingPolicyArgs
- 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 NodepoolScalingPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodepoolScalingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodepoolScalingPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodepoolScalingPolicyResource = new Volcenginecc.Vke.NodepoolScalingPolicy("nodepoolScalingPolicyResource", new()
{
AdjustmentValue = 0,
ClusterId = "string",
NodePoolId = "string",
Type = "string",
Enabled = false,
ScheduledInstancePolicy = new Volcenginecc.Vke.Inputs.NodepoolScalingPolicyScheduledInstancePolicyArgs
{
AutoReleaseTime = "string",
BestEffort = false,
DeliveryType = "string",
ElasticScheduledInstanceType = "string",
EndDeliveryTime = "string",
StartDeliveryTime = "string",
},
ScheduledPolicy = new Volcenginecc.Vke.Inputs.NodepoolScalingPolicyScheduledPolicyArgs
{
LaunchTime = "string",
RecurrenceEndTime = "string",
RecurrenceType = "string",
RecurrenceValue = "string",
},
});
example, err := vke.NewNodepoolScalingPolicy(ctx, "nodepoolScalingPolicyResource", &vke.NodepoolScalingPolicyArgs{
AdjustmentValue: pulumi.Int(0),
ClusterId: pulumi.String("string"),
NodePoolId: pulumi.String("string"),
Type: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ScheduledInstancePolicy: &vke.NodepoolScalingPolicyScheduledInstancePolicyArgs{
AutoReleaseTime: pulumi.String("string"),
BestEffort: pulumi.Bool(false),
DeliveryType: pulumi.String("string"),
ElasticScheduledInstanceType: pulumi.String("string"),
EndDeliveryTime: pulumi.String("string"),
StartDeliveryTime: pulumi.String("string"),
},
ScheduledPolicy: &vke.NodepoolScalingPolicyScheduledPolicyArgs{
LaunchTime: pulumi.String("string"),
RecurrenceEndTime: pulumi.String("string"),
RecurrenceType: pulumi.String("string"),
RecurrenceValue: pulumi.String("string"),
},
})
resource "volcenginecc_vke_nodepool_scaling_policy" "nodepoolScalingPolicyResource" {
lifecycle {
create_before_destroy = true
}
adjustment_value = 0
cluster_id = "string"
node_pool_id = "string"
type = "string"
enabled = false
scheduled_instance_policy = {
auto_release_time = "string"
best_effort = false
delivery_type = "string"
elastic_scheduled_instance_type = "string"
end_delivery_time = "string"
start_delivery_time = "string"
}
scheduled_policy = {
launch_time = "string"
recurrence_end_time = "string"
recurrence_type = "string"
recurrence_value = "string"
}
}
var nodepoolScalingPolicyResource = new NodepoolScalingPolicy("nodepoolScalingPolicyResource", NodepoolScalingPolicyArgs.builder()
.adjustmentValue(0)
.clusterId("string")
.nodePoolId("string")
.type("string")
.enabled(false)
.scheduledInstancePolicy(NodepoolScalingPolicyScheduledInstancePolicyArgs.builder()
.autoReleaseTime("string")
.bestEffort(false)
.deliveryType("string")
.elasticScheduledInstanceType("string")
.endDeliveryTime("string")
.startDeliveryTime("string")
.build())
.scheduledPolicy(NodepoolScalingPolicyScheduledPolicyArgs.builder()
.launchTime("string")
.recurrenceEndTime("string")
.recurrenceType("string")
.recurrenceValue("string")
.build())
.build());
nodepool_scaling_policy_resource = volcenginecc.vke.NodepoolScalingPolicy("nodepoolScalingPolicyResource",
adjustment_value=0,
cluster_id="string",
node_pool_id="string",
type="string",
enabled=False,
scheduled_instance_policy={
"auto_release_time": "string",
"best_effort": False,
"delivery_type": "string",
"elastic_scheduled_instance_type": "string",
"end_delivery_time": "string",
"start_delivery_time": "string",
},
scheduled_policy={
"launch_time": "string",
"recurrence_end_time": "string",
"recurrence_type": "string",
"recurrence_value": "string",
})
const nodepoolScalingPolicyResource = new volcenginecc.vke.NodepoolScalingPolicy("nodepoolScalingPolicyResource", {
adjustmentValue: 0,
clusterId: "string",
nodePoolId: "string",
type: "string",
enabled: false,
scheduledInstancePolicy: {
autoReleaseTime: "string",
bestEffort: false,
deliveryType: "string",
elasticScheduledInstanceType: "string",
endDeliveryTime: "string",
startDeliveryTime: "string",
},
scheduledPolicy: {
launchTime: "string",
recurrenceEndTime: "string",
recurrenceType: "string",
recurrenceValue: "string",
},
});
type: volcenginecc:vke:NodepoolScalingPolicy
properties:
adjustmentValue: 0
clusterId: string
enabled: false
nodePoolId: string
scheduledInstancePolicy:
autoReleaseTime: string
bestEffort: false
deliveryType: string
elasticScheduledInstanceType: string
endDeliveryTime: string
startDeliveryTime: string
scheduledPolicy:
launchTime: string
recurrenceEndTime: string
recurrenceType: string
recurrenceValue: string
type: string
NodepoolScalingPolicy 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 NodepoolScalingPolicy resource accepts the following input properties:
- Adjustment
Value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- Cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- Type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- Enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- Scheduled
Instance Volcengine.Policy Nodepool Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- Scheduled
Policy Volcengine.Nodepool Scaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- Adjustment
Value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- Cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- Type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- Enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- Scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy Args - Elastic reservation scaling rule configuration.
- Scheduled
Policy NodepoolScaling Policy Scheduled Policy Args - Scheduled task or recurring task configuration.
- adjustment_
value number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster_
id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- node_
pool_ stringid - Node pool ID. The node pool must be in {Running,[*]} status.
- type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- scheduled_
instance_ objectpolicy - Elastic reservation scaling rule configuration.
- scheduled_
policy object - Scheduled task or recurring task configuration.
- adjustment
Value Integer - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id String - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- node
Pool StringId - Node pool ID. The node pool must be in {Running,[*]} status.
- type String
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- enabled Boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- scheduled
Policy NodepoolScaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- adjustment
Value number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- enabled boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- scheduled
Policy NodepoolScaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- adjustment_
value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster_
id str - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- node_
pool_ strid - Node pool ID. The node pool must be in {Running,[*]} status.
- type str
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- scheduled_
instance_ Nodepoolpolicy Scaling Policy Scheduled Instance Policy Args - Elastic reservation scaling rule configuration.
- scheduled_
policy NodepoolScaling Policy Scheduled Policy Args - Scheduled task or recurring task configuration.
- adjustment
Value Number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id String - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- node
Pool StringId - Node pool ID. The node pool must be in {Running,[*]} status.
- type String
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- enabled Boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- scheduled
Instance Property MapPolicy - Elastic reservation scaling rule configuration.
- scheduled
Policy Property Map - Scheduled task or recurring task configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodepoolScalingPolicy resource produces the following output properties:
- Create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- Scaling
Policy stringId - Elastic scheduled scaling rule ID.
- Update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- Scaling
Policy stringId - Elastic scheduled scaling rule ID.
- Update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- create_
client_ stringtoken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- scaling_
policy_ stringid - Elastic scheduled scaling rule ID.
- update_
client_ stringtoken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- create
Client StringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- scaling
Policy StringId - Elastic scheduled scaling rule ID.
- update
Client StringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- scaling
Policy stringId - Elastic scheduled scaling rule ID.
- update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- create_
client_ strtoken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- scaling_
policy_ strid - Elastic scheduled scaling rule ID.
- update_
client_ strtoken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- create
Client StringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- scaling
Policy StringId - Elastic scheduled scaling rule ID.
- update
Client StringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
Look up Existing NodepoolScalingPolicy Resource
Get an existing NodepoolScalingPolicy 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?: NodepoolScalingPolicyState, opts?: CustomResourceOptions): NodepoolScalingPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adjustment_value: Optional[int] = None,
cluster_id: Optional[str] = None,
create_client_token: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
node_pool_id: Optional[str] = None,
scaling_policy_id: Optional[str] = None,
scheduled_instance_policy: Optional[NodepoolScalingPolicyScheduledInstancePolicyArgs] = None,
scheduled_policy: Optional[NodepoolScalingPolicyScheduledPolicyArgs] = None,
type: Optional[str] = None,
update_client_token: Optional[str] = None) -> NodepoolScalingPolicyfunc GetNodepoolScalingPolicy(ctx *Context, name string, id IDInput, state *NodepoolScalingPolicyState, opts ...ResourceOption) (*NodepoolScalingPolicy, error)public static NodepoolScalingPolicy Get(string name, Input<string> id, NodepoolScalingPolicyState? state, CustomResourceOptions? opts = null)public static NodepoolScalingPolicy get(String name, Output<String> id, NodepoolScalingPolicyState state, CustomResourceOptions options)resources: _: type: volcenginecc:vke:NodepoolScalingPolicy get: id: ${id}import {
to = volcenginecc_vke_nodepool_scaling_policy.example
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.
- Adjustment
Value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- Cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- Name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- Node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- Scaling
Policy stringId - Elastic scheduled scaling rule ID.
- Scheduled
Instance Volcengine.Policy Nodepool Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- Scheduled
Policy Volcengine.Nodepool Scaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- Type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- Update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Adjustment
Value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- Cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- Enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- Name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- Node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- Scaling
Policy stringId - Elastic scheduled scaling rule ID.
- Scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy Args - Elastic reservation scaling rule configuration.
- Scheduled
Policy NodepoolScaling Policy Scheduled Policy Args - Scheduled task or recurring task configuration.
- Type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- Update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- adjustment_
value number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster_
id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- create_
client_ stringtoken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- node_
pool_ stringid - Node pool ID. The node pool must be in {Running,[*]} status.
- scaling_
policy_ stringid - Elastic scheduled scaling rule ID.
- scheduled_
instance_ objectpolicy - Elastic reservation scaling rule configuration.
- scheduled_
policy object - Scheduled task or recurring task configuration.
- type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- update_
client_ stringtoken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- adjustment
Value Integer - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id String - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- create
Client StringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- enabled Boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- name String
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- node
Pool StringId - Node pool ID. The node pool must be in {Running,[*]} status.
- scaling
Policy StringId - Elastic scheduled scaling rule ID.
- scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- scheduled
Policy NodepoolScaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- type String
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- update
Client StringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- adjustment
Value number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id string - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- create
Client stringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- enabled boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- name string
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- node
Pool stringId - Node pool ID. The node pool must be in {Running,[*]} status.
- scaling
Policy stringId - Elastic scheduled scaling rule ID.
- scheduled
Instance NodepoolPolicy Scaling Policy Scheduled Instance Policy - Elastic reservation scaling rule configuration.
- scheduled
Policy NodepoolScaling Policy Scheduled Policy - Scheduled task or recurring task configuration.
- type string
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- update
Client stringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- adjustment_
value int - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster_
id str - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- create_
client_ strtoken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- enabled bool
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- name str
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- node_
pool_ strid - Node pool ID. The node pool must be in {Running,[*]} status.
- scaling_
policy_ strid - Elastic scheduled scaling rule ID.
- scheduled_
instance_ Nodepoolpolicy Scaling Policy Scheduled Instance Policy Args - Elastic reservation scaling rule configuration.
- scheduled_
policy NodepoolScaling Policy Scheduled Policy Args - Scheduled task or recurring task configuration.
- type str
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- update_
client_ strtoken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- adjustment
Value Number - Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
- cluster
Id String - Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- create
Client StringToken - String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
- enabled Boolean
- Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
- name String
- Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
- node
Pool StringId - Node pool ID. The node pool must be in {Running,[*]} status.
- scaling
Policy StringId - Elastic scheduled scaling rule ID.
- scheduled
Instance Property MapPolicy - Elastic reservation scaling rule configuration.
- scheduled
Policy Property Map - Scheduled task or recurring task configuration.
- type String
- Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
- update
Client StringToken - String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
Supporting Types
NodepoolScalingPolicyScheduledInstancePolicy, NodepoolScalingPolicyScheduledInstancePolicyArgs
- Auto
Release stringTime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- Best
Effort bool - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- Delivery
Type string - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- Elastic
Scheduled stringInstance Type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- End
Delivery stringTime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- Start
Delivery stringTime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- Auto
Release stringTime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- Best
Effort bool - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- Delivery
Type string - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- Elastic
Scheduled stringInstance Type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- End
Delivery stringTime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- Start
Delivery stringTime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- auto_
release_ stringtime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- best_
effort bool - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- delivery_
type string - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- elastic_
scheduled_ stringinstance_ type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- end_
delivery_ stringtime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- start_
delivery_ stringtime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- auto
Release StringTime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- best
Effort Boolean - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- delivery
Type String - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- elastic
Scheduled StringInstance Type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- end
Delivery StringTime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- start
Delivery StringTime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- auto
Release stringTime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- best
Effort boolean - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- delivery
Type string - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- elastic
Scheduled stringInstance Type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- end
Delivery stringTime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- start
Delivery stringTime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- auto_
release_ strtime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- best_
effort bool - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- delivery_
type str - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- elastic_
scheduled_ strinstance_ type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- end_
delivery_ strtime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- start_
delivery_ strtime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- auto
Release StringTime - Automatic release time for reserved instances, in UTC, accurate to the minute, must be at a 10-minute mark. Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- best
Effort Boolean - If the inventory of elastic scheduled instances cannot fully meet the reservation demand, specify whether to reserve as many instances as possible. false (default): At most one reservation order is generated; true: If a single reservation order cannot meet the demand, multiple reservation orders will be submitted.
- delivery
Type String - Delivery type for elastic scheduled instance - time segment type. Valid values: Reserve (reserved delivery), Immediate (immediate delivery). Required and valid only when ElasticScheduledInstanceType is Segmented (elastic scheduled instance - time segment type).
- elastic
Scheduled StringInstance Type - Elastic reservation instance type. Options: Esi (general-purpose elastic reservation instance), Segmented (time-slot elastic reservation instance).
- end
Delivery StringTime - End time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark and have a 10-minute interval from StartDeliveryTime. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
- start
Delivery StringTime - Start time for delivery of the elastic reservation instance, in UTC, accurate to the minute. Must be on a 10-minute mark. For type Esi, set within 4–8 hours after LaunchTime; for type Segmented with DeliveryType Reserve, set within 24 hours after LaunchTime.
NodepoolScalingPolicyScheduledPolicy, NodepoolScalingPolicyScheduledPolicyArgs
- Launch
Time string - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- Recurrence
End stringTime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- Recurrence
Type string - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- Recurrence
Value string - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- Launch
Time string - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- Recurrence
End stringTime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- Recurrence
Type string - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- Recurrence
Value string - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- launch_
time string - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- recurrence_
end_ stringtime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- recurrence_
type string - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- recurrence_
value string - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- launch
Time String - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- recurrence
End StringTime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- recurrence
Type String - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- recurrence
Value String - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- launch
Time string - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- recurrence
End stringTime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- recurrence
Type string - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- recurrence
Value string - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- launch_
time str - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- recurrence_
end_ strtime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- recurrence_
type str - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- recurrence_
value str - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
- launch
Time String - Task start time, in UTC, accurate to the minute. When Type is Scheduled, this is the trigger time for the scheduled task; when Type is Recurrence, this is the start time for the periodic task. Must be later than the current time, and can only be set within 90 days from the creation/modification time.
- recurrence
End StringTime - End time for the periodic task, in UTC, accurate to the minute. Only valid and required when Type is Recurrence. Must be greater than or equal to LaunchTime, and can only be set within 365 days from the creation/modification time.
- recurrence
Type String - Recurrence cycle for the periodic task. Only valid and required when Type is Recurrence. Options: Daily (runs every few days), Weekly (select days of the week, runs once per day), Monthly (select dates within the month, runs once per day).
- recurrence
Value String - Number of recurrences for the periodic task. Only valid and required when Type is Recurrence. For RecurrenceType Daily, only one value is allowed, range 1–31; for Weekly, multiple values can be entered and separated by commas (Monday to Sunday are 1–7); for Monthly, use the format A-B (both A and B range from 1–31, and B ≥ A).
Import
$ pulumi import volcenginecc:vke/nodepoolScalingPolicy:NodepoolScalingPolicy example "scaling_policy_id|cluster_id|node_pool_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Oct 15, 2026 by Volcengine