import { ArmClient } from '../client/ArmClient.js'; /** * Processed SQL Server summary. */ export interface SqlServerSummary { id: string; name: string; resourceGroup: string; location: string; fullyQualifiedDomainName?: string; administratorLogin?: string; version?: string; state?: string; publicNetworkAccess?: string; minimalTlsVersion?: string; databases?: Array<{ name: string; status?: string; }>; } /** * Processed SQL Database summary. */ export interface SqlDatabaseSummary { id: string; name: string; serverName: string; resourceGroup: string; location: string; status?: string; sku?: { name: string; tier?: string; capacity?: number; }; maxSizeBytes?: number; maxSizeGB?: number; collation?: string; creationDate?: string; earliestRestoreDate?: string; zoneRedundant?: boolean; licenseType?: string; readScale?: string; } /** * Service for Azure SQL operations. */ export declare class SqlService { private client; constructor(client: ArmClient); /** * List all SQL Servers in the subscription or resource group. */ listSqlServers(options?: { resourceGroup?: string; }): Promise<{ servers: SqlServerSummary[]; summary: { total: number; byVersion: Record; byPublicAccess: Record; }; }>; /** * List all databases on a SQL Server. */ listSqlDatabases(options: { serverName: string; resourceGroup?: string; }): Promise<{ databases: SqlDatabaseSummary[]; summary: { total: number; byTier: Record; byStatus: Record; }; }>; /** * Process a SqlServer into a SqlServerSummary. */ private processSqlServer; /** * Process a SqlDatabase into a SqlDatabaseSummary. */ private processSqlDatabase; } //# sourceMappingURL=SqlService.d.ts.map