1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CdwdorisWorkloadGroup
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.CdwdorisWorkloadGroup

Explore with Pulumi AI

Provides a resource to create a cdwdoris workload group

NOTE: To use this resource, The workload_group_status field of tencentcloud.CdwdorisInstance needs to be set to true.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-6";
// create vpc
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "172.16.0.0/16"});
// create subnet
const subnet = new tencentcloud.Subnet("subnet", {
    availabilityZone: availabilityZone,
    vpcId: vpc.vpcId,
    cidrBlock: "172.16.0.0/24",
    isMulticast: false,
});
// create instance
const exampleCdwdorisInstance = new tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", {
    zone: availabilityZone,
    userVpcId: vpc.vpcId,
    userSubnetId: subnet.subnetId,
    productVersion: "2.1",
    instanceName: "tf-example",
    dorisUserPwd: "Password@test",
    haFlag: false,
    caseSensitive: 0,
    enableMultiZones: false,
    workloadGroupStatus: "open",
    chargeProperties: {
        chargeType: "POSTPAID_BY_HOUR",
    },
    feSpec: {
        specName: "S_4_16_P",
        count: 3,
        diskSize: 200,
    },
    beSpec: {
        specName: "S_4_16_P",
        count: 3,
        diskSize: 200,
    },
    tags: [{
        tagKey: "createBy",
        tagValue: "Terraform",
    }],
});
// create workload group
const exampleCdwdorisWorkloadGroup = new tencentcloud.CdwdorisWorkloadGroup("exampleCdwdorisWorkloadGroup", {
    instanceId: exampleCdwdorisInstance.cdwdorisInstanceId,
    workloadGroup: {
        workloadGroupName: "example",
        cpuShare: 1024,
        memoryLimit: 20,
        enableMemoryOverCommit: true,
        cpuHardLimit: "30%",
    },
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
    availability_zone = "ap-guangzhou-6"
# create vpc
vpc = tencentcloud.Vpc("vpc", cidr_block="172.16.0.0/16")
# create subnet
subnet = tencentcloud.Subnet("subnet",
    availability_zone=availability_zone,
    vpc_id=vpc.vpc_id,
    cidr_block="172.16.0.0/24",
    is_multicast=False)
# create instance
example_cdwdoris_instance = tencentcloud.CdwdorisInstance("exampleCdwdorisInstance",
    zone=availability_zone,
    user_vpc_id=vpc.vpc_id,
    user_subnet_id=subnet.subnet_id,
    product_version="2.1",
    instance_name="tf-example",
    doris_user_pwd="Password@test",
    ha_flag=False,
    case_sensitive=0,
    enable_multi_zones=False,
    workload_group_status="open",
    charge_properties={
        "charge_type": "POSTPAID_BY_HOUR",
    },
    fe_spec={
        "spec_name": "S_4_16_P",
        "count": 3,
        "disk_size": 200,
    },
    be_spec={
        "spec_name": "S_4_16_P",
        "count": 3,
        "disk_size": 200,
    },
    tags=[{
        "tag_key": "createBy",
        "tag_value": "Terraform",
    }])
# create workload group
example_cdwdoris_workload_group = tencentcloud.CdwdorisWorkloadGroup("exampleCdwdorisWorkloadGroup",
    instance_id=example_cdwdoris_instance.cdwdoris_instance_id,
    workload_group={
        "workload_group_name": "example",
        "cpu_share": 1024,
        "memory_limit": 20,
        "enable_memory_over_commit": True,
        "cpu_hard_limit": "30%",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-6"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		// create vpc
		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		// create subnet
		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
			AvailabilityZone: pulumi.String(availabilityZone),
			VpcId:            vpc.VpcId,
			CidrBlock:        pulumi.String("172.16.0.0/24"),
			IsMulticast:      pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		// create instance
		exampleCdwdorisInstance, err := tencentcloud.NewCdwdorisInstance(ctx, "exampleCdwdorisInstance", &tencentcloud.CdwdorisInstanceArgs{
			Zone:                pulumi.String(availabilityZone),
			UserVpcId:           vpc.VpcId,
			UserSubnetId:        subnet.SubnetId,
			ProductVersion:      pulumi.String("2.1"),
			InstanceName:        pulumi.String("tf-example"),
			DorisUserPwd:        pulumi.String("Password@test"),
			HaFlag:              pulumi.Bool(false),
			CaseSensitive:       pulumi.Float64(0),
			EnableMultiZones:    pulumi.Bool(false),
			WorkloadGroupStatus: pulumi.String("open"),
			ChargeProperties: &tencentcloud.CdwdorisInstanceChargePropertiesArgs{
				ChargeType: pulumi.String("POSTPAID_BY_HOUR"),
			},
			FeSpec: &tencentcloud.CdwdorisInstanceFeSpecArgs{
				SpecName: pulumi.String("S_4_16_P"),
				Count:    pulumi.Float64(3),
				DiskSize: pulumi.Float64(200),
			},
			BeSpec: &tencentcloud.CdwdorisInstanceBeSpecArgs{
				SpecName: pulumi.String("S_4_16_P"),
				Count:    pulumi.Float64(3),
				DiskSize: pulumi.Float64(200),
			},
			Tags: tencentcloud.CdwdorisInstanceTagArray{
				&tencentcloud.CdwdorisInstanceTagArgs{
					TagKey:   pulumi.String("createBy"),
					TagValue: pulumi.String("Terraform"),
				},
			},
		})
		if err != nil {
			return err
		}
		// create workload group
		_, err = tencentcloud.NewCdwdorisWorkloadGroup(ctx, "exampleCdwdorisWorkloadGroup", &tencentcloud.CdwdorisWorkloadGroupArgs{
			InstanceId: exampleCdwdorisInstance.CdwdorisInstanceId,
			WorkloadGroup: &tencentcloud.CdwdorisWorkloadGroupWorkloadGroupArgs{
				WorkloadGroupName:      pulumi.String("example"),
				CpuShare:               pulumi.Float64(1024),
				MemoryLimit:            pulumi.Float64(20),
				EnableMemoryOverCommit: pulumi.Bool(true),
				CpuHardLimit:           pulumi.String("30%"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-6";
    // create vpc
    var vpc = new Tencentcloud.Vpc("vpc", new()
    {
        CidrBlock = "172.16.0.0/16",
    });

    // create subnet
    var subnet = new Tencentcloud.Subnet("subnet", new()
    {
        AvailabilityZone = availabilityZone,
        VpcId = vpc.VpcId,
        CidrBlock = "172.16.0.0/24",
        IsMulticast = false,
    });

    // create instance
    var exampleCdwdorisInstance = new Tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", new()
    {
        Zone = availabilityZone,
        UserVpcId = vpc.VpcId,
        UserSubnetId = subnet.SubnetId,
        ProductVersion = "2.1",
        InstanceName = "tf-example",
        DorisUserPwd = "Password@test",
        HaFlag = false,
        CaseSensitive = 0,
        EnableMultiZones = false,
        WorkloadGroupStatus = "open",
        ChargeProperties = new Tencentcloud.Inputs.CdwdorisInstanceChargePropertiesArgs
        {
            ChargeType = "POSTPAID_BY_HOUR",
        },
        FeSpec = new Tencentcloud.Inputs.CdwdorisInstanceFeSpecArgs
        {
            SpecName = "S_4_16_P",
            Count = 3,
            DiskSize = 200,
        },
        BeSpec = new Tencentcloud.Inputs.CdwdorisInstanceBeSpecArgs
        {
            SpecName = "S_4_16_P",
            Count = 3,
            DiskSize = 200,
        },
        Tags = new[]
        {
            new Tencentcloud.Inputs.CdwdorisInstanceTagArgs
            {
                TagKey = "createBy",
                TagValue = "Terraform",
            },
        },
    });

    // create workload group
    var exampleCdwdorisWorkloadGroup = new Tencentcloud.CdwdorisWorkloadGroup("exampleCdwdorisWorkloadGroup", new()
    {
        InstanceId = exampleCdwdorisInstance.CdwdorisInstanceId,
        WorkloadGroup = new Tencentcloud.Inputs.CdwdorisWorkloadGroupWorkloadGroupArgs
        {
            WorkloadGroupName = "example",
            CpuShare = 1024,
            MemoryLimit = 20,
            EnableMemoryOverCommit = true,
            CpuHardLimit = "30%",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.CdwdorisInstance;
import com.pulumi.tencentcloud.CdwdorisInstanceArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceChargePropertiesArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceFeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceBeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceTagArgs;
import com.pulumi.tencentcloud.CdwdorisWorkloadGroup;
import com.pulumi.tencentcloud.CdwdorisWorkloadGroupArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisWorkloadGroupWorkloadGroupArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        final var config = ctx.config();
        final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-6");
        // create vpc
        var vpc = new Vpc("vpc", VpcArgs.builder()
            .cidrBlock("172.16.0.0/16")
            .build());

        // create subnet
        var subnet = new Subnet("subnet", SubnetArgs.builder()
            .availabilityZone(availabilityZone)
            .vpcId(vpc.vpcId())
            .cidrBlock("172.16.0.0/24")
            .isMulticast(false)
            .build());

        // create instance
        var exampleCdwdorisInstance = new CdwdorisInstance("exampleCdwdorisInstance", CdwdorisInstanceArgs.builder()
            .zone(availabilityZone)
            .userVpcId(vpc.vpcId())
            .userSubnetId(subnet.subnetId())
            .productVersion("2.1")
            .instanceName("tf-example")
            .dorisUserPwd("Password@test")
            .haFlag(false)
            .caseSensitive(0)
            .enableMultiZones(false)
            .workloadGroupStatus("open")
            .chargeProperties(CdwdorisInstanceChargePropertiesArgs.builder()
                .chargeType("POSTPAID_BY_HOUR")
                .build())
            .feSpec(CdwdorisInstanceFeSpecArgs.builder()
                .specName("S_4_16_P")
                .count(3)
                .diskSize(200)
                .build())
            .beSpec(CdwdorisInstanceBeSpecArgs.builder()
                .specName("S_4_16_P")
                .count(3)
                .diskSize(200)
                .build())
            .tags(CdwdorisInstanceTagArgs.builder()
                .tagKey("createBy")
                .tagValue("Terraform")
                .build())
            .build());

        // create workload group
        var exampleCdwdorisWorkloadGroup = new CdwdorisWorkloadGroup("exampleCdwdorisWorkloadGroup", CdwdorisWorkloadGroupArgs.builder()
            .instanceId(exampleCdwdorisInstance.cdwdorisInstanceId())
            .workloadGroup(CdwdorisWorkloadGroupWorkloadGroupArgs.builder()
                .workloadGroupName("example")
                .cpuShare(1024)
                .memoryLimit(20)
                .enableMemoryOverCommit(true)
                .cpuHardLimit("30%")
                .build())
            .build());

    }
}
Copy
configuration:
  # availability zone
  availabilityZone:
    type: string
    default: ap-guangzhou-6
resources:
  # create vpc
  vpc:
    type: tencentcloud:Vpc
    properties:
      cidrBlock: 172.16.0.0/16
  # create subnet
  subnet:
    type: tencentcloud:Subnet
    properties:
      availabilityZone: ${availabilityZone}
      vpcId: ${vpc.vpcId}
      cidrBlock: 172.16.0.0/24
      isMulticast: false
  # create instance
  exampleCdwdorisInstance:
    type: tencentcloud:CdwdorisInstance
    properties:
      zone: ${availabilityZone}
      userVpcId: ${vpc.vpcId}
      userSubnetId: ${subnet.subnetId}
      productVersion: '2.1'
      instanceName: tf-example
      dorisUserPwd: Password@test
      haFlag: false
      caseSensitive: 0
      enableMultiZones: false
      workloadGroupStatus: open
      chargeProperties:
        chargeType: POSTPAID_BY_HOUR
      feSpec:
        specName: S_4_16_P
        count: 3
        diskSize: 200
      beSpec:
        specName: S_4_16_P
        count: 3
        diskSize: 200
      tags:
        - tagKey: createBy
          tagValue: Terraform
  # create workload group
  exampleCdwdorisWorkloadGroup:
    type: tencentcloud:CdwdorisWorkloadGroup
    properties:
      instanceId: ${exampleCdwdorisInstance.cdwdorisInstanceId}
      workloadGroup:
        workloadGroupName: example
        cpuShare: 1024
        memoryLimit: 20
        enableMemoryOverCommit: true
        cpuHardLimit: 30%
Copy

Create CdwdorisWorkloadGroup Resource

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

Constructor syntax

new CdwdorisWorkloadGroup(name: string, args: CdwdorisWorkloadGroupArgs, opts?: CustomResourceOptions);
@overload
def CdwdorisWorkloadGroup(resource_name: str,
                          args: CdwdorisWorkloadGroupArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def CdwdorisWorkloadGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          instance_id: Optional[str] = None,
                          cdwdoris_workload_group_id: Optional[str] = None,
                          workload_group: Optional[CdwdorisWorkloadGroupWorkloadGroupArgs] = None)
func NewCdwdorisWorkloadGroup(ctx *Context, name string, args CdwdorisWorkloadGroupArgs, opts ...ResourceOption) (*CdwdorisWorkloadGroup, error)
public CdwdorisWorkloadGroup(string name, CdwdorisWorkloadGroupArgs args, CustomResourceOptions? opts = null)
public CdwdorisWorkloadGroup(String name, CdwdorisWorkloadGroupArgs args)
public CdwdorisWorkloadGroup(String name, CdwdorisWorkloadGroupArgs args, CustomResourceOptions options)
type: tencentcloud:CdwdorisWorkloadGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CdwdorisWorkloadGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CdwdorisWorkloadGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CdwdorisWorkloadGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CdwdorisWorkloadGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CdwdorisWorkloadGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

InstanceId This property is required. string
Instance id.
CdwdorisWorkloadGroupId string
ID of the resource.
WorkloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
InstanceId This property is required. string
Instance id.
CdwdorisWorkloadGroupId string
ID of the resource.
WorkloadGroup CdwdorisWorkloadGroupWorkloadGroupArgs
Resource group configuration.
instanceId This property is required. String
Instance id.
cdwdorisWorkloadGroupId String
ID of the resource.
workloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
instanceId This property is required. string
Instance id.
cdwdorisWorkloadGroupId string
ID of the resource.
workloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
instance_id This property is required. str
Instance id.
cdwdoris_workload_group_id str
ID of the resource.
workload_group CdwdorisWorkloadGroupWorkloadGroupArgs
Resource group configuration.
instanceId This property is required. String
Instance id.
cdwdorisWorkloadGroupId String
ID of the resource.
workloadGroup Property Map
Resource group configuration.

Outputs

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

Get an existing CdwdorisWorkloadGroup 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?: CdwdorisWorkloadGroupState, opts?: CustomResourceOptions): CdwdorisWorkloadGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cdwdoris_workload_group_id: Optional[str] = None,
        instance_id: Optional[str] = None,
        workload_group: Optional[CdwdorisWorkloadGroupWorkloadGroupArgs] = None) -> CdwdorisWorkloadGroup
func GetCdwdorisWorkloadGroup(ctx *Context, name string, id IDInput, state *CdwdorisWorkloadGroupState, opts ...ResourceOption) (*CdwdorisWorkloadGroup, error)
public static CdwdorisWorkloadGroup Get(string name, Input<string> id, CdwdorisWorkloadGroupState? state, CustomResourceOptions? opts = null)
public static CdwdorisWorkloadGroup get(String name, Output<String> id, CdwdorisWorkloadGroupState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:CdwdorisWorkloadGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CdwdorisWorkloadGroupId string
ID of the resource.
InstanceId string
Instance id.
WorkloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
CdwdorisWorkloadGroupId string
ID of the resource.
InstanceId string
Instance id.
WorkloadGroup CdwdorisWorkloadGroupWorkloadGroupArgs
Resource group configuration.
cdwdorisWorkloadGroupId String
ID of the resource.
instanceId String
Instance id.
workloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
cdwdorisWorkloadGroupId string
ID of the resource.
instanceId string
Instance id.
workloadGroup CdwdorisWorkloadGroupWorkloadGroup
Resource group configuration.
cdwdoris_workload_group_id str
ID of the resource.
instance_id str
Instance id.
workload_group CdwdorisWorkloadGroupWorkloadGroupArgs
Resource group configuration.
cdwdorisWorkloadGroupId String
ID of the resource.
instanceId String
Instance id.
workloadGroup Property Map
Resource group configuration.

Supporting Types

CdwdorisWorkloadGroupWorkloadGroup
, CdwdorisWorkloadGroupWorkloadGroupArgs

CpuHardLimit string
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
CpuShare double
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
EnableMemoryOverCommit bool
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
MemoryLimit double
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
WorkloadGroupName string
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
CpuHardLimit string
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
CpuShare float64
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
EnableMemoryOverCommit bool
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
MemoryLimit float64
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
WorkloadGroupName string
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
cpuHardLimit String
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
cpuShare Double
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
enableMemoryOverCommit Boolean
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
memoryLimit Double
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
workloadGroupName String
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
cpuHardLimit string
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
cpuShare number
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
enableMemoryOverCommit boolean
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
memoryLimit number
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
workloadGroupName string
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
cpu_hard_limit str
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
cpu_share float
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
enable_memory_over_commit bool
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
memory_limit float
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
workload_group_name str
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
cpuHardLimit String
Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
cpuShare Number
CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
enableMemoryOverCommit Boolean
Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
memoryLimit Number
Memory limit, the sum of the memory limit values of all resource groups should be less than or equal to 100. Note: This field may return null, indicating that no valid value can be obtained.
workloadGroupName String
Workload group name. Note: This field may return null, indicating that no valid value can be obtained.

Import

cdwdoris workload group can be imported using the id, e.g.

$ pulumi import tencentcloud:index/cdwdorisWorkloadGroup:CdwdorisWorkloadGroup example cdwdoris-rhbflamd#tf-example
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.