1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. KubernetesAsScalingGroup
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.KubernetesAsScalingGroup

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Create KubernetesAsScalingGroup Resource

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

    Constructor syntax

    new KubernetesAsScalingGroup(name: string, args: KubernetesAsScalingGroupArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesAsScalingGroup(resource_name: str,
                                 args: KubernetesAsScalingGroupArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesAsScalingGroup(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 auto_scaling_config: Optional[KubernetesAsScalingGroupAutoScalingConfigArgs] = None,
                                 auto_scaling_group: Optional[KubernetesAsScalingGroupAutoScalingGroupArgs] = None,
                                 cluster_id: Optional[str] = None,
                                 extra_args: Optional[Sequence[str]] = None,
                                 kubernetes_as_scaling_group_id: Optional[str] = None,
                                 labels: Optional[Mapping[str, str]] = None,
                                 unschedulable: Optional[float] = None)
    func NewKubernetesAsScalingGroup(ctx *Context, name string, args KubernetesAsScalingGroupArgs, opts ...ResourceOption) (*KubernetesAsScalingGroup, error)
    public KubernetesAsScalingGroup(string name, KubernetesAsScalingGroupArgs args, CustomResourceOptions? opts = null)
    public KubernetesAsScalingGroup(String name, KubernetesAsScalingGroupArgs args)
    public KubernetesAsScalingGroup(String name, KubernetesAsScalingGroupArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesAsScalingGroup
    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 KubernetesAsScalingGroupArgs
    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 KubernetesAsScalingGroupArgs
    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 KubernetesAsScalingGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesAsScalingGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesAsScalingGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AutoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    AutoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    ClusterId string
    ID of the cluster.
    ExtraArgs List<string>
    Custom parameter information related to the node.
    KubernetesAsScalingGroupId string
    Labels Dictionary<string, string>
    Labels of kubernetes AS Group created nodes.
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    AutoScalingConfig KubernetesAsScalingGroupAutoScalingConfigArgs
    Auto scaling config parameters.
    AutoScalingGroup KubernetesAsScalingGroupAutoScalingGroupArgs
    Auto scaling group parameters.
    ClusterId string
    ID of the cluster.
    ExtraArgs []string
    Custom parameter information related to the node.
    KubernetesAsScalingGroupId string
    Labels map[string]string
    Labels of kubernetes AS Group created nodes.
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    clusterId String
    ID of the cluster.
    extraArgs List<String>
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId String
    labels Map<String,String>
    Labels of kubernetes AS Group created nodes.
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    clusterId string
    ID of the cluster.
    extraArgs string[]
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId string
    labels {[key: string]: string}
    Labels of kubernetes AS Group created nodes.
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    auto_scaling_config KubernetesAsScalingGroupAutoScalingConfigArgs
    Auto scaling config parameters.
    auto_scaling_group KubernetesAsScalingGroupAutoScalingGroupArgs
    Auto scaling group parameters.
    cluster_id str
    ID of the cluster.
    extra_args Sequence[str]
    Custom parameter information related to the node.
    kubernetes_as_scaling_group_id str
    labels Mapping[str, str]
    Labels of kubernetes AS Group created nodes.
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig Property Map
    Auto scaling config parameters.
    autoScalingGroup Property Map
    Auto scaling group parameters.
    clusterId String
    ID of the cluster.
    extraArgs List<String>
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId String
    labels Map<String>
    Labels of kubernetes AS Group created nodes.
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

    Outputs

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

    Get an existing KubernetesAsScalingGroup 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?: KubernetesAsScalingGroupState, opts?: CustomResourceOptions): KubernetesAsScalingGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_scaling_config: Optional[KubernetesAsScalingGroupAutoScalingConfigArgs] = None,
            auto_scaling_group: Optional[KubernetesAsScalingGroupAutoScalingGroupArgs] = None,
            cluster_id: Optional[str] = None,
            extra_args: Optional[Sequence[str]] = None,
            kubernetes_as_scaling_group_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            unschedulable: Optional[float] = None) -> KubernetesAsScalingGroup
    func GetKubernetesAsScalingGroup(ctx *Context, name string, id IDInput, state *KubernetesAsScalingGroupState, opts ...ResourceOption) (*KubernetesAsScalingGroup, error)
    public static KubernetesAsScalingGroup Get(string name, Input<string> id, KubernetesAsScalingGroupState? state, CustomResourceOptions? opts = null)
    public static KubernetesAsScalingGroup get(String name, Output<String> id, KubernetesAsScalingGroupState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesAsScalingGroup    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:
    AutoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    AutoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    ClusterId string
    ID of the cluster.
    ExtraArgs List<string>
    Custom parameter information related to the node.
    KubernetesAsScalingGroupId string
    Labels Dictionary<string, string>
    Labels of kubernetes AS Group created nodes.
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    AutoScalingConfig KubernetesAsScalingGroupAutoScalingConfigArgs
    Auto scaling config parameters.
    AutoScalingGroup KubernetesAsScalingGroupAutoScalingGroupArgs
    Auto scaling group parameters.
    ClusterId string
    ID of the cluster.
    ExtraArgs []string
    Custom parameter information related to the node.
    KubernetesAsScalingGroupId string
    Labels map[string]string
    Labels of kubernetes AS Group created nodes.
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    clusterId String
    ID of the cluster.
    extraArgs List<String>
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId String
    labels Map<String,String>
    Labels of kubernetes AS Group created nodes.
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig KubernetesAsScalingGroupAutoScalingConfig
    Auto scaling config parameters.
    autoScalingGroup KubernetesAsScalingGroupAutoScalingGroup
    Auto scaling group parameters.
    clusterId string
    ID of the cluster.
    extraArgs string[]
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId string
    labels {[key: string]: string}
    Labels of kubernetes AS Group created nodes.
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    auto_scaling_config KubernetesAsScalingGroupAutoScalingConfigArgs
    Auto scaling config parameters.
    auto_scaling_group KubernetesAsScalingGroupAutoScalingGroupArgs
    Auto scaling group parameters.
    cluster_id str
    ID of the cluster.
    extra_args Sequence[str]
    Custom parameter information related to the node.
    kubernetes_as_scaling_group_id str
    labels Mapping[str, str]
    Labels of kubernetes AS Group created nodes.
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
    autoScalingConfig Property Map
    Auto scaling config parameters.
    autoScalingGroup Property Map
    Auto scaling group parameters.
    clusterId String
    ID of the cluster.
    extraArgs List<String>
    Custom parameter information related to the node.
    kubernetesAsScalingGroupId String
    labels Map<String>
    Labels of kubernetes AS Group created nodes.
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.

    Supporting Types

    KubernetesAsScalingGroupAutoScalingConfig, KubernetesAsScalingGroupAutoScalingConfigArgs

    ConfigurationName string
    Name of a launch configuration.
    InstanceType string
    Specified types of CVM instance.
    DataDisks List<KubernetesAsScalingGroupAutoScalingConfigDataDisk>
    Configurations of data disk.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    InstanceTags Dictionary<string, string>
    A list of tags used to associate different resources.
    InternetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    InternetMaxBandwidthOut double
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds List<string>
    ID list of keys.
    Password string
    Password to access.
    ProjectId double
    Specifys to which project the configuration belongs.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds List<string>
    Security groups to which a CVM instance belongs.
    SystemDiskSize double
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.
    ConfigurationName string
    Name of a launch configuration.
    InstanceType string
    Specified types of CVM instance.
    DataDisks []KubernetesAsScalingGroupAutoScalingConfigDataDisk
    Configurations of data disk.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    InstanceTags map[string]string
    A list of tags used to associate different resources.
    InternetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    InternetMaxBandwidthOut float64
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds []string
    ID list of keys.
    Password string
    Password to access.
    ProjectId float64
    Specifys to which project the configuration belongs.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds []string
    Security groups to which a CVM instance belongs.
    SystemDiskSize float64
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.
    configurationName String
    Name of a launch configuration.
    instanceType String
    Specified types of CVM instance.
    dataDisks List<KubernetesAsScalingGroupAutoScalingConfigDataDisk>
    Configurations of data disk.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    instanceTags Map<String,String>
    A list of tags used to associate different resources.
    internetChargeType String
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut Double
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys.
    password String
    Password to access.
    projectId Double
    Specifys to which project the configuration belongs.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    Security groups to which a CVM instance belongs.
    systemDiskSize Double
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.
    configurationName string
    Name of a launch configuration.
    instanceType string
    Specified types of CVM instance.
    dataDisks KubernetesAsScalingGroupAutoScalingConfigDataDisk[]
    Configurations of data disk.
    enhancedMonitorService boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService boolean
    To specify whether to enable cloud security service. Default is TRUE.
    instanceTags {[key: string]: string}
    A list of tags used to associate different resources.
    internetChargeType string
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds string[]
    ID list of keys.
    password string
    Password to access.
    projectId number
    Specifys to which project the configuration belongs.
    publicIpAssigned boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds string[]
    Security groups to which a CVM instance belongs.
    systemDiskSize number
    Volume of system disk in GB. Default is 50.
    systemDiskType string
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.
    configuration_name str
    Name of a launch configuration.
    instance_type str
    Specified types of CVM instance.
    data_disks Sequence[KubernetesAsScalingGroupAutoScalingConfigDataDisk]
    Configurations of data disk.
    enhanced_monitor_service bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhanced_security_service bool
    To specify whether to enable cloud security service. Default is TRUE.
    instance_tags Mapping[str, str]
    A list of tags used to associate different resources.
    internet_charge_type str
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internet_max_bandwidth_out float
    Max bandwidth of Internet access in Mbps. Default is 0.
    key_ids Sequence[str]
    ID list of keys.
    password str
    Password to access.
    project_id float
    Specifys to which project the configuration belongs.
    public_ip_assigned bool
    Specify whether to assign an Internet IP address.
    security_group_ids Sequence[str]
    Security groups to which a CVM instance belongs.
    system_disk_size float
    Volume of system disk in GB. Default is 50.
    system_disk_type str
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.
    configurationName String
    Name of a launch configuration.
    instanceType String
    Specified types of CVM instance.
    dataDisks List<Property Map>
    Configurations of data disk.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    instanceTags Map<String>
    A list of tags used to associate different resources.
    internetChargeType String
    Charge types for network traffic. Valid value: BANDWIDTH_PREPAID, TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_PACKAGE.
    internetMaxBandwidthOut Number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys.
    password String
    Password to access.
    projectId Number
    Specifys to which project the configuration belongs.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    Security groups to which a CVM instance belongs.
    systemDiskSize Number
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    Type of a CVM disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD. Default is CLOUD_PREMIUM.

    KubernetesAsScalingGroupAutoScalingConfigDataDisk, KubernetesAsScalingGroupAutoScalingConfigDataDiskArgs

    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    SnapshotId string
    Data disk snapshot ID.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    SnapshotId string
    Data disk snapshot ID.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    snapshotId String
    Data disk snapshot ID.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    snapshotId string
    Data disk snapshot ID.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    snapshot_id str
    Data disk snapshot ID.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: CLOUD_PREMIUM and CLOUD_SSD.
    snapshotId String
    Data disk snapshot ID.

    KubernetesAsScalingGroupAutoScalingGroup, KubernetesAsScalingGroupAutoScalingGroupArgs

    MaxSize double
    Maximum number of CVM instances (0~2000).
    MinSize double
    Minimum number of CVM instances (0~2000).
    ScalingGroupName string
    Name of a scaling group.
    VpcId string
    ID of VPC network.
    DefaultCooldown double
    Default cooldown time in second, and default value is 300.
    DesiredCapacity double
    Desired volume of CVM instances, which is between max_size and min_size.
    ForwardBalancerIds List<KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId>
    List of application load balancers, which can't be specified with load_balancer_ids together.
    LoadBalancerIds List<string>
    ID list of traditional load balancers.
    ProjectId double
    Specifys to which project the scaling group belongs.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    SubnetIds List<string>
    ID list of subnet, and for VPC it is required.
    Tags Dictionary<string, string>
    Tags of a scaling group.
    TerminationPolicies List<string>
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    Zones List<string>
    List of available zones, for Basic network it is required.
    MaxSize float64
    Maximum number of CVM instances (0~2000).
    MinSize float64
    Minimum number of CVM instances (0~2000).
    ScalingGroupName string
    Name of a scaling group.
    VpcId string
    ID of VPC network.
    DefaultCooldown float64
    Default cooldown time in second, and default value is 300.
    DesiredCapacity float64
    Desired volume of CVM instances, which is between max_size and min_size.
    ForwardBalancerIds []KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId
    List of application load balancers, which can't be specified with load_balancer_ids together.
    LoadBalancerIds []string
    ID list of traditional load balancers.
    ProjectId float64
    Specifys to which project the scaling group belongs.
    RetryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    SubnetIds []string
    ID list of subnet, and for VPC it is required.
    Tags map[string]string
    Tags of a scaling group.
    TerminationPolicies []string
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    Zones []string
    List of available zones, for Basic network it is required.
    maxSize Double
    Maximum number of CVM instances (0~2000).
    minSize Double
    Minimum number of CVM instances (0~2000).
    scalingGroupName String
    Name of a scaling group.
    vpcId String
    ID of VPC network.
    defaultCooldown Double
    Default cooldown time in second, and default value is 300.
    desiredCapacity Double
    Desired volume of CVM instances, which is between max_size and min_size.
    forwardBalancerIds List<KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId>
    List of application load balancers, which can't be specified with load_balancer_ids together.
    loadBalancerIds List<String>
    ID list of traditional load balancers.
    projectId Double
    Specifys to which project the scaling group belongs.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String,String>
    Tags of a scaling group.
    terminationPolicies List<String>
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    zones List<String>
    List of available zones, for Basic network it is required.
    maxSize number
    Maximum number of CVM instances (0~2000).
    minSize number
    Minimum number of CVM instances (0~2000).
    scalingGroupName string
    Name of a scaling group.
    vpcId string
    ID of VPC network.
    defaultCooldown number
    Default cooldown time in second, and default value is 300.
    desiredCapacity number
    Desired volume of CVM instances, which is between max_size and min_size.
    forwardBalancerIds KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId[]
    List of application load balancers, which can't be specified with load_balancer_ids together.
    loadBalancerIds string[]
    ID list of traditional load balancers.
    projectId number
    Specifys to which project the scaling group belongs.
    retryPolicy string
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    subnetIds string[]
    ID list of subnet, and for VPC it is required.
    tags {[key: string]: string}
    Tags of a scaling group.
    terminationPolicies string[]
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    zones string[]
    List of available zones, for Basic network it is required.
    max_size float
    Maximum number of CVM instances (0~2000).
    min_size float
    Minimum number of CVM instances (0~2000).
    scaling_group_name str
    Name of a scaling group.
    vpc_id str
    ID of VPC network.
    default_cooldown float
    Default cooldown time in second, and default value is 300.
    desired_capacity float
    Desired volume of CVM instances, which is between max_size and min_size.
    forward_balancer_ids Sequence[KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId]
    List of application load balancers, which can't be specified with load_balancer_ids together.
    load_balancer_ids Sequence[str]
    ID list of traditional load balancers.
    project_id float
    Specifys to which project the scaling group belongs.
    retry_policy str
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    subnet_ids Sequence[str]
    ID list of subnet, and for VPC it is required.
    tags Mapping[str, str]
    Tags of a scaling group.
    termination_policies Sequence[str]
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    zones Sequence[str]
    List of available zones, for Basic network it is required.
    maxSize Number
    Maximum number of CVM instances (0~2000).
    minSize Number
    Minimum number of CVM instances (0~2000).
    scalingGroupName String
    Name of a scaling group.
    vpcId String
    ID of VPC network.
    defaultCooldown Number
    Default cooldown time in second, and default value is 300.
    desiredCapacity Number
    Desired volume of CVM instances, which is between max_size and min_size.
    forwardBalancerIds List<Property Map>
    List of application load balancers, which can't be specified with load_balancer_ids together.
    loadBalancerIds List<String>
    ID list of traditional load balancers.
    projectId Number
    Specifys to which project the scaling group belongs.
    retryPolicy String
    Available values for retry policies include IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
    subnetIds List<String>
    ID list of subnet, and for VPC it is required.
    tags Map<String>
    Tags of a scaling group.
    terminationPolicies List<String>
    Available values for termination policies include OLDEST_INSTANCE and NEWEST_INSTANCE.
    zones List<String>
    List of available zones, for Basic network it is required.

    KubernetesAsScalingGroupAutoScalingGroupForwardBalancerId, KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdArgs

    ListenerId string
    Listener ID for application load balancers.
    LoadBalancerId string
    ID of available load balancers.
    TargetAttributes List<KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute>
    Attribute list of target rules.
    RuleId string
    ID of forwarding rules.
    ListenerId string
    Listener ID for application load balancers.
    LoadBalancerId string
    ID of available load balancers.
    TargetAttributes []KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute
    Attribute list of target rules.
    RuleId string
    ID of forwarding rules.
    listenerId String
    Listener ID for application load balancers.
    loadBalancerId String
    ID of available load balancers.
    targetAttributes List<KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute>
    Attribute list of target rules.
    ruleId String
    ID of forwarding rules.
    listenerId string
    Listener ID for application load balancers.
    loadBalancerId string
    ID of available load balancers.
    targetAttributes KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute[]
    Attribute list of target rules.
    ruleId string
    ID of forwarding rules.
    listener_id str
    Listener ID for application load balancers.
    load_balancer_id str
    ID of available load balancers.
    target_attributes Sequence[KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute]
    Attribute list of target rules.
    rule_id str
    ID of forwarding rules.
    listenerId String
    Listener ID for application load balancers.
    loadBalancerId String
    ID of available load balancers.
    targetAttributes List<Property Map>
    Attribute list of target rules.
    ruleId String
    ID of forwarding rules.

    KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttribute, KubernetesAsScalingGroupAutoScalingGroupForwardBalancerIdTargetAttributeArgs

    Port double
    Port number.
    Weight double
    Weight.
    Port float64
    Port number.
    Weight float64
    Weight.
    port Double
    Port number.
    weight Double
    Weight.
    port number
    Port number.
    weight number
    Weight.
    port float
    Port number.
    weight float
    Weight.
    port Number
    Port number.
    weight Number
    Weight.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack