Show resource details (GET /v2/resources/{resource_id})

Shows details on the specified resource.

{resource_id}: ID of the target resource.

Request headers

Refer to "Common API items".

Request parameters

None.

Response headers

Status

If normal, the following status is returned.

200: Normal completion

Refer to "Common API error codes" if the state is error.

Data type Cardinality
Int 1..1

Response elements

Information (in JSON format) on the specified alarm.

Refer to "type Resource" for details.

Example of request

Example: Show details on the specified resource.


curl -H 'X-Auth-Token: ImFkbWluVVJMIjogImh0dHA6Ly8xMC4x . . .' \
'https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/resources/instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6'
     

Example of response


{
    "links": [
        {
            "href": "https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/resources/instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
            "rel": "self"
        },
        {
            "href": "https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/meters/fcx.compute.network.incoming.bytes.rate?q.field=resource_id&q.value=instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
            "rel": "fcx.compute.network.incoming.bytes.rate"
        },
        {
            "href": "https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/meters/fcx.compute.network.outgoing.bytes.rate?q.field=resource_id&q.value=instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
            "rel": "fcx.compute.network.outgoing.bytes.rate"
        },
        {
            "href": "https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/meters/fcx.compute.network.incoming.bytes?q.field=resource_id&q.value=instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
            "rel": "fcx.compute.network.incoming.bytes"
        },
        {
            "href": "https://telemetry.jp-east-1.cloud.global.fujitsu.com/v2/meters/fcx.compute.network.outgoing.bytes?q.field=resource_id&q.value=instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
            "rel": "fcx.compute.network.outgoing.bytes"
        }
    ],
    "project_id": "7c4f776d782049108a6255aaff940629",
    "resource_id": "instance-00007e28-5082f0cb-4288-4779-b45c-666feb03c663-tapaaf7378c-f6",
    "source": "fcx",
    "user_id": "bc880de0722e4c78b2cb5afd9838ad11"
}