import * as pulumi from "@pulumi/pulumi"; /** * Configurations options for the tenant 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 Tenant Default Supported Idp Config Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const tenant = new gcp.identityplatform.Tenant("tenant", {displayName: "tenant"}); * const idpConfig = new gcp.identityplatform.TenantDefaultSupportedIdpConfig("idp_config", { * enabled: true, * tenant: tenant.name, * idpId: "playgames.google.com", * clientId: "my-client-id", * clientSecret: "secret", * }); * ``` * * ## Import * * TenantDefaultSupportedIdpConfig can be imported using any of these accepted formats: * * * `projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}}` * * * `{{project}}/{{tenant}}/{{idp_id}}` * * * `{{tenant}}/{{idp_id}}` * * When using the `pulumi import` command, TenantDefaultSupportedIdpConfig can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}} * ``` * * ```sh * $ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default {{project}}/{{tenant}}/{{idp_id}} * ``` * * ```sh * $ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default {{tenant}}/{{idp_id}} * ``` */ export declare class TenantDefaultSupportedIdpConfig extends pulumi.CustomResource { /** * Get an existing TenantDefaultSupportedIdpConfig 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?: TenantDefaultSupportedIdpConfigState, opts?: pulumi.CustomResourceOptions): TenantDefaultSupportedIdpConfig; /** * Returns true if the given object is an instance of TenantDefaultSupportedIdpConfig. 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 TenantDefaultSupportedIdpConfig; /** * 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 default supported IDP config 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; /** * The name of the tenant where this DefaultSupportedIdpConfig resource exists */ readonly tenant: pulumi.Output; /** * Create a TenantDefaultSupportedIdpConfig 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: TenantDefaultSupportedIdpConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TenantDefaultSupportedIdpConfig resources. */ export interface TenantDefaultSupportedIdpConfigState { /** * 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 default supported IDP config 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 name of the tenant where this DefaultSupportedIdpConfig resource exists */ tenant?: pulumi.Input; } /** * The set of arguments for constructing a TenantDefaultSupportedIdpConfig resource. */ export interface TenantDefaultSupportedIdpConfigArgs { /** * 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; /** * The name of the tenant where this DefaultSupportedIdpConfig resource exists */ tenant: pulumi.Input; }