Delete Delete

yaml
type: "io.kestra.plugin.gcp.dataproc.clusters.Delete"

Delete clusters from Google Cloud Dataproc.

Examples

Deletes a cluster from Google Cloud Dataproc.

yaml
id: gcp_dataproc_cluster_delete
namespace: company.team

tasks:
  - id: create_cluster_with_certain_disk_size
    type: io.kestra.plugin.gcp.dataproc.clusters.Create
    clusterName: YOUR_CLUSTER_NAME
    region: YOUR_REGION

Properties

clusterName

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

The cluster name.

region

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

The region.

projectId

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP project ID.

scopes

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:
  • Default: [https://www.googleapis.com/auth/cloud-platform]

The GCP scopes to be used.

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key.

Outputs

clusterName

  • Type: string
  • Required:

The cluster name.

deleted

  • Type: boolean
  • Required:
  • Default: false

Whether cluster was deleted successfully.

Definitions

Was this page helpful?