mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Thu Jul 25 09:27:13 UTC 2024
This commit is contained in:
parent
503936d882
commit
3a4c5997b9
153 changed files with 2744 additions and 496 deletions
|
|
@ -1,14 +1,15 @@
|
|||
NAME
|
||||
gcloud deploy apply - applies a yaml configuration containing Delivery
|
||||
Pipeline(s), Target(s), Custom Target Type(s), and Automation(s)
|
||||
declarative definitions
|
||||
Pipeline(s), Target(s), Custom Target Type(s), Deploy Policy(ies), and
|
||||
Automation(s) declarative definitions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deploy apply --file=FILE [--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Applies a yaml configuration containing Delivery Pipeline(s), Target(s),
|
||||
Custom Target Type(s), and Automation(s) declarative definitions.
|
||||
Custom Target Type(s), Deploy Policy(ies), and Automation(s) declarative
|
||||
definitions.
|
||||
|
||||
EXAMPLES
|
||||
To apply a Cloud Deploy YAML file deploy.yaml:
|
||||
|
|
|
|||
74
gcloud/deploy/deploy-policies/delete
Normal file
74
gcloud/deploy/deploy-policies/delete
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
NAME
|
||||
gcloud deploy deploy-policies delete - delete a deploy policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deploy deploy-policies delete (DEPLOY_POLICY : --region=REGION)
|
||||
[--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a deploy policy for a specified region.
|
||||
|
||||
EXAMPLES
|
||||
The following command will delete deploy policy test-policy, in region
|
||||
us-central1:
|
||||
|
||||
$ gcloud deploy deploy-policies delete test-policy \
|
||||
--region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Deploy policy resource - The name of the deploy policy to delete. The
|
||||
arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument deploy_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
DEPLOY_POLICY
|
||||
ID of the deploy policy or fully qualified identifier for the deploy
|
||||
policy.
|
||||
|
||||
To set the deploy_policy attribute:
|
||||
▸ provide the argument deploy_policy on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
Location of the deploy policy.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument deploy_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property deploy/region.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the clouddeploy/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/deploy/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha deploy deploy-policies delete
|
||||
|
||||
$ gcloud beta deploy deploy-policies delete
|
||||
|
||||
67
gcloud/deploy/deploy-policies/describe
Normal file
67
gcloud/deploy/deploy-policies/describe
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
NAME
|
||||
gcloud deploy deploy-policies describe - show details for a deploy policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deploy deploy-policies describe (DEPLOY_POLICY : --region=REGION)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Show details for a specified deploy policy.
|
||||
|
||||
EXAMPLES
|
||||
To show details about a deploy policy test-policy in region us-central,
|
||||
run: $ gcloud deploy deploy-policies describe test-policy \
|
||||
--region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Deploy policy resource - The name of the deploy policy to describe. The
|
||||
arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument deploy_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
DEPLOY_POLICY
|
||||
ID of the deploy policy or fully qualified identifier for the deploy
|
||||
policy.
|
||||
|
||||
To set the deploy_policy attribute:
|
||||
▸ provide the argument deploy_policy on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
Location of the deploy policy.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument deploy_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property deploy/region.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the clouddeploy/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/deploy/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha deploy deploy-policies describe
|
||||
|
||||
$ gcloud beta deploy deploy-policies describe
|
||||
|
||||
72
gcloud/deploy/deploy-policies/export
Normal file
72
gcloud/deploy/deploy-policies/export
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
NAME
|
||||
gcloud deploy deploy-policies export - returns the .yaml definition of the
|
||||
specified deploy policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deploy deploy-policies export (DEPLOY_POLICY : --region=REGION)
|
||||
[--destination=DESTINATION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
The exported yaml definition can be applied by deploy apply command.
|
||||
|
||||
EXAMPLES
|
||||
To return the .yaml definition of the deploy policy test-policy, in region
|
||||
us-central1, run:
|
||||
|
||||
$ gcloud deploy deploy-policies export test-policy \
|
||||
--region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Deploy policy resource - The name of the Deploy Policy. The arguments in
|
||||
this group can be used to specify the attributes of this resource. (NOTE)
|
||||
Some attributes are not given arguments in this group but can be set in
|
||||
other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument deploy_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
DEPLOY_POLICY
|
||||
ID of the deploy_policy or fully qualified identifier for the
|
||||
deploy_policy.
|
||||
|
||||
To set the deploy_policy attribute:
|
||||
▸ provide the argument deploy_policy on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud region for the deploy_policy. Alternatively, set the
|
||||
property [deploy/region].
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument deploy_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property deploy/region.
|
||||
|
||||
FLAGS
|
||||
--destination=DESTINATION
|
||||
Path to a YAML file where the configuration will be exported.
|
||||
Alternatively, you may omit this flag to write to standard output.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha deploy deploy-policies export
|
||||
|
||||
$ gcloud beta deploy deploy-policies export
|
||||
|
||||
34
gcloud/deploy/deploy-policies/help
Normal file
34
gcloud/deploy/deploy-policies/help
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
NAME
|
||||
gcloud deploy deploy-policies - create and manage Deploy Policy resources
|
||||
for Google Cloud Deploy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud deploy deploy-policies COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create and manage Deploy Policy resources for Google Cloud Deploy.
|
||||
|
||||
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 a deploy policy.
|
||||
|
||||
describe
|
||||
Show details for a deploy policy.
|
||||
|
||||
export
|
||||
Returns the .yaml definition of the specified deploy policy.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha deploy deploy-policies
|
||||
|
||||
$ gcloud beta deploy deploy-policies
|
||||
|
||||
|
|
@ -27,6 +27,9 @@ GROUPS
|
|||
delivery-pipelines
|
||||
Create and manage Delivery Pipeline resources for Cloud Deploy.
|
||||
|
||||
deploy-policies
|
||||
Create and manage Deploy Policy resources for Google Cloud Deploy.
|
||||
|
||||
job-runs
|
||||
Manages job runs resources for Cloud Deploy.
|
||||
|
||||
|
|
@ -44,8 +47,8 @@ COMMANDS
|
|||
|
||||
apply
|
||||
Applies a yaml configuration containing Delivery Pipeline(s),
|
||||
Target(s), Custom Target Type(s), and Automation(s) declarative
|
||||
definitions.
|
||||
Target(s), Custom Target Type(s), Deploy Policy(ies), and Automation(s)
|
||||
declarative definitions.
|
||||
|
||||
delete
|
||||
Deletes Delivery Pipeline(s), Target(s), Custom Target Type(s), and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue