set-label - Cloud Foundry CLI Reference Guide


名称

set-label - Set a label (key-value pairs) for an API resource

用法

cf set-label RESOURCE RESOURCE_NAME KEY=VALUE...

EXAMPLES

cf set-label app dora env=production cf set-label org business pci=true public-facing=false cf set-label buildpack go_buildpack go=1.12 -s cflinuxfs3

RESOURCES

app
buildpack domain
org
route service-broker service-offering service-plan space stack

选项

--stack, -s

指定堆栈以区分同名的 buildpack

--broker, -b

Specify a service broker to disambiguate service offerings or service plans with the same name.

--offering, -e

Specify a service offering to disambiguate service plans with the same name.

另请参阅

labels, unset-label