שם
gdcloud iam roles list - List roles[custom/predefined/all].
SYNOPSIS
gdcloud iam roles list (custom | predefined | all) [--project=PROJECT] [flags]
תיאור
הפקודה הזו מציגה את התפקידים מסוג מסוים: custom (בהתאמה אישית), predefined (מוגדר מראש) או all (הכול). אפשר גם לציין פרויקט כדי לסנן את התוצאות.
דוגמאות
To list all roles, run:
gdcloud iam roles list
To list predefined roles, run:
gdcloud iam roles list --type=predefined
To list custom roles, run:
gdcloud iam roles list --type=custom
To list all roles for a specific project, run:
gdcloud iam roles list --project=my-project
To list predefined roles for a specific project, run:
gdcloud iam roles list --type=predefined --project=my-project
To list custom roles for a specific project, run:
gdcloud iam roles list --type=custom --project=my-project
דגלים אופציונליים
--type string Type of roles to list. Valid values are 'custom', 'predefined', or 'all'. (default "all")
GDCLOUD WIDE FLAGS
הדגלים האלה זמינים לכל הפקודות: --configuration, --format, --help, --project, --quiet.
מידע נוסף זמין בדף סקירה כללית של מדריך העזר ל-CLI של gcloud.