import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Azure SQL Azure Managed Database. * * ## Example Usage * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Sql` - 2023-08-01-preview */ export declare function getManagedDatabase(args: GetManagedDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseArgs { /** * The SQL Managed Instance ID. */ managedInstanceId: string; /** * The name of this Azure SQL Azure Managed Database. */ name: string; } /** * A collection of values returned by getManagedDatabase. */ export interface GetManagedDatabaseResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `longTermRetentionPolicy` block as defined below. */ readonly longTermRetentionPolicies: outputs.mssql.GetManagedDatabaseLongTermRetentionPolicy[]; readonly managedInstanceId: string; /** * The name of the Managed Instance. */ readonly managedInstanceName: string; readonly name: string; /** * A `pointInTimeRestore` block as defined below. */ readonly pointInTimeRestores: outputs.mssql.GetManagedDatabasePointInTimeRestore[]; /** * The name of the Resource Group where the Azure SQL Azure Managed Instance exists. */ readonly resourceGroupName: string; /** * The backup retention period in days. This is how many days Point-in-Time Restore will be supported. */ readonly shortTermRetentionDays: number; } /** * Use this data source to access information about an existing Azure SQL Azure Managed Database. * * ## Example Usage * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Sql` - 2023-08-01-preview */ export declare function getManagedDatabaseOutput(args: GetManagedDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseOutputArgs { /** * The SQL Managed Instance ID. */ managedInstanceId: pulumi.Input; /** * The name of this Azure SQL Azure Managed Database. */ name: pulumi.Input; }