forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
9.1 KiB
9.1 KiB
Creating a Tag for a VPN Resource
Function
This interface is used to create a tag for a VPN resource.
URI
POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
Request Message
Table 1 describes the request parameters.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
tag |
List<resource_tag> |
Yes |
Specifies the tag. |
Description of field resource_tag
Name |
Type |
Mandatory |
Description |
---|---|---|---|
key |
String |
Yes |
Specifies the tag key. The parameter constraints are as follows:
|
value |
String |
Yes |
Specifies the tag value. The parameter constraints are as follows:
|
Response Message
None
Example
- Example Request
POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags { "tag": { "key": "key1", "value": "value1" } }
Returned Values
For details, see section Common Returned Values.
Parent topic: Tag Management