gcloud dataproc autoscaling-policies - create and manage Dataproc autoscaling policies
gcloud dataproc autoscaling-policies COMMAND [GCLOUD_WIDE_FLAG ...]
Create and manage Dataproc autoscaling policies.
To see the list of all autoscaling policies, run:
$ gcloud dataproc autoscaling-policies list
To view the details of an autoscaling policy, run:
$ gcloud dataproc autoscaling-policies describe my_policy
To view just the non-output only fields of an autoscaling policy, run:
$ gcloud dataproc autoscaling-policies export my_policy \ --destination policy-file.yaml
To create or update an autoscaling policy, run:
$ gcloud dataproc autoscaling-policies import my_policy \ --source policy-file.yaml
To delete an autoscaling policy, run:
$ gcloud dataproc autoscaling-policies delete my_policy
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- delete
Delete an autoscaling policy.
- describe
Describe an autoscaling policy.
- export
Export an autoscaling policy.
- get-iam-policy
Get IAM policy for an autoscaling policy.
- import
Import an autoscaling policy.
- list
List autoscaling policies.
- set-iam-policy
Set IAM policy for an autoscaling policy.
These variants are also available:
$ gcloud alpha dataproc autoscaling-policies
$ gcloud beta dataproc autoscaling-policies