0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IBM Cloud: Owner/作成者を調べる方法

0
Posted at

1. はじめに

このリソース、誰が作ったんだろう?って思うことはありませんか?
IBM Cloud consoleを見ても誰が作ったかは分かりません。実はAPIやCLIであれば分かる可能性があります。

2. 調べる方法

以下のように、ibmcloud resource service-instanceコマンドを実行すると、Created by:フィールドに作成者の情報が含まれていることが多いです

ただし、多いですと書いたのは、自動生成されたリソースによっては、ServiceIDが生成者となっていることがあるからです。例えば、VNIは個別でも作成できますが、多くの場合はVSIと一緒に自動的に生成していることが多いと思います。その場合、iam-ServiceId-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxみたいなものがCreated by:フィールドに入ります。VNIようなリソースの作成者を追跡する場合は、そのVNIが紐づいているVSIの作成者を辿る必要がありそうです。

リソースの名前を指定
$ ibmcloud resource service-instance test1vsi
Retrieving service instance test1vsi in all resource groups under account xxx-xx-jpn as xxxxxxx@xx.xxx.com...
OK

Name:                   test1vsi
ID:                     crn:v1:bluemix:public:is:us-south-1:a/27dc483dc1f14d2f821e8b3a4193ad13::instance:0717_b385c9f8-d1d9-4e80-9188-80e42a830e40
GUID:                   0717_b385c9f8-d1d9-4e80-9188-80e42a830e40
Location:               us-south-1
Service Name:           is.instance
Service Plan Name:      bxf-2x8
Resource Group Name:    itz-japan-japan-rg
State:                  active
Type:                   resource_instance
Sub Type:
Locked:                 false
One-time credentials:   false
Created at:             2026-09-09T05:17:02Z
Created by:             xxxxxxx@xx.xxx.com
Updated at:             2026-09-09T05:17:07Z
Last Operation:
                        Status    create succeeded
                        Message   Instance provisioning is completed.
リソースのCRNを指定
$ ibmcloud resource service-instance crn:v1:bluemix:public:is:us-south-1:a/27dc483dc1f14d2f821e8b3a4193ad13::instance:0717_b385c9f8-d1d9-4e80-9188-80e42a830e40
Retrieving service instance crn:v1:bluemix:public:is:us-south-1:a/27dc483dc1f14d2f821e8b3a4193ad13::instance:0717_b385c9f8-d1d9-4e80-9188-80e42a830e40 in all resource groups under account xxx-xx-jpn as xxxxxxx@xx.xxx.com...
OK

Name:                   test1vsi
ID:                     crn:v1:bluemix:public:is:us-south-1:a/27dc483dc1f14d2f821e8b3a4193ad13::instance:0717_b385c9f8-d1d9-4e80-9188-80e42a830e40
GUID:                   0717_b385c9f8-d1d9-4e80-9188-80e42a830e40
Location:               us-south-1
Service Name:           is.instance
Service Plan Name:      bxf-2x8
Resource Group Name:    itz-japan-japan-rg
State:                  active
Type:                   resource_instance
Sub Type:
Locked:                 false
One-time credentials:   false
Created at:             2026-09-09T05:17:02Z
Created by:             xxxxxxx@xx.xxx.com
Updated at:             2026-09-09T05:17:07Z
Last Operation:
                        Status    create succeeded
                        Message   Instance provisioning is completed.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?