CreateVpd
Create a private Lingjun CIDR block. This CIDR block has an independent network environment.
Operation description
When you call this operation to create a CIDR block for Lingjun, take note of the following:
-
A Lingjun network segment can specify an additional network segment in addition to a main network segment.
-
After the Lingjun network segment is created, the network segment cannot be modified.
-
Make sure that you have a sufficient quota of Lingjun CIDR blocks.
-
This interface is an asynchronous interface. After calling this interface, the system will return the ID of a Lingjun network segment. At this time, the Lingjun network segment may not be created yet, and the system background creation task is still in progress. You can call the ListVpds or GetVpd operation to query the status of the CIDR block of Lingjun.
If the status of the Lingjun CIDR block is Executed, the CIDR block is being created.
If the status of the Lingjun CIDR block is Available, the creation is successful.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:CreateVpd |
create |
*Vpd
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the disk. |
cn-wulanchabu |
| VpdName |
string |
Yes |
Lingjun CIDR block instance name |
vpd-1 |
| Cidr |
string |
Yes |
The CIDR block of the VPD.
|
10.0.0.0/8 |
| Subnets |
array<object> |
No |
Lingjun subnet information list |
|
|
object |
No |
Lingjun subnet information |
||
| SubnetName |
string |
No |
Lingjun subnet instance name |
subnet-1 |
| RegionId |
string |
No |
The region in which the instance resides. |
cn-wulanchabu |
| ZoneId |
string |
No |
The zone ID of the disk. |
cn-wulanchabu-b |
| Cidr |
string |
No |
The CIDR block of the Subnet.
|
10.1.0.0/16 |
| Type |
string |
No |
Lingjun Subnet Usage Type; optional; optional. Valid values:
|
OOB |
| ResourceGroupId |
string |
No |
The resource group ID. For more information about resource groups, see Resource groups. |
rg-aek2l4sq6l7unhi |
| Tag |
array<object> |
No |
A tag. |
|
|
object |
No |
The tag information. You can specify up to 20 tags. |
||
| Key |
string |
No |
The tag key of the VPN attachment. You cannot specify an empty string as a tag key. It can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://. You can specify at most 20 tag keys in each call. |
vpd-wulanchabu |
| Value |
string |
No |
The tag value of the VPN connection. The tag value can be empty or a string of up to 128 characters. It cannot start with aliyun or acs:, and cannot contain http:// or https://. Each tag key corresponds to a tag value. You can enter a maximum of 20 tag values at a time. |
wulanchabu-a |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The returned message. |
SUCCESS |
| RequestId |
string |
The request ID. |
DBAD15D6-3F47-5B36-8A92-57C2919D13D0 |
| Content |
object |
The response parameters. |
|
| VpdId |
string |
Lingjun CIDR block instance ID |
vpd-eoiy88ju |
| SubnetIds |
array |
Lingjun subnet ID list |
|
|
string |
Lingjun subnet ID |
subnet-eoiy88ju |
|
| AccessDeniedDetail |
string |
The details about the failed permission verification. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "SUCCESS",
"RequestId": "DBAD15D6-3F47-5B36-8A92-57C2919D13D0",
"Content": {
"VpdId": "vpd-eoiy88ju",
"SubnetIds": [
"subnet-eoiy88ju"
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.