TargetHttpProxy

Represents a TargetHttpProxy resource, which is used by one or more global forwarding rule to route incoming HTTP requests to a URL map.

To get more information about TargetHttpProxy, see:

Create a TargetHttpProxy Resource

def TargetHttpProxy(resource_name, opts=None, description=None, name=None, project=None, url_map=None, __props__=None);
name string
The unique name of the resource.
args TargetHttpProxyArgs
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 TargetHttpProxyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TargetHttpProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

TargetHttpProxy Resource Properties

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

Inputs

The TargetHttpProxy resource accepts the following input properties:

UrlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

UrlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

urlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

url_map str

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

Outputs

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

Get an existing TargetHttpProxy 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?: TargetHttpProxyState, opts?: CustomResourceOptions): TargetHttpProxy
static get(resource_name, id, opts=None, creation_timestamp=None, description=None, name=None, project=None, proxy_id=None, self_link=None, url_map=None, __props__=None);
func GetTargetHttpProxy(ctx *Context, name string, id IDInput, state *TargetHttpProxyState, opts ...ResourceOption) (*TargetHttpProxy, error)
public static TargetHttpProxy Get(string name, Input<string> id, TargetHttpProxyState? 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:

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.

ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

UrlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

ProxyId int

The unique identifier for the resource.

SelfLink string

The URI of the created resource.

UrlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.

proxyId number

The unique identifier for the resource.

selfLink string

The URI of the created resource.

urlMap string

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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_id float

The unique identifier for the resource.

self_link str

The URI of the created resource.

url_map str

A reference to the UrlMap resource that defines the mapping from URL to the BackendService.

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.