import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manage an Azure Spring Cloud Application. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudApp` 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 exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", { * name: "example-springcloud", * resourceGroupName: example.name, * location: example.location, * }); * const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", { * name: "example-springcloudapp", * resourceGroupName: example.name, * serviceName: exampleSpringCloudService.name, * identity: { * type: "SystemAssigned", * }, * }); * ``` * * ## Import * * Spring Cloud Application can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudApp:SpringCloudApp example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.AppPlatform/spring/myservice/apps/myapp * ``` */ export declare class SpringCloudApp extends pulumi.CustomResource { /** * Get an existing SpringCloudApp 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?: SpringCloudAppState, opts?: pulumi.CustomResourceOptions): SpringCloudApp; /** * Returns true if the given object is an instance of SpringCloudApp. 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 SpringCloudApp; /** * A JSON object that contains the addon configurations of the Spring Cloud Service. */ readonly addonJson: pulumi.Output; /** * A `customPersistentDisk` block as defined below. */ readonly customPersistentDisks: pulumi.Output; /** * The Fully Qualified DNS Name of the Spring Application in the service. */ readonly fqdn: pulumi.Output; /** * Is only HTTPS allowed? Defaults to `false`. */ readonly httpsOnly: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * An `ingressSettings` block as defined below. */ readonly ingressSettings: pulumi.Output; /** * Does the Spring Cloud Application have public endpoint? Defaults to `false`. */ readonly isPublic: pulumi.Output; /** * Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * An `persistentDisk` block as defined below. */ readonly persistentDisk: pulumi.Output; /** * Should the App in vnet injection instance exposes endpoint which could be accessed from Internet? */ readonly publicEndpointEnabled: pulumi.Output; /** * Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ readonly serviceName: pulumi.Output; /** * Is End to End TLS Enabled? Defaults to `false`. */ readonly tlsEnabled: pulumi.Output; /** * The public endpoint of the Spring Cloud Application. */ readonly url: pulumi.Output; /** * Create a SpringCloudApp 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: SpringCloudAppArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudApp resources. */ export interface SpringCloudAppState { /** * A JSON object that contains the addon configurations of the Spring Cloud Service. */ addonJson?: pulumi.Input; /** * A `customPersistentDisk` block as defined below. */ customPersistentDisks?: pulumi.Input[]>; /** * The Fully Qualified DNS Name of the Spring Application in the service. */ fqdn?: pulumi.Input; /** * Is only HTTPS allowed? Defaults to `false`. */ httpsOnly?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * An `ingressSettings` block as defined below. */ ingressSettings?: pulumi.Input; /** * Does the Spring Cloud Application have public endpoint? Defaults to `false`. */ isPublic?: pulumi.Input; /** * Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * An `persistentDisk` block as defined below. */ persistentDisk?: pulumi.Input; /** * Should the App in vnet injection instance exposes endpoint which could be accessed from Internet? */ publicEndpointEnabled?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ serviceName?: pulumi.Input; /** * Is End to End TLS Enabled? Defaults to `false`. */ tlsEnabled?: pulumi.Input; /** * The public endpoint of the Spring Cloud Application. */ url?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudApp resource. */ export interface SpringCloudAppArgs { /** * A JSON object that contains the addon configurations of the Spring Cloud Service. */ addonJson?: pulumi.Input; /** * A `customPersistentDisk` block as defined below. */ customPersistentDisks?: pulumi.Input[]>; /** * Is only HTTPS allowed? Defaults to `false`. */ httpsOnly?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * An `ingressSettings` block as defined below. */ ingressSettings?: pulumi.Input; /** * Does the Spring Cloud Application have public endpoint? Defaults to `false`. */ isPublic?: pulumi.Input; /** * Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * An `persistentDisk` block as defined below. */ persistentDisk?: pulumi.Input; /** * Should the App in vnet injection instance exposes endpoint which could be accessed from Internet? */ publicEndpointEnabled?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ serviceName: pulumi.Input; /** * Is End to End TLS Enabled? Defaults to `false`. */ tlsEnabled?: pulumi.Input; }