1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Feb 26 10:38:18 UTC 2025

This commit is contained in:
Automated 2025-02-26 10:38:18 +00:00
parent 8d1a988ab5
commit a597993b2e
186 changed files with 5629 additions and 923 deletions

View file

@ -0,0 +1,127 @@
NAME
gcloud network-security security-profiles custom-mirroring create - create
a new Custom Mirroring Profile
SYNOPSIS
gcloud 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
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 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
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring \
create
$ gcloud beta network-security security-profiles custom-mirroring \
create

View file

@ -0,0 +1,78 @@
NAME
gcloud network-security security-profiles custom-mirroring delete - delete
a Security Profile
SYNOPSIS
gcloud network-security security-profiles custom-mirroring delete
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete the specified Security Profile.
EXAMPLES
To delete a Security Profile called my-security-profile run:
$ gcloud 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/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/networking
NOTES
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring \
delete
$ gcloud beta network-security security-profiles custom-mirroring \
delete

View file

@ -0,0 +1,73 @@
NAME
gcloud network-security security-profiles custom-mirroring describe -
describe a Custom MirroringSecurity Profile
SYNOPSIS
gcloud network-security security-profiles custom-mirroring describe
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Show details of the Security Profile.
EXAMPLES
To show details of a Security Profile named my-mirroring-sp run:
$ gcloud 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/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/networking
NOTES
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring \
describe
$ gcloud beta network-security security-profiles custom-mirroring \
describe

View file

@ -0,0 +1,42 @@
NAME
gcloud network-security security-profiles custom-mirroring - manage
Security Profiles - Custom Mirroring Profile
SYNOPSIS
gcloud network-security security-profiles custom-mirroring COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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
Create a new Custom Mirroring Profile.
delete
Delete a Security Profile.
describe
Describe a Custom MirroringSecurity Profile.
list
List Custom Mirroring Security Profiles.
update
Updates a Custom Mirroring Profile.
NOTES
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring
$ gcloud beta network-security security-profiles custom-mirroring

View file

@ -0,0 +1,91 @@
NAME
gcloud network-security security-profiles custom-mirroring list - list
Custom Mirroring Security Profiles
SYNOPSIS
gcloud 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
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 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
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring \
list
$ gcloud beta network-security security-profiles custom-mirroring \
list

View file

@ -0,0 +1,119 @@
NAME
gcloud network-security security-profiles custom-mirroring update - updates
a Custom Mirroring Profile
SYNOPSIS
gcloud 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
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 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 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 network-security security-profiles custom-mirroring \
update --clear-labels
To remove all existing labels and create two new labels, foo and baz:
$ gcloud 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
These variants are also available:
$ gcloud alpha network-security security-profiles custom-mirroring \
update
$ gcloud beta network-security security-profiles custom-mirroring \
update

View file

@ -16,6 +16,9 @@ GCLOUD WIDE FLAGS
GROUPS
GROUP is one of the following:
custom-mirroring
Manage Security Profiles - Custom Mirroring Profile.
threat-prevention
Manage Security Profiles - Threat Prevention Profile.