Skip to main content

target_ssl_proxies

Creates, updates, deletes, gets or lists a target_ssl_proxies resource.

Overview

Nametarget_ssl_proxies
TypeResource
Idgoogle.compute.target_ssl_proxies

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
certificateMapstringURL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
kindstring[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
proxyHeaderstringSpecifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
selfLinkstring[Output Only] Server-defined URL for the resource.
servicestringURL to the BackendService resource.
sslCertificatesarrayURLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
sslPolicystringURL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.

Methods

NameAccessible byRequired ParamsDescription
getSELECTproject, targetSslProxyReturns the specified TargetSslProxy resource.
listSELECTprojectRetrieves the list of TargetSslProxy resources available to the specified project.
insertINSERTprojectCreates a TargetSslProxy resource in the specified project using the data included in the request.
deleteDELETEproject, targetSslProxyDeletes the specified TargetSslProxy resource.
set_backend_serviceEXECproject, targetSslProxyChanges the BackendService for TargetSslProxy.
set_certificate_mapEXECproject, targetSslProxyChanges the Certificate Map for TargetSslProxy.
set_proxy_headerEXECproject, targetSslProxyChanges the ProxyHeaderType for TargetSslProxy.
set_ssl_certificatesEXECproject, targetSslProxyChanges SslCertificates for TargetSslProxy.
set_ssl_policyEXECproject, targetSslProxySets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.

SELECT examples

Retrieves the list of TargetSslProxy resources available to the specified project.

SELECT
id,
name,
description,
certificateMap,
creationTimestamp,
kind,
proxyHeader,
selfLink,
service,
sslCertificates,
sslPolicy
FROM google.compute.target_ssl_proxies
WHERE project = '{{ project }}';

INSERT example

Use the following StackQL query and manifest file to create a new target_ssl_proxies resource.

/*+ create */
INSERT INTO google.compute.target_ssl_proxies (
project,
name,
description,
service,
sslCertificates,
certificateMap,
proxyHeader,
sslPolicy
)
SELECT
'{{ project }}',
'{{ name }}',
'{{ description }}',
'{{ service }}',
'{{ sslCertificates }}',
'{{ certificateMap }}',
'{{ proxyHeader }}',
'{{ sslPolicy }}'
;

DELETE example

Deletes the specified target_ssl_proxies resource.

/*+ delete */
DELETE FROM google.compute.target_ssl_proxies
WHERE project = '{{ project }}'
AND targetSslProxy = '{{ targetSslProxy }}';