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, 2025-06-01-preview, 2025-12-01-preview. 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, 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; /** * availability Zone information of the server. */ readonly availabilityZone: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * Backup related properties of a server. */ readonly backup: pulumi.Output; /** * The Data Encryption for CMK. */ readonly dataEncryption: pulumi.Output; /** * The fully qualified domain name of a server. */ readonly fullyQualifiedDomainName: pulumi.Output; /** * High availability related properties of a server. */ readonly highAvailability: pulumi.Output; /** * The cmk identity for the server. */ readonly identity: pulumi.Output; /** * Source properties for import from storage. */ readonly importSourceProperties: pulumi.Output; /** * The geo-location where the resource lives */ readonly location: pulumi.Output; /** * Maintenance window of a server. */ readonly maintenanceWindow: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * Network related properties of a server. */ readonly network: pulumi.Output; /** * PrivateEndpointConnections related properties of a server. */ readonly privateEndpointConnections: pulumi.Output; /** * The maximum number of replicas that a primary server can have. */ readonly replicaCapacity: pulumi.Output; /** * The replication role. */ readonly replicationRole: pulumi.Output; /** * The SKU (pricing tier) of the server. */ readonly sku: pulumi.Output; /** * The source MySQL server id. */ readonly sourceServerResourceId: pulumi.Output; /** * The state of a server. */ readonly state: pulumi.Output; /** * Storage related properties of a server. */ readonly storage: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * 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; /** * Server version. */ readonly version: pulumi.Output; /** * 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; /** * The password of the administrator login (required for server creation). */ administratorLoginPassword?: pulumi.Input; /** * availability Zone information of the server. */ availabilityZone?: pulumi.Input; /** * Backup related properties of a server. */ backup?: pulumi.Input; /** * The mode to create a new MySQL server. */ createMode?: pulumi.Input; /** * The Data Encryption for CMK. */ dataEncryption?: pulumi.Input; /** * High availability related properties of a server. */ highAvailability?: pulumi.Input; /** * The cmk identity for the server. */ identity?: pulumi.Input; /** * Source properties for import from storage. */ importSourceProperties?: pulumi.Input; /** * The geo-location where the resource lives */ location?: pulumi.Input; /** * Maintenance window of a server. */ maintenanceWindow?: pulumi.Input; /** * Network related properties of a server. */ network?: pulumi.Input; /** * The replication role. */ replicationRole?: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Restore point creation time (ISO8601 format), specifying the time to restore from. */ restorePointInTime?: pulumi.Input; /** * The name of the server. */ serverName?: pulumi.Input; /** * The SKU (pricing tier) of the server. */ sku?: pulumi.Input; /** * The source MySQL server id. */ sourceServerResourceId?: pulumi.Input; /** * Storage related properties of a server. */ storage?: pulumi.Input; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Server version. */ version?: pulumi.Input; } //# sourceMappingURL=server.d.ts.map