update-security-group - Cloud Foundry CLI Reference Guide


update-security-group - 更新安全群組


cf update-security-group SECURITY_GROUP PATH_TO_JSON_RULES_FILE The provided path can be an absolute or relative path to a file. It should have a single array with JSON objects inside describing the rules. Valid json file example: [ { "protocol": "tcp", "destination": "", "ports": "80,443", "description": "Allow http and https traffic from ZoneA" } ] TIP: Changes will not apply to existing running applications until they are restarted.


restage, security-groups