- NAME
-
- gcloud beta compute org-security-policies create - create a Compute Engine organization security policy
- SYNOPSIS
-
-
gcloud beta compute org-security-policies create
(--folder
=FOLDER
|--organization
=ORGANIZATION
) [--description
=DESCRIPTION
] [--display-name
=DISPLAY_NAME
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
gcloud beta compute org-security-policies create
is used to create organization security policies. An organization security policy is a set of rules that controls access to various resources. - EXAMPLES
-
To create an organization security policy under folder with ID ``123456789",
run:
gcloud beta compute org-security-policies create create --folder=123456789
- REQUIRED FLAGS
-
-
Exactly one of these must be specified:
--folder
=FOLDER
- Folder in which the organization security policy is to be created.
--organization
=ORGANIZATION
- Organization in which the organization security policy is to be created.
-
Exactly one of these must be specified:
- OPTIONAL FLAGS
-
--description
=DESCRIPTION
- An optional, textual description for the organization security policy.
--display-name
=DISPLAY_NAME
- A textual name of the security policy.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha compute org-security-policies create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-23 UTC.