NAME
gdcloud iam roles list – Listet Rollen [custom/predefined/all] auf.
ZUSAMMENFASSUNG
gdcloud iam roles list (custom | predefined | all) [--project=PROJECT] [flags]
BESCHREIBUNG
Mit diesem Befehl werden die Rollen eines bestimmten Typs aufgelistet: „custom“ (benutzerdefiniert), „predefined“ (vordefiniert) oder „all“ (alle). Optional können Sie ein Projekt angeben, um die Ergebnisse zu filtern.
BEISPIELE
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
OPTIONALE FLAGS
--type string Type of roles to list. Valid values are 'custom', 'predefined', or 'all'. (default "all")
GDCLOUD-WEITE FLAGS
Diese Flags sind für alle Befehle verfügbar: --configuration
, --format
, --help
, --project
, --quiet
.
Weitere Informationen finden Sie auf der Seite Übersicht über die Referenz zur gcloud CLI.