EnableFirewallRules_云数据库 PolarDB_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Quotas Info

The current API request rate is 200/60(s).View More quotas information, please go to Quota Management View

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
polardb:EnableFirewallRules
Update
DBCluster
acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id}
NoneNone

Request Parameters

Field NameField Details
DBClusterIdstring

The cluster ID.

Example:pc-************ Reference Value Source:
    ModifyDBCluster
    CreateDBCluster
    DescribeDBClusters
    EnableDBClusterServerless
    TransformDBClusterPayType
    RestartDBLink
    DisableDBClusterServerless
RuleNameListstring

The name of the firewall rule that you want to enable for the cluster. You can specify multiple firewall rules at a time. Separate multiple rules with commas (,).View Details...

Example:test111
Enableboolean

Specifies whether to enable or disable the specified firewall rules. Valid values:View Details...

Example:true

Response Parameters

Field NameField Details
RequestIdstring

Id of the request

Example:99B355CE-526C-478B-B730-AD9D7C******
Messagestring

The message that is returned for the request.View Details...

Example:Message
Successboolean

Indicates whether the request was successful. Valid values:View Details...

Example:true

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
404
InvalidDBClusterId.Malformed
The specified parameter DBClusterId is not valid.Diagnose

Change History

Change timeChange content summaryoperation
2023-09-12
addError code 404
2022-06-01
addOpenAPI

Examples