alicloud.cddc.DedicatedPropreHost
Explore with Pulumi AI
Import
CDDC Dedicated Propre Host can be imported using the id, e.g.
$ pulumi import alicloud:cddc/dedicatedPropreHost:DedicatedPropreHost example <dedicated_host_group_id>:<ecs_instance_id>
Create DedicatedPropreHost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DedicatedPropreHost(name: string, args: DedicatedPropreHostArgs, opts?: CustomResourceOptions);
@overload
def DedicatedPropreHost(resource_name: str,
args: DedicatedPropreHostArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DedicatedPropreHost(resource_name: str,
opts: Optional[ResourceOptions] = None,
ecs_zone_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
vpc_id: Optional[str] = None,
ecs_class_lists: Optional[Sequence[DedicatedPropreHostEcsClassListArgs]] = None,
security_group_id: Optional[str] = None,
payment_type: Optional[str] = None,
engine: Optional[str] = None,
internet_max_bandwidth_out: Optional[int] = None,
ecs_host_name: Optional[str] = None,
ecs_instance_name: Optional[str] = None,
image_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
auto_pay: Optional[bool] = None,
key_pair_name: Optional[str] = None,
os_password: Optional[str] = None,
password_inherit: Optional[str] = None,
ecs_unique_suffix: Optional[str] = None,
period: Optional[str] = None,
period_type: Optional[str] = None,
resource_group_id: Optional[str] = None,
ecs_deployment_set_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
user_data: Optional[str] = None,
user_data_encoded: Optional[bool] = None,
dedicated_host_group_id: Optional[str] = None,
auto_renew: Optional[str] = None)
func NewDedicatedPropreHost(ctx *Context, name string, args DedicatedPropreHostArgs, opts ...ResourceOption) (*DedicatedPropreHost, error)
public DedicatedPropreHost(string name, DedicatedPropreHostArgs args, CustomResourceOptions? opts = null)
public DedicatedPropreHost(String name, DedicatedPropreHostArgs args)
public DedicatedPropreHost(String name, DedicatedPropreHostArgs args, CustomResourceOptions options)
type: alicloud:cddc:DedicatedPropreHost
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 DedicatedPropreHostArgs
- 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 DedicatedPropreHostArgs
- 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 DedicatedPropreHostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedPropreHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DedicatedPropreHostArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dedicatedPropreHostResource = new AliCloud.Cddc.DedicatedPropreHost("dedicatedPropreHostResource", new()
{
EcsZoneId = "string",
VswitchId = "string",
VpcId = "string",
EcsClassLists = new[]
{
new AliCloud.Cddc.Inputs.DedicatedPropreHostEcsClassListArgs
{
InstanceType = "string",
SysDiskCapacity = 0,
SysDiskType = "string",
DataDiskPerformanceLevel = "string",
DiskCapacity = 0,
DiskCount = 0,
DiskType = "string",
SystemDiskPerformanceLevel = "string",
},
},
SecurityGroupId = "string",
PaymentType = "string",
Engine = "string",
InternetMaxBandwidthOut = 0,
EcsHostName = "string",
EcsInstanceName = "string",
ImageId = "string",
InternetChargeType = "string",
AutoPay = false,
KeyPairName = "string",
OsPassword = "string",
PasswordInherit = "string",
EcsUniqueSuffix = "string",
Period = "string",
PeriodType = "string",
ResourceGroupId = "string",
EcsDeploymentSetId = "string",
Tags =
{
{ "string", "string" },
},
UserData = "string",
UserDataEncoded = false,
DedicatedHostGroupId = "string",
AutoRenew = "string",
});
example, err := cddc.NewDedicatedPropreHost(ctx, "dedicatedPropreHostResource", &cddc.DedicatedPropreHostArgs{
EcsZoneId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
VpcId: pulumi.String("string"),
EcsClassLists: cddc.DedicatedPropreHostEcsClassListArray{
&cddc.DedicatedPropreHostEcsClassListArgs{
InstanceType: pulumi.String("string"),
SysDiskCapacity: pulumi.Int(0),
SysDiskType: pulumi.String("string"),
DataDiskPerformanceLevel: pulumi.String("string"),
DiskCapacity: pulumi.Int(0),
DiskCount: pulumi.Int(0),
DiskType: pulumi.String("string"),
SystemDiskPerformanceLevel: pulumi.String("string"),
},
},
SecurityGroupId: pulumi.String("string"),
PaymentType: pulumi.String("string"),
Engine: pulumi.String("string"),
InternetMaxBandwidthOut: pulumi.Int(0),
EcsHostName: pulumi.String("string"),
EcsInstanceName: pulumi.String("string"),
ImageId: pulumi.String("string"),
InternetChargeType: pulumi.String("string"),
AutoPay: pulumi.Bool(false),
KeyPairName: pulumi.String("string"),
OsPassword: pulumi.String("string"),
PasswordInherit: pulumi.String("string"),
EcsUniqueSuffix: pulumi.String("string"),
Period: pulumi.String("string"),
PeriodType: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
EcsDeploymentSetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UserData: pulumi.String("string"),
UserDataEncoded: pulumi.Bool(false),
DedicatedHostGroupId: pulumi.String("string"),
AutoRenew: pulumi.String("string"),
})
var dedicatedPropreHostResource = new DedicatedPropreHost("dedicatedPropreHostResource", DedicatedPropreHostArgs.builder()
.ecsZoneId("string")
.vswitchId("string")
.vpcId("string")
.ecsClassLists(DedicatedPropreHostEcsClassListArgs.builder()
.instanceType("string")
.sysDiskCapacity(0)
.sysDiskType("string")
.dataDiskPerformanceLevel("string")
.diskCapacity(0)
.diskCount(0)
.diskType("string")
.systemDiskPerformanceLevel("string")
.build())
.securityGroupId("string")
.paymentType("string")
.engine("string")
.internetMaxBandwidthOut(0)
.ecsHostName("string")
.ecsInstanceName("string")
.imageId("string")
.internetChargeType("string")
.autoPay(false)
.keyPairName("string")
.osPassword("string")
.passwordInherit("string")
.ecsUniqueSuffix("string")
.period("string")
.periodType("string")
.resourceGroupId("string")
.ecsDeploymentSetId("string")
.tags(Map.of("string", "string"))
.userData("string")
.userDataEncoded(false)
.dedicatedHostGroupId("string")
.autoRenew("string")
.build());
dedicated_propre_host_resource = alicloud.cddc.DedicatedPropreHost("dedicatedPropreHostResource",
ecs_zone_id="string",
vswitch_id="string",
vpc_id="string",
ecs_class_lists=[{
"instance_type": "string",
"sys_disk_capacity": 0,
"sys_disk_type": "string",
"data_disk_performance_level": "string",
"disk_capacity": 0,
"disk_count": 0,
"disk_type": "string",
"system_disk_performance_level": "string",
}],
security_group_id="string",
payment_type="string",
engine="string",
internet_max_bandwidth_out=0,
ecs_host_name="string",
ecs_instance_name="string",
image_id="string",
internet_charge_type="string",
auto_pay=False,
key_pair_name="string",
os_password="string",
password_inherit="string",
ecs_unique_suffix="string",
period="string",
period_type="string",
resource_group_id="string",
ecs_deployment_set_id="string",
tags={
"string": "string",
},
user_data="string",
user_data_encoded=False,
dedicated_host_group_id="string",
auto_renew="string")
const dedicatedPropreHostResource = new alicloud.cddc.DedicatedPropreHost("dedicatedPropreHostResource", {
ecsZoneId: "string",
vswitchId: "string",
vpcId: "string",
ecsClassLists: [{
instanceType: "string",
sysDiskCapacity: 0,
sysDiskType: "string",
dataDiskPerformanceLevel: "string",
diskCapacity: 0,
diskCount: 0,
diskType: "string",
systemDiskPerformanceLevel: "string",
}],
securityGroupId: "string",
paymentType: "string",
engine: "string",
internetMaxBandwidthOut: 0,
ecsHostName: "string",
ecsInstanceName: "string",
imageId: "string",
internetChargeType: "string",
autoPay: false,
keyPairName: "string",
osPassword: "string",
passwordInherit: "string",
ecsUniqueSuffix: "string",
period: "string",
periodType: "string",
resourceGroupId: "string",
ecsDeploymentSetId: "string",
tags: {
string: "string",
},
userData: "string",
userDataEncoded: false,
dedicatedHostGroupId: "string",
autoRenew: "string",
});
type: alicloud:cddc:DedicatedPropreHost
properties:
autoPay: false
autoRenew: string
dedicatedHostGroupId: string
ecsClassLists:
- dataDiskPerformanceLevel: string
diskCapacity: 0
diskCount: 0
diskType: string
instanceType: string
sysDiskCapacity: 0
sysDiskType: string
systemDiskPerformanceLevel: string
ecsDeploymentSetId: string
ecsHostName: string
ecsInstanceName: string
ecsUniqueSuffix: string
ecsZoneId: string
engine: string
imageId: string
internetChargeType: string
internetMaxBandwidthOut: 0
keyPairName: string
osPassword: string
passwordInherit: string
paymentType: string
period: string
periodType: string
resourceGroupId: string
securityGroupId: string
tags:
string: string
userData: string
userDataEncoded: false
vpcId: string
vswitchId: string
DedicatedPropreHost 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 DedicatedPropreHost resource accepts the following input properties:
- Ecs
Class List<Pulumi.Lists Ali Cloud. Cddc. Inputs. Dedicated Propre Host Ecs Class List> - ECS specifications. See
ecs_class_list
below. - Ecs
Zone stringId - The ID of the zone.
- Engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- Payment
Type string - The Payment type. Currently, only Subscription is supported.
- Security
Group stringId - The ID of the security group.
- Vpc
Id string - VPCID of the VPC.
- Vswitch
Id string - The ID of the virtual switch.
- Auto
Pay bool - Whether to pay automatically when the host is created.
- Auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- Dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- Ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- Ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- Ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- Ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- Image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- Internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- Internet
Max intBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- Key
Pair stringName - The key pair name.
- Os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- Password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- Period string
- Duration of purchase.
- Period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- Host tag information.
- User
Data string - User-defined script data. The maximum size of the original data is 16kB.
- User
Data boolEncoded - Whether custom data is encoded in Base64 format.
- Ecs
Class []DedicatedLists Propre Host Ecs Class List Args - ECS specifications. See
ecs_class_list
below. - Ecs
Zone stringId - The ID of the zone.
- Engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- Payment
Type string - The Payment type. Currently, only Subscription is supported.
- Security
Group stringId - The ID of the security group.
- Vpc
Id string - VPCID of the VPC.
- Vswitch
Id string - The ID of the virtual switch.
- Auto
Pay bool - Whether to pay automatically when the host is created.
- Auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- Dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- Ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- Ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- Ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- Ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- Image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- Internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- Internet
Max intBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- Key
Pair stringName - The key pair name.
- Os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- Password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- Period string
- Duration of purchase.
- Period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- Resource
Group stringId - The ID of the resource group.
- map[string]string
- Host tag information.
- User
Data string - User-defined script data. The maximum size of the original data is 16kB.
- User
Data boolEncoded - Whether custom data is encoded in Base64 format.
- ecs
Class List<DedicatedLists Propre Host Ecs Class List> - ECS specifications. See
ecs_class_list
below. - ecs
Zone StringId - The ID of the zone.
- engine String
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- payment
Type String - The Payment type. Currently, only Subscription is supported.
- security
Group StringId - The ID of the security group.
- vpc
Id String - VPCID of the VPC.
- vswitch
Id String - The ID of the virtual switch.
- auto
Pay Boolean - Whether to pay automatically when the host is created.
- auto
Renew String - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host StringGroup Id - You have a dedicated cluster ID.
- ecs
Deployment StringSet Id - The ID of the cloud server deployment set.
- ecs
Host StringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance StringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique StringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- image
Id String The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge StringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max IntegerBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair StringName - The key pair name.
- os
Password String Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit String Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- period String
- Duration of purchase.
- period
Type String - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group StringId - The ID of the resource group.
- Map<String,String>
- Host tag information.
- user
Data String - User-defined script data. The maximum size of the original data is 16kB.
- user
Data BooleanEncoded - Whether custom data is encoded in Base64 format.
- ecs
Class DedicatedLists Propre Host Ecs Class List[] - ECS specifications. See
ecs_class_list
below. - ecs
Zone stringId - The ID of the zone.
- engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- payment
Type string - The Payment type. Currently, only Subscription is supported.
- security
Group stringId - The ID of the security group.
- vpc
Id string - VPCID of the VPC.
- vswitch
Id string - The ID of the virtual switch.
- auto
Pay boolean - Whether to pay automatically when the host is created.
- auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max numberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair stringName - The key pair name.
- os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- period string
- Duration of purchase.
- period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- Host tag information.
- user
Data string - User-defined script data. The maximum size of the original data is 16kB.
- user
Data booleanEncoded - Whether custom data is encoded in Base64 format.
- ecs_
class_ Sequence[Dedicatedlists Propre Host Ecs Class List Args] - ECS specifications. See
ecs_class_list
below. - ecs_
zone_ strid - The ID of the zone.
- engine str
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- payment_
type str - The Payment type. Currently, only Subscription is supported.
- security_
group_ strid - The ID of the security group.
- vpc_
id str - VPCID of the VPC.
- vswitch_
id str - The ID of the virtual switch.
- auto_
pay bool - Whether to pay automatically when the host is created.
- auto_
renew str - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated_
host_ strgroup_ id - You have a dedicated cluster ID.
- ecs_
deployment_ strset_ id - The ID of the cloud server deployment set.
- ecs_
host_ strname - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs_
instance_ strname - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs_
unique_ strsuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- image_
id str The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet_
charge_ strtype - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet_
max_ intbandwidth_ out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key_
pair_ strname - The key pair name.
- os_
password str Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password_
inherit str Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- period str
- Duration of purchase.
- period_
type str - The subscription type. Currently, only Monthly (subscription) is supported.
- resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- Host tag information.
- user_
data str - User-defined script data. The maximum size of the original data is 16kB.
- user_
data_ boolencoded - Whether custom data is encoded in Base64 format.
- ecs
Class List<Property Map>Lists - ECS specifications. See
ecs_class_list
below. - ecs
Zone StringId - The ID of the zone.
- engine String
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- payment
Type String - The Payment type. Currently, only Subscription is supported.
- security
Group StringId - The ID of the security group.
- vpc
Id String - VPCID of the VPC.
- vswitch
Id String - The ID of the virtual switch.
- auto
Pay Boolean - Whether to pay automatically when the host is created.
- auto
Renew String - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host StringGroup Id - You have a dedicated cluster ID.
- ecs
Deployment StringSet Id - The ID of the cloud server deployment set.
- ecs
Host StringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance StringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique StringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- image
Id String The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge StringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max NumberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair StringName - The key pair name.
- os
Password String Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit String Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- period String
- Duration of purchase.
- period
Type String - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group StringId - The ID of the resource group.
- Map<String>
- Host tag information.
- user
Data String - User-defined script data. The maximum size of the original data is 16kB.
- user
Data BooleanEncoded - Whether custom data is encoded in Base64 format.
Outputs
All input properties are implicitly available as output properties. Additionally, the DedicatedPropreHost resource produces the following output properties:
- Ecs
Instance stringId - ECS instance ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ecs
Instance stringId - ECS instance ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- ecs
Instance StringId - ECS instance ID.
- id String
- The provider-assigned unique ID for this managed resource.
- ecs
Instance stringId - ECS instance ID.
- id string
- The provider-assigned unique ID for this managed resource.
- ecs_
instance_ strid - ECS instance ID.
- id str
- The provider-assigned unique ID for this managed resource.
- ecs
Instance StringId - ECS instance ID.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DedicatedPropreHost Resource
Get an existing DedicatedPropreHost 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?: DedicatedPropreHostState, opts?: CustomResourceOptions): DedicatedPropreHost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[bool] = None,
auto_renew: Optional[str] = None,
dedicated_host_group_id: Optional[str] = None,
ecs_class_lists: Optional[Sequence[DedicatedPropreHostEcsClassListArgs]] = None,
ecs_deployment_set_id: Optional[str] = None,
ecs_host_name: Optional[str] = None,
ecs_instance_id: Optional[str] = None,
ecs_instance_name: Optional[str] = None,
ecs_unique_suffix: Optional[str] = None,
ecs_zone_id: Optional[str] = None,
engine: Optional[str] = None,
image_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
internet_max_bandwidth_out: Optional[int] = None,
key_pair_name: Optional[str] = None,
os_password: Optional[str] = None,
password_inherit: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[str] = None,
period_type: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
user_data: Optional[str] = None,
user_data_encoded: Optional[bool] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None) -> DedicatedPropreHost
func GetDedicatedPropreHost(ctx *Context, name string, id IDInput, state *DedicatedPropreHostState, opts ...ResourceOption) (*DedicatedPropreHost, error)
public static DedicatedPropreHost Get(string name, Input<string> id, DedicatedPropreHostState? state, CustomResourceOptions? opts = null)
public static DedicatedPropreHost get(String name, Output<String> id, DedicatedPropreHostState 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.
- Auto
Pay bool - Whether to pay automatically when the host is created.
- Auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- Dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- Ecs
Class List<Pulumi.Lists Ali Cloud. Cddc. Inputs. Dedicated Propre Host Ecs Class List> - ECS specifications. See
ecs_class_list
below. - Ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- Ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- Ecs
Instance stringId - ECS instance ID.
- Ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- Ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- Ecs
Zone stringId - The ID of the zone.
- Engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- Image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- Internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- Internet
Max intBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- Key
Pair stringName - The key pair name.
- Os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- Password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- Payment
Type string - The Payment type. Currently, only Subscription is supported.
- Period string
- Duration of purchase.
- Period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- Resource
Group stringId - The ID of the resource group.
- Security
Group stringId - The ID of the security group.
- Dictionary<string, string>
- Host tag information.
- User
Data string - User-defined script data. The maximum size of the original data is 16kB.
- User
Data boolEncoded - Whether custom data is encoded in Base64 format.
- Vpc
Id string - VPCID of the VPC.
- Vswitch
Id string - The ID of the virtual switch.
- Auto
Pay bool - Whether to pay automatically when the host is created.
- Auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- Dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- Ecs
Class []DedicatedLists Propre Host Ecs Class List Args - ECS specifications. See
ecs_class_list
below. - Ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- Ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- Ecs
Instance stringId - ECS instance ID.
- Ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- Ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- Ecs
Zone stringId - The ID of the zone.
- Engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- Image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- Internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- Internet
Max intBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- Key
Pair stringName - The key pair name.
- Os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- Password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- Payment
Type string - The Payment type. Currently, only Subscription is supported.
- Period string
- Duration of purchase.
- Period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- Resource
Group stringId - The ID of the resource group.
- Security
Group stringId - The ID of the security group.
- map[string]string
- Host tag information.
- User
Data string - User-defined script data. The maximum size of the original data is 16kB.
- User
Data boolEncoded - Whether custom data is encoded in Base64 format.
- Vpc
Id string - VPCID of the VPC.
- Vswitch
Id string - The ID of the virtual switch.
- auto
Pay Boolean - Whether to pay automatically when the host is created.
- auto
Renew String - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host StringGroup Id - You have a dedicated cluster ID.
- ecs
Class List<DedicatedLists Propre Host Ecs Class List> - ECS specifications. See
ecs_class_list
below. - ecs
Deployment StringSet Id - The ID of the cloud server deployment set.
- ecs
Host StringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance StringId - ECS instance ID.
- ecs
Instance StringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique StringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- ecs
Zone StringId - The ID of the zone.
- engine String
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- image
Id String The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge StringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max IntegerBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair StringName - The key pair name.
- os
Password String Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit String Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- payment
Type String - The Payment type. Currently, only Subscription is supported.
- period String
- Duration of purchase.
- period
Type String - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group StringId - The ID of the resource group.
- security
Group StringId - The ID of the security group.
- Map<String,String>
- Host tag information.
- user
Data String - User-defined script data. The maximum size of the original data is 16kB.
- user
Data BooleanEncoded - Whether custom data is encoded in Base64 format.
- vpc
Id String - VPCID of the VPC.
- vswitch
Id String - The ID of the virtual switch.
- auto
Pay boolean - Whether to pay automatically when the host is created.
- auto
Renew string - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host stringGroup Id - You have a dedicated cluster ID.
- ecs
Class DedicatedLists Propre Host Ecs Class List[] - ECS specifications. See
ecs_class_list
below. - ecs
Deployment stringSet Id - The ID of the cloud server deployment set.
- ecs
Host stringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance stringId - ECS instance ID.
- ecs
Instance stringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique stringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- ecs
Zone stringId - The ID of the zone.
- engine string
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- image
Id string The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge stringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max numberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair stringName - The key pair name.
- os
Password string Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit string Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- payment
Type string - The Payment type. Currently, only Subscription is supported.
- period string
- Duration of purchase.
- period
Type string - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group stringId - The ID of the resource group.
- security
Group stringId - The ID of the security group.
- {[key: string]: string}
- Host tag information.
- user
Data string - User-defined script data. The maximum size of the original data is 16kB.
- user
Data booleanEncoded - Whether custom data is encoded in Base64 format.
- vpc
Id string - VPCID of the VPC.
- vswitch
Id string - The ID of the virtual switch.
- auto_
pay bool - Whether to pay automatically when the host is created.
- auto_
renew str - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated_
host_ strgroup_ id - You have a dedicated cluster ID.
- ecs_
class_ Sequence[Dedicatedlists Propre Host Ecs Class List Args] - ECS specifications. See
ecs_class_list
below. - ecs_
deployment_ strset_ id - The ID of the cloud server deployment set.
- ecs_
host_ strname - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs_
instance_ strid - ECS instance ID.
- ecs_
instance_ strname - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs_
unique_ strsuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- ecs_
zone_ strid - The ID of the zone.
- engine str
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- image_
id str The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet_
charge_ strtype - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet_
max_ intbandwidth_ out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key_
pair_ strname - The key pair name.
- os_
password str Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password_
inherit str Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- payment_
type str - The Payment type. Currently, only Subscription is supported.
- period str
- Duration of purchase.
- period_
type str - The subscription type. Currently, only Monthly (subscription) is supported.
- resource_
group_ strid - The ID of the resource group.
- security_
group_ strid - The ID of the security group.
- Mapping[str, str]
- Host tag information.
- user_
data str - User-defined script data. The maximum size of the original data is 16kB.
- user_
data_ boolencoded - Whether custom data is encoded in Base64 format.
- vpc_
id str - VPCID of the VPC.
- vswitch_
id str - The ID of the virtual switch.
- auto
Pay Boolean - Whether to pay automatically when the host is created.
- auto
Renew String - Whether to enable automatic renewal. Valid values:
- true: On
- false (default): Off
- dedicated
Host StringGroup Id - You have a dedicated cluster ID.
- ecs
Class List<Property Map>Lists - ECS specifications. See
ecs_class_list
below. - ecs
Deployment StringSet Id - The ID of the cloud server deployment set.
- ecs
Host StringName - Windows system: length of 2 to 15 characters, allowing the use of upper and lower case letters, numbers. You cannot use only numbers. Other operating systems (such as Linux): the length of 2 to 64 characters, allowing the use of dot (.) to separate characters into multiple segments, each segment allows the use of upper and lower case letters, numbers, but can not use continuous dot (.). Cannot start or end with a dot (.).
- ecs
Instance StringId - ECS instance ID.
- ecs
Instance StringName - The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
- ecs
Unique StringSuffix - Whether to automatically add an ordered suffix for HostName and InstanceName when creating multiple instances. The ordered suffix starts from 001 and cannot exceed 999. Value Description:
- true: added.
- false (default): Do not add. When the HostName or InstanceName is set according to the specified sorting format, and the naming suffix name_suffix is not set, that is, when the naming format is name_prefix[begin_number,bits], the UniqueSuffix does not take effect, and the names are only sorted according to the specified order.
- ecs
Zone StringId - The ID of the zone.
- engine String
- Database type, value:
- alisql
- tair
- mssql Must be consistent with the parent resource cluster engine attributes.
- image
Id String The ID of the custom image.
NOTE: If you need to use the default image, you do not need to fill it in.
- internet
Charge StringType - Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
- internet
Max NumberBandwidth Out - The maximum outbound bandwidth of the public network, in Mbit/s. Value range: 0~100. Default value: 0. When set to greater than 0, a public IP is automatically created.
- key
Pair StringName - The key pair name.
- os
Password String Host login password, which can be set later. The password must meet the following requirements:
- Length is 8~30 characters.
- Must contain at least three items: uppercase letters, lowercase letters, numbers, and special characters.
- Special symbol '()' ~! @#$%^& *-_+ =|{}[]:;',.? /'
NOTE: - If you need to set the host login password later, fill in an empty string for this parameter. If you need to set a host login password, we recommend that you use the HTTPS protocol to send requests to avoid password leakage.
- password
Inherit String Whether to use the default password of the image.
- false: (default)Do not use
- true: Use
NOTE: If the default password of the image is used, the OSPassword parameter is not required.
- payment
Type String - The Payment type. Currently, only Subscription is supported.
- period String
- Duration of purchase.
- period
Type String - The subscription type. Currently, only Monthly (subscription) is supported.
- resource
Group StringId - The ID of the resource group.
- security
Group StringId - The ID of the security group.
- Map<String>
- Host tag information.
- user
Data String - User-defined script data. The maximum size of the original data is 16kB.
- user
Data BooleanEncoded - Whether custom data is encoded in Base64 format.
- vpc
Id String - VPCID of the VPC.
- vswitch
Id String - The ID of the virtual switch.
Supporting Types
DedicatedPropreHostEcsClassList, DedicatedPropreHostEcsClassListArgs
- Instance
Type string - ECS specifications.
- Sys
Disk intCapacity - System disk capacity.
- Sys
Disk stringType - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- Data
Disk stringPerformance Level - Data disk PL level.
- Disk
Capacity int - The capacity of the data disk.
- Disk
Count int - Number of mounted data disks.
- Disk
Type string - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- System
Disk stringPerformance Level - System disk PL level.
- Instance
Type string - ECS specifications.
- Sys
Disk intCapacity - System disk capacity.
- Sys
Disk stringType - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- Data
Disk stringPerformance Level - Data disk PL level.
- Disk
Capacity int - The capacity of the data disk.
- Disk
Count int - Number of mounted data disks.
- Disk
Type string - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- System
Disk stringPerformance Level - System disk PL level.
- instance
Type String - ECS specifications.
- sys
Disk IntegerCapacity - System disk capacity.
- sys
Disk StringType - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- data
Disk StringPerformance Level - Data disk PL level.
- disk
Capacity Integer - The capacity of the data disk.
- disk
Count Integer - Number of mounted data disks.
- disk
Type String - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- system
Disk StringPerformance Level - System disk PL level.
- instance
Type string - ECS specifications.
- sys
Disk numberCapacity - System disk capacity.
- sys
Disk stringType - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- data
Disk stringPerformance Level - Data disk PL level.
- disk
Capacity number - The capacity of the data disk.
- disk
Count number - Number of mounted data disks.
- disk
Type string - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- system
Disk stringPerformance Level - System disk PL level.
- instance_
type str - ECS specifications.
- sys_
disk_ intcapacity - System disk capacity.
- sys_
disk_ strtype - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- data_
disk_ strperformance_ level - Data disk PL level.
- disk_
capacity int - The capacity of the data disk.
- disk_
count int - Number of mounted data disks.
- disk_
type str - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- system_
disk_ strperformance_ level - System disk PL level.
- instance
Type String - ECS specifications.
- sys
Disk NumberCapacity - System disk capacity.
- sys
Disk StringType - System disk type, value:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- data
Disk StringPerformance Level - Data disk PL level.
- disk
Capacity Number - The capacity of the data disk.
- disk
Count Number - Number of mounted data disks.
- disk
Type String - Data disk type, value range:
- cloud_essd: the ESSD cloud disk.
- cloud_ssd: SSD cloud disk.
- cloud_efficiency: The ultra cloud disk.
- cloud_auto: ESSD AutoPL cloud disk.
- system
Disk StringPerformance Level - System disk PL level.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.