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. The file should have a single array with JSON objects inside describing the rules. The JSON Base Object is omitted and only the square brackets and associated child object are required in the file. Valid json file example: [ { "protocol": "tcp", "destination": "10.0.11.0/24", "ports": "80,443", "description": "Allow http and https traffic from ZoneA" } ] TIP: Changes require an app restart (for running) or restage (for staging) to apply to existing applications.

다음도 참조

restage, security-groups