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

同じ名前のビルドパックを一意に指すことができるように、スタックを指定します

--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