ccc infrastructure list CLIコマンドを--compartment-id-in-subtree trueオプションとともに使用すると、結果は返されません
- 詳細
-
サブツリーに項目がある場合でも、空のリストが表示されます。
例:
oci ccc infrastructure list --profile user1 --compartment-id-in-subtree true -c ocid1.tenancy.oc1..uniqueID { "data": { "items": [] } } - 回避方法
-
--compartment-id-in-subtreeオプションを使用するかわりに、-compartmentオプションを使用して各コンパートメントに直接問い合せます。例:
oci ccc infrastructure list --profile user1 -compartment ocid1.tenancy.oc1..uniqueID { "data": { "items": [ list of compartment details ] } }詳細は、ccc infrastructure CLIリファレンス・ページを参照してください。