ModifyCfwInstance

更新时间:
复制 MD 格式

Updates instance information for pay-as-you-go 2.0 users.

Operation description

Before calling this operation, ensure that you understand the billing methods and pricing for the pay-as-you-go edition of Cloud Firewall.

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the Cloud Firewall instance.

cfw_elasticity_public_cn-zsk39m******

UpdateList

array<object>

Yes

A list of instance properties to update.

object

No

A list of instance properties to update.

Code

string

No

The code of the instance property to update. The following codes are supported:

  • `Code`: `MajorVersion`. Set `Value` to `2`. This is available only for pay-as-you-go 1.0 users to upgrade their instances to pay-as-you-go 2.0.

    Warning

    Make sure you understand the billing methods and pricing of pay-as-you-go 2.0.

    Warning

    Note that if log delivery is enabled before the upgrade, it will remain enabled after the upgrade, and logs will be delivered to a new Logstore.

  • `Code`: `ThreatIntelligence`. This is available only for pay-as-you-go 2.0 users to enable or disable the threat intelligence feature. Set `Value` to `1` to enable the feature or `0` to disable it.

  • `Code`: `Sdl`. This is available only for pay-as-you-go 2.0 users to enable or disable the sensitive data leak detection feature. Set `Value` to `1` to enable the feature or `0` to disable it.

Sdl

Value

string

No

The value for the specified `Code`. For valid values, see the description of the `Code` parameter.

1

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

F0F82705-CFC7-5F83-86C8-A063892F****

Examples

Success response

JSON format

{
  "RequestId": "F0F82705-CFC7-5F83-86C8-A063892F****"
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.