import * as pulumi from "@pulumi/pulumi"; /** * Manages an API Management Facebook 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 exampleIdentityProviderFacebook = new azure.apimanagement.IdentityProviderFacebook("example", { * resourceGroupName: example.name, * apiManagementName: exampleService.name, * appId: "00000000000000000000000000000000", * appSecret: "00000000000000000000000000000000", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 * * ## Import * * API Management Facebook Identity Provider can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:apimanagement/identityProviderFacebook:IdentityProviderFacebook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/identityProviders/facebook * ``` */ export declare class IdentityProviderFacebook extends pulumi.CustomResource { /** * Get an existing IdentityProviderFacebook 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?: IdentityProviderFacebookState, opts?: pulumi.CustomResourceOptions): IdentityProviderFacebook; /** * Returns true if the given object is an instance of IdentityProviderFacebook. 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 IdentityProviderFacebook; /** * The Name of the API Management Service where this Facebook Identity Provider should be created. Changing this forces a new resource to be created. */ readonly apiManagementName: pulumi.Output; /** * App ID for Facebook. */ readonly appId: pulumi.Output; /** * App Secret for Facebook. */ readonly appSecret: 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 IdentityProviderFacebook 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: IdentityProviderFacebookArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdentityProviderFacebook resources. */ export interface IdentityProviderFacebookState { /** * The Name of the API Management Service where this Facebook Identity Provider should be created. Changing this forces a new resource to be created. */ apiManagementName?: pulumi.Input; /** * App ID for Facebook. */ appId?: pulumi.Input; /** * App Secret for Facebook. */ appSecret?: 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 IdentityProviderFacebook resource. */ export interface IdentityProviderFacebookArgs { /** * The Name of the API Management Service where this Facebook Identity Provider should be created. Changing this forces a new resource to be created. */ apiManagementName: pulumi.Input; /** * App ID for Facebook. */ appId: pulumi.Input; /** * App Secret for Facebook. */ appSecret: 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; }