1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/alpha/compute/preview-features/update
2025-06-14 05:31:37 +00:00

75 lines
2.6 KiB
Text

NAME
gcloud alpha compute preview-features update - update a preview feature's
activation status
SYNOPSIS
gcloud alpha compute preview-features update PREVIEW_FEATURE
--activation-status=ACTIVATION_STATUS
(--custom-rollout-plan=CUSTOM_ROLLOUT_PLAN
| --rollout-plan=ROLLOUT_PLAN) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a preview feature's activation status.
EXAMPLES
To enable/disable a preview feature's activation status, run the following
command:
$ gcloud alpha compute preview-features update
POSITIONAL ARGUMENTS
Preview feature resource - Name of the preview feature you want to update.
This represents a Cloud resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument preview_feature on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
PREVIEW_FEATURE
ID of the preview feature or fully qualified identifier for the
preview feature.
To set the preview_feature attribute:
▸ provide the argument preview_feature on the command line.
REQUIRED FLAGS
--activation-status=ACTIVATION_STATUS
The activation status of the preview feature. ACTIVATION_STATUS must be
one of: disabled, enabled.
The rollout plan of the preview feature.
Exactly one of these must be specified:
--custom-rollout-plan=CUSTOM_ROLLOUT_PLAN
Use a custom rollout plan by name.
--rollout-plan=ROLLOUT_PLAN
Use a predefined rollout plan. ROLLOUT_PLAN must be one of:
fast-rollout, two-day-rollout.
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.
API REFERENCE
This command uses the compute/alpha API. The full documentation for this
API can be found at: https://cloud.google.com/compute/
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud beta compute preview-features update