forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Hongwei, King Wang <king.wanghongwei@huawei.com> Co-committed-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
11 KiB
11 KiB
Querying VPN Tags
Function
This API is used to query tags of a specified VPN.
URI
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
Request
None
Response
Table 1 describes the response parameter.
Parameter |
Type |
Description |
---|---|---|
tags |
List<resource_tag> |
Specifies the list of tags. |
Name |
Type |
Description |
---|---|---|
key |
String |
Specifies the tag key. The key
|
value |
String |
Specifies the tag value. The value
|
Example
- Example request
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
- Example response
{ "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
Returned Values
For details, see Common Returned Values.
Parent topic: Tag Management