- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: Delete a policy orchestrator
    description: |
      Delete a policy orchestrator and cancel ongoing rollouts (best-effort).
      ## EXAMPLES

      To delete a policy orchestrator `my-orchestrator` in the folder `123456`:

        $ {command} my-orchestrator --folder=123456

  request:
    collection:
    - osconfig.projects.locations.global.policyOrchestrators
    - osconfig.folders.locations.global.policyOrchestrators
    - osconfig.organizations.locations.global.policyOrchestrators
    ALPHA:
      api_version: v2alpha
    BETA:
      api_version: v2beta
    GA:
      api_version: v2
    method: delete

  arguments:
    resource:
      help_text: policy orchestrator to delete.
      spec: !REF googlecloudsdk.command_lib.compute.os_config.resources:policy_orchestrator

  async:
    collection:
    - osconfig.projects.locations.operations
    - osconfig.folders.locations.operations
    - osconfig.organizations.locations.operations
    ALPHA:
      api_version: v2alpha
    BETA:
      api_version: v2beta
    GA:
      api_version: v2
