import * as pulumi from "@pulumi/pulumi"; /** * Manages an API Management Google Identity Provider. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleService = new azure.apimanagement.Service("example", { * name: "example-apim", * location: example.location, * resourceGroupName: example.name, * publisherName: "My Company", * publisherEmail: "company@mycompany.io", * skuName: "Developer_1", * }); * const exampleIdentityProviderGoogle = new azure.apimanagement.IdentityProviderGoogle("example", { * resourceGroupName: example.name, * apiManagementName: exampleService.name, * clientId: "00000000.apps.googleusercontent.com", * clientSecret: "00000000000000000000000000000000", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 * * ## Import * * API Management Google Identity Provider can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:apimanagement/identityProviderGoogle:IdentityProviderGoogle example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/identityProviders/google * ``` */ export declare class IdentityProviderGoogle extends pulumi.CustomResource { /** * Get an existing IdentityProviderGoogle 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?: IdentityProviderGoogleState, opts?: pulumi.CustomResourceOptions): IdentityProviderGoogle; /** * Returns true if the given object is an instance of IdentityProviderGoogle. 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 IdentityProviderGoogle; /** * The Name of the API Management Service where this Google Identity Provider should be created. Changing this forces a new resource to be created. */ readonly apiManagementName: pulumi.Output; /** * Client Id for Google Sign-in. */ readonly clientId: pulumi.Output; /** * Client secret for Google Sign-in. */ readonly clientSecret: pulumi.Output; /** * The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a IdentityProviderGoogle 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: IdentityProviderGoogleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdentityProviderGoogle resources. */ export interface IdentityProviderGoogleState { /** * The Name of the API Management Service where this Google Identity Provider should be created. Changing this forces a new resource to be created. */ apiManagementName?: pulumi.Input; /** * Client Id for Google Sign-in. */ clientId?: pulumi.Input; /** * Client secret for Google Sign-in. */ clientSecret?: pulumi.Input; /** * The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a IdentityProviderGoogle resource. */ export interface IdentityProviderGoogleArgs { /** * The Name of the API Management Service where this Google Identity Provider should be created. Changing this forces a new resource to be created. */ apiManagementName: pulumi.Input; /** * Client Id for Google Sign-in. */ clientId: pulumi.Input; /** * Client secret for Google Sign-in. */ clientSecret: pulumi.Input; /** * The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; }