mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 23:49:35 +00:00
69 lines
1.6 KiB
Text
69 lines
1.6 KiB
Text
NAME
|
|
gcloud dataproc autoscaling-policies - create and manage Dataproc
|
|
autoscaling policies
|
|
|
|
SYNOPSIS
|
|
gcloud dataproc autoscaling-policies COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create and manage Dataproc autoscaling policies.
|
|
|
|
EXAMPLES
|
|
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
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --help.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
COMMANDS
|
|
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.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha dataproc autoscaling-policies
|
|
|
|
$ gcloud beta dataproc autoscaling-policies
|
|
|