- NAME
-
- gcloud access-context-manager perimeters dry-run enforce - enforces a Service Perimeter's dry-run configuration
- SYNOPSIS
-
-
gcloud access-context-manager perimeters dry-run enforce
(PERIMETER
:--policy
=POLICY
) [--async
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Copies a Service Perimeter's dry-run mode configuration to its enforcement mode configuration and unsets the explicit dry-run spec. After this operation succeeds, the Service Perimeter will not have an explicit dry-run mode configuration, and, instead, the previous dry-run mode configuration will become the enforcement mode configuration. The operation will not be performed if there is no explicit dry-run mode configuration or if the dry-run mode configuration is incompatible with the overall enforcement mode VPC Service Controls policy.
- EXAMPLES
-
To enforce the dry-run mode configuration for a Service Perimeter:
gcloud access-context-manager perimeters dry-run enforce my-perimeter
- POSITIONAL ARGUMENTS
-
-
Perimeter resource - The service perimeter to reset. The arguments in this group
can be used to specify the attributes of this resource.
This must be specified.
PERIMETER
-
ID of the perimeter or fully qualified identifier for the perimeter.
To set the
perimeter
attribute:-
provide the argument
perimeter
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--policy
=POLICY
-
The ID of the access policy.
To set the
policy
attribute:-
provide the argument
perimeter
on the command line with a fully specified name; -
provide the argument
--policy
on the command line; -
set the property
access_context_manager/policy
.
-
provide the argument
-
Perimeter resource - The service perimeter to reset. The arguments in this group
can be used to specify the attributes of this resource.
- FLAGS
-
--async
- Return immediately, without waiting for the operation in progress to complete.
- 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
-
These variants are also available:
gcloud alpha access-context-manager perimeters dry-run enforce
gcloud beta access-context-manager perimeters dry-run enforce
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-10-15 UTC.