@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
78 lines • 2.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Identity-Aware Proxy Client.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.iap.getClient({
* brand: projectClient.brand,
* clientId: projectClient.clientId,
* });
* ```
*/
export declare function getClient(args: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>;
/**
* A collection of arguments for invoking getClient.
*/
export interface GetClientArgs {
/**
* Identifier of the brand to which this client
* is attached to. The format is
* `projects/{project_number}/brands/{brand_id}`.
*/
brand: string;
/**
* Output only. Unique identifier of the OAuth client.
*/
clientId: string;
}
/**
* A collection of values returned by getClient.
*/
export interface GetClientResult {
readonly brand: string;
readonly clientId: string;
readonly deletionPolicy: string;
readonly displayName: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly secret: string;
}
/**
* Get information about a Identity-Aware Proxy Client.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.iap.getClient({
* brand: projectClient.brand,
* clientId: projectClient.clientId,
* });
* ```
*/
export declare function getClientOutput(args: GetClientOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClientResult>;
/**
* A collection of arguments for invoking getClient.
*/
export interface GetClientOutputArgs {
/**
* Identifier of the brand to which this client
* is attached to. The format is
* `projects/{project_number}/brands/{brand_id}`.
*/
brand: pulumi.Input<string>;
/**
* Output only. Unique identifier of the OAuth client.
*/
clientId: pulumi.Input<string>;
}
//# sourceMappingURL=getClient.d.ts.map