File: //snap/google-cloud-cli/current/lib/surface/compute/tpus/queued_resources/perform_maintenance.yaml
- release_tracks: [ALPHA]
request:
collection: tpu.projects.locations.queuedResources
api_version: v2alpha1
method: performMaintenanceQueuedResource
help_text:
brief: Performs maintenance on a Cloud TPU Queued Resource.
description: Performs maintenance on the list of nodes provided within the Cloud TPU Queued Resource..
examples: |
The following example command performs maintenance on a Cloud TPU Cloud TPU Queued Resource "my-resource"
in zone "us-central1-b" of the default project, targeting nodes "node-a" and "node-b".
$ {command} my-resource --zone=us-central1-b --nodeames=node-a,node-b
arguments:
resource:
help_text: The Queued Resource you want to perform maintenance on.
spec: !REF googlecloudsdk.command_lib.compute.tpus.queued_resources.resources:queuedresource
params:
- arg_name: node-names
repeated: true
help_text: The nodes you want to perform maintenance on.
api_field: performMaintenanceQueuedResourceRequest.nodeNames
async:
collection: tpu.projects.locations.operations
ALPHA:
api_version: v2alpha1
GA:
api_version: v2
extract_resource_result: false