Microsoft.AppPlatform Spring/applicationAccelerators

Remarks

Note: Azure Spring Apps Application Accelerators (Microsoft.AppPlatform/Spring/applicationAccelerators) is now deprecated and will be retired on 2028-05-31. See https://aka.ms/asaretirement for more information.

Bicep resource definition

The Spring/applicationAccelerators resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Usage Examples

Bicep Samples

A basic example of deploying Spring Cloud Accelerator.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = {
  name: resourceName
  location: location
  sku: {
    name: 'E0'
  }
  properties: {
    zoneRedundant: false
  }
}

resource applicationAccelerator 'Microsoft.AppPlatform/Spring/applicationAccelerators@2023-05-01-preview' = {
  name: 'default'
  parent: spring
}

Azure Quickstart Samples

The following Azure Quickstart templates contain Bicep samples for deploying this resource type.

Bicep File Description
Deploy a simple Azure Spring Apps microservice application This template deploys a simple Azure Spring Apps microservice application to run on Azure.

Resource format

To create a Microsoft.AppPlatform/Spring/applicationAccelerators resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AppPlatform/Spring/applicationAccelerators@2024-05-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {}
  sku: {
    capacity: int
    name: 'string'
    tier: 'string'
  }
}

Property Values

Microsoft.AppPlatform/Spring/applicationAccelerators

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-z][a-z0-9-]*[a-z0-9]$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: Spring
properties Application accelerator properties payload ApplicationAcceleratorProperties
sku Sku of the application accelerator resource Sku

ApplicationAcceleratorProperties

Name Description Value

Sku

Name Description Value
capacity Current capacity of the target resource int
name Name of the Sku string
tier Tier of the Sku string

ARM template resource definition

The Spring/applicationAccelerators resource type can be deployed with operations that target:

Usage Examples

Azure Quickstart Templates

The following Azure Quickstart templates deploy this resource type.

Template Description
Deploy a simple Azure Spring Apps microservice application

Deploy to Azure
This template deploys a simple Azure Spring Apps microservice application to run on Azure.

Resource format

To create a Microsoft.AppPlatform/Spring/applicationAccelerators resource, add the following JSON to your template.

{
  "type": "Microsoft.AppPlatform/Spring/applicationAccelerators",
  "apiVersion": "2024-05-01-preview",
  "name": "string",
  "properties": {
  },
  "sku": {
    "capacity": "int",
    "name": "string",
    "tier": "string"
  }
}

Property Values

Microsoft.AppPlatform/Spring/applicationAccelerators

Name Description Value
apiVersion The api version '2024-05-01-preview'
name The resource name string

Constraints:
Pattern = ^[a-z][a-z0-9-]*[a-z0-9]$ (required)
properties Application accelerator properties payload ApplicationAcceleratorProperties
sku Sku of the application accelerator resource Sku
type The resource type 'Microsoft.AppPlatform/Spring/applicationAccelerators'

ApplicationAcceleratorProperties

Name Description Value

Sku

Name Description Value
capacity Current capacity of the target resource int
name Name of the Sku string
tier Tier of the Sku string

Terraform (AzAPI provider) resource definition

The Spring/applicationAccelerators resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Usage Examples

Terraform Samples

A basic example of deploying Spring Cloud Accelerator.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "Spring" {
  type      = "Microsoft.AppPlatform/Spring@2023-05-01-preview"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      zoneRedundant = false
    }
    sku = {
      name = "E0"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "applicationAccelerator" {
  type                      = "Microsoft.AppPlatform/Spring/applicationAccelerators@2023-05-01-preview"
  parent_id                 = azapi_resource.Spring.id
  name                      = "default"
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

Resource format

To create a Microsoft.AppPlatform/Spring/applicationAccelerators resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/applicationAccelerators@2024-05-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
    }
    sku = {
      capacity = int
      name = "string"
      tier = "string"
    }
  }
}

Property Values

Microsoft.AppPlatform/Spring/applicationAccelerators

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-z][a-z0-9-]*[a-z0-9]$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: Spring
properties Application accelerator properties payload ApplicationAcceleratorProperties
sku Sku of the application accelerator resource Sku
type The resource type "Microsoft.AppPlatform/Spring/applicationAccelerators@2024-05-01-preview"

ApplicationAcceleratorProperties

Name Description Value

Sku

Name Description Value
capacity Current capacity of the target resource int
name Name of the Sku string
tier Tier of the Sku string