ModifyInstance

Updated at:
Copy as MD

Modifies the specifications of an Anti-DDoS Pro or Anti-DDoS Premium instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-ddoscoo:ModifyInstance

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.

Note

You can invoke DescribeInstanceIds to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.

ddoscoo-cn-6ja1y6p5****

ModifyType

string

Yes

The type of specification change. Valid values:

  • UPGRADE: Upgrade.

  • DOWNGRADE: Downgrade.

Upgrade

NormalBandwidth

string

No

The clean bandwidth (outside the Chinese mainland). Unit: Mbit/s.

200

ServiceBandwidth

string

No

The clean bandwidth (the Chinese mainland). Unit: Mbit/s.

300

BaseBandwidth

string

No

The basic protection bandwidth (the Chinese mainland). Unit: Gbit/s.

30

PortCount

string

No

The number of protected ports.

50

Bandwidth

string

No

The burstable protection bandwidth (the Chinese mainland). Unit: Gbit/s.

30

DomainCount

string

No

The number of protected domain names.

50

NormalQps

string

No

The clean queries per second (QPS). Unit: Mbit/s.

100

ProductType

string

Yes

The product type.

Valid values:

  • ddoscoo: indicates that the China site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.

  • ddoscoo_intl: indicates that the international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.

  • ddosDip: indicates that the China site account or international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland) instance.

ddoscoo

AddressType

string

No

The address type. Valid values:

  • Ipv4: IPv4.

  • Ipv6: IPv6.

Ipv4

ProductPlan

string

No

The mitigation plan (outside the Chinese mainland). Valid values:

  • 0: Insurance mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).

  • 1: Unlimited mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).

  • 2: acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).

  • 3: secure acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).

0

EditionSale

string

No

The mitigation plan (the Chinese mainland). Valid values:

  • coop: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).

  • advance: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).

coop

ServicePartner

string

No

The line resource of the instance (the Chinese mainland). Valid values:

  • coop-line-001: eight-line BGP line for Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).

coop-line-001

FunctionVersion

string

No

The function version. Valid values:

  • 0: standard features.

  • 1: enhanced features.

0

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues.

0018DF77-7189-5D33-947B-E5B34BFCE07E

OrderId

integer

The order ID.

242461444340562

Examples

Success response

JSON format

{
  "RequestId": "0018DF77-7189-5D33-947B-E5B34BFCE07E",
  "OrderId": 242461444340562
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.