1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cddc
  5. DedicatedPropreHost
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.cddc.DedicatedPropreHost

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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:

    EcsClassLists List<Pulumi.AliCloud.Cddc.Inputs.DedicatedPropreHostEcsClassList>
    ECS specifications. See ecs_class_list below.
    EcsZoneId string
    The ID of the zone.
    Engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    PaymentType string
    The Payment type. Currently, only Subscription is supported.
    SecurityGroupId string
    The ID of the security group.
    VpcId string
    VPCID of the VPC.
    VswitchId string
    The ID of the virtual switch.
    AutoPay bool
    Whether to pay automatically when the host is created.
    AutoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    DedicatedHostGroupId string
    You have a dedicated cluster ID.
    EcsDeploymentSetId string
    The ID of the cloud server deployment set.
    EcsHostName string
    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 (.).
    EcsInstanceName string
    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.
    EcsUniqueSuffix string
    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.
    ImageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    InternetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    InternetMaxBandwidthOut int
    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.
    KeyPairName string
    The key pair name.
    OsPassword 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.

    PasswordInherit 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.
    PeriodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    ResourceGroupId string
    The ID of the resource group.
    Tags Dictionary<string, string>
    Host tag information.
    UserData string
    User-defined script data. The maximum size of the original data is 16kB.
    UserDataEncoded bool
    Whether custom data is encoded in Base64 format.
    EcsClassLists []DedicatedPropreHostEcsClassListArgs
    ECS specifications. See ecs_class_list below.
    EcsZoneId string
    The ID of the zone.
    Engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    PaymentType string
    The Payment type. Currently, only Subscription is supported.
    SecurityGroupId string
    The ID of the security group.
    VpcId string
    VPCID of the VPC.
    VswitchId string
    The ID of the virtual switch.
    AutoPay bool
    Whether to pay automatically when the host is created.
    AutoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    DedicatedHostGroupId string
    You have a dedicated cluster ID.
    EcsDeploymentSetId string
    The ID of the cloud server deployment set.
    EcsHostName string
    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 (.).
    EcsInstanceName string
    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.
    EcsUniqueSuffix string
    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.
    ImageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    InternetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    InternetMaxBandwidthOut int
    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.
    KeyPairName string
    The key pair name.
    OsPassword 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.

    PasswordInherit 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.
    PeriodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    ResourceGroupId string
    The ID of the resource group.
    Tags map[string]string
    Host tag information.
    UserData string
    User-defined script data. The maximum size of the original data is 16kB.
    UserDataEncoded bool
    Whether custom data is encoded in Base64 format.
    ecsClassLists List<DedicatedPropreHostEcsClassList>
    ECS specifications. See ecs_class_list below.
    ecsZoneId String
    The ID of the zone.
    engine String
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    paymentType String
    The Payment type. Currently, only Subscription is supported.
    securityGroupId String
    The ID of the security group.
    vpcId String
    VPCID of the VPC.
    vswitchId String
    The ID of the virtual switch.
    autoPay Boolean
    Whether to pay automatically when the host is created.
    autoRenew String
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId String
    You have a dedicated cluster ID.
    ecsDeploymentSetId String
    The ID of the cloud server deployment set.
    ecsHostName String
    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 (.).
    ecsInstanceName String
    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.
    ecsUniqueSuffix String
    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.
    imageId String

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType String
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut Integer
    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.
    keyPairName String
    The key pair name.
    osPassword 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.

    passwordInherit 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.
    periodType String
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId String
    The ID of the resource group.
    tags Map<String,String>
    Host tag information.
    userData String
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded Boolean
    Whether custom data is encoded in Base64 format.
    ecsClassLists DedicatedPropreHostEcsClassList[]
    ECS specifications. See ecs_class_list below.
    ecsZoneId string
    The ID of the zone.
    engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    paymentType string
    The Payment type. Currently, only Subscription is supported.
    securityGroupId string
    The ID of the security group.
    vpcId string
    VPCID of the VPC.
    vswitchId string
    The ID of the virtual switch.
    autoPay boolean
    Whether to pay automatically when the host is created.
    autoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId string
    You have a dedicated cluster ID.
    ecsDeploymentSetId string
    The ID of the cloud server deployment set.
    ecsHostName string
    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 (.).
    ecsInstanceName string
    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.
    ecsUniqueSuffix string
    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.
    imageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut number
    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.
    keyPairName string
    The key pair name.
    osPassword 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.

    passwordInherit 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.
    periodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId string
    The ID of the resource group.
    tags {[key: string]: string}
    Host tag information.
    userData string
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded boolean
    Whether custom data is encoded in Base64 format.
    ecs_class_lists Sequence[DedicatedPropreHostEcsClassListArgs]
    ECS specifications. See ecs_class_list below.
    ecs_zone_id str
    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_id str
    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_group_id str
    You have a dedicated cluster ID.
    ecs_deployment_set_id str
    The ID of the cloud server deployment set.
    ecs_host_name str
    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_name str
    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_suffix str
    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_type str
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internet_max_bandwidth_out int
    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_name str
    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_id str
    The ID of the resource group.
    tags Mapping[str, str]
    Host tag information.
    user_data str
    User-defined script data. The maximum size of the original data is 16kB.
    user_data_encoded bool
    Whether custom data is encoded in Base64 format.
    ecsClassLists List<Property Map>
    ECS specifications. See ecs_class_list below.
    ecsZoneId String
    The ID of the zone.
    engine String
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    paymentType String
    The Payment type. Currently, only Subscription is supported.
    securityGroupId String
    The ID of the security group.
    vpcId String
    VPCID of the VPC.
    vswitchId String
    The ID of the virtual switch.
    autoPay Boolean
    Whether to pay automatically when the host is created.
    autoRenew String
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId String
    You have a dedicated cluster ID.
    ecsDeploymentSetId String
    The ID of the cloud server deployment set.
    ecsHostName String
    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 (.).
    ecsInstanceName String
    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.
    ecsUniqueSuffix String
    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.
    imageId String

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType String
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut Number
    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.
    keyPairName String
    The key pair name.
    osPassword 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.

    passwordInherit 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.
    periodType String
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId String
    The ID of the resource group.
    tags Map<String>
    Host tag information.
    userData String
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded Boolean
    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:

    EcsInstanceId string
    ECS instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    EcsInstanceId string
    ECS instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    ecsInstanceId String
    ECS instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    ecsInstanceId string
    ECS instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    ecs_instance_id str
    ECS instance ID.
    id str
    The provider-assigned unique ID for this managed resource.
    ecsInstanceId String
    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.
    The following state arguments are supported:
    AutoPay bool
    Whether to pay automatically when the host is created.
    AutoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    DedicatedHostGroupId string
    You have a dedicated cluster ID.
    EcsClassLists List<Pulumi.AliCloud.Cddc.Inputs.DedicatedPropreHostEcsClassList>
    ECS specifications. See ecs_class_list below.
    EcsDeploymentSetId string
    The ID of the cloud server deployment set.
    EcsHostName string
    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 (.).
    EcsInstanceId string
    ECS instance ID.
    EcsInstanceName string
    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.
    EcsUniqueSuffix string
    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.
    EcsZoneId string
    The ID of the zone.
    Engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    ImageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    InternetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    InternetMaxBandwidthOut int
    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.
    KeyPairName string
    The key pair name.
    OsPassword 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.

    PasswordInherit 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.

    PaymentType string
    The Payment type. Currently, only Subscription is supported.
    Period string
    Duration of purchase.
    PeriodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupId string
    The ID of the security group.
    Tags Dictionary<string, string>
    Host tag information.
    UserData string
    User-defined script data. The maximum size of the original data is 16kB.
    UserDataEncoded bool
    Whether custom data is encoded in Base64 format.
    VpcId string
    VPCID of the VPC.
    VswitchId string
    The ID of the virtual switch.
    AutoPay bool
    Whether to pay automatically when the host is created.
    AutoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    DedicatedHostGroupId string
    You have a dedicated cluster ID.
    EcsClassLists []DedicatedPropreHostEcsClassListArgs
    ECS specifications. See ecs_class_list below.
    EcsDeploymentSetId string
    The ID of the cloud server deployment set.
    EcsHostName string
    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 (.).
    EcsInstanceId string
    ECS instance ID.
    EcsInstanceName string
    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.
    EcsUniqueSuffix string
    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.
    EcsZoneId string
    The ID of the zone.
    Engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    ImageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    InternetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    InternetMaxBandwidthOut int
    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.
    KeyPairName string
    The key pair name.
    OsPassword 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.

    PasswordInherit 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.

    PaymentType string
    The Payment type. Currently, only Subscription is supported.
    Period string
    Duration of purchase.
    PeriodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupId string
    The ID of the security group.
    Tags map[string]string
    Host tag information.
    UserData string
    User-defined script data. The maximum size of the original data is 16kB.
    UserDataEncoded bool
    Whether custom data is encoded in Base64 format.
    VpcId string
    VPCID of the VPC.
    VswitchId string
    The ID of the virtual switch.
    autoPay Boolean
    Whether to pay automatically when the host is created.
    autoRenew String
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId String
    You have a dedicated cluster ID.
    ecsClassLists List<DedicatedPropreHostEcsClassList>
    ECS specifications. See ecs_class_list below.
    ecsDeploymentSetId String
    The ID of the cloud server deployment set.
    ecsHostName String
    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 (.).
    ecsInstanceId String
    ECS instance ID.
    ecsInstanceName String
    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.
    ecsUniqueSuffix String
    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.
    ecsZoneId String
    The ID of the zone.
    engine String
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    imageId String

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType String
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut Integer
    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.
    keyPairName String
    The key pair name.
    osPassword 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.

    passwordInherit 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.

    paymentType String
    The Payment type. Currently, only Subscription is supported.
    period String
    Duration of purchase.
    periodType String
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId String
    The ID of the resource group.
    securityGroupId String
    The ID of the security group.
    tags Map<String,String>
    Host tag information.
    userData String
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded Boolean
    Whether custom data is encoded in Base64 format.
    vpcId String
    VPCID of the VPC.
    vswitchId String
    The ID of the virtual switch.
    autoPay boolean
    Whether to pay automatically when the host is created.
    autoRenew string
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId string
    You have a dedicated cluster ID.
    ecsClassLists DedicatedPropreHostEcsClassList[]
    ECS specifications. See ecs_class_list below.
    ecsDeploymentSetId string
    The ID of the cloud server deployment set.
    ecsHostName string
    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 (.).
    ecsInstanceId string
    ECS instance ID.
    ecsInstanceName string
    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.
    ecsUniqueSuffix string
    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.
    ecsZoneId string
    The ID of the zone.
    engine string
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    imageId string

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType string
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut number
    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.
    keyPairName string
    The key pair name.
    osPassword 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.

    passwordInherit 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.

    paymentType string
    The Payment type. Currently, only Subscription is supported.
    period string
    Duration of purchase.
    periodType string
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId string
    The ID of the resource group.
    securityGroupId string
    The ID of the security group.
    tags {[key: string]: string}
    Host tag information.
    userData string
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded boolean
    Whether custom data is encoded in Base64 format.
    vpcId string
    VPCID of the VPC.
    vswitchId 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_group_id str
    You have a dedicated cluster ID.
    ecs_class_lists Sequence[DedicatedPropreHostEcsClassListArgs]
    ECS specifications. See ecs_class_list below.
    ecs_deployment_set_id str
    The ID of the cloud server deployment set.
    ecs_host_name str
    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_id str
    ECS instance ID.
    ecs_instance_name str
    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_suffix str
    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_id str
    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_type str
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internet_max_bandwidth_out int
    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_name str
    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_id str
    The ID of the resource group.
    security_group_id str
    The ID of the security group.
    tags Mapping[str, str]
    Host tag information.
    user_data str
    User-defined script data. The maximum size of the original data is 16kB.
    user_data_encoded bool
    Whether custom data is encoded in Base64 format.
    vpc_id str
    VPCID of the VPC.
    vswitch_id str
    The ID of the virtual switch.
    autoPay Boolean
    Whether to pay automatically when the host is created.
    autoRenew String
    Whether to enable automatic renewal. Valid values:

    • true: On
    • false (default): Off
    dedicatedHostGroupId String
    You have a dedicated cluster ID.
    ecsClassLists List<Property Map>
    ECS specifications. See ecs_class_list below.
    ecsDeploymentSetId String
    The ID of the cloud server deployment set.
    ecsHostName String
    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 (.).
    ecsInstanceId String
    ECS instance ID.
    ecsInstanceName String
    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.
    ecsUniqueSuffix String
    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.
    ecsZoneId String
    The ID of the zone.
    engine String
    Database type, value:

    • alisql
    • tair
    • mssql Must be consistent with the parent resource cluster engine attributes.
    imageId String

    The ID of the custom image.

    NOTE: If you need to use the default image, you do not need to fill it in.

    internetChargeType String
    Network billing type. Value range: PayByBandwidth: Billing based on fixed bandwidth. PayByTraffic: charges by using the flow meter.
    internetMaxBandwidthOut Number
    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.
    keyPairName String
    The key pair name.
    osPassword 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.

    passwordInherit 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.

    paymentType String
    The Payment type. Currently, only Subscription is supported.
    period String
    Duration of purchase.
    periodType String
    The subscription type. Currently, only Monthly (subscription) is supported.
    resourceGroupId String
    The ID of the resource group.
    securityGroupId String
    The ID of the security group.
    tags Map<String>
    Host tag information.
    userData String
    User-defined script data. The maximum size of the original data is 16kB.
    userDataEncoded Boolean
    Whether custom data is encoded in Base64 format.
    vpcId String
    VPCID of the VPC.
    vswitchId String
    The ID of the virtual switch.

    Supporting Types

    DedicatedPropreHostEcsClassList, DedicatedPropreHostEcsClassListArgs

    InstanceType string
    ECS specifications.
    SysDiskCapacity int
    System disk capacity.
    SysDiskType string
    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.
    DataDiskPerformanceLevel string
    Data disk PL level.
    DiskCapacity int
    The capacity of the data disk.
    DiskCount int
    Number of mounted data disks.
    DiskType 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.
    SystemDiskPerformanceLevel string
    System disk PL level.
    InstanceType string
    ECS specifications.
    SysDiskCapacity int
    System disk capacity.
    SysDiskType string
    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.
    DataDiskPerformanceLevel string
    Data disk PL level.
    DiskCapacity int
    The capacity of the data disk.
    DiskCount int
    Number of mounted data disks.
    DiskType 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.
    SystemDiskPerformanceLevel string
    System disk PL level.
    instanceType String
    ECS specifications.
    sysDiskCapacity Integer
    System disk capacity.
    sysDiskType String
    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.
    dataDiskPerformanceLevel String
    Data disk PL level.
    diskCapacity Integer
    The capacity of the data disk.
    diskCount Integer
    Number of mounted data disks.
    diskType 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.
    systemDiskPerformanceLevel String
    System disk PL level.
    instanceType string
    ECS specifications.
    sysDiskCapacity number
    System disk capacity.
    sysDiskType string
    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.
    dataDiskPerformanceLevel string
    Data disk PL level.
    diskCapacity number
    The capacity of the data disk.
    diskCount number
    Number of mounted data disks.
    diskType 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.
    systemDiskPerformanceLevel string
    System disk PL level.
    instance_type str
    ECS specifications.
    sys_disk_capacity int
    System disk capacity.
    sys_disk_type str
    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_performance_level str
    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_performance_level str
    System disk PL level.
    instanceType String
    ECS specifications.
    sysDiskCapacity Number
    System disk capacity.
    sysDiskType String
    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.
    dataDiskPerformanceLevel String
    Data disk PL level.
    diskCapacity Number
    The capacity of the data disk.
    diskCount Number
    Number of mounted data disks.
    diskType 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.
    systemDiskPerformanceLevel String
    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.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi