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