Modifies the automatic protection settings for new assets.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response message. Valid values:
|
zh |
| ResourceTypeAutoEnable |
string |
No |
Specifies whether to enable automatic protection for the resource type. |
{"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false} |
| RegionNo |
string |
No |
The ID of the region. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The ID of the request. |
B14757D0-4640-4B44-AC67-7F558F**** |
Examples
Success response
JSON format
{
"RequestId": "B14757D0-4640-4B44-AC67-7F558F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.