gcloud vmware network-policies update

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.