import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
 * Represents a server.
 *
 * Uses Azure REST API version 2024-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-01-01.
 *
 * Other available API versions: 2022-01-01, 2022-09-30-preview, 2023-06-01-preview, 2023-06-30, 2023-10-01-preview, 2023-12-01-preview, 2023-12-30, 2024-06-01-preview, 2024-10-01-preview, 2024-12-01-preview, 2024-12-30. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbformysql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
export declare class Server extends pulumi.CustomResource {
    /**
     * Get an existing Server 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 opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Server;
    /**
     * Returns true if the given object is an instance of Server.  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 Server;
    /**
     * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
     */
    readonly administratorLogin: pulumi.Output<string | undefined>;
    /**
     * availability Zone information of the server.
     */
    readonly availabilityZone: pulumi.Output<string | undefined>;
    /**
     * The Azure API version of the resource.
     */
    readonly azureApiVersion: pulumi.Output<string>;
    /**
     * Backup related properties of a server.
     */
    readonly backup: pulumi.Output<outputs.dbformysql.BackupResponse | undefined>;
    /**
     * The Data Encryption for CMK.
     */
    readonly dataEncryption: pulumi.Output<outputs.dbformysql.DataEncryptionResponse | undefined>;
    /**
     * The fully qualified domain name of a server.
     */
    readonly fullyQualifiedDomainName: pulumi.Output<string>;
    /**
     * High availability related properties of a server.
     */
    readonly highAvailability: pulumi.Output<outputs.dbformysql.HighAvailabilityResponse | undefined>;
    /**
     * The cmk identity for the server.
     */
    readonly identity: pulumi.Output<outputs.dbformysql.MySQLServerIdentityResponse | undefined>;
    /**
     * Source properties for import from storage.
     */
    readonly importSourceProperties: pulumi.Output<outputs.dbformysql.ImportSourcePropertiesResponse | undefined>;
    /**
     * The geo-location where the resource lives
     */
    readonly location: pulumi.Output<string>;
    /**
     * Maintenance window of a server.
     */
    readonly maintenanceWindow: pulumi.Output<outputs.dbformysql.MaintenanceWindowResponse | undefined>;
    /**
     * The name of the resource
     */
    readonly name: pulumi.Output<string>;
    /**
     * Network related properties of a server.
     */
    readonly network: pulumi.Output<outputs.dbformysql.NetworkResponse | undefined>;
    /**
     * PrivateEndpointConnections related properties of a server.
     */
    readonly privateEndpointConnections: pulumi.Output<outputs.dbformysql.PrivateEndpointConnectionResponse[]>;
    /**
     * The maximum number of replicas that a primary server can have.
     */
    readonly replicaCapacity: pulumi.Output<number>;
    /**
     * The replication role.
     */
    readonly replicationRole: pulumi.Output<string | undefined>;
    /**
     * The SKU (pricing tier) of the server.
     */
    readonly sku: pulumi.Output<outputs.dbformysql.MySQLServerSkuResponse | undefined>;
    /**
     * The source MySQL server id.
     */
    readonly sourceServerResourceId: pulumi.Output<string | undefined>;
    /**
     * The state of a server.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Storage related properties of a server.
     */
    readonly storage: pulumi.Output<outputs.dbformysql.StorageResponse | undefined>;
    /**
     * Azure Resource Manager metadata containing createdBy and modifiedBy information.
     */
    readonly systemData: pulumi.Output<outputs.dbformysql.SystemDataResponse>;
    /**
     * Resource tags.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     */
    readonly type: pulumi.Output<string>;
    /**
     * Server version.
     */
    readonly version: pulumi.Output<string | undefined>;
    /**
     * Create a Server 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: ServerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * The set of arguments for constructing a Server resource.
 */
export interface ServerArgs {
    /**
     * The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
     */
    administratorLogin?: pulumi.Input<string>;
    /**
     * The password of the administrator login (required for server creation).
     */
    administratorLoginPassword?: pulumi.Input<string>;
    /**
     * availability Zone information of the server.
     */
    availabilityZone?: pulumi.Input<string>;
    /**
     * Backup related properties of a server.
     */
    backup?: pulumi.Input<inputs.dbformysql.BackupArgs>;
    /**
     * The mode to create a new MySQL server.
     */
    createMode?: pulumi.Input<string | enums.dbformysql.CreateMode>;
    /**
     * The Data Encryption for CMK.
     */
    dataEncryption?: pulumi.Input<inputs.dbformysql.DataEncryptionArgs>;
    /**
     * High availability related properties of a server.
     */
    highAvailability?: pulumi.Input<inputs.dbformysql.HighAvailabilityArgs>;
    /**
     * The cmk identity for the server.
     */
    identity?: pulumi.Input<inputs.dbformysql.MySQLServerIdentityArgs>;
    /**
     * Source properties for import from storage.
     */
    importSourceProperties?: pulumi.Input<inputs.dbformysql.ImportSourcePropertiesArgs>;
    /**
     * The geo-location where the resource lives
     */
    location?: pulumi.Input<string>;
    /**
     * Maintenance window of a server.
     */
    maintenanceWindow?: pulumi.Input<inputs.dbformysql.MaintenanceWindowArgs>;
    /**
     * Network related properties of a server.
     */
    network?: pulumi.Input<inputs.dbformysql.NetworkArgs>;
    /**
     * The replication role.
     */
    replicationRole?: pulumi.Input<string | enums.dbformysql.ReplicationRole>;
    /**
     * The name of the resource group. The name is case insensitive.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * Restore point creation time (ISO8601 format), specifying the time to restore from.
     */
    restorePointInTime?: pulumi.Input<string>;
    /**
     * The name of the server.
     */
    serverName?: pulumi.Input<string>;
    /**
     * The SKU (pricing tier) of the server.
     */
    sku?: pulumi.Input<inputs.dbformysql.MySQLServerSkuArgs>;
    /**
     * The source MySQL server id.
     */
    sourceServerResourceId?: pulumi.Input<string>;
    /**
     * Storage related properties of a server.
     */
    storage?: pulumi.Input<inputs.dbformysql.StorageArgs>;
    /**
     * Resource tags.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    }>;
    /**
     * Server version.
     */
    version?: pulumi.Input<string | enums.dbformysql.ServerVersion>;
}
