Search code examples
ibm-cloud

What is meant with the IBM cloud term resource_ID


In IBM cloud some of the documentation refer to resource_ID for example in the command "ibmcloud resource reclamation-restore resource_ID".

When I look at the info of my resource, I find a CRN and a GUID. Which one is is it? Or is there something else. It is my impression that it is different to service-instance which is used in other parts of the documentation


Solution

  • Usually, the resource ID is the GUID (globally unique identifier). The cloud resource name (CRN) is used to name a resource in unique way and often includes the GUID, the service type (Watson Assistant, Db2, Cloudant or something like this), the region and other information.

    It could be that in some (JSON) objects, the crn is sometimes denoted as ID. But the actual resource ID is the GUID.

    For resource reclamation the CLI documentation mentions the GUID as resource ID.