- NAME
-
- gcloud alpha apigee apis undeploy - undeploy an Apigee API proxy from an environment
- SYNOPSIS
-
-
gcloud alpha apigee apis undeploy
[[REVISION
]--api
=API
--environment
=ENVIRONMENT
--organization
=ORGANIZATION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Undeploy an Apigee API proxy from an environment. - EXAMPLES
-
To undeploy an API proxy called
from themy-api
environment of the active Cloud Platform project, run:test
gcloud alpha apigee apis undeploy --environment=test --api=my-api
To undeploy revision 3 of an
my-api
from thetest
environment of the organization named
, run:test-org
gcloud alpha apigee apis undeploy 3 --organization=test-org --environment=test --api=my-api
- POSITIONAL ARGUMENTS
-
-
Revision resource - API proxy revision to be undeployed and environment from
which it should be removed.
Revisions can either be a positive revision number, or the special value
, which will undeploy whatever revision is currently deployed. If revision is unspecified, the default isauto
. The arguments in this group can be used to specify the attributes of this resource.auto
- [
REVISION
] -
ID of the revision or fully qualified identifier for the revision.
To set the
revision
attribute:-
provide the argument
REVISION
on the command line; - leave the argument unspecified for it to be chosen automatically.
-
provide the argument
--api
=API
-
API proxy to be undeployed. Must currently be deployed. To get a list of
available deployed proxies, run
gcloud alpha apigee deployments list --environment=ENV
.To set the
api
attribute:-
provide the argument
REVISION
on the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--api
on the command line.
-
provide the argument
--environment
=ENVIRONMENT
-
Environment from which to undeploy the API proxy. To get a list of available
environments, run
gcloud alpha apigee environments list
.To set the
environment
attribute:-
provide the argument
REVISION
on the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--environment
on the command line.
-
provide the argument
--organization
=ORGANIZATION
-
Apigee organization of the proxy and environment.
To set the
organization
attribute:-
provide the argument
REVISION
on the command line with a fully specified name; - leave the argument unspecified for it to be chosen automatically with a fully specified name;
-
provide the argument
--organization
on the command line; - set the property [project] or provide the argument [--project] on the command line, using a Cloud Platform project with an associated Apigee organization.
-
provide the argument
- [
-
Revision resource - API proxy revision to be undeployed and environment from
which it should be removed.
- 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
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud apigee apis undeploy
gcloud beta apigee apis undeploy
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.