1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 00:18:35 +00:00
gcloud-help/gcloud/vmware/network-policies/external-access-rules/describe
2024-07-31 09:35:16 +00:00

78 lines
3 KiB
Text

NAME
gcloud vmware network-policies external-access-rules describe - describe a
VMware Engine external access rule
SYNOPSIS
gcloud vmware network-policies external-access-rules describe
(EXTERNAL_ACCESS_RULE
: --location=LOCATION --network-policy=NETWORK_POLICY)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Describe a VMware Engine external access firewall rule.
EXAMPLES
To get a description of an external access firewall rule called
my-external-access-rule in project my-project and region us-west2
associated with network policy my-network-policy, run:
$ gcloud vmware network-policies external-access-rules describe \
my-external-access-rule --network-policy=my-network-policy \
--location=us-west2 --project=my-project
Or:
$ gcloud vmware network-policies external-access-rules describe \
my-external-access-rule --network-policy=my-network-policy
In the second example, the project and the location are taken from gcloud
properties core/project and compute/region respectively.
POSITIONAL ARGUMENTS
VMware Engine External Access Rule resource - external_access_rule. 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 external_access_rule 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.
EXTERNAL_ACCESS_RULE
ID of the VMware Engine External Access Rule or fully qualified
identifier for the VMware Engine External Access Rule.
To set the external-access-rule attribute:
▸ provide the argument external_access_rule on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The resource name of the location.
To set the location attribute:
▸ provide the argument external_access_rule on the command line
with a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property compute/region.
--network-policy=NETWORK_POLICY
VMware Engine network policy
To set the network-policy attribute:
▸ provide the argument external_access_rule on the command line
with a fully specified name;
▸ provide the argument --network-policy 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.