import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Nginx Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.nginx.getConfiguration({ * nginxDeploymentId: exampleAzurermNginxDeployment.id, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Nginx.NginxPlus` - 2024-11-01-preview */ export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConfiguration. */ export interface GetConfigurationArgs { /** * The ID of the Nginx Deployment. */ nginxDeploymentId: string; } /** * A collection of values returned by getConfiguration. */ export interface GetConfigurationResult { /** * A `configFile` block as defined below. */ readonly configFiles: outputs.nginx.GetConfigurationConfigFile[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nginxDeploymentId: string; /** * The package data for this configuration. */ readonly packageData: string; /** * A `protectedFile` block as defined below. */ readonly protectedFiles: outputs.nginx.GetConfigurationProtectedFile[]; /** * The root file path of this Nginx Configuration. */ readonly rootFile: string; } /** * Use this data source to access information about an existing Nginx Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.nginx.getConfiguration({ * nginxDeploymentId: exampleAzurermNginxDeployment.id, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Nginx.NginxPlus` - 2024-11-01-preview */ export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConfiguration. */ export interface GetConfigurationOutputArgs { /** * The ID of the Nginx Deployment. */ nginxDeploymentId: pulumi.Input; }