import * as pulumi from "@pulumi/pulumi"; /** * Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs. * * You must enable the * [Google Identity Platform](https://console.cloud.google.com/marketplace/details/google-cloud-platform/customer-identity) in * the marketplace prior to using this resource. * * ## Example Usage * * ### Identity Platform Default Supported Idp Config Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const idpConfig = new gcp.identityplatform.DefaultSupportedIdpConfig("idp_config", { * enabled: true, * idpId: "playgames.google.com", * clientId: "client-id", * clientSecret: "secret", * }); * ``` * * ## Import * * DefaultSupportedIdpConfig can be imported using any of these accepted formats: * * * `projects/{{project}}/defaultSupportedIdpConfigs/{{idp_id}}` * * * `{{project}}/{{idp_id}}` * * * `{{idp_id}}` * * When using the `pulumi import` command, DefaultSupportedIdpConfig can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default projects/{{project}}/defaultSupportedIdpConfigs/{{idp_id}} * ``` * * ```sh * $ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default {{project}}/{{idp_id}} * ``` * * ```sh * $ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default {{idp_id}} * ``` */ export declare class DefaultSupportedIdpConfig extends pulumi.CustomResource { /** * Get an existing DefaultSupportedIdpConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DefaultSupportedIdpConfigState, opts?: pulumi.CustomResourceOptions): DefaultSupportedIdpConfig; /** * Returns true if the given object is an instance of DefaultSupportedIdpConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DefaultSupportedIdpConfig; /** * OAuth client ID */ readonly clientId: pulumi.Output; /** * OAuth client secret */ readonly clientSecret: pulumi.Output; /** * If this IDP allows the user to sign in */ readonly enabled: pulumi.Output; /** * ID of the IDP. Possible values include: * * `apple.com` * * `facebook.com` * * `gc.apple.com` * * `github.com` * * `google.com` * * `linkedin.com` * * `microsoft.com` * * `playgames.google.com` * * `twitter.com` * * `yahoo.com` */ readonly idpId: pulumi.Output; /** * The name of the DefaultSupportedIdpConfig resource */ readonly name: pulumi.Output; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ readonly project: pulumi.Output; /** * Create a DefaultSupportedIdpConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DefaultSupportedIdpConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DefaultSupportedIdpConfig resources. */ export interface DefaultSupportedIdpConfigState { /** * OAuth client ID */ clientId?: pulumi.Input; /** * OAuth client secret */ clientSecret?: pulumi.Input; /** * If this IDP allows the user to sign in */ enabled?: pulumi.Input; /** * ID of the IDP. Possible values include: * * `apple.com` * * `facebook.com` * * `gc.apple.com` * * `github.com` * * `google.com` * * `linkedin.com` * * `microsoft.com` * * `playgames.google.com` * * `twitter.com` * * `yahoo.com` */ idpId?: pulumi.Input; /** * The name of the DefaultSupportedIdpConfig resource */ name?: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; } /** * The set of arguments for constructing a DefaultSupportedIdpConfig resource. */ export interface DefaultSupportedIdpConfigArgs { /** * OAuth client ID */ clientId: pulumi.Input; /** * OAuth client secret */ clientSecret: pulumi.Input; /** * If this IDP allows the user to sign in */ enabled?: pulumi.Input; /** * ID of the IDP. Possible values include: * * `apple.com` * * `facebook.com` * * `gc.apple.com` * * `github.com` * * `google.com` * * `linkedin.com` * * `microsoft.com` * * `playgames.google.com` * * `twitter.com` * * `yahoo.com` */ idpId: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; }