mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Thu Sep 8 09:21:50 UTC 2022
This commit is contained in:
parent
6749f65ca2
commit
e7bec9b31b
154 changed files with 2457 additions and 577 deletions
70
gcloud/beta/logging/operations/cancel
Normal file
70
gcloud/beta/logging/operations/cancel
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
NAME
|
||||
gcloud beta logging operations cancel - cancel a long running operation
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta logging operations cancel OPERATION_ID --location=LOCATION
|
||||
[--billing-account=BILLING_ACCOUNT_ID | --folder=FOLDER_ID
|
||||
| --organization=ORGANIZATION_ID | --project=PROJECT_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Cancel a long running operation with given OPERATION_ID in given
|
||||
LOCATION. This operation can be a copy_log_entries operation which is
|
||||
scheduled before.
|
||||
|
||||
EXAMPLES
|
||||
To cancel an operation, run:
|
||||
|
||||
$ gcloud beta logging operations cancel OPERATION_ID \
|
||||
--location=LOCATION
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION_ID
|
||||
The Id of the operation.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
Location of the operation.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--billing-account=BILLING_ACCOUNT_ID
|
||||
Cancel operation associated with this billing account.
|
||||
|
||||
--folder=FOLDER_ID
|
||||
Cancel operation associated with this folder.
|
||||
|
||||
--organization=ORGANIZATION_ID
|
||||
Cancel operation associated with this organization.
|
||||
|
||||
--project=PROJECT_ID
|
||||
Cancel operation associated with this project.
|
||||
|
||||
The Google Cloud project ID to use for this invocation. If omitted,
|
||||
then the current project is assumed; the current project can be
|
||||
listed using gcloud config list --format='text(core.project)' and can
|
||||
be set using gcloud config set project PROJECTID.
|
||||
|
||||
--project and its fallback core/project property play two roles in
|
||||
the invocation. It specifies the project of the resource to operate
|
||||
on. It also specifies the project for API enablement check, quota,
|
||||
and billing. To specify a different project for quota and billing,
|
||||
use --billing-project or billing/quota_project property.
|
||||
|
||||
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 beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud logging operations cancel
|
||||
|
||||
$ gcloud alpha logging operations cancel
|
||||
|
||||
71
gcloud/beta/logging/operations/describe
Normal file
71
gcloud/beta/logging/operations/describe
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
NAME
|
||||
gcloud beta logging operations describe - describe a long running operation
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta logging operations describe OPERATION_ID --location=LOCATION
|
||||
[--billing-account=BILLING_ACCOUNT_ID | --folder=FOLDER_ID
|
||||
| --organization=ORGANIZATION_ID | --project=PROJECT_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Describe a long running operation which was scheduled before. For
|
||||
example, a copy_log_entries operation scheduled by command: "gcloud alpha
|
||||
logging copy BUCKET_ID DESTINATION --location=LOCATION" OPERATION_ID and
|
||||
LOCATION are required to locate such operation.
|
||||
|
||||
EXAMPLES
|
||||
To describe an operation, run:
|
||||
|
||||
$ gcloud beta logging operations describe OPERATION_ID \
|
||||
--location=LOCATION
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION_ID
|
||||
The Id of the operation.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
Location of the operation.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--billing-account=BILLING_ACCOUNT_ID
|
||||
Describe operation associated with this billing account.
|
||||
|
||||
--folder=FOLDER_ID
|
||||
Describe operation associated with this folder.
|
||||
|
||||
--organization=ORGANIZATION_ID
|
||||
Describe operation associated with this organization.
|
||||
|
||||
--project=PROJECT_ID
|
||||
Describe operation associated with this project.
|
||||
|
||||
The Google Cloud project ID to use for this invocation. If omitted,
|
||||
then the current project is assumed; the current project can be
|
||||
listed using gcloud config list --format='text(core.project)' and can
|
||||
be set using gcloud config set project PROJECTID.
|
||||
|
||||
--project and its fallback core/project property play two roles in
|
||||
the invocation. It specifies the project of the resource to operate
|
||||
on. It also specifies the project for API enablement check, quota,
|
||||
and billing. To specify a different project for quota and billing,
|
||||
use --billing-project or billing/quota_project property.
|
||||
|
||||
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 beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud logging operations describe
|
||||
|
||||
$ gcloud alpha logging operations describe
|
||||
|
||||
34
gcloud/beta/logging/operations/help
Normal file
34
gcloud/beta/logging/operations/help
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
NAME
|
||||
gcloud beta logging operations - manage long running operations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta logging operations COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Manage long running operations.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
(BETA) Cancel a long running operation.
|
||||
|
||||
describe
|
||||
(BETA) Describe a long running operation.
|
||||
|
||||
list
|
||||
(BETA) List long running operations.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud logging operations
|
||||
|
||||
$ gcloud alpha logging operations
|
||||
|
||||
121
gcloud/beta/logging/operations/list
Normal file
121
gcloud/beta/logging/operations/list
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
NAME
|
||||
gcloud beta logging operations list - list long running operations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta logging operations list --location=LOCATION
|
||||
--operation-filter=OPERATION_FILTER
|
||||
[--billing-account=BILLING_ACCOUNT_ID | --folder=FOLDER_ID
|
||||
| --organization=ORGANIZATION_ID | --project=PROJECT_ID]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Return a list of long running operation details in given LOCATION.
|
||||
The operations were scheduled by other gcloud commands. For example: a
|
||||
copy_log_entries operation scheduled by command: gcloud alpha logging
|
||||
operations copy BUCKET_ID DESTINATION --location=LOCATION. Note: while
|
||||
listing the operations, the request_type must be specified in filter.
|
||||
Example: --operation-filter=request_type=CopyLogEntries, Supported
|
||||
operation types are: CopyLogEntries, CreateBucket and UpdateBucket. Other
|
||||
supported filter expression are: operation_start_time,
|
||||
operation_finish_time and operation_state.
|
||||
|
||||
EXAMPLES
|
||||
To list CopyLogEntries operations, run:
|
||||
|
||||
$ gcloud beta logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries
|
||||
|
||||
To list CopyLogEntries operations that started after a specified time, run:
|
||||
|
||||
$ gcloud beta logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_start_time>TIMESTAMP
|
||||
|
||||
To list CopyLogEntries operations that finished before a specified time,
|
||||
run:
|
||||
|
||||
$ gcloud beta logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_finish_time<TIMESTAMP
|
||||
|
||||
To list CopyLogEntries operations that have a specified state, run:
|
||||
|
||||
$ gcloud beta logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_state=STATE
|
||||
|
||||
To list CopyLogEntries operations that don't have a specified state, run:
|
||||
|
||||
$ gcloud beta logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_state!=STATE
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
Location of the operations.
|
||||
|
||||
--operation-filter=OPERATION_FILTER
|
||||
Filter expression that specifies the operations to return.
|
||||
|
||||
FLAGS
|
||||
At most one of these can be specified:
|
||||
|
||||
--billing-account=BILLING_ACCOUNT_ID
|
||||
List operations associated with this billing account.
|
||||
|
||||
--folder=FOLDER_ID
|
||||
List operations associated with this folder.
|
||||
|
||||
--organization=ORGANIZATION_ID
|
||||
List operations associated with this organization.
|
||||
|
||||
--project=PROJECT_ID
|
||||
List operations associated with this project.
|
||||
|
||||
The Google Cloud project ID to use for this invocation. If omitted,
|
||||
then the current project is assumed; the current project can be
|
||||
listed using gcloud config list --format='text(core.project)' and can
|
||||
be set using gcloud config set project PROJECTID.
|
||||
|
||||
--project and its fallback core/project property play two roles in
|
||||
the invocation. It specifies the project of the resource to operate
|
||||
on. It also specifies the project for API enablement check, quota,
|
||||
and billing. To specify a different project for quota and billing,
|
||||
use --billing-project or billing/quota_project property.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
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 beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud logging operations list
|
||||
|
||||
$ gcloud alpha logging operations list
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue