Küme bilgilerini değiştirir.
Operation description
Bu işlemi çağırmadan önce, Web Application Firewall (WAF) örneği için hibrit bulut özelliğinin etkinleştirildiğinden emin olun. Örnek ayrıntılarını sorgulamak için DescribeInstance işlemini çağırın. Yanıttaki Details.HybridCloud parametresi true ise hibrit bulut özelliği etkinleştirilmiştir. Özellik etkinleştirilmemişse, WAF konsolunda oturum açın ve hibrit bulut özelliğini etkinleştirmek için örneği yükseltin.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyHybridCloudCluster |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
Küme kimliği. |
1 |
| InstanceId |
string |
Yes |
WAF örneği kimliği. Not
Güncel WAF örneği kimliğini sorgulamak için DescribeInstance işlemini çağırabilirsiniz. |
waf-cn-mp9153**** |
| ClusterName |
string |
Yes |
Küme adı. |
waf-example-*** |
| HttpPorts |
string |
Yes |
HTTP protokolü için kullanılabilir bağlantı noktalarının listesi. Değer bir dizedir. Birden fazla bağlantı noktası belirtilirse, port1,port2,port3 biçiminde döndürülür. |
80,8080 |
| HttpsPorts |
string |
Yes |
HTTPS protokolü için kullanılabilir bağlantı noktalarının listesi. Değer bir dizedir. Birden fazla bağlantı noktası belirtilirse, port1,port2,port3 biçiminde döndürülür. |
443,8443 |
| AccessMode |
string |
Yes |
Ağ erişim modu. Geçerli değerler:
|
internet |
| AccessRegion |
string |
No |
Express Connect erişim bölgesi. Geçerli değerler:
|
cn-beijing |
| LogFieldsNotReturned |
string |
No |
Döndürülecek günlük alanları. |
log_example |
| ProtectionServerCount |
integer |
Yes |
Kümeye eklenebilecek koruma düğümlerinin sayısı. |
1 |
| Remark |
string |
No |
Açıklama. |
remarkExample |
| ProxyType |
string |
No |
Küme türü. Geçerli değerler:
|
service |
| RuleStatus |
string |
No |
Kural durumu. Geçerli değerler:
|
off |
| RuleConfig |
string |
No |
Kural yapılandırması. |
{ "enable": true, "param": { "breaker": { "duration": 1, "failed": 1, "recent_failed": 1 }, "disable_protect": false, "max_request_body_len": 1, "timeout": 1 } } |
| RuleType |
string |
No |
Kural türü. Geçerli değerler: bypass: Güvenlik kontrollerini atlar ve isteğe doğrudan izin verir. |
bypass |
| ProxyStatus |
string |
No |
Proxy ağ geçidi modu. Geçerli değerler:
|
off |
| RegionId |
string |
No |
WAF örneğinin bulunduğu bölge. Geçerli değerler:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
Alibaba Cloud kaynak grubu kimliği. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt yapısı. |
||
| RequestId |
string |
İstek kimliği. |
2EFCFE18-78F8-5079-B312-07***48B |
Examples
Success response
JSON format
{
"RequestId": "2EFCFE18-78F8-5079-B312-07***48B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.