import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Spring Cloud Customized Accelerator. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCustomizedAccelerator` 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", * location: example.location, * resourceGroupName: example.name, * skuName: "E0", * }); * const exampleSpringCloudAccelerator = new azure.appplatform.SpringCloudAccelerator("example", { * name: "default", * springCloudServiceId: exampleSpringCloudService.id, * }); * const exampleSpringCloudCustomizedAccelerator = new azure.appplatform.SpringCloudCustomizedAccelerator("example", { * name: "example", * springCloudAcceleratorId: exampleSpringCloudAccelerator.id, * gitRepository: { * url: "https://github.com/Azure-Samples/piggymetrics", * gitTag: "spring.version.2.0.3", * intervalInSeconds: 100, * }, * acceleratorTags: [ * "tag-a", * "tag-b", * ], * description: "example description", * displayName: "example name", * iconUrl: "https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.AppPlatform` - 2024-01-01-preview * * ## Import * * Spring Cloud Customized Accelerators can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudCustomizedAccelerator:SpringCloudCustomizedAccelerator example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AppPlatform/spring/spring1/applicationAccelerators/default/customizedAccelerators/customizedAccelerator1 * ``` */ export declare class SpringCloudCustomizedAccelerator extends pulumi.CustomResource { /** * Get an existing SpringCloudCustomizedAccelerator 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?: SpringCloudCustomizedAcceleratorState, opts?: pulumi.CustomResourceOptions): SpringCloudCustomizedAccelerator; /** * Returns true if the given object is an instance of SpringCloudCustomizedAccelerator. 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 SpringCloudCustomizedAccelerator; /** * Specifies a list of accelerator tags. */ readonly acceleratorTags: pulumi.Output; /** * Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`. */ readonly acceleratorType: pulumi.Output; /** * Specifies the description of the Spring Cloud Customized Accelerator. */ readonly description: pulumi.Output; /** * Specifies the display name of the Spring Cloud Customized Accelerator.. */ readonly displayName: pulumi.Output; /** * A `gitRepository` block as defined below. */ readonly gitRepository: pulumi.Output; /** * Specifies the icon URL of the Spring Cloud Customized Accelerator.. */ readonly iconUrl: pulumi.Output; /** * The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ readonly name: pulumi.Output; /** * The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ readonly springCloudAcceleratorId: pulumi.Output; /** * Create a SpringCloudCustomizedAccelerator 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: SpringCloudCustomizedAcceleratorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudCustomizedAccelerator resources. */ export interface SpringCloudCustomizedAcceleratorState { /** * Specifies a list of accelerator tags. */ acceleratorTags?: pulumi.Input[]>; /** * Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`. */ acceleratorType?: pulumi.Input; /** * Specifies the description of the Spring Cloud Customized Accelerator. */ description?: pulumi.Input; /** * Specifies the display name of the Spring Cloud Customized Accelerator.. */ displayName?: pulumi.Input; /** * A `gitRepository` block as defined below. */ gitRepository?: pulumi.Input; /** * Specifies the icon URL of the Spring Cloud Customized Accelerator.. */ iconUrl?: pulumi.Input; /** * The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ springCloudAcceleratorId?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudCustomizedAccelerator resource. */ export interface SpringCloudCustomizedAcceleratorArgs { /** * Specifies a list of accelerator tags. */ acceleratorTags?: pulumi.Input[]>; /** * Specifies the type of the Spring Cloud Customized Accelerator. Possible values are `Accelerator` and `Fragment`. Defaults to `Accelerator`. */ acceleratorType?: pulumi.Input; /** * Specifies the description of the Spring Cloud Customized Accelerator. */ description?: pulumi.Input; /** * Specifies the display name of the Spring Cloud Customized Accelerator.. */ displayName?: pulumi.Input; /** * A `gitRepository` block as defined below. */ gitRepository: pulumi.Input; /** * Specifies the icon URL of the Spring Cloud Customized Accelerator.. */ iconUrl?: pulumi.Input; /** * The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created. */ springCloudAcceleratorId: pulumi.Input; }