NAME
gdcloud projects get-iam-policy - 列出项目的 IAM 政策。
SYNOPSIS
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 参考文档概览页面。