You can call this operation to query the details of a custom line.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:read |
get |
*customLine
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. |
en |
| LineId |
string |
Yes |
The unique ID of the custom line. |
11271 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0B7AD377-7E86-44A8-B9A8-53E8666E72FE |
| LineId |
string |
The unique ID of the custom line. |
100003 |
| Name |
string |
The name of the custom line. |
测试线路 |
| Ipv4s |
array |
A list of IPv4 address segments. |
|
|
string |
An IPv4 address segment. |
1.1.1.1-2.2.2.2 |
|
| Creator |
string |
The creator. |
260282302749096109 |
| CreatorType |
string |
The role of the creator. Valid values:
|
USER |
| CreatorSubType |
string |
The type of the creator. Valid values:
|
CUSTOM |
| CreateTime |
string |
The time when the line was created. |
2018-01-23T03:15Z |
| UpdateTime |
string |
The time when the line was last updated. |
2018-01-24T06:35Z |
| CreateTimestamp |
integer |
The UNIX timestamp that indicates when the line was created. |
1516775741000 |
| UpdateTimestamp |
integer |
The UNIX timestamp that indicates when the line was last updated. |
1516775741000 |
| Dnscategory |
string |
Examples
Success response
JSON format
{
"RequestId": "0B7AD377-7E86-44A8-B9A8-53E8666E72FE",
"LineId": "100003",
"Name": "测试线路",
"Ipv4s": [
"1.1.1.1-2.2.2.2"
],
"Creator": "260282302749096109",
"CreatorType": "USER",
"CreatorSubType": "CUSTOM",
"CreateTime": "2018-01-23T03:15Z",
"UpdateTime": "2018-01-24T06:35Z",
"CreateTimestamp": 1516775741000,
"UpdateTimestamp": 1516775741000,
"Dnscategory": ""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.