mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 11 09:52:17 UTC 2024
This commit is contained in:
parent
78a4d78e9e
commit
a3842bba95
197 changed files with 6656 additions and 691 deletions
|
|
@ -0,0 +1,127 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring create -
|
||||
create a new Custom Mirroring Profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring create
|
||||
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
|
||||
(--mirroring-endpoint-group=MIRRORING_ENDPOINT_GROUP
|
||||
: --mirroring-endpoint-group-location=MIRRORING_ENDPOINT_GROUP_LOCATION)
|
||||
[--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a new Custom Mirroring Security Profile.
|
||||
|
||||
EXAMPLES
|
||||
To create a Custom Mirroring Security Profile named mirroring-profile
|
||||
linked to a Mirroring Endpoint Group (q.v.), run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
create mirroring-profile --description="A Mirroring Profile" \
|
||||
--mirroring-endpoint-group=projects/my-project/locations/\
|
||||
global/mirroringEndpointGroups/my-mep
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Security profile resource - Security Profile Name. The arguments in this
|
||||
group can be used to specify the attributes of this resource.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SECURITY_PROFILE
|
||||
ID of the security_profile or fully qualified identifier for the
|
||||
security_profile.
|
||||
|
||||
To set the security_profile attribute:
|
||||
▸ provide the argument security_profile on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
location of the security_profile - Global.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization ID to which the changes should apply.
|
||||
|
||||
To set the organization attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --organization on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Mirroring endpoint group resource - Mirroring Endpoint Group. 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 --mirroring-endpoint-group 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.
|
||||
|
||||
--mirroring-endpoint-group=MIRRORING_ENDPOINT_GROUP
|
||||
ID of the mirroring endpoint group or fully qualified identifier for
|
||||
the mirroring endpoint group.
|
||||
|
||||
To set the id attribute:
|
||||
▸ provide the argument --mirroring-endpoint-group on the command
|
||||
line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--mirroring-endpoint-group-location=MIRRORING_ENDPOINT_GROUP_LOCATION
|
||||
Location of the mirroring endpoint group.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --mirroring-endpoint-group on the command
|
||||
line with a fully specified name;
|
||||
▸ provide the argument --mirroring-endpoint-group-location on the
|
||||
command line;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ provide the argument
|
||||
networksecurity.projects.locations.mirroringEndpointGroupAssociations
|
||||
on the command line with a fully specified name.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is False.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Brief description of the security profile
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring \
|
||||
create
|
||||
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring delete -
|
||||
delete a Security Profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring delete
|
||||
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
|
||||
[--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete the specified Security Profile.
|
||||
|
||||
EXAMPLES
|
||||
To delete a Security Profile called my-security-profile run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
delete my-security-profile
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Security profile resource - Name of the Security Profile you want to
|
||||
delete. The arguments in this group can be used to specify the attributes
|
||||
of this resource.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SECURITY_PROFILE
|
||||
ID of the security_profile or fully qualified identifier for the
|
||||
security_profile.
|
||||
|
||||
To set the security_profile attribute:
|
||||
▸ provide the argument security_profile on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location ID of the resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ use default global location .
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization number.
|
||||
|
||||
To set the organization attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --organization on the command line.
|
||||
|
||||
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 networksecurity/v1alpha1 API. The full documentation
|
||||
for this API can be found at: https://cloud.google.com/networking
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring \
|
||||
delete
|
||||
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring describe -
|
||||
describe a Custom MirroringSecurity Profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring describe
|
||||
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Show details of the Security Profile.
|
||||
|
||||
EXAMPLES
|
||||
To show details of a Security Profile named my-mirroring-sp run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
describe my-mirroring-sp --organization=1234 --location=global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Security profile resource - Name of the Security Profile to be described.
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SECURITY_PROFILE
|
||||
ID of the security_profile or fully qualified identifier for the
|
||||
security_profile.
|
||||
|
||||
To set the security_profile attribute:
|
||||
▸ provide the argument security_profile on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location ID of the resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ use default global location .
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization number.
|
||||
|
||||
To set the organization attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --organization on the command line.
|
||||
|
||||
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 networksecurity/v1alpha1 API. The full documentation
|
||||
for this API can be found at: https://cloud.google.com/networking
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring \
|
||||
describe
|
||||
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring - manage
|
||||
Security Profiles - Custom Mirroring Profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This class provides commands for managing Custom Mirroring Security
|
||||
Profile.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a new Custom Mirroring Profile.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a Security Profile.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a Custom MirroringSecurity Profile.
|
||||
|
||||
list
|
||||
(ALPHA) List Custom Mirroring Security Profiles.
|
||||
|
||||
update
|
||||
(ALPHA) Updates a Custom Mirroring Profile.
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring
|
||||
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring list -
|
||||
list Custom Mirroring Security Profiles
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring list
|
||||
[--location=LOCATION : --organization=ORGANIZATION]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List Custom Mirroring Security Profiles.
|
||||
|
||||
For more examples, refer to the EXAMPLES section below.
|
||||
|
||||
EXAMPLES
|
||||
To list Custom Mirroring security profiles in an organization, run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \ list --organization=12345 --location=global
|
||||
|
||||
FLAGS
|
||||
Location resource - Parent resource for the list operation. The arguments
|
||||
in this group can be used to specify the attributes of this resource.
|
||||
|
||||
--location=LOCATION
|
||||
ID of the location or fully qualified identifier for the location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization ID of the location.
|
||||
|
||||
To set the organization attribute:
|
||||
▸ provide the argument --location on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --organization on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--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.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring \
|
||||
list
|
||||
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
NAME
|
||||
gcloud alpha network-security security-profiles custom-mirroring update -
|
||||
updates a Custom Mirroring Profile
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha network-security security-profiles custom-mirroring update
|
||||
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
|
||||
[--async] [--description=DESCRIPTION] [--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update a Custom Mirroring Security Profile.
|
||||
|
||||
The supported fields for update are description and labels.
|
||||
|
||||
EXAMPLES
|
||||
To update the description of a Custom Mirroring Security Profile named
|
||||
mirroring-profile, run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
update mirroring-profile --description="A new description" \
|
||||
--organization=1234567890 --location=global
|
||||
|
||||
To change the labels of a Custom Mirroring Security Profile named
|
||||
mirroring-profile, run:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
update mirroring-profile \
|
||||
--update-labels=key1=value1,key2=value2 \
|
||||
--delete-labels=key3,key4 --organization=1234567890 \
|
||||
--location=glob
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Security profile resource - Security Profile Name. The arguments in this
|
||||
group can be used to specify the attributes of this resource.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SECURITY_PROFILE
|
||||
ID of the security_profile or fully qualified identifier for the
|
||||
security_profile.
|
||||
|
||||
To set the security_profile attribute:
|
||||
▸ provide the argument security_profile on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
location of the security_profile - Global.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization ID to which the changes should apply.
|
||||
|
||||
To set the organization attribute:
|
||||
▸ provide the argument security_profile on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --organization on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is False.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Brief description of the security profile
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
is modified. Otherwise, a new label is created.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Remove all labels. If --update-labels is also specified then
|
||||
--clear-labels is applied first.
|
||||
|
||||
For example, to remove all labels:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
update --clear-labels
|
||||
|
||||
To remove all existing labels and create two new labels, foo and baz:
|
||||
|
||||
$ gcloud alpha network-security security-profiles custom-mirroring \
|
||||
update --clear-labels --update-labels foo=bar,baz=qux
|
||||
|
||||
--remove-labels=[KEY,...]
|
||||
List of label keys to remove. If a label does not exist it is
|
||||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
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. This variant is also available:
|
||||
|
||||
$ gcloud beta network-security security-profiles custom-mirroring \
|
||||
update
|
||||
|
||||
|
|
@ -17,6 +17,9 @@ GCLOUD WIDE FLAGS
|
|||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
custom-mirroring
|
||||
(ALPHA) Manage Security Profiles - Custom Mirroring Profile.
|
||||
|
||||
threat-prevention
|
||||
(ALPHA) Manage Security Profiles - Threat Prevention Profile.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue