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-08-01. In version 2.x of the Azure Native provider, it used API version 2022-12-01.
 *
 * Other available API versions: 2022-12-01, 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbforpostgresql [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>;
    /**
     * AuthConfig properties of a server.
     */
    readonly authConfig: pulumi.Output<outputs.dbforpostgresql.AuthConfigResponse | 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 properties of a server.
     */
    readonly backup: pulumi.Output<outputs.dbforpostgresql.BackupResponse | undefined>;
    /**
     * Data encryption properties of a server.
     */
    readonly dataEncryption: pulumi.Output<outputs.dbforpostgresql.DataEncryptionResponse | undefined>;
    /**
     * The fully qualified domain name of a server.
     */
    readonly fullyQualifiedDomainName: pulumi.Output<string>;
    /**
     * High availability properties of a server.
     */
    readonly highAvailability: pulumi.Output<outputs.dbforpostgresql.HighAvailabilityResponse | undefined>;
    /**
     * Describes the identity of the application.
     */
    readonly identity: pulumi.Output<outputs.dbforpostgresql.UserAssignedIdentityResponse | undefined>;
    /**
     * The geo-location where the resource lives
     */
    readonly location: pulumi.Output<string>;
    /**
     * Maintenance window properties of a server.
     */
    readonly maintenanceWindow: pulumi.Output<outputs.dbforpostgresql.MaintenanceWindowResponse | undefined>;
    /**
     * The minor version of the server.
     */
    readonly minorVersion: pulumi.Output<string>;
    /**
     * The name of the resource
     */
    readonly name: pulumi.Output<string>;
    /**
     * Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.
     */
    readonly network: pulumi.Output<outputs.dbforpostgresql.NetworkResponse | undefined>;
    /**
     * List of private endpoint connections associated with the specified resource.
     */
    readonly privateEndpointConnections: pulumi.Output<outputs.dbforpostgresql.PrivateEndpointConnectionResponse[]>;
    /**
     * Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.
     */
    readonly replica: pulumi.Output<outputs.dbforpostgresql.ReplicaResponse | undefined>;
    /**
     * Replicas allowed for a server.
     */
    readonly replicaCapacity: pulumi.Output<number>;
    /**
     * Replication role of the server
     */
    readonly replicationRole: pulumi.Output<string | undefined>;
    /**
     * The SKU (pricing tier) of the server.
     */
    readonly sku: pulumi.Output<outputs.dbforpostgresql.SkuResponse | undefined>;
    /**
     * The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server
     */
    readonly sourceServerResourceId: pulumi.Output<string | undefined>;
    /**
     * A state of a server that is visible to user.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Storage properties of a server.
     */
    readonly storage: pulumi.Output<outputs.dbforpostgresql.StorageResponse | undefined>;
    /**
     * Azure Resource Manager metadata containing createdBy and modifiedBy information.
     */
    readonly systemData: pulumi.Output<outputs.dbforpostgresql.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>;
    /**
     * PostgreSQL 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 administrator login password (required for server creation).
     */
    administratorLoginPassword?: pulumi.Input<string>;
    /**
     * AuthConfig properties of a server.
     */
    authConfig?: pulumi.Input<inputs.dbforpostgresql.AuthConfigArgs>;
    /**
     * availability zone information of the server.
     */
    availabilityZone?: pulumi.Input<string>;
    /**
     * Backup properties of a server.
     */
    backup?: pulumi.Input<inputs.dbforpostgresql.BackupArgs>;
    /**
     * The mode to create a new PostgreSQL server.
     */
    createMode?: pulumi.Input<string | enums.dbforpostgresql.CreateMode>;
    /**
     * Data encryption properties of a server.
     */
    dataEncryption?: pulumi.Input<inputs.dbforpostgresql.DataEncryptionArgs>;
    /**
     * High availability properties of a server.
     */
    highAvailability?: pulumi.Input<inputs.dbforpostgresql.HighAvailabilityArgs>;
    /**
     * Describes the identity of the application.
     */
    identity?: pulumi.Input<inputs.dbforpostgresql.UserAssignedIdentityArgs>;
    /**
     * The geo-location where the resource lives
     */
    location?: pulumi.Input<string>;
    /**
     * Maintenance window properties of a server.
     */
    maintenanceWindow?: pulumi.Input<inputs.dbforpostgresql.MaintenanceWindowArgs>;
    /**
     * Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.
     */
    network?: pulumi.Input<inputs.dbforpostgresql.NetworkArgs>;
    /**
     * Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'.
     */
    pointInTimeUTC?: pulumi.Input<string>;
    /**
     * Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.
     */
    replica?: pulumi.Input<inputs.dbforpostgresql.ReplicaArgs>;
    /**
     * Replication role of the server
     */
    replicationRole?: pulumi.Input<string | enums.dbforpostgresql.ReplicationRole>;
    /**
     * The name of the resource group. The name is case insensitive.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The name of the server.
     */
    serverName?: pulumi.Input<string>;
    /**
     * The SKU (pricing tier) of the server.
     */
    sku?: pulumi.Input<inputs.dbforpostgresql.SkuArgs>;
    /**
     * The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server
     */
    sourceServerResourceId?: pulumi.Input<string>;
    /**
     * Storage properties of a server.
     */
    storage?: pulumi.Input<inputs.dbforpostgresql.StorageArgs>;
    /**
     * Resource tags.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    }>;
    /**
     * PostgreSQL Server version.
     */
    version?: pulumi.Input<string | enums.dbforpostgresql.ServerVersion>;
}
