target_ssl_proxies
Creates, updates, deletes, gets or lists a target_ssl_proxies
resource.
Overview
Name | target_ssl_proxies |
Type | Resource |
Id | google.compute.target_ssl_proxies |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | Name 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. |
description | string | An optional description of this resource. Provide this property when you create the resource. |
certificateMap | string | URL 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}. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
kind | string | [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. |
proxyHeader | string | Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
service | string | URL to the BackendService resource. |
sslCertificates | array | URLs 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. |
sslPolicy | string | URL 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
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | project, targetSslProxy | Returns the specified TargetSslProxy resource. |
list | SELECT | project | Retrieves the list of TargetSslProxy resources available to the specified project. |
insert | INSERT | project | Creates a TargetSslProxy resource in the specified project using the data included in the request. |
delete | DELETE | project, targetSslProxy | Deletes the specified TargetSslProxy resource. |
set_backend_service | EXEC | project, targetSslProxy | Changes the BackendService for TargetSslProxy. |
set_certificate_map | EXEC | project, targetSslProxy | Changes the Certificate Map for TargetSslProxy. |
set_proxy_header | EXEC | project, targetSslProxy | Changes the ProxyHeaderType for TargetSslProxy. |
set_ssl_certificates | EXEC | project, targetSslProxy | Changes SslCertificates for TargetSslProxy. |
set_ssl_policy | EXEC | project, targetSslProxy | Sets 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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: kind
value: string
- name: id
value: string
- name: creationTimestamp
value: string
- name: name
value: string
- name: description
value: string
- name: selfLink
value: string
- name: service
value: string
- name: sslCertificates
value:
- string
- name: certificateMap
value: string
- name: proxyHeader
value: string
- name: sslPolicy
value: string
DELETE
example
Deletes the specified target_ssl_proxies
resource.
/*+ delete */
DELETE FROM google.compute.target_ssl_proxies
WHERE project = '{{ project }}'
AND targetSslProxy = '{{ targetSslProxy }}';