Creates a network zone object.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:CreateNetworkZone |
create |
*NetworkZone
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NetworkZoneName |
string |
Yes |
The name of the network zone. |
IPV4Test |
| Description |
string |
No |
The description of the network zone. |
测试描述 |
| NetworkZoneType |
string |
Yes |
The type of the network zone. 枚举值:
|
arn:alibaba:idaas:network:zone:classic |
| Ipv4Cidrs |
array |
No |
The IPv4 CIDR blocks of the network zone. |
0.0.0.0/0 |
|
string |
No |
The IPv4 CIDR block. |
140.xxx.11.0/xx |
|
| Ipv6Cidrs |
array |
No |
The IPv6 CIDR blocks of the network zone. |
::/0 |
|
string |
No |
The IPv6 CIDR block. |
2001:xxxx:4801:xx::40 |
|
| VpcId |
string |
No |
The ID of the VPC. |
vpc_xxxxx |
| ClientToken |
string |
No |
The idempotence token. |
client-token-example |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| NetworkZoneId |
string |
The ID of the network zone. |
network_m6a57vre4g3h7m725yrq6pxxxx |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"NetworkZoneId": "network_m6a57vre4g3h7m725yrq6pxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.