TargetTCPProxy

Represents a TargetTcpProxy resource, which is used by one or more global forwarding rule to route incoming TCP requests to a Backend service.

To get more information about TargetTcpProxy, see:

Create a TargetTCPProxy Resource

def TargetTCPProxy(resource_name, opts=None, backend_service=None, description=None, name=None, project=None, proxy_header=None, __props__=None);
name string
The unique name of the resource.
args TargetTCPProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TargetTCPProxyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TargetTCPProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

TargetTCPProxy Resource Properties

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

Inputs

The TargetTCPProxy resource accepts the following input properties:

BackendService string

A reference to the BackendService resource.

Description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ProxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

BackendService string

A reference to the BackendService resource.

Description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ProxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

backendService string

A reference to the BackendService resource.

description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

proxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

backend_service str

A reference to the BackendService resource.

description str

An optional description of this 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? 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 str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

proxy_header str

Specifies the type of proxy header to append before sending data to the backend.

Outputs

All input properties are implicitly available as output properties. Additionally, the TargetTCPProxy 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.
ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Id string
The provider-assigned unique ID for this managed resource.
ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

creationTimestamp string

Creation timestamp in RFC3339 text format.

id string
The provider-assigned unique ID for this managed resource.
proxyId number

The unique identifier for the resource.

selfLink string

The URI of the created resource.

creation_timestamp str

Creation timestamp in RFC3339 text format.

id str
The provider-assigned unique ID for this managed resource.
proxy_id float

The unique identifier for the resource.

self_link str

The URI of the created resource.

Look up an Existing TargetTCPProxy Resource

Get an existing TargetTCPProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TargetTCPProxyState, opts?: CustomResourceOptions): TargetTCPProxy
static get(resource_name, id, opts=None, backend_service=None, creation_timestamp=None, description=None, name=None, project=None, proxy_header=None, proxy_id=None, self_link=None, __props__=None);
func GetTargetTCPProxy(ctx *Context, name string, id IDInput, state *TargetTCPProxyState, opts ...ResourceOption) (*TargetTCPProxy, error)
public static TargetTCPProxy Get(string name, Input<string> id, TargetTCPProxyState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

BackendService string

A reference to the BackendService resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ProxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

BackendService string

A reference to the BackendService resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ProxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

backendService string

A reference to the BackendService resource.

creationTimestamp string

Creation timestamp in RFC3339 text format.

description string

An optional description of this 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? 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 string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

proxyHeader string

Specifies the type of proxy header to append before sending data to the backend.

proxyId number

The unique identifier for the resource.

selfLink string

The URI of the created resource.

backend_service str

A reference to the BackendService resource.

creation_timestamp str

Creation timestamp in RFC3339 text format.

description str

An optional description of this 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? 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 str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

proxy_header str

Specifies the type of proxy header to append before sending data to the backend.

proxy_id float

The unique identifier for the resource.

self_link str

The URI of the created resource.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.