import * as pulumi from "@pulumi/pulumi"; /** * Manages a Spring Cloud Storage. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudStorage` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "example", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "GRS", * }); * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * }); * const exampleSpringCloudStorage = new azure.appplatform.SpringCloudStorage("example", { * name: "example", * springCloudServiceId: exampleSpringCloudService.id, * storageAccountName: exampleAccount.name, * storageAccountKey: exampleAccount.primaryAccessKey, * }); * ``` * * ## Import * * Spring Cloud Storages can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudStorage:SpringCloudStorage example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/spring/service1/storages/storage1 * ``` */ export declare class SpringCloudStorage extends pulumi.CustomResource { /** * Get an existing SpringCloudStorage resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SpringCloudStorageState, opts?: pulumi.CustomResourceOptions): SpringCloudStorage; /** * Returns true if the given object is an instance of SpringCloudStorage. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SpringCloudStorage; /** * The name which should be used for this Spring Cloud Storage. Changing this forces a new Spring Cloud Storage to be created. */ readonly name: pulumi.Output; /** * The ID of the Spring Cloud Service where the Spring Cloud Storage should exist. Changing this forces a new Spring Cloud Storage to be created. */ readonly springCloudServiceId: pulumi.Output; /** * The access key of the Azure Storage Account. */ readonly storageAccountKey: pulumi.Output; /** * The account name of the Azure Storage Account. */ readonly storageAccountName: pulumi.Output; /** * Create a SpringCloudStorage resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SpringCloudStorageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudStorage resources. */ export interface SpringCloudStorageState { /** * The name which should be used for this Spring Cloud Storage. Changing this forces a new Spring Cloud Storage to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Service where the Spring Cloud Storage should exist. Changing this forces a new Spring Cloud Storage to be created. */ springCloudServiceId?: pulumi.Input; /** * The access key of the Azure Storage Account. */ storageAccountKey?: pulumi.Input; /** * The account name of the Azure Storage Account. */ storageAccountName?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudStorage resource. */ export interface SpringCloudStorageArgs { /** * The name which should be used for this Spring Cloud Storage. Changing this forces a new Spring Cloud Storage to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Service where the Spring Cloud Storage should exist. Changing this forces a new Spring Cloud Storage to be created. */ springCloudServiceId: pulumi.Input; /** * The access key of the Azure Storage Account. */ storageAccountKey: pulumi.Input; /** * The account name of the Azure Storage Account. */ storageAccountName: pulumi.Input; }