update-user-provided-service - Cloud Foundry CLI Reference Guide |
cf update-user-provided-service SERVICE_INSTANCE [-p CREDENTIALS] [-l SYSLOG_DRAIN_URL] [-r ROUTE_SERVICE_URL] [-t TAGS]
Pass comma separated credential parameter names to enable interactive mode:
cf update-user-provided-service SERVICE_INSTANCE -p "comma, separated, parameter, names"
Pass credential parameters as JSON to create a service non-interactively:
cf update-user-provided-service SERVICE_INSTANCE -p '{"key1":"value1","key2":"value2"}'
Specify a path to a file containing JSON:
cf update-user-provided-service SERVICE_INSTANCE -p PATH_TO_FILE
cf update-user-provided-service my-db-mine -p '{"username":"admin", "password":"pa55woRD"}'
cf update-user-provided-service my-db-mine -p /path/to/credentials.json
cf create-user-provided-service my-db-mine -t "list, of, tags"
cf update-user-provided-service my-drain-service -l syslog://example.com
cf update-user-provided-service my-route-service -r https://example.com
將串流已連結應用程式的日誌的 URL
針對已連結的應用程式,要公開在 VCAP_SERVICES 環境變數中的認證(透過行內或檔案提供)。所提供的認證會置換現有的認證。
將轉遞已連結路徑的要求的 URL。此 URL 的架構必須是 https
使用者提供的標籤