UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

107 lines 4.11 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information about a Compute Engine RegionTargetHttpProxy. * * For more information see the [official documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies) and * the [API](https://cloud.google.com/compute/docs/reference/rest/v1/regionTargetHttpProxies). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.compute.getRegionTargetHttpProxy({ * name: defaultGoogleComputeRegionTargetHttpProxy.name, * }); * ``` */ export declare function getRegionTargetHttpProxy(args: GetRegionTargetHttpProxyArgs, opts?: pulumi.InvokeOptions): Promise<GetRegionTargetHttpProxyResult>; /** * A collection of arguments for invoking getRegionTargetHttpProxy. */ export interface GetRegionTargetHttpProxyArgs { /** * 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. */ name: string; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: string; /** * The Region in which the created target https proxy should reside. * If it is not provided, the provider region is used. */ region?: string; } /** * A collection of values returned by getRegionTargetHttpProxy. */ export interface GetRegionTargetHttpProxyResult { readonly creationTimestamp: string; readonly deletionPolicy: string; readonly description: string; readonly httpKeepAliveTimeoutSec: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly project?: string; readonly proxyId: number; readonly region?: string; readonly selfLink: string; readonly urlMap: string; } /** * Get information about a Compute Engine RegionTargetHttpProxy. * * For more information see the [official documentation](https://cloud.google.com/compute/docs/load-balancing/http/target-proxies) and * the [API](https://cloud.google.com/compute/docs/reference/rest/v1/regionTargetHttpProxies). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.compute.getRegionTargetHttpProxy({ * name: defaultGoogleComputeRegionTargetHttpProxy.name, * }); * ``` */ export declare function getRegionTargetHttpProxyOutput(args: GetRegionTargetHttpProxyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegionTargetHttpProxyResult>; /** * A collection of arguments for invoking getRegionTargetHttpProxy. */ export interface GetRegionTargetHttpProxyOutputArgs { /** * 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. */ name: pulumi.Input<string>; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; /** * The Region in which the created target https proxy should reside. * If it is not provided, the provider region is used. */ region?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getRegionTargetHttpProxy.d.ts.map