import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Container App Environment Storage. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerapp.getEnvironment({ * name: "existing-environment", * resourceGroupName: "existing-resources", * }); * const exampleGetEnvironmentStorage = example.then(example => azure.containerapp.getEnvironmentStorage({ * name: "existing-storage", * containerAppEnvironmentId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.App` - 2025-07-01 */ export declare function getEnvironmentStorage(args: GetEnvironmentStorageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEnvironmentStorage. */ export interface GetEnvironmentStorageArgs { /** * The ID of the Container App Environment to which this storage belongs. */ containerAppEnvironmentId: string; /** * The name of the Container App Environment Storage. */ name: string; } /** * A collection of values returned by getEnvironmentStorage. */ export interface GetEnvironmentStorageResult { /** * The access mode to connect this storage to the Container App. */ readonly accessMode: string; /** * The Azure Storage Account in which the Share is located. */ readonly accountName: string; readonly containerAppEnvironmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * The NFS server URL for the Azure File Share. */ readonly nfsServerUrl: string; /** * The name of the Azure Storage Share. */ readonly shareName: string; } /** * Use this data source to access information about an existing Container App Environment Storage. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerapp.getEnvironment({ * name: "existing-environment", * resourceGroupName: "existing-resources", * }); * const exampleGetEnvironmentStorage = example.then(example => azure.containerapp.getEnvironmentStorage({ * name: "existing-storage", * containerAppEnvironmentId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.App` - 2025-07-01 */ export declare function getEnvironmentStorageOutput(args: GetEnvironmentStorageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEnvironmentStorage. */ export interface GetEnvironmentStorageOutputArgs { /** * The ID of the Container App Environment to which this storage belongs. */ containerAppEnvironmentId: pulumi.Input; /** * The name of the Container App Environment Storage. */ name: pulumi.Input; }