gcloud beta compute target-ssl-proxies update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta compute target-ssl-proxies update - update a target SSL proxy
- SYNOPSIS
gcloud beta compute target-ssl-proxies updateNAME[--backend-service=BACKEND_SERVICE][--proxy-header=PROXY_HEADER][--clear-ssl-policy|--ssl-policy=SSL_POLICY--global-ssl-policy|--ssl-policy-region=SSL_POLICY_REGION][--ssl-certificates=SSL_CERTIFICATE,[…] |--clear-ssl-certificates|--certificate-map=CERTIFICATE_MAP|--clear-certificate-map][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)gcloud beta compute target-ssl-proxies updateis used to replace the SSL certificate, backend service, proxy header or SSLpolicy of existing target SSL proxies. A target SSL proxy is referenced by oneor more forwarding rules which define which packets the proxy is responsible forrouting. The target SSL proxy in turn points to a backend service which willhandle the requests. The target SSL proxy also points to at most 15 SSLcertificates used for server-side authentication or one certificate map. Thetarget SSL proxy can be associated with at most one SSL policy.- POSITIONAL ARGUMENTS
NAME- Name of the target SSL proxy to update.
- FLAGS
--backend-service=BACKEND_SERVICE- A backend service that will be used for connections to the target SSL proxy.
--proxy-header=PROXY_HEADER- The type of proxy protocol header to be sent to the backend.
PROXY_HEADERmust be one of:NONE- No proxy header is added.
PROXY_V1- Enables PROXY protocol (version 1) for passing client connection information.
- At most one of these can be specified:
--clear-ssl-policy- Removes any attached SSL policy from the SSL proxy.
--ssl-policy=SSL_POLICY- A reference to an SSL policy resource that defines the server-side support forSSL features and affects the connections between clients and load balancers thatare using the SSL proxy. The SSL policy must exist and cannot be deleted whilereferenced by a target SSL proxy.
- At most one of these can be specified:
--global-ssl-policy- If set, the SSL policy is global.
--ssl-policy-region=SSL_POLICY_REGION- Region of the SSL policy to operate on. Overrides the default
compute/regionproperty value for this command invocation.
- At most one of these can be specified:
--ssl-certificates=SSL_CERTIFICATE,[…]- References to at most 15 SSL certificate resources that are used for server-sideauthentication. The first SSL certificate in this list is considered the primarySSL certificate associated with the load balancer. The SSL certificates mustexist and cannot be deleted while referenced by a target SSL proxy.
--clear-ssl-certificates- Remove any attached SSL certificates from the SSL proxy.
- Certificate map resource - The certificate map to attach. This represents aCloud resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.
To set the
projectattribute:- provide the argument
--certificate-mapon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
--certificate-mapon the command line with afully specified name; - default value of location is [global].
--certificate-map=CERTIFICATE_MAP- ID of the certificate map or fully qualified identifier for the certificate map.
To set the
mapattribute:- provide the argument
--certificate-mapon the command line.
- provide the argument
- provide the argument
--clear-certificate-map- Removes any attached certificate map from the SSL proxy.
- 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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudcomputetarget-ssl-proxiesupdategcloudalphacomputetarget-ssl-proxiesupdate
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-05-07 UTC.