import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Microsoft SQL Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.mssql.getServer({ * name: "existingMsSqlServer", * resourceGroupName: "existingResGroup", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Sql` - 2023-08-01-preview */ export declare function getServer(args: GetServerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServer. */ export interface GetServerArgs { /** * The name of this Microsoft SQL Server. */ name: string; /** * The name of the Resource Group where the Microsoft SQL Server exists. */ resourceGroupName: string; } /** * A collection of values returned by getServer. */ export interface GetServerResult { /** * The administrator login name of the Microsoft SQL Server. */ readonly administratorLogin: string; /** * Whether the Express Vulnerability Assessment Configuration is enabled. */ readonly expressVulnerabilityAssessmentEnabled: boolean; /** * The fully qualified domain name of the Microsoft SQL Server. */ readonly fullyQualifiedDomainName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.mssql.GetServerIdentity[]; /** * The Azure Region where the Microsoft SQL Server exists. */ readonly location: string; readonly name: string; readonly resourceGroupName: string; /** * A list of dropped restorable database IDs on the Microsoft SQL Server. */ readonly restorableDroppedDatabaseIds: string[]; /** * A mapping of tags assigned to this Microsoft SQL Server. */ readonly tags: { [key: string]: string; }; /** * The Key Vault Key URI to be used as the `Customer Managed Key` (CMK/BYOK) for the `Transparent Data Encryption` (TDE) layer. */ readonly transparentDataEncryptionKeyVaultKeyId: string; /** * The version of the Microsoft SQL Server. */ readonly version: string; } /** * Use this data source to access information about an existing Microsoft SQL Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.mssql.getServer({ * name: "existingMsSqlServer", * resourceGroupName: "existingResGroup", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Sql` - 2023-08-01-preview */ export declare function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServer. */ export interface GetServerOutputArgs { /** * The name of this Microsoft SQL Server. */ name: pulumi.Input; /** * The name of the Resource Group where the Microsoft SQL Server exists. */ resourceGroupName: pulumi.Input; }