mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
104
gcloud/vmware/network-policies/create
Normal file
104
gcloud/vmware/network-policies/create
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
NAME
|
||||
gcloud vmware network-policies create - create a VMware Engine network
|
||||
policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies create
|
||||
(NETWORK_POLICY : --location=LOCATION)
|
||||
--edge-services-cidr=EDGE_SERVICES_CIDR
|
||||
--vmware-engine-network=VMWARE_ENGINE_NETWORK [--async]
|
||||
[--description=DESCRIPTION] [--external-ip-access] [--internet-access]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a VMware Engine network policy. Only one network policy applies to a
|
||||
VMware Engine network per region. Check the progress of a network policy
|
||||
creation using gcloud vmware network-policies list.
|
||||
|
||||
EXAMPLES
|
||||
To create a network policy called my-network-policy which connects to the
|
||||
VMware Engine network my-vmware-engine-network using the edge services
|
||||
address range 192.168.0.0/26 with the internet access service enabled and
|
||||
the external IP access service disabled, run:
|
||||
|
||||
$ gcloud vmware network-policies create my-network-policy \
|
||||
--location=us-west2 --project=my-project \
|
||||
--vmware-engine-network=my-vmware-engine-network \
|
||||
--edge-services-cidr=192.168.0.0/26 --internet-access \
|
||||
--no-external-ip-access
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies create my-network-policy \
|
||||
--vmware-engine-network=my-vmware-engine-network \
|
||||
--edge-services-cidr=192.168.0.0/26 --internet-access
|
||||
|
||||
In the second example, the project and the location are taken from gcloud
|
||||
properties core/project and compute/region respectively. If the
|
||||
--external-ip-access flag is not specified, it is taken as False.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
VMware Engine Network Policy resource - network_policy. 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 network_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NETWORK_POLICY
|
||||
ID of the VMware Engine Network Policy or fully qualified identifier
|
||||
for the VMware Engine Network Policy. To set the network-policy
|
||||
attribute:
|
||||
▸ provide the argument network_policy 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 network_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--edge-services-cidr=EDGE_SERVICES_CIDR
|
||||
IP address range to use for internet access and external IP access
|
||||
gateways, in CIDR notation. An RFC 1918 CIDR block with a "/26" prefix
|
||||
is required.
|
||||
|
||||
--vmware-engine-network=VMWARE_ENGINE_NETWORK
|
||||
Resource ID of the VMware Engine network to attach the new policy to.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
disable.
|
||||
|
||||
--description=DESCRIPTION
|
||||
User-provided description of the network policy.
|
||||
|
||||
--external-ip-access
|
||||
Enable or disable network service that allows external IP addresses to
|
||||
be assigned to VMware workloads. To enable this service,
|
||||
internet-access must also be enabled. Use --no-external-ip-access to
|
||||
disable. If the flag is not provided, access to VMware workloads
|
||||
through external IP addresses is disabled.
|
||||
|
||||
--internet-access
|
||||
Enable or disable network service that allows VMware workloads to
|
||||
access the internet. Use --no-internet-access to disable. If the flag
|
||||
is not provided, internet access is disabled.
|
||||
|
||||
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.
|
||||
66
gcloud/vmware/network-policies/delete
Normal file
66
gcloud/vmware/network-policies/delete
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
NAME
|
||||
gcloud vmware network-policies delete - delete a VMware Engine network
|
||||
policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies delete
|
||||
(NETWORK_POLICY : --location=LOCATION) [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a VMware Engine network policy.
|
||||
|
||||
EXAMPLES
|
||||
To delete a network policy called my-network-policy in project my-project
|
||||
and region us-west2, run:
|
||||
|
||||
$ gcloud vmware network-policies delete my-network-policy \
|
||||
--location=us-west2 --project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies delete 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 Network Policy resource - network_policy. 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 network_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NETWORK_POLICY
|
||||
ID of the VMware Engine Network Policy or fully qualified identifier
|
||||
for the VMware Engine Network Policy. To set the network-policy
|
||||
attribute:
|
||||
▸ provide the argument network_policy 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 network_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
disable.
|
||||
|
||||
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.
|
||||
60
gcloud/vmware/network-policies/describe
Normal file
60
gcloud/vmware/network-policies/describe
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
NAME
|
||||
gcloud vmware network-policies describe - describe a VMware Engine network
|
||||
policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies describe
|
||||
(NETWORK_POLICY : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe a VMware Engine network policy.
|
||||
|
||||
EXAMPLES
|
||||
To get a description of a network policy called my-network-policy in
|
||||
project my-project and region us-west2, run:
|
||||
|
||||
$ gcloud vmware network-policies describe my-network-policy \
|
||||
--location=us-west2 --project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies describe 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 Network Policy resource - network_policy. 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 network_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NETWORK_POLICY
|
||||
ID of the VMware Engine Network Policy or fully qualified identifier
|
||||
for the VMware Engine Network Policy. To set the network-policy
|
||||
attribute:
|
||||
▸ provide the argument network_policy 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 network_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
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.
|
||||
32
gcloud/vmware/network-policies/help
Normal file
32
gcloud/vmware/network-policies/help
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
NAME
|
||||
gcloud vmware network-policies - manage VMware Engine network policies in
|
||||
Google Cloud VMware Engine
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage VMware Engine network policies in Google Cloud VMware Engine.
|
||||
|
||||
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 VMware Engine network policy.
|
||||
|
||||
delete
|
||||
Delete a VMware Engine network policy.
|
||||
|
||||
describe
|
||||
Describe a VMware Engine network policy.
|
||||
|
||||
list
|
||||
List VMware Engine network policies.
|
||||
|
||||
update
|
||||
Update a VMware Engine network policy.
|
||||
92
gcloud/vmware/network-policies/list
Normal file
92
gcloud/vmware/network-policies/list
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
NAME
|
||||
gcloud vmware network-policies list - list VMware Engine network policies
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies list [--location=LOCATION]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List VMware Engine network policies.
|
||||
|
||||
EXAMPLES
|
||||
To list network policies in your project in the region us-west2 sorted from
|
||||
oldest to newest, run:
|
||||
|
||||
$ gcloud vmware network-policies list --location=us-west2 \
|
||||
--project=my-project --sort-by=~create_time
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies list --sort-by=~create_time
|
||||
|
||||
In the second example, the project and the location are taken from gcloud
|
||||
properties core/project and compute/region respectively.
|
||||
|
||||
To list network policies in your project from all regions, run:
|
||||
|
||||
$ gcloud vmware network-policies list --location=- \
|
||||
--project=my-project
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies list --location=-
|
||||
|
||||
In the last example, the project is taken from gcloud properties
|
||||
core/project.
|
||||
|
||||
FLAGS
|
||||
Location resource - location. This represents a Cloud 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 --location on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property compute/region with a fully specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
--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;
|
||||
▸ set the property compute/region.
|
||||
|
||||
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.
|
||||
86
gcloud/vmware/network-policies/update
Normal file
86
gcloud/vmware/network-policies/update
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
NAME
|
||||
gcloud vmware network-policies update - update a VMware Engine network
|
||||
policy
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware network-policies update
|
||||
(NETWORK_POLICY : --location=LOCATION) [--async]
|
||||
[--description=DESCRIPTION] [--edge-services-cidr=EDGE_SERVICES_CIDR]
|
||||
[--external-ip-access] [--internet-access] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update a VMware Engine network policy.
|
||||
|
||||
EXAMPLES
|
||||
To update a network policy named my-network-policy so that it disables the
|
||||
external IP access service, run:
|
||||
|
||||
$ gcloud vmware network-policies update my-network-policy \
|
||||
--location=us-west2 --project=my-project --no-external-ip-access
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware network-policies update my-network-policy \
|
||||
--no-external-ip-access
|
||||
|
||||
In the second example, the project and the location are taken from gcloud
|
||||
properties core/project and compute/regions respectively.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
VMware Engine Network Policy resource - network_policy. 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 network_policy on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property core/project;
|
||||
◆ provide the argument --project on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NETWORK_POLICY
|
||||
ID of the VMware Engine Network Policy or fully qualified identifier
|
||||
for the VMware Engine Network Policy. To set the network-policy
|
||||
attribute:
|
||||
▸ provide the argument network_policy 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 network_policy on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/region.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
disable.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Updated description for the network policy.
|
||||
|
||||
--edge-services-cidr=EDGE_SERVICES_CIDR
|
||||
Updated IP address range to use for internet access and external IP
|
||||
access gateways, in CIDR notation.
|
||||
|
||||
--external-ip-access
|
||||
Enable or disable network service that allows external IP addresses to
|
||||
be assigned to VMware workloads. To enable this service,
|
||||
internet-access must also be enabled. Use --no-external-ip-access to
|
||||
disable.
|
||||
|
||||
--internet-access
|
||||
Enable or disable network service that allows VMware workloads to
|
||||
access the internet. Use --no-internet-access to disable.
|
||||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue