1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. TargetSslProxy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/v1.TargetSslProxy

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Create TargetSslProxy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TargetSslProxy(name: string, args?: TargetSslProxyArgs, opts?: CustomResourceOptions);
@overload
def TargetSslProxy(resource_name: str,
                   args: Optional[TargetSslProxyArgs] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def TargetSslProxy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   certificate_map: Optional[str] = None,
                   description: Optional[str] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   proxy_header: Optional[TargetSslProxyProxyHeader] = None,
                   request_id: Optional[str] = None,
                   service: Optional[str] = None,
                   ssl_certificates: Optional[Sequence[str]] = None,
                   ssl_policy: Optional[str] = None)
func NewTargetSslProxy(ctx *Context, name string, args *TargetSslProxyArgs, opts ...ResourceOption) (*TargetSslProxy, error)
public TargetSslProxy(string name, TargetSslProxyArgs? args = null, CustomResourceOptions? opts = null)
public TargetSslProxy(String name, TargetSslProxyArgs args)
public TargetSslProxy(String name, TargetSslProxyArgs args, CustomResourceOptions options)
type: google-native:compute/v1:TargetSslProxy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args TargetSslProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args TargetSslProxyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args TargetSslProxyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args TargetSslProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TargetSslProxyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampletargetSslProxyResourceResourceFromComputev1 = new GoogleNative.Compute.V1.TargetSslProxy("exampletargetSslProxyResourceResourceFromComputev1", new()
{
    CertificateMap = "string",
    Description = "string",
    Name = "string",
    Project = "string",
    ProxyHeader = GoogleNative.Compute.V1.TargetSslProxyProxyHeader.None,
    RequestId = "string",
    Service = "string",
    SslCertificates = new[]
    {
        "string",
    },
    SslPolicy = "string",
});
Copy
example, err := computev1.NewTargetSslProxy(ctx, "exampletargetSslProxyResourceResourceFromComputev1", &computev1.TargetSslProxyArgs{
	CertificateMap: pulumi.String("string"),
	Description:    pulumi.String("string"),
	Name:           pulumi.String("string"),
	Project:        pulumi.String("string"),
	ProxyHeader:    computev1.TargetSslProxyProxyHeaderNone,
	RequestId:      pulumi.String("string"),
	Service:        pulumi.String("string"),
	SslCertificates: pulumi.StringArray{
		pulumi.String("string"),
	},
	SslPolicy: pulumi.String("string"),
})
Copy
var exampletargetSslProxyResourceResourceFromComputev1 = new TargetSslProxy("exampletargetSslProxyResourceResourceFromComputev1", TargetSslProxyArgs.builder()
    .certificateMap("string")
    .description("string")
    .name("string")
    .project("string")
    .proxyHeader("NONE")
    .requestId("string")
    .service("string")
    .sslCertificates("string")
    .sslPolicy("string")
    .build());
Copy
exampletarget_ssl_proxy_resource_resource_from_computev1 = google_native.compute.v1.TargetSslProxy("exampletargetSslProxyResourceResourceFromComputev1",
    certificate_map="string",
    description="string",
    name="string",
    project="string",
    proxy_header=google_native.compute.v1.TargetSslProxyProxyHeader.NONE,
    request_id="string",
    service="string",
    ssl_certificates=["string"],
    ssl_policy="string")
Copy
const exampletargetSslProxyResourceResourceFromComputev1 = new google_native.compute.v1.TargetSslProxy("exampletargetSslProxyResourceResourceFromComputev1", {
    certificateMap: "string",
    description: "string",
    name: "string",
    project: "string",
    proxyHeader: google_native.compute.v1.TargetSslProxyProxyHeader.None,
    requestId: "string",
    service: "string",
    sslCertificates: ["string"],
    sslPolicy: "string",
});
Copy
type: google-native:compute/v1:TargetSslProxy
properties:
    certificateMap: string
    description: string
    name: string
    project: string
    proxyHeader: NONE
    requestId: string
    service: string
    sslCertificates:
        - string
    sslPolicy: string
Copy

TargetSslProxy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TargetSslProxy resource accepts the following input properties:

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}.
Description string
An optional description of this resource. Provide this property when you create the resource.
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.
Project Changes to this property will trigger replacement. string
ProxyHeader Pulumi.GoogleNative.Compute.V1.TargetSslProxyProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Service string
URL to the BackendService resource.
SslCertificates List<string>
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.
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}.
Description string
An optional description of this resource. Provide this property when you create the resource.
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.
Project Changes to this property will trigger replacement. string
ProxyHeader TargetSslProxyProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Service string
URL to the BackendService resource.
SslCertificates []string
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.
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}.
description String
An optional description of this resource. Provide this property when you create the resource.
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.
project Changes to this property will trigger replacement. String
proxyHeader TargetSslProxyProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
service String
URL to the BackendService resource.
sslCertificates List<String>
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.
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}.
description string
An optional description of this resource. Provide this property when you create the resource.
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.
project Changes to this property will trigger replacement. string
proxyHeader TargetSslProxyProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
requestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
service string
URL to the BackendService resource.
sslCertificates string[]
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.
certificate_map str
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}.
description str
An optional description of this resource. Provide this property when you create the resource.
name str
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.
project Changes to this property will trigger replacement. str
proxy_header TargetSslProxyProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
request_id str
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
service str
URL to the BackendService resource.
ssl_certificates Sequence[str]
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.
ssl_policy str
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.
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}.
description String
An optional description of this resource. Provide this property when you create the resource.
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.
project Changes to this property will trigger replacement. String
proxyHeader "NONE" | "PROXY_V1"
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
service String
URL to the BackendService resource.
sslCertificates List<String>
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the TargetSslProxy resource produces the following output properties:

CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
SelfLink string
Server-defined URL for the resource.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
SelfLink string
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
selfLink String
Server-defined URL for the resource.
creationTimestamp string
Creation timestamp in RFC3339 text format.
id string
The provider-assigned unique ID for this managed resource.
kind string
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
selfLink string
Server-defined URL for the resource.
creation_timestamp str
Creation timestamp in RFC3339 text format.
id str
The provider-assigned unique ID for this managed resource.
kind str
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
self_link str
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#targetSslProxy for target SSL proxies.
selfLink String
Server-defined URL for the resource.

Supporting Types

TargetSslProxyProxyHeader
, TargetSslProxyProxyHeaderArgs

None
NONE
ProxyV1
PROXY_V1
TargetSslProxyProxyHeaderNone
NONE
TargetSslProxyProxyHeaderProxyV1
PROXY_V1
None
NONE
ProxyV1
PROXY_V1
None
NONE
ProxyV1
PROXY_V1
NONE
NONE
PROXY_V1
PROXY_V1
"NONE"
NONE
"PROXY_V1"
PROXY_V1

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi