gcloud compute os-config policy-orchestrators delete

NAME
gcloud compute os-config policy-orchestrators delete - delete a policy orchestrator
SYNOPSIS
gcloud compute os-config policy-orchestrators delete(POLICY_ORCHESTRATOR :--folder=FOLDER--organization=ORGANIZATION)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
Delete a policy orchestrator and cancel ongoing rollouts (best-effort).
EXAMPLES

To delete a policy orchestratormy-orchestrator in the folder123456:

gcloudcomputeos-configpolicy-orchestratorsdeletemy-orchestrator--folder=123456
POSITIONAL ARGUMENTS
Policy orchestrator resource - policy orchestrator to delete. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentpolicy_orchestrator on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project. This resource can be one of thefollowing types: [policy_orchestrator_project, policy_orchestrator_folder,policy_orchestrator_organization].

This must be specified.

POLICY_ORCHESTRATOR
ID of the policy_orchestrator or fully qualified identifier for thepolicy_orchestrator.

To set thepolicy_orchestrator attribute:

  • provide the argumentpolicy_orchestrator on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--folder=FOLDER
Folder of the policy_orchestrator.To set thefolder attribute:
  • provide the argumentpolicy_orchestrator on the command line with afully specified name;
  • provide the argument--folder on the command line. Must bespecified for resource of type [policy_orchestrator_folder].
--organization=ORGANIZATION
Organization of the policy_orchestrator.To set theorganization attribute:
  • provide the argumentpolicy_orchestrator on the command line with afully specified name;
  • provide the argument--organization on the command line. Must bespecified for resource of type [policy_orchestrator_organization].
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.

API REFERENCE
This command uses theosconfig/v2 API. The full documentation forthis API can be found at:https://cloud.google.com/compute/docs/osconfig/rest
NOTES
These variants are also available:
gcloudalphacomputeos-configpolicy-orchestratorsdelete
gcloudbetacomputeos-configpolicy-orchestratorsdelete

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.