doc-exports/docs/evs/api-ref/evs_04_3015.html
Zaoxu, Li 305c41bb57 EVS 2.0.38 SP1 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2022-10-19 22:27:18 +00:00

7.5 KiB

Querying Tags of an EVS Disk

Function

This API is used to query the tags of the specified EVS disk.

Constraints

None

URI

  • URI format

    GET /v3/{project_id}/os-vendor-volumes/{volume_id}/tags

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

    volume_id

    Yes

    Specifies the disk ID.

Request

None

Response

  • Parameter description

    Parameter

    Type

    Description

    tags

    List<resource_tag>

    Specifies the tag list. For details, see Parameters in the tags field.

  • Parameters in the tags field

    Parameter

    Type

    Description

    key

    String

    Specifies the tag key.

    value

    String

    Specifies the tag value.

  • Example response
    {
        "tags": [
            {
                "value": "value1", 
                "key": "key1"
            }, 
            {
                "value": "value2", 
                "key": "key2"
            }
        ]
    }

Status Codes

  • Normal

    200

Error Codes

For details, see Error Codes.