Updated on 2022-02-22 GMT+08:00

VPC.BandWidth

Property Description

Table 1 Property description

Property

Mandatory

Type

Description

name

No

string

Name of the created bandwidth

Value Description: Enter a maximum of 64 characters. Only hyphens (-), underscores (_), uppercase and lowercase letters, and digits are allowed.

Value Constraint: The value contains 1 to 64 characters. This value is unique under an account, and must meet regular expression {"regex":"^[a-zA-Z][0-9a-zA-Z-_]*$","min_length":1,"max_length":64}.

shareType

Yes

string

Bandwidth type

Value Description: The options are PER and WHOLE. PER: exclusive. WHOLE: shared.

Value Constraint: The options are PER and WHOLE.

chargeMode

No

string

Billing mode

Value Description: The options are bandwidth and traffic.

Value Constraint: The options are bandwidth and traffic.

productId

No

string

Product ID

Value Description: The value must satisfy the UUID rule and contain a maximum of 64 characters.

Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters.

id

No

string

Existing bandwidth ID

Value Description: The value must satisfy the UUID rule and contain a maximum of 64 characters.

Value Constraint: The value must satisfy the UUID rule and contain a maximum of 64 characters.

size

No

integer

Bandwidth

Value Description: bandwidth (Mbit/s). The value ranges from 1 to 300. This parameter is mandatory when share_type is set to PER. This parameter is ignored when share_type is set to WHOLE with an ID specified.

Value Constraint: The value must range from 1 to 300.