UNPKG

@pulumi/gcp

Version:

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

79 lines (78 loc) 2.04 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get info about a Google Cloud IAP Client. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const project = gcp.organizations.getProject({ * projectId: "foobar", * }); * const projectClient = project.then(project => gcp.iap.getClient({ * brand: `projects/${project.number}/brands/[BRAND_NUMBER]`, * clientId: apps.googleusercontent.com, * })); * ``` */ export declare function getClient(args: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>; /** * A collection of arguments for invoking getClient. */ export interface GetClientArgs { /** * The name of the brand. */ brand: string; /** * The clientId of the brand. */ clientId: string; } /** * A collection of values returned by getClient. */ export interface GetClientResult { readonly brand: string; readonly clientId: string; readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly secret: string; } /** * Get info about a Google Cloud IAP Client. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const project = gcp.organizations.getProject({ * projectId: "foobar", * }); * const projectClient = project.then(project => gcp.iap.getClient({ * brand: `projects/${project.number}/brands/[BRAND_NUMBER]`, * clientId: apps.googleusercontent.com, * })); * ``` */ export declare function getClientOutput(args: GetClientOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClientResult>; /** * A collection of arguments for invoking getClient. */ export interface GetClientOutputArgs { /** * The name of the brand. */ brand: pulumi.Input<string>; /** * The clientId of the brand. */ clientId: pulumi.Input<string>; }