ccictl api-resources
Scenario
Print the supported API resources on the server.
ccictl api-resources [flags]
Examples
# Print the supported API resources on the server. ccictl api-resources # Print the supported API resources with more information. ccictl api-resources -o wide # Print the supported API resources sorted by a column. ccictl api-resources --sort-by=name # Print the supported namespaced resources. ccictl api-resources --namespaced=true # Print the supported non-namespaced resources. ccictl api-resources --namespaced=false Print the supported API resources with a specific API group. ccictl api-resources --api-group=cci
Options
-api-group string
Only the resources in a specified API group are printed.
--cached
If available, the cached resource list will be used.
-h, --help
Help information for api-resources
--namespaced Default: true
If the value is false, non-namespaced resources will be returned. Otherwise, namespaced resources are returned by default.
--no-headers
When the default or custom column output format is used, do not print the headers (which are printed by default).
-o, --output string
Output format. The value can be wide or name.
--sort-by string
If the value is not empty, the resource list is sorted using the specified field, which can be "name" or "kind".
--verbs strings
Filter the resources that support the specified verb.
The following ccictl options can also be used in subcommands:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot