@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
101 lines (100 loc) • 2.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about a Google BeyondCorp App Connection.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_connection = gcp.beyondcorp.getAppConnection({
* name: "my-beyondcorp-app-connection",
* });
* ```
*/
export declare function getAppConnection(args: GetAppConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetAppConnectionResult>;
/**
* A collection of arguments for invoking getAppConnection.
*/
export interface GetAppConnectionArgs {
/**
* The name of the App Connection.
*
* - - -
*/
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 getAppConnection.
*/
export interface GetAppConnectionResult {
readonly applicationEndpoints: outputs.beyondcorp.GetAppConnectionApplicationEndpoint[];
readonly connectors: string[];
readonly displayName: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly gateways: outputs.beyondcorp.GetAppConnectionGateway[];
/**
* 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 type: string;
}
/**
* Get information about a Google BeyondCorp App Connection.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_connection = gcp.beyondcorp.getAppConnection({
* name: "my-beyondcorp-app-connection",
* });
* ```
*/
export declare function getAppConnectionOutput(args: GetAppConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppConnectionResult>;
/**
* A collection of arguments for invoking getAppConnection.
*/
export interface GetAppConnectionOutputArgs {
/**
* The name of the App Connection.
*
* - - -
*/
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>;
}