gcloud vmware private-clouds logging-servers update

NAME
gcloud vmware private-clouds logging-servers update - update a Google Cloud VMware Engine logging-server
SYNOPSIS
gcloud vmware private-clouds logging-servers update(LOGGING_SERVER :--location=LOCATION--private-cloud=PRIVATE_CLOUD)[--async][--hostname=HOSTNAME][--port=PORT][--protocol=PROTOCOL][--source-type=SOURCE_TYPE][GCLOUD_WIDE_FLAG]
DESCRIPTION
Update a Logging Server. Only source_type, hostname, protocol, port can beupdated.
EXAMPLES
To update a logging-server calledmy-logging-server in privatecloudmy-private-cloud and zoneus-west2-a to changeESXI source_type,192.168.20.15 hostnameUDP protocol and514 port, run:
gcloudvmwareprivate-cloudslogging-serversupdatemy-logging-server--location=us-west2-a--project=my-project--private-cloud=my-private-cloud--source-type=ESXI--hostname=192.168.20.15--protocol=UDP--port=514
Or:
gcloudvmwareprivate-cloudslogging-serversupdatemy-logging-server--private-cloud=my-private-cloud--source-type=ESXI--hostname=192.168.20.15--protocol=UDP--port=514
Inthesecondexample,theprojectandlocationaretakenfromgcloudpropertiescore/projectandcompute/zone.
POSITIONAL ARGUMENTS
Logging Server resource - logging_server. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentlogging_server on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

LOGGING_SERVER
ID of the Logging Server or fully qualified identifier for the Logging Server.

To set thelogging-server attribute:

  • provide the argumentlogging_server on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Location of the private cloud or cluster.

To set thelocation attribute:

  • provide the argumentlogging_server on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set the propertycompute/zone.
--private-cloud=PRIVATE_CLOUD
VMware Engine private cloud.

To set theprivate-cloud attribute:

  • provide the argumentlogging_server on the command line with afully specified name;
  • provide the argument--private-cloud on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.The default isTrue. Enabled by default, use--no-async to disable.
--hostname=HOSTNAME
Fully-qualified domain name (FQDN) or IP Address of the logging server.
--port=PORT
Port number at which the logging server receives logs.
--protocol=PROTOCOL
Defines possible protocols used to send logs to a logging server.PROTOCOL must be one of:UDP,TCP,TLS,RELP,SSL.
--source-type=SOURCE_TYPE
The type of component that produces logs that will be forwarded to this loggingserver.SOURCE_TYPE must be one of:VCSA,ESXI.
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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.