import * as pulumi from "@pulumi/pulumi"; /** * Sets a MySQL Flexible Server Configuration value on a MySQL Flexible Server. * * ## Disclaimers * * > **Note:** Since this resource is provisioned by default, the Azure Provider will not check for the presence of an existing resource prior to attempting to create it. * * ## 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 exampleFlexibleServer = new azure.mysql.FlexibleServer("example", { * name: "example-fs", * resourceGroupName: example.name, * location: example.location, * administratorLogin: "adminTerraform", * administratorPassword: "H@Sh1CoR3!", * skuName: "GP_Standard_D2ds_v4", * }); * const exampleFlexibleServerConfiguration = new azure.mysql.FlexibleServerConfiguration("example", { * name: "interactive_timeout", * resourceGroupName: example.name, * serverName: exampleFlexibleServer.name, * value: "600", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DBforMySQL` - 2023-12-30 * * ## Import * * MySQL Flexible Server Configurations can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:mysql/flexibleServerConfiguration:FlexibleServerConfiguration interactive_timeout /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/configurations/interactive_timeout * ``` */ export declare class FlexibleServerConfiguration extends pulumi.CustomResource { /** * Get an existing FlexibleServerConfiguration 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?: FlexibleServerConfigurationState, opts?: pulumi.CustomResourceOptions): FlexibleServerConfiguration; /** * Returns true if the given object is an instance of FlexibleServerConfiguration. 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 FlexibleServerConfiguration; /** * Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. */ readonly serverName: pulumi.Output; /** * Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. */ readonly value: pulumi.Output; /** * Create a FlexibleServerConfiguration 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: FlexibleServerConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FlexibleServerConfiguration resources. */ export interface FlexibleServerConfigurationState { /** * Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. */ serverName?: pulumi.Input; /** * Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. */ value?: pulumi.Input; } /** * The set of arguments for constructing a FlexibleServerConfiguration resource. */ export interface FlexibleServerConfigurationArgs { /** * Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. */ serverName: pulumi.Input; /** * Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. */ value: pulumi.Input; }