import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about existing Public Maintenance Configurations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.maintenance.getPublicConfigurations({ * location: "West Europe", * scope: "SQLManagedInstance", * recurEvery: "Monday-Thursday", * }); * export const name = existing.then(existing => existing.configs?.[0]?.name); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Maintenance` - 2023-04-01 */ export declare function getPublicConfigurations(args?: GetPublicConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPublicConfigurations. */ export interface GetPublicConfigurationsArgs { /** * The Azure location to filter the list of Public Maintenance Configurations against. */ location?: string; /** * The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday` */ recurEvery?: string; /** * The scope to filter the list of Public Maintenance Configurations against. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` and `SQLManagedInstance`. */ scope?: string; } /** * A collection of values returned by getPublicConfigurations. */ export interface GetPublicConfigurationsResult { /** * A `configs` block as defined below. */ readonly configs: outputs.maintenance.GetPublicConfigurationsConfig[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure location of the Public Maintenance Configuration. */ readonly location?: string; /** * The rate at which a maintenance window is expected to recur. */ readonly recurEvery?: string; readonly scope?: string; } /** * Use this data source to access information about existing Public Maintenance Configurations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const existing = azure.maintenance.getPublicConfigurations({ * location: "West Europe", * scope: "SQLManagedInstance", * recurEvery: "Monday-Thursday", * }); * export const name = existing.then(existing => existing.configs?.[0]?.name); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Maintenance` - 2023-04-01 */ export declare function getPublicConfigurationsOutput(args?: GetPublicConfigurationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPublicConfigurations. */ export interface GetPublicConfigurationsOutputArgs { /** * The Azure location to filter the list of Public Maintenance Configurations against. */ location?: pulumi.Input; /** * The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday` */ recurEvery?: pulumi.Input; /** * The scope to filter the list of Public Maintenance Configurations against. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` and `SQLManagedInstance`. */ scope?: pulumi.Input; }