名称
gdcloud projects get-iam-policy - 列出项目的所有 IAM 政策。
摘要
gdcloud projects get-iam-policy PROJECT_ID [flags]
示例
To list all the iam policy for project "iam-test" and print out in json format, run:
gdcloud projects get-iam-policy iam-test --format=json
可选标志
--filter string Select the resources if it matches the filter expression.
--flatten string Flatten the resources if it matches the flatten expression.
--limit int Maximum number of resources to list. The default is unlimited.
--page-size int Some services group resource list output into pages. This flag specifies the maximum number of resources per page. The default is determined by the service if it supports paging, otherwise it is unlimited (no paging).
--sort-by strings Comma-separated list of resource field key names to sort by. The default order is ascending.
GDCLOUD 全局标志
以下标志适用于所有命令:--configuration、--format、--help、--project、--quiet。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。