Method: projects.locations.nodes.simulateMaintenanceEvent

Simulates a maintenance event.

HTTP request

POST https://tpu.googleapis.com/v2alpha1/{name=projects/*/locations/*/nodes/*}:simulateMaintenanceEvent

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "workerIds": [
    string
  ]
}
Fields
workerIds[]

string

The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud.tpu
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.