@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
98 lines • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Compute Engine TargetHttpProxy.
*
* 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/v1/targetHttpProxies).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.compute.getTargetHttpProxy({
* name: defaultGoogleComputeTargetHttpProxy.name,
* });
* ```
*/
export declare function getTargetHttpProxy(args: GetTargetHttpProxyArgs, opts?: pulumi.InvokeOptions): Promise<GetTargetHttpProxyResult>;
/**
* A collection of arguments for invoking getTargetHttpProxy.
*/
export interface GetTargetHttpProxyArgs {
/**
* 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;
}
/**
* A collection of values returned by getTargetHttpProxy.
*/
export interface GetTargetHttpProxyResult {
readonly creationTimestamp: string;
readonly deletionPolicy: string;
readonly description: string;
readonly fingerprint: string;
readonly httpKeepAliveTimeoutSec: number;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly project?: string;
readonly proxyBind: boolean;
readonly proxyId: number;
readonly selfLink: string;
readonly urlMap: string;
}
/**
* Get information about a Compute Engine TargetHttpProxy.
*
* 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/v1/targetHttpProxies).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.compute.getTargetHttpProxy({
* name: defaultGoogleComputeTargetHttpProxy.name,
* });
* ```
*/
export declare function getTargetHttpProxyOutput(args: GetTargetHttpProxyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTargetHttpProxyResult>;
/**
* A collection of arguments for invoking getTargetHttpProxy.
*/
export interface GetTargetHttpProxyOutputArgs {
/**
* 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>;
}
//# sourceMappingURL=getTargetHttpProxy.d.ts.map