Modifies an existing website forwarding rule.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-ddoscoo:ModifyWebRule | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceGroupId | string | No | The resource group ID of the Anti-DDoS Proxy instance in Resource Management. Default value: empty, which indicates that the instance belongs to the default resource group. For more information, see Create a resource group. | rg-acfm2pz25js**** |
Domain | string | Yes | The domain name of the website business to operate. Note The domain name must have a website forwarding rule configured. You can call DescribeDomains to query all domain names that have website forwarding rules configured. | www.aliyun.com |
ProxyTypes | string | Yes | The protocol information of the website forwarding rule. This parameter is a string converted from a JSON array. Each element in the JSON array is a JSON struct that contains the following fields:
| [{"ProxyType":"https","ProxyPorts":[443]}] |
RsType | integer | Yes | The address type of the origin server. Valid values:
| 0 |
HttpsExt | string | No | The HTTPS advanced settings, which take effect only when the website protocol type supports HTTPS (ProxyType includes https). This parameter is a string converted from a JSON struct that contains the following fields:
| {"Http2":1,"Http2https":1,"Https2http":1} |
| RealServers | array | Yes | The list of origin server addresses. | 1.xxx.xxx.1 |
string | No | The origin server address. | 192.XX.XX.2 | |
| InstanceIds | array | No | The list of Anti-DDoS Proxy instance IDs to associate. You can associate up to 100 instances. | ddoscoo-cn-mp91j1ao**** |
string | No | The ID of the Anti-DDoS Proxy instance to associate. Note You can call DescribeInstanceIds to query the IDs of all Anti-DDoS Proxy instances. | ddoscoo-cn-i7m27nf3**** |
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The ID of this request. | CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC |
Examples
Success response
JSON format
{
"RequestId": "CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.