All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::RunInstances

Last Updated:Jul 31, 2024

Action

ACS::ECS::RunInstances

Description

Creates one or more Elastic Compute Service (ECS) instances.

Syntax

Action: ACS::ECS::RunInstances
Properties:
 regionId: String
 instanceChargeType: String
 periodUnit: String
 period: Number
 vSwitchId: String
 instanceType: String
 imageId: String
 systemDiskCategory: String
 systemDiskSize: String
 internetMaxBandwidthIn: Number
 internetMaxBandwidthOut: Number
 securityGroupId: String
 amount: Number
 instanceName: String
 ramRoleName: String
 tags: Json

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceChargeType

The billing method of the ECS instance.

String

No

PostPaid

periodUnit

The unit of the subscription duration.

String

No

Month

period

The subscription duration.

Number

No

1

vSwitchId

The vSwitch ID.

String

Yes

Regular expression for string verification: vsw-[A-Za-z0-9]*. The ID must be 1 to 30 characters in length.

instanceType

The type of the ECS instance.

String

Yes

Regular expression for string verification: ecs.[A-Za-z0-9.-]*. The value must be 1 to 30 characters in length.

imageId

The image ID.

String

Yes

Regular expression for string verification: [A-Za-z0-9_-.]*. The ID must be 1 to 100 characters in length.

systemDiskCategory

The category of the system disk.

String

No

cloud_efficiency

systemDiskSize

The size of the system disk.

String

No

""

internetMaxBandwidthIn

The inbound public bandwidth.

Number

No

200

internetMaxBandwidthOut

The outbound public bandwidth.

Number

No

0

securityGroupId

The security group ID.

String

Yes

Regular expression for string verification: sg-[A-Za-z0-9]*. The ID must be 1 to 30 characters in length.

amount

The number of ECS instances to be created.

Number

No

1

instanceName

The name of the ECS instance.

String

No

""

ramRoleName

The name of the Resource Access Management (RAM) role.

String

No

""

tags

The tags of the ECS instance.

Json

No

[]

Output

Output item

Description

Type

instanceIds

List

References

For more information, see ACS::ECS::RunInstances at GitHub.