1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ens
  5. Instance
Alibaba Cloud v3.55.0 published on Tuesday, Apr 30, 2024 by Pulumi

alicloud.ens.Instance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.55.0 published on Tuesday, Apr 30, 2024 by Pulumi

    Import

    ENS Instance can be imported using the id, e.g.

    $ pulumi import alicloud:ens/instance:Instance example <id>
    

    Create Instance Resource

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

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 instance_type: Optional[str] = None,
                 schedule_area_level: Optional[str] = None,
                 payment_type: Optional[str] = None,
                 internet_max_bandwidth_out: Optional[int] = None,
                 ip_type: Optional[str] = None,
                 password: Optional[str] = None,
                 ens_region_id: Optional[str] = None,
                 force_stop: Optional[str] = None,
                 host_name: Optional[str] = None,
                 image_id: Optional[str] = None,
                 include_data_disks: Optional[bool] = None,
                 instance_charge_strategy: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 carrier: Optional[str] = None,
                 internet_charge_type: Optional[str] = None,
                 billing_cycle: Optional[str] = None,
                 amount: Optional[int] = None,
                 net_district_code: Optional[str] = None,
                 net_work_id: Optional[str] = None,
                 data_disks: Optional[Sequence[InstanceDataDiskArgs]] = None,
                 password_inherit: Optional[bool] = None,
                 auto_use_coupon: Optional[str] = None,
                 period: Optional[int] = None,
                 period_unit: Optional[str] = None,
                 private_ip_address: Optional[str] = None,
                 public_ip_identification: Optional[bool] = None,
                 auto_renew: Optional[bool] = None,
                 scheduling_price_strategy: Optional[str] = None,
                 scheduling_strategy: Optional[str] = None,
                 security_id: Optional[str] = None,
                 status: Optional[str] = None,
                 system_disk: Optional[InstanceSystemDiskArgs] = None,
                 unique_suffix: Optional[bool] = None,
                 user_data: Optional[str] = None,
                 vswitch_id: Optional[str] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:ens:Instance
    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 InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var exampleinstanceResourceResourceFromEnsinstance = new AliCloud.Ens.Instance("exampleinstanceResourceResourceFromEnsinstance", new()
    {
        InstanceType = "string",
        ScheduleAreaLevel = "string",
        PaymentType = "string",
        InternetMaxBandwidthOut = 0,
        IpType = "string",
        Password = "string",
        EnsRegionId = "string",
        ForceStop = "string",
        HostName = "string",
        ImageId = "string",
        IncludeDataDisks = false,
        InstanceChargeStrategy = "string",
        InstanceName = "string",
        Carrier = "string",
        InternetChargeType = "string",
        BillingCycle = "string",
        Amount = 0,
        NetDistrictCode = "string",
        NetWorkId = "string",
        DataDisks = new[]
        {
            new AliCloud.Ens.Inputs.InstanceDataDiskArgs
            {
                Category = "string",
                Size = 0,
            },
        },
        PasswordInherit = false,
        AutoUseCoupon = "string",
        Period = 0,
        PeriodUnit = "string",
        PrivateIpAddress = "string",
        PublicIpIdentification = false,
        AutoRenew = false,
        SchedulingPriceStrategy = "string",
        SchedulingStrategy = "string",
        SecurityId = "string",
        Status = "string",
        SystemDisk = new AliCloud.Ens.Inputs.InstanceSystemDiskArgs
        {
            Category = "string",
            Size = 0,
        },
        UniqueSuffix = false,
        UserData = "string",
        VswitchId = "string",
    });
    
    example, err := ens.NewInstance(ctx, "exampleinstanceResourceResourceFromEnsinstance", &ens.InstanceArgs{
    	InstanceType:            pulumi.String("string"),
    	ScheduleAreaLevel:       pulumi.String("string"),
    	PaymentType:             pulumi.String("string"),
    	InternetMaxBandwidthOut: pulumi.Int(0),
    	IpType:                  pulumi.String("string"),
    	Password:                pulumi.String("string"),
    	EnsRegionId:             pulumi.String("string"),
    	ForceStop:               pulumi.String("string"),
    	HostName:                pulumi.String("string"),
    	ImageId:                 pulumi.String("string"),
    	IncludeDataDisks:        pulumi.Bool(false),
    	InstanceChargeStrategy:  pulumi.String("string"),
    	InstanceName:            pulumi.String("string"),
    	Carrier:                 pulumi.String("string"),
    	InternetChargeType:      pulumi.String("string"),
    	BillingCycle:            pulumi.String("string"),
    	Amount:                  pulumi.Int(0),
    	NetDistrictCode:         pulumi.String("string"),
    	NetWorkId:               pulumi.String("string"),
    	DataDisks: ens.InstanceDataDiskArray{
    		&ens.InstanceDataDiskArgs{
    			Category: pulumi.String("string"),
    			Size:     pulumi.Int(0),
    		},
    	},
    	PasswordInherit:         pulumi.Bool(false),
    	AutoUseCoupon:           pulumi.String("string"),
    	Period:                  pulumi.Int(0),
    	PeriodUnit:              pulumi.String("string"),
    	PrivateIpAddress:        pulumi.String("string"),
    	PublicIpIdentification:  pulumi.Bool(false),
    	AutoRenew:               pulumi.Bool(false),
    	SchedulingPriceStrategy: pulumi.String("string"),
    	SchedulingStrategy:      pulumi.String("string"),
    	SecurityId:              pulumi.String("string"),
    	Status:                  pulumi.String("string"),
    	SystemDisk: &ens.InstanceSystemDiskArgs{
    		Category: pulumi.String("string"),
    		Size:     pulumi.Int(0),
    	},
    	UniqueSuffix: pulumi.Bool(false),
    	UserData:     pulumi.String("string"),
    	VswitchId:    pulumi.String("string"),
    })
    
    var exampleinstanceResourceResourceFromEnsinstance = new Instance("exampleinstanceResourceResourceFromEnsinstance", InstanceArgs.builder()        
        .instanceType("string")
        .scheduleAreaLevel("string")
        .paymentType("string")
        .internetMaxBandwidthOut(0)
        .ipType("string")
        .password("string")
        .ensRegionId("string")
        .forceStop("string")
        .hostName("string")
        .imageId("string")
        .includeDataDisks(false)
        .instanceChargeStrategy("string")
        .instanceName("string")
        .carrier("string")
        .internetChargeType("string")
        .billingCycle("string")
        .amount(0)
        .netDistrictCode("string")
        .netWorkId("string")
        .dataDisks(InstanceDataDiskArgs.builder()
            .category("string")
            .size(0)
            .build())
        .passwordInherit(false)
        .autoUseCoupon("string")
        .period(0)
        .periodUnit("string")
        .privateIpAddress("string")
        .publicIpIdentification(false)
        .autoRenew(false)
        .schedulingPriceStrategy("string")
        .schedulingStrategy("string")
        .securityId("string")
        .status("string")
        .systemDisk(InstanceSystemDiskArgs.builder()
            .category("string")
            .size(0)
            .build())
        .uniqueSuffix(false)
        .userData("string")
        .vswitchId("string")
        .build());
    
    exampleinstance_resource_resource_from_ensinstance = alicloud.ens.Instance("exampleinstanceResourceResourceFromEnsinstance",
        instance_type="string",
        schedule_area_level="string",
        payment_type="string",
        internet_max_bandwidth_out=0,
        ip_type="string",
        password="string",
        ens_region_id="string",
        force_stop="string",
        host_name="string",
        image_id="string",
        include_data_disks=False,
        instance_charge_strategy="string",
        instance_name="string",
        carrier="string",
        internet_charge_type="string",
        billing_cycle="string",
        amount=0,
        net_district_code="string",
        net_work_id="string",
        data_disks=[alicloud.ens.InstanceDataDiskArgs(
            category="string",
            size=0,
        )],
        password_inherit=False,
        auto_use_coupon="string",
        period=0,
        period_unit="string",
        private_ip_address="string",
        public_ip_identification=False,
        auto_renew=False,
        scheduling_price_strategy="string",
        scheduling_strategy="string",
        security_id="string",
        status="string",
        system_disk=alicloud.ens.InstanceSystemDiskArgs(
            category="string",
            size=0,
        ),
        unique_suffix=False,
        user_data="string",
        vswitch_id="string")
    
    const exampleinstanceResourceResourceFromEnsinstance = new alicloud.ens.Instance("exampleinstanceResourceResourceFromEnsinstance", {
        instanceType: "string",
        scheduleAreaLevel: "string",
        paymentType: "string",
        internetMaxBandwidthOut: 0,
        ipType: "string",
        password: "string",
        ensRegionId: "string",
        forceStop: "string",
        hostName: "string",
        imageId: "string",
        includeDataDisks: false,
        instanceChargeStrategy: "string",
        instanceName: "string",
        carrier: "string",
        internetChargeType: "string",
        billingCycle: "string",
        amount: 0,
        netDistrictCode: "string",
        netWorkId: "string",
        dataDisks: [{
            category: "string",
            size: 0,
        }],
        passwordInherit: false,
        autoUseCoupon: "string",
        period: 0,
        periodUnit: "string",
        privateIpAddress: "string",
        publicIpIdentification: false,
        autoRenew: false,
        schedulingPriceStrategy: "string",
        schedulingStrategy: "string",
        securityId: "string",
        status: "string",
        systemDisk: {
            category: "string",
            size: 0,
        },
        uniqueSuffix: false,
        userData: "string",
        vswitchId: "string",
    });
    
    type: alicloud:ens:Instance
    properties:
        amount: 0
        autoRenew: false
        autoUseCoupon: string
        billingCycle: string
        carrier: string
        dataDisks:
            - category: string
              size: 0
        ensRegionId: string
        forceStop: string
        hostName: string
        imageId: string
        includeDataDisks: false
        instanceChargeStrategy: string
        instanceName: string
        instanceType: string
        internetChargeType: string
        internetMaxBandwidthOut: 0
        ipType: string
        netDistrictCode: string
        netWorkId: string
        password: string
        passwordInherit: false
        paymentType: string
        period: 0
        periodUnit: string
        privateIpAddress: string
        publicIpIdentification: false
        scheduleAreaLevel: string
        schedulingPriceStrategy: string
        schedulingStrategy: string
        securityId: string
        status: string
        systemDisk:
            category: string
            size: 0
        uniqueSuffix: false
        userData: string
        vswitchId: string
    

    Instance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Instance resource accepts the following input properties:

    InstanceType string
    The specification of the instance. Example value: ens.sn1.small.
    InternetMaxBandwidthOut int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    PaymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    ScheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    Amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    AutoRenew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    AutoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    BillingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    Carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    DataDisks List<Pulumi.AliCloud.Ens.Inputs.InstanceDataDisk>
    Data disk specifications. See data_disk below.
    EnsRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    ForceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    HostName string
    The host name of the instance. Example value: test-HostName.
    ImageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    IncludeDataDisks bool
    Whether the Payment type of the disk created with the instance is converted.
    InstanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    InstanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    InternetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    IpType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    NetDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    NetWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    Password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    PasswordInherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    Period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    PeriodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    PrivateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    PublicIpIdentification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    SchedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    SchedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    SecurityId string
    ID of the security group to which the instance belongs.
    Status string
    Status of the instance.
    SystemDisk Pulumi.AliCloud.Ens.Inputs.InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    UniqueSuffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    UserData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    VswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    InstanceType string
    The specification of the instance. Example value: ens.sn1.small.
    InternetMaxBandwidthOut int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    PaymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    ScheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    Amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    AutoRenew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    AutoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    BillingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    Carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    DataDisks []InstanceDataDiskArgs
    Data disk specifications. See data_disk below.
    EnsRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    ForceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    HostName string
    The host name of the instance. Example value: test-HostName.
    ImageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    IncludeDataDisks bool
    Whether the Payment type of the disk created with the instance is converted.
    InstanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    InstanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    InternetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    IpType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    NetDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    NetWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    Password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    PasswordInherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    Period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    PeriodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    PrivateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    PublicIpIdentification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    SchedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    SchedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    SecurityId string
    ID of the security group to which the instance belongs.
    Status string
    Status of the instance.
    SystemDisk InstanceSystemDiskArgs
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    UniqueSuffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    UserData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    VswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    instanceType String
    The specification of the instance. Example value: ens.sn1.small.
    internetMaxBandwidthOut Integer
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    paymentType String
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    scheduleAreaLevel String
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    amount Integer
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew Boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon String
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle String
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier String
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks List<InstanceDataDisk>
    Data disk specifications. See data_disk below.
    ensRegionId String
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop String
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName String
    The host name of the instance. Example value: test-HostName.
    imageId String
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks Boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy String
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName String
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    internetChargeType String
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    ipType String
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode String
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId String
    The network ID of the instance. Can only be used in node-level scheduling.
    password String
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit Boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    period Integer
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit String
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress String
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification Boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    schedulingPriceStrategy String
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy String
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId String
    ID of the security group to which the instance belongs.
    status String
    Status of the instance.
    systemDisk InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix Boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData String
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId String
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    instanceType string
    The specification of the instance. Example value: ens.sn1.small.
    internetMaxBandwidthOut number
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    paymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    scheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    amount number
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks InstanceDataDisk[]
    Data disk specifications. See data_disk below.
    ensRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName string
    The host name of the instance. Example value: test-HostName.
    imageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    internetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    ipType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    period number
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    schedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId string
    ID of the security group to which the instance belongs.
    status string
    Status of the instance.
    systemDisk InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    instance_type str
    The specification of the instance. Example value: ens.sn1.small.
    internet_max_bandwidth_out int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    payment_type str
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    schedule_area_level str
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    auto_renew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    auto_use_coupon str
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billing_cycle str
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier str
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    data_disks Sequence[InstanceDataDiskArgs]
    Data disk specifications. See data_disk below.
    ens_region_id str
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    force_stop str
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    host_name str
    The host name of the instance. Example value: test-HostName.
    image_id str
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    include_data_disks bool
    Whether the Payment type of the disk created with the instance is converted.
    instance_charge_strategy str
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instance_name str
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    internet_charge_type str
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    ip_type str
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    net_district_code str
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    net_work_id str
    The network ID of the instance. Can only be used in node-level scheduling.
    password str
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    password_inherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    period_unit str
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    private_ip_address str
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    public_ip_identification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    scheduling_price_strategy str
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    scheduling_strategy str
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    security_id str
    ID of the security group to which the instance belongs.
    status str
    Status of the instance.
    system_disk InstanceSystemDiskArgs
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    unique_suffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    user_data str
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitch_id str
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    instanceType String
    The specification of the instance. Example value: ens.sn1.small.
    internetMaxBandwidthOut Number
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    paymentType String
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    scheduleAreaLevel String
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    amount Number
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew Boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon String
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle String
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier String
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks List<Property Map>
    Data disk specifications. See data_disk below.
    ensRegionId String
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop String
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName String
    The host name of the instance. Example value: test-HostName.
    imageId String
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks Boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy String
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName String
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    internetChargeType String
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    ipType String
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode String
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId String
    The network ID of the instance. Can only be used in node-level scheduling.
    password String
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit Boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    period Number
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit String
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress String
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification Boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    schedulingPriceStrategy String
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy String
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId String
    ID of the security group to which the instance belongs.
    status String
    Status of the instance.
    systemDisk Property Map
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix Boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData String
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId String
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            amount: Optional[int] = None,
            auto_renew: Optional[bool] = None,
            auto_use_coupon: Optional[str] = None,
            billing_cycle: Optional[str] = None,
            carrier: Optional[str] = None,
            data_disks: Optional[Sequence[InstanceDataDiskArgs]] = None,
            ens_region_id: Optional[str] = None,
            force_stop: Optional[str] = None,
            host_name: Optional[str] = None,
            image_id: Optional[str] = None,
            include_data_disks: Optional[bool] = None,
            instance_charge_strategy: Optional[str] = None,
            instance_name: Optional[str] = None,
            instance_type: Optional[str] = None,
            internet_charge_type: Optional[str] = None,
            internet_max_bandwidth_out: Optional[int] = None,
            ip_type: Optional[str] = None,
            net_district_code: Optional[str] = None,
            net_work_id: Optional[str] = None,
            password: Optional[str] = None,
            password_inherit: Optional[bool] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            private_ip_address: Optional[str] = None,
            public_ip_identification: Optional[bool] = None,
            schedule_area_level: Optional[str] = None,
            scheduling_price_strategy: Optional[str] = None,
            scheduling_strategy: Optional[str] = None,
            security_id: Optional[str] = None,
            status: Optional[str] = None,
            system_disk: Optional[InstanceSystemDiskArgs] = None,
            unique_suffix: Optional[bool] = None,
            user_data: Optional[str] = None,
            vswitch_id: Optional[str] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState 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:
    Amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    AutoRenew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    AutoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    BillingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    Carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    DataDisks List<Pulumi.AliCloud.Ens.Inputs.InstanceDataDisk>
    Data disk specifications. See data_disk below.
    EnsRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    ForceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    HostName string
    The host name of the instance. Example value: test-HostName.
    ImageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    IncludeDataDisks bool
    Whether the Payment type of the disk created with the instance is converted.
    InstanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    InstanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    InstanceType string
    The specification of the instance. Example value: ens.sn1.small.
    InternetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    InternetMaxBandwidthOut int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    IpType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    NetDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    NetWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    Password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    PasswordInherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    PaymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    Period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    PeriodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    PrivateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    PublicIpIdentification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    ScheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    SchedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    SchedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    SecurityId string
    ID of the security group to which the instance belongs.
    Status string
    Status of the instance.
    SystemDisk Pulumi.AliCloud.Ens.Inputs.InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    UniqueSuffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    UserData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    VswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    Amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    AutoRenew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    AutoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    BillingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    Carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    DataDisks []InstanceDataDiskArgs
    Data disk specifications. See data_disk below.
    EnsRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    ForceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    HostName string
    The host name of the instance. Example value: test-HostName.
    ImageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    IncludeDataDisks bool
    Whether the Payment type of the disk created with the instance is converted.
    InstanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    InstanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    InstanceType string
    The specification of the instance. Example value: ens.sn1.small.
    InternetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    InternetMaxBandwidthOut int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    IpType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    NetDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    NetWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    Password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    PasswordInherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    PaymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    Period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    PeriodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    PrivateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    PublicIpIdentification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    ScheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    SchedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    SchedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    SecurityId string
    ID of the security group to which the instance belongs.
    Status string
    Status of the instance.
    SystemDisk InstanceSystemDiskArgs
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    UniqueSuffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    UserData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    VswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    amount Integer
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew Boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon String
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle String
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier String
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks List<InstanceDataDisk>
    Data disk specifications. See data_disk below.
    ensRegionId String
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop String
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName String
    The host name of the instance. Example value: test-HostName.
    imageId String
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks Boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy String
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName String
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    instanceType String
    The specification of the instance. Example value: ens.sn1.small.
    internetChargeType String
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    internetMaxBandwidthOut Integer
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    ipType String
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode String
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId String
    The network ID of the instance. Can only be used in node-level scheduling.
    password String
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit Boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    paymentType String
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    period Integer
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit String
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress String
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification Boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    scheduleAreaLevel String
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    schedulingPriceStrategy String
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy String
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId String
    ID of the security group to which the instance belongs.
    status String
    Status of the instance.
    systemDisk InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix Boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData String
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId String
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    amount number
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon string
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle string
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier string
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks InstanceDataDisk[]
    Data disk specifications. See data_disk below.
    ensRegionId string
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop string
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName string
    The host name of the instance. Example value: test-HostName.
    imageId string
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy string
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName string
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    instanceType string
    The specification of the instance. Example value: ens.sn1.small.
    internetChargeType string
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    internetMaxBandwidthOut number
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    ipType string
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode string
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId string
    The network ID of the instance. Can only be used in node-level scheduling.
    password string
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    paymentType string
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    period number
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit string
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress string
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    scheduleAreaLevel string
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    schedulingPriceStrategy string
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy string
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId string
    ID of the security group to which the instance belongs.
    status string
    Status of the instance.
    systemDisk InstanceSystemDisk
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData string
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId string
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    amount int
    The number of instances created, with a minimum of 1 and a maximum of 100.
    auto_renew bool
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    auto_use_coupon str
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billing_cycle str
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier str
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    data_disks Sequence[InstanceDataDiskArgs]
    Data disk specifications. See data_disk below.
    ens_region_id str
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    force_stop str
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    host_name str
    The host name of the instance. Example value: test-HostName.
    image_id str
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    include_data_disks bool
    Whether the Payment type of the disk created with the instance is converted.
    instance_charge_strategy str
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instance_name str
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    instance_type str
    The specification of the instance. Example value: ens.sn1.small.
    internet_charge_type str
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    internet_max_bandwidth_out int
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    ip_type str
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    net_district_code str
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    net_work_id str
    The network ID of the instance. Can only be used in node-level scheduling.
    password str
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    password_inherit bool
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    payment_type str
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    period int
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    period_unit str
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    private_ip_address str
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    public_ip_identification bool
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    schedule_area_level str
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    scheduling_price_strategy str
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    scheduling_strategy str
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    security_id str
    ID of the security group to which the instance belongs.
    status str
    Status of the instance.
    system_disk InstanceSystemDiskArgs
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    unique_suffix bool
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    user_data str
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitch_id str
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
    amount Number
    The number of instances created, with a minimum of 1 and a maximum of 100.
    autoRenew Boolean
    Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
    autoUseCoupon String
    Whether to use vouchers. The default is to use. Value:

    • true (used)
    • false (not used).
    billingCycle String
    The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

    • Hour: hourly billing
    • Day: Daily billing
    • Month: monthly billing.
    carrier String
    Operator, required for regional scheduling. Optional values:

    • cmcc (mobile)
    • unicom
    • telecom.
    dataDisks List<Property Map>
    Data disk specifications. See data_disk below.
    ensRegionId String
    The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
    forceStop String
    Whether to force the identity when operating the instance. Optional values:

    • true: Force
    • false (default): non-mandatory
    hostName String
    The host name of the instance. Example value: test-HostName.
    imageId String
    The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
    includeDataDisks Boolean
    Whether the Payment type of the disk created with the instance is converted.
    instanceChargeStrategy String
    The instance billing policy. Optional values:

    • instance: instance granularity (the subscription method does not support instance)
    • user: user Dimension (user is not transmitted or supported in the prepaid mode).
    instanceName String
    The instance name. Example value: test-InstanceName. 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 (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
    instanceType String
    The specification of the instance. Example value: ens.sn1.small.
    internetChargeType String
    Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

    • BandwidthByDay: Daily peak bandwidth
    • 95bandwidthbymonth: 95 peak bandwidth.
    internetMaxBandwidthOut Number
    Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
    ipType String
    The IP type. Value:

    • ipv4 (default):IPv4
    • ipv6:IPv6
    • ipv4Andipv6:IPv4 and IPv6.
    netDistrictCode String
    The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
    netWorkId String
    The network ID of the instance. Can only be used in node-level scheduling.
    password String
    The instance password. At least one of Password, KeyPairName, and PasswordInherit.
    passwordInherit Boolean
    Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
    paymentType String
    Instance payment method. Optional values:

    • Subscription: prepaid, annual and monthly
    • PayAsYouGo: Pay by volume.
    period Number
    The duration of the resource purchase. Value method:

    • If PeriodUnit is set to Day, Period can only be set to 3.
    • If PeriodUnit is set to Month, Period can be set to 1-9,12.
    periodUnit String
    The unit of time for purchasing resources. Value:

    • Month (default): purchase by Month
    • Day: buy by Day.
    privateIpAddress String
    The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
    publicIpIdentification Boolean
    Whether to assign a public IP identifier. Value:

    • true (default): Assign
    • false: do not assign.
    scheduleAreaLevel String
    Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

    • Node-level scheduling: Region
    • Regional scheduling: Big (region),Middle (province),Small (city).
    schedulingPriceStrategy String
    Scheduling price policy. If it is not filled in, the default priority is low price. Value:

    • PriceLowPriority
    • PriceLowPriority (priority low price).
    schedulingStrategy String
    Scheduling policy. Optional values:

    • Concentrate for node-level scheduling
    • For regional scheduling, Concentrate, Disperse.
    securityId String
    ID of the security group to which the instance belongs.
    status String
    Status of the instance.
    systemDisk Property Map
    System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.
    uniqueSuffix Boolean
    Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
    userData String
    User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
    vswitchId String
    The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.

    Supporting Types

    InstanceDataDisk, InstanceDataDiskArgs

    Category string
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    Size int
    Data disk size, unit: GB.
    Category string
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    Size int
    Data disk size, unit: GB.
    category String
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size Integer
    Data disk size, unit: GB.
    category string
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size number
    Data disk size, unit: GB.
    category str
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size int
    Data disk size, unit: GB.
    category String
    Data disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size Number
    Data disk size, unit: GB.

    InstanceSystemDisk, InstanceSystemDiskArgs

    Category string
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    Size int
    System disk size, unit: GB.
    Category string
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    Size int
    System disk size, unit: GB.
    category String
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size Integer
    System disk size, unit: GB.
    category string
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size number
    System disk size, unit: GB.
    category str
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size int
    System disk size, unit: GB.
    category String
    System disk type. Optional values:

    • cloud_efficiency: Ultra cloud disk
    • cloud_ssd: Full Flash cloud disk
    • local_hdd: local hdd disk
    • local_ssd: local disk ssd.
    size Number
    System disk size, unit: GB.

    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.55.0 published on Tuesday, Apr 30, 2024 by Pulumi