alicloud.cddc.DedicatedHostGroup
Explore with Pulumi AI
Provides a ApsaraDB for MyBase Dedicated Host Group resource.
For information about ApsaraDB for MyBase Dedicated Host Group and how to use it, see What is Dedicated Host Group.
NOTE: Available since v1.132.0.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
{
VpcName = name,
CidrBlock = "10.4.0.0/16",
});
var defaultDedicatedHostGroup = new AliCloud.Cddc.DedicatedHostGroup("defaultDedicatedHostGroup", new()
{
Engine = "MySQL",
VpcId = defaultNetwork.Id,
CpuAllocationRatio = 101,
MemAllocationRatio = 50,
DiskAllocationRatio = 200,
AllocationPolicy = "Evenly",
HostReplacePolicy = "Manual",
DedicatedHostGroupDesc = name,
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("10.4.0.0/16"),
})
if err != nil {
return err
}
_, err = cddc.NewDedicatedHostGroup(ctx, "defaultDedicatedHostGroup", &cddc.DedicatedHostGroupArgs{
Engine: pulumi.String("MySQL"),
VpcId: defaultNetwork.ID(),
CpuAllocationRatio: pulumi.Int(101),
MemAllocationRatio: pulumi.Int(50),
DiskAllocationRatio: pulumi.Int(200),
AllocationPolicy: pulumi.String("Evenly"),
HostReplacePolicy: pulumi.String("Manual"),
DedicatedHostGroupDesc: pulumi.String(name),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.cddc.DedicatedHostGroup;
import com.pulumi.alicloud.cddc.DedicatedHostGroupArgs;
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 name = config.get("name").orElse("terraform-example");
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("10.4.0.0/16")
.build());
var defaultDedicatedHostGroup = new DedicatedHostGroup("defaultDedicatedHostGroup", DedicatedHostGroupArgs.builder()
.engine("MySQL")
.vpcId(defaultNetwork.id())
.cpuAllocationRatio(101)
.memAllocationRatio(50)
.diskAllocationRatio(200)
.allocationPolicy("Evenly")
.hostReplacePolicy("Manual")
.dedicatedHostGroupDesc(name)
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default_network = alicloud.vpc.Network("defaultNetwork",
vpc_name=name,
cidr_block="10.4.0.0/16")
default_dedicated_host_group = alicloud.cddc.DedicatedHostGroup("defaultDedicatedHostGroup",
engine="MySQL",
vpc_id=default_network.id,
cpu_allocation_ratio=101,
mem_allocation_ratio=50,
disk_allocation_ratio=200,
allocation_policy="Evenly",
host_replace_policy="Manual",
dedicated_host_group_desc=name)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
vpcName: name,
cidrBlock: "10.4.0.0/16",
});
const defaultDedicatedHostGroup = new alicloud.cddc.DedicatedHostGroup("defaultDedicatedHostGroup", {
engine: "MySQL",
vpcId: defaultNetwork.id,
cpuAllocationRatio: 101,
memAllocationRatio: 50,
diskAllocationRatio: 200,
allocationPolicy: "Evenly",
hostReplacePolicy: "Manual",
dedicatedHostGroupDesc: name,
});
configuration:
name:
type: string
default: terraform-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
properties:
vpcName: ${name}
cidrBlock: 10.4.0.0/16
defaultDedicatedHostGroup:
type: alicloud:cddc:DedicatedHostGroup
properties:
engine: MySQL
vpcId: ${defaultNetwork.id}
cpuAllocationRatio: 101
memAllocationRatio: 50
diskAllocationRatio: 200
allocationPolicy: Evenly
hostReplacePolicy: Manual
dedicatedHostGroupDesc: ${name}
Create DedicatedHostGroup Resource
new DedicatedHostGroup(name: string, args: DedicatedHostGroupArgs, opts?: CustomResourceOptions);
@overload
def DedicatedHostGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
allocation_policy: Optional[str] = None,
cpu_allocation_ratio: Optional[int] = None,
dedicated_host_group_desc: Optional[str] = None,
disk_allocation_ratio: Optional[int] = None,
engine: Optional[str] = None,
host_replace_policy: Optional[str] = None,
mem_allocation_ratio: Optional[int] = None,
open_permission: Optional[bool] = None,
vpc_id: Optional[str] = None)
@overload
def DedicatedHostGroup(resource_name: str,
args: DedicatedHostGroupArgs,
opts: Optional[ResourceOptions] = None)
func NewDedicatedHostGroup(ctx *Context, name string, args DedicatedHostGroupArgs, opts ...ResourceOption) (*DedicatedHostGroup, error)
public DedicatedHostGroup(string name, DedicatedHostGroupArgs args, CustomResourceOptions? opts = null)
public DedicatedHostGroup(String name, DedicatedHostGroupArgs args)
public DedicatedHostGroup(String name, DedicatedHostGroupArgs args, CustomResourceOptions options)
type: alicloud:cddc:DedicatedHostGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedHostGroupArgs
- 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 DedicatedHostGroupArgs
- 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 DedicatedHostGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedHostGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DedicatedHostGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DedicatedHostGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DedicatedHostGroup resource accepts the following input properties:
- Engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- Vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- Allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- Cpu
Allocation intRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- Dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- Disk
Allocation intRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- Host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- Mem
Allocation intRatio The Memory Allocation Ratio of the Dedicated Host Group.
- Open
Permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- Engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- Vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- Allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- Cpu
Allocation intRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- Dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- Disk
Allocation intRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- Host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- Mem
Allocation intRatio The Memory Allocation Ratio of the Dedicated Host Group.
- Open
Permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- engine String
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- vpc
Id String The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy String AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation IntegerRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host StringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation IntegerRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- host
Replace StringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation IntegerRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission Boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation numberRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation numberRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation numberRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- engine str
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- vpc_
id str The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation_
policy str AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu_
allocation_ intratio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated_
host_ strgroup_ desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk_
allocation_ intratio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- host_
replace_ strpolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem_
allocation_ intratio The Memory Allocation Ratio of the Dedicated Host Group.
- open_
permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- engine String
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- vpc
Id String The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy String AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation NumberRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host StringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation NumberRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- host
Replace StringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation NumberRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission Boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
Outputs
All input properties are implicitly available as output properties. Additionally, the DedicatedHostGroup 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 DedicatedHostGroup Resource
Get an existing DedicatedHostGroup 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?: DedicatedHostGroupState, opts?: CustomResourceOptions): DedicatedHostGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocation_policy: Optional[str] = None,
cpu_allocation_ratio: Optional[int] = None,
dedicated_host_group_desc: Optional[str] = None,
disk_allocation_ratio: Optional[int] = None,
engine: Optional[str] = None,
host_replace_policy: Optional[str] = None,
mem_allocation_ratio: Optional[int] = None,
open_permission: Optional[bool] = None,
vpc_id: Optional[str] = None) -> DedicatedHostGroup
func GetDedicatedHostGroup(ctx *Context, name string, id IDInput, state *DedicatedHostGroupState, opts ...ResourceOption) (*DedicatedHostGroup, error)
public static DedicatedHostGroup Get(string name, Input<string> id, DedicatedHostGroupState? state, CustomResourceOptions? opts = null)
public static DedicatedHostGroup get(String name, Output<String> id, DedicatedHostGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- Cpu
Allocation intRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- Dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- Disk
Allocation intRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- Engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- Host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- Mem
Allocation intRatio The Memory Allocation Ratio of the Dedicated Host Group.
- Open
Permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- Vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- Allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- Cpu
Allocation intRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- Dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- Disk
Allocation intRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- Engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- Host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- Mem
Allocation intRatio The Memory Allocation Ratio of the Dedicated Host Group.
- Open
Permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- Vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy String AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation IntegerRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host StringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation IntegerRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- engine String
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- host
Replace StringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation IntegerRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission Boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- vpc
Id String The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy string AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation numberRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host stringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation numberRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- engine string
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- host
Replace stringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation numberRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- vpc
Id string The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation_
policy str AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu_
allocation_ intratio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated_
host_ strgroup_ desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk_
allocation_ intratio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- engine str
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- host_
replace_ strpolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem_
allocation_ intratio The Memory Allocation Ratio of the Dedicated Host Group.
- open_
permission bool Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- vpc_
id str The virtual private cloud (VPC) ID of the dedicated cluster.
- allocation
Policy String AThe policy that is used to allocate resources in the dedicated cluster. Valid values:
Evenly
,Intensively
- cpu
Allocation NumberRatio The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
- dedicated
Host StringGroup Desc The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
- disk
Allocation NumberRatio The Disk Allocation Ratio of the Dedicated Host Group. NOTE: When
engine = SQLServer
, this attribute does not support to set.- engine String
Database Engine Type.The database engine of the dedicated cluster. Valid values:
Redis
,SQLServer
,MySQL
,PostgreSQL
,MongoDB
- host
Replace StringPolicy The policy based on which the system handles host failures. Valid values:
Auto
,Manual
- mem
Allocation NumberRatio The Memory Allocation Ratio of the Dedicated Host Group.
- open
Permission Boolean Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values:
true
andfalse
. NOTE: Theopen_permission
should betrue
whenengine = "SQLServer"
- vpc
Id String The virtual private cloud (VPC) ID of the dedicated cluster.
Import
ApsaraDB for MyBase Dedicated Host Group can be imported using the id, e.g.
$ pulumi import alicloud:cddc/dedicatedHostGroup:DedicatedHostGroup example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.