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 oftencentcloud.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%",
},
});
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%",
})
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
})
}
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%",
},
});
});
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());
}
}
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%
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 string
- The unique name of the resource.
- args CdwdorisWorkloadGroupArgs
- 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 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 string
- The unique name of the resource.
- args CdwdorisWorkloadGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdwdorisWorkloadGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Instance
Id string - Instance id.
- Cdwdoris
Workload stringGroup Id - ID of the resource.
- Workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- Instance
Id string - Instance id.
- Cdwdoris
Workload stringGroup Id - ID of the resource.
- Workload
Group CdwdorisWorkload Group Workload Group Args - Resource group configuration.
- instance
Id String - Instance id.
- cdwdoris
Workload StringGroup Id - ID of the resource.
- workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- instance
Id string - Instance id.
- cdwdoris
Workload stringGroup Id - ID of the resource.
- workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- instance_
id str - Instance id.
- cdwdoris_
workload_ strgroup_ id - ID of the resource.
- workload_
group CdwdorisWorkload Group Workload Group Args - Resource group configuration.
- instance
Id String - Instance id.
- cdwdoris
Workload StringGroup Id - ID of the resource.
- workload
Group 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
- 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.
- Cdwdoris
Workload stringGroup Id - ID of the resource.
- Instance
Id string - Instance id.
- Workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- Cdwdoris
Workload stringGroup Id - ID of the resource.
- Instance
Id string - Instance id.
- Workload
Group CdwdorisWorkload Group Workload Group Args - Resource group configuration.
- cdwdoris
Workload StringGroup Id - ID of the resource.
- instance
Id String - Instance id.
- workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- cdwdoris
Workload stringGroup Id - ID of the resource.
- instance
Id string - Instance id.
- workload
Group CdwdorisWorkload Group Workload Group - Resource group configuration.
- cdwdoris_
workload_ strgroup_ id - ID of the resource.
- instance_
id str - Instance id.
- workload_
group CdwdorisWorkload Group Workload Group Args - Resource group configuration.
- cdwdoris
Workload StringGroup Id - ID of the resource.
- instance
Id String - Instance id.
- workload
Group Property Map - Resource group configuration.
Supporting Types
CdwdorisWorkloadGroupWorkloadGroup, CdwdorisWorkloadGroupWorkloadGroupArgs
- Cpu
Hard stringLimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- double
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- Enable
Memory boolOver Commit - Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
- Memory
Limit 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.
- Workload
Group stringName - Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
- Cpu
Hard stringLimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- float64
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- Enable
Memory boolOver Commit - Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
- Memory
Limit 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.
- Workload
Group stringName - Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
- cpu
Hard StringLimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- Double
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- enable
Memory BooleanOver Commit - Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
- memory
Limit 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.
- workload
Group StringName - Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
- cpu
Hard stringLimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- number
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- enable
Memory booleanOver Commit - Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
- memory
Limit 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.
- workload
Group stringName - Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
- cpu_
hard_ strlimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- float
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- enable_
memory_ boolover_ commit - 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_ strname - Workload group name. Note: This field may return null, indicating that no valid value can be obtained.
- cpu
Hard StringLimit - Cpu hard limit. Note: This field may return null, indicating that no valid value can be obtained.
- Number
- CPU weight. Note: This field may return null, indicating that no valid value can be obtained.
- enable
Memory BooleanOver Commit - Whether to allow over-allocation. Note: This field may return null, indicating that no valid value can be obtained.
- memory
Limit 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.
- workload
Group StringName - 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
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.