@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
102 lines (101 loc) • 2.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about a Google BeyondCorp App Gateway.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_gateway = gcp.beyondcorp.getAppGateway({
* name: "my-beyondcorp-app-gateway",
* });
* ```
*/
export declare function getAppGateway(args: GetAppGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetAppGatewayResult>;
/**
* A collection of arguments for invoking getAppGateway.
*/
export interface GetAppGatewayArgs {
/**
* The name of the App Gateway.
*
* - - -
*/
name: string;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: string;
/**
* The region in which the resource belongs. If it
* is not provided, the provider region is used.
*/
region?: string;
}
/**
* A collection of values returned by getAppGateway.
*/
export interface GetAppGatewayResult {
readonly allocatedConnections: outputs.beyondcorp.GetAppGatewayAllocatedConnection[];
readonly displayName: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly hostType: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly labels: {
[key: string]: string;
};
readonly name: string;
readonly project?: string;
readonly pulumiLabels: {
[key: string]: string;
};
readonly region?: string;
readonly state: string;
readonly type: string;
readonly uri: string;
}
/**
* Get information about a Google BeyondCorp App Gateway.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_gateway = gcp.beyondcorp.getAppGateway({
* name: "my-beyondcorp-app-gateway",
* });
* ```
*/
export declare function getAppGatewayOutput(args: GetAppGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppGatewayResult>;
/**
* A collection of arguments for invoking getAppGateway.
*/
export interface GetAppGatewayOutputArgs {
/**
* The name of the App Gateway.
*
* - - -
*/
name: pulumi.Input<string>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
/**
* The region in which the resource belongs. If it
* is not provided, the provider region is used.
*/
region?: pulumi.Input<string>;
}