import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Properties of a server. * * Uses Azure REST API version 2025-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-08-01, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview, 2026-01-01-preview, 2026-04-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, 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; /** * Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. */ readonly administratorLogin: pulumi.Output; /** * Authentication configuration properties of a server. */ readonly authConfig: pulumi.Output; /** * Availability zone of a server. */ readonly availabilityZone: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * Backup properties of a server. */ readonly backup: pulumi.Output; /** * Cluster properties of a server. */ readonly cluster: pulumi.Output; /** * Data encryption properties of a server. */ readonly dataEncryption: pulumi.Output; /** * Fully qualified domain name of a server. */ readonly fullyQualifiedDomainName: pulumi.Output; /** * High availability properties of a server. */ readonly highAvailability: pulumi.Output; /** * User assigned managed identities assigned to the server. */ readonly identity: pulumi.Output; /** * The geo-location where the resource lives */ readonly location: pulumi.Output; /** * Maintenance window properties of a server. */ readonly maintenanceWindow: pulumi.Output; /** * Minor version of PostgreSQL database engine. */ readonly minorVersion: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer. */ readonly network: pulumi.Output; /** * List of private endpoint connections associated with the specified server. */ readonly privateEndpointConnections: pulumi.Output; /** * Read replica properties of a server. Required only in case that you want to promote a server. */ readonly replica: pulumi.Output; /** * Maximum number of read replicas allowed for a server. */ readonly replicaCapacity: pulumi.Output; /** * Role of the server in a replication set. */ readonly replicationRole: pulumi.Output; /** * Compute tier and size of a server. */ readonly sku: pulumi.Output; /** * Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica. */ readonly sourceServerResourceId: pulumi.Output; /** * Possible states of a server. */ readonly state: pulumi.Output; /** * Storage 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; /** * Major version of PostgreSQL database engine. */ 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 { /** * Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. */ administratorLogin?: pulumi.Input; /** * Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. */ administratorLoginPassword?: pulumi.Input; /** * Authentication configuration properties of a server. */ authConfig?: pulumi.Input; /** * Availability zone of a server. */ availabilityZone?: pulumi.Input; /** * Backup properties of a server. */ backup?: pulumi.Input; /** * Cluster properties of a server. */ cluster?: pulumi.Input; /** * Creation mode of a new server. */ createMode?: pulumi.Input; /** * Data encryption properties of a server. */ dataEncryption?: pulumi.Input; /** * High availability properties of a server. */ highAvailability?: pulumi.Input; /** * User assigned managed identities assigned to the server. */ identity?: pulumi.Input; /** * The geo-location where the resource lives */ location?: pulumi.Input; /** * Maintenance window properties of a server. */ maintenanceWindow?: pulumi.Input; /** * Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer. */ network?: pulumi.Input; /** * Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. */ pointInTimeUTC?: pulumi.Input; /** * Read replica properties of a server. Required only in case that you want to promote a server. */ replica?: pulumi.Input; /** * Role of the server in a replication set. */ replicationRole?: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of the server. */ serverName?: pulumi.Input; /** * Compute tier and size of a server. */ sku?: pulumi.Input; /** * Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica. */ sourceServerResourceId?: pulumi.Input; /** * Storage properties of a server. */ storage?: pulumi.Input; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Major version of PostgreSQL database engine. */ version?: pulumi.Input; } //# sourceMappingURL=server.d.ts.map