UNPKG

@pulumi/gcp

Version:

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

85 lines (84 loc) 2.51 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a Google BeyondCorp Security Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_beyondcorp_security_gateway = gcp.beyondcorp.getSecurityGateway({ * securityGatewayId: "my-beyondcorp-security-gateway", * }); * ``` */ export declare function getSecurityGateway(args: GetSecurityGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityGatewayResult>; /** * A collection of arguments for invoking getSecurityGateway. */ export interface GetSecurityGatewayArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; /** * The name of the Security Gateway resource. * * - - - */ securityGatewayId: string; } /** * A collection of values returned by getSecurityGateway. */ export interface GetSecurityGatewayResult { readonly createTime: string; readonly delegatingServiceAccount: string; readonly displayName: string; readonly externalIps: string[]; readonly hubs: outputs.beyondcorp.GetSecurityGatewayHub[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly project?: string; readonly securityGatewayId: string; readonly state: string; readonly updateTime: string; } /** * Get information about a Google BeyondCorp Security Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_beyondcorp_security_gateway = gcp.beyondcorp.getSecurityGateway({ * securityGatewayId: "my-beyondcorp-security-gateway", * }); * ``` */ export declare function getSecurityGatewayOutput(args: GetSecurityGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityGatewayResult>; /** * A collection of arguments for invoking getSecurityGateway. */ export interface GetSecurityGatewayOutputArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input<string>; /** * The name of the Security Gateway resource. * * - - - */ securityGatewayId: pulumi.Input<string>; }