RegionTargetHttpProxy
Represents a RegionTargetHttpProxy resource, which is used by one or more forwarding rules to route incoming HTTP requests to a URL map.
To get more information about RegionTargetHttpProxy, see:
- API documentation
- How-to Guides
Create a RegionTargetHttpProxy Resource
new RegionTargetHttpProxy(name: string, args: RegionTargetHttpProxyArgs, opts?: CustomResourceOptions);def RegionTargetHttpProxy(resource_name, opts=None, description=None, name=None, project=None, region=None, url_map=None, __props__=None);func NewRegionTargetHttpProxy(ctx *Context, name string, args RegionTargetHttpProxyArgs, opts ...ResourceOption) (*RegionTargetHttpProxy, error)public RegionTargetHttpProxy(string name, RegionTargetHttpProxyArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args RegionTargetHttpProxyArgs
- 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 RegionTargetHttpProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionTargetHttpProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
RegionTargetHttpProxy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The RegionTargetHttpProxy resource accepts the following input properties:
- Url
Map string A reference to the RegionUrlMap 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.
- Region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- Url
Map string A reference to the RegionUrlMap 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.
- Region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- url
Map string A reference to the RegionUrlMap 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.
- region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- url_
map str A reference to the RegionUrlMap 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.
- region str
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegionTargetHttpProxy resource produces the following output properties:
Look up an Existing RegionTargetHttpProxy Resource
Get an existing RegionTargetHttpProxy 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?: RegionTargetHttpProxyState, opts?: CustomResourceOptions): RegionTargetHttpProxystatic get(resource_name, id, opts=None, creation_timestamp=None, description=None, name=None, project=None, proxy_id=None, region=None, self_link=None, url_map=None, __props__=None);func GetRegionTargetHttpProxy(ctx *Context, name string, id IDInput, state *RegionTargetHttpProxyState, opts ...ResourceOption) (*RegionTargetHttpProxy, error)public static RegionTargetHttpProxy Get(string name, Input<string> id, RegionTargetHttpProxyState? 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:
- Creation
Timestamp 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.
- Proxy
Id int The unique identifier for the resource.
- Region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- Self
Link string The URI of the created resource.
- Url
Map string A reference to the RegionUrlMap resource that defines the mapping from URL to the BackendService.
- Creation
Timestamp 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.
- Proxy
Id int The unique identifier for the resource.
- Region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- Self
Link string The URI of the created resource.
- Url
Map string A reference to the RegionUrlMap resource that defines the mapping from URL to the BackendService.
- creation
Timestamp 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.
- proxy
Id number The unique identifier for the resource.
- region string
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- self
Link string The URI of the created resource.
- url
Map string A reference to the RegionUrlMap 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.
- region str
The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.
- self_
link str The URI of the created resource.
- url_
map str A reference to the RegionUrlMap 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-betaTerraform Provider.