我想为现有的 Cloud Storage Bucket 导出 config-connect yaml。文档描述了 running config-connector export [URL]
,但不清楚存储桶的 URL 应该是什么。
文档链接到https://cloud.google.com/iam/docs/full-resource-names ,这表明//storage.googleapis.com/projects/_/buckets/bucket-id
. 我试过这个:
config-connector export //storage.googleapis.com/projects/_/buckets/config-connector-experiment
并得到
error in 'config-connector' version '1.51.2': error getting unstructured: error getting next unstruct: error converting url '//storage.googleapis.com/projects/_/buckets/config-connector-experiment' to skeleton: error getting service mapping and resource config for url '//storage.googleapis.com/projects/_/buckets/config-connector-experiment': unable to find a matching resource config for uri path '/projects/_/buckets/config-connector-experiment'
文档有一个脚注,上面写着“1 此处显示的格式与 IAM 兼容。某些服务对此资源类型使用不同的格式。” 也许配置连接器有不同的格式?如果是这样,它是什么,它可以添加到文档中吗?
谢谢!