wf get
wf get​
Retrieves resources
Synopsis​
Allows you to retrieve resources. If no name is provided a list of all resources of the specified type will be returned.
Examples of resource types are users, workspaces, clusters. You can list all available resource types using:
$ wf api-resources
For a better experience resource types can be auto-completed for you, find out more by running:
$ wf completion
wf get [flags]
Examples​
# List users
$ wf get users
# Get information about a specific user
$ wf get user testuser
# Get information about a specific user, formatted in yaml
$ wf get user testuser -o yaml
# List all clusters in a specified workspace
$ wf get clusters -w lovely-workspace
Options​
-A, --all-workspaces Retrieve resources across all workspaces (subject to permissions)
--global Get global resources (for dual-scoped resource types) even if a default workspace is set
-h, --help help for get
--raw string Raw URI to request from the server
Options inherited from parent commands​
--debug Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within
SEE ALSO​
- wf - wf provides a cli for Wayfinder
- wf get admin - Returns all users who are adminstrators
- wf get audit - Returns the audit log for workspaces or across wf
- wf get cloudaccounts - Retrieves cloud accounts from wayfinder
- wf get cloudcredentials - Retrieves cloud credentials
- wf get cluster - Returns all the clusters
- wf get compliance - Interacts with the Wayfinder compliance policies
- wf get global - Interacts with the global security policies in Wayfinder
- wf get identity - Used to query user identities
- wf get namespace - Retrieves information about managed namespaces
- wf get plan - Returns all of the plans
- wf get policy - Interacts with security policies
- wf get role - Retrieves all the roles
- wf get stage - Returns all the stages