mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Jun 28 10:42:37 UTC 2023
This commit is contained in:
parent
dc0d916cee
commit
0248e53b76
139 changed files with 3939 additions and 162 deletions
|
|
@ -12,6 +12,22 @@ DESCRIPTION
|
|||
from a file that contains the JSON or YAML encoded Organization Policy.
|
||||
|
||||
EXAMPLES
|
||||
Organization policy list constraint YAML file example:
|
||||
|
||||
constraint: constraints/CONSTRAINT_NAME
|
||||
listPolicy:
|
||||
deniedValues:
|
||||
- VALUE_A
|
||||
|
||||
Organization policy list constraint JSON file example:
|
||||
|
||||
{
|
||||
"constraint": "constraints/CONSTRAINT_NAME",
|
||||
"listPolicy": {
|
||||
"deniedValues": ["VALUE_A"]
|
||||
}
|
||||
}
|
||||
|
||||
The following command sets an Organization Policy for a constraint on
|
||||
project foo-project from file /tmp/policy.yaml:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue