Viewing docs for Google Cloud v9.30.0
published on Monday, Jul 13, 2026 by Pulumi
published on Monday, Jul 13, 2026 by Pulumi
Viewing docs for Google Cloud v9.30.0
published on Monday, Jul 13, 2026 by Pulumi
published on Monday, Jul 13, 2026 by Pulumi
Get information about a Compute Engine RegionTargetHttpProxy.
For more information see the official documentation and the API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = gcp.compute.getRegionTargetHttpProxy({
name: defaultGoogleComputeRegionTargetHttpProxy.name,
});
import pulumi
import pulumi_gcp as gcp
default = gcp.compute.get_region_target_http_proxy(name=default_google_compute_region_target_http_proxy["name"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.LookupRegionTargetHttpProxy(ctx, &compute.LookupRegionTargetHttpProxyArgs{
Name: defaultGoogleComputeRegionTargetHttpProxy.Name,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = Gcp.Compute.GetRegionTargetHttpProxy.Invoke(new()
{
Name = defaultGoogleComputeRegionTargetHttpProxy.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetRegionTargetHttpProxyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = ComputeFunctions.getRegionTargetHttpProxy(GetRegionTargetHttpProxyArgs.builder()
.name(defaultGoogleComputeRegionTargetHttpProxy.name())
.build());
}
}
variables:
default:
fn::invoke:
function: gcp:compute:getRegionTargetHttpProxy
arguments:
name: ${defaultGoogleComputeRegionTargetHttpProxy.name}
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_compute_getregiontargethttpproxy" "default" {
name = defaultGoogleComputeRegionTargetHttpProxy.name
}
Using getRegionTargetHttpProxy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionTargetHttpProxy(args: GetRegionTargetHttpProxyArgs, opts?: InvokeOptions): Promise<GetRegionTargetHttpProxyResult>
function getRegionTargetHttpProxyOutput(args: GetRegionTargetHttpProxyOutputArgs, opts?: InvokeOptions): Output<GetRegionTargetHttpProxyResult>def get_region_target_http_proxy(name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionTargetHttpProxyResult
def get_region_target_http_proxy_output(name: pulumi.Input[Optional[str]] = None,
project: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionTargetHttpProxyResult]func LookupRegionTargetHttpProxy(ctx *Context, args *LookupRegionTargetHttpProxyArgs, opts ...InvokeOption) (*LookupRegionTargetHttpProxyResult, error)
func LookupRegionTargetHttpProxyOutput(ctx *Context, args *LookupRegionTargetHttpProxyOutputArgs, opts ...InvokeOption) LookupRegionTargetHttpProxyResultOutput> Note: This function is named LookupRegionTargetHttpProxy in the Go SDK.
public static class GetRegionTargetHttpProxy
{
public static Task<GetRegionTargetHttpProxyResult> InvokeAsync(GetRegionTargetHttpProxyArgs args, InvokeOptions? opts = null)
public static Output<GetRegionTargetHttpProxyResult> Invoke(GetRegionTargetHttpProxyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionTargetHttpProxyResult> getRegionTargetHttpProxy(GetRegionTargetHttpProxyArgs args, InvokeOptions options)
public static Output<GetRegionTargetHttpProxyResult> getRegionTargetHttpProxy(GetRegionTargetHttpProxyArgs args, InvokeOptions options)
fn::invoke:
function: gcp:compute/getRegionTargetHttpProxy:getRegionTargetHttpProxy
arguments:
# arguments dictionarydata "gcp_compute_getregiontargethttpproxy" "name" {
# arguments
}The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getRegionTargetHttpProxy Result
The following output properties are available:
- Creation
Timestamp string - Deletion
Policy string - Description string
- Http
Keep intAlive Timeout Sec - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Proxy
Id int - Self
Link string - Url
Map string - Project string
- Region string
- Creation
Timestamp string - Deletion
Policy string - Description string
- Http
Keep intAlive Timeout Sec - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Proxy
Id int - Self
Link string - Url
Map string - Project string
- Region string
- creation_
timestamp string - deletion_
policy string - description string
- http_
keep_ numberalive_ timeout_ sec - id string
- The provider-assigned unique ID for this managed resource.
- name string
- proxy_
id number - self_
link string - url_
map string - project string
- region string
- creation
Timestamp String - deletion
Policy String - description String
- http
Keep IntegerAlive Timeout Sec - id String
- The provider-assigned unique ID for this managed resource.
- name String
- proxy
Id Integer - self
Link String - url
Map String - project String
- region String
- creation
Timestamp string - deletion
Policy string - description string
- http
Keep numberAlive Timeout Sec - id string
- The provider-assigned unique ID for this managed resource.
- name string
- proxy
Id number - self
Link string - url
Map string - project string
- region string
- creation_
timestamp str - deletion_
policy str - description str
- http_
keep_ intalive_ timeout_ sec - id str
- The provider-assigned unique ID for this managed resource.
- name str
- proxy_
id int - self_
link str - url_
map str - project str
- region str
- creation
Timestamp String - deletion
Policy String - description String
- http
Keep NumberAlive Timeout Sec - id String
- The provider-assigned unique ID for this managed resource.
- name String
- proxy
Id Number - self
Link String - url
Map String - project String
- region String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.30.0
published on Monday, Jul 13, 2026 by Pulumi
published on Monday, Jul 13, 2026 by Pulumi