Microsoft.AppPlatform Spring 2022-01-01-preview

Bicep resource definition

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

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

Resource format

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

resource symbolicname 'Microsoft.AppPlatform/Spring@2022-01-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    networkProfile: {
      appNetworkResourceGroup: 'string'
      appSubnetId: 'string'
      serviceCidr: 'string'
      serviceRuntimeNetworkResourceGroup: 'string'
      serviceRuntimeSubnetId: 'string'
    }
    zoneRedundant: bool
  }
  sku: {
    capacity: int
    name: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

ClusterResourceProperties

Name Description Value
networkProfile Network profile of the Service NetworkProfile
zoneRedundant bool

Microsoft.AppPlatform/Spring

Name Description Value
location The GEO location of the resource. string
name The resource name string (required)
properties Properties of the Service resource ClusterResourceProperties
sku Sku of the Service resource Sku
tags Resource tags Dictionary of tag names and values. See Tags in templates

NetworkProfile

Name Description Value
appNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Apps string
appSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps string
serviceCidr Azure Spring Cloud service reserved CIDR string
serviceRuntimeNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Service Runtime string
serviceRuntimeSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime string

Sku

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

TrackedResourceTags

Name Description Value

Usage Examples

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.

ARM template resource definition

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

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

Resource format

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

{
  "type": "Microsoft.AppPlatform/Spring",
  "apiVersion": "2022-01-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "networkProfile": {
      "appNetworkResourceGroup": "string",
      "appSubnetId": "string",
      "serviceCidr": "string",
      "serviceRuntimeNetworkResourceGroup": "string",
      "serviceRuntimeSubnetId": "string"
    },
    "zoneRedundant": "bool"
  },
  "sku": {
    "capacity": "int",
    "name": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

ClusterResourceProperties

Name Description Value
networkProfile Network profile of the Service NetworkProfile
zoneRedundant bool

Microsoft.AppPlatform/Spring

Name Description Value
apiVersion The api version '2022-01-01-preview'
location The GEO location of the resource. string
name The resource name string (required)
properties Properties of the Service resource ClusterResourceProperties
sku Sku of the Service resource Sku
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.AppPlatform/Spring'

NetworkProfile

Name Description Value
appNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Apps string
appSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps string
serviceCidr Azure Spring Cloud service reserved CIDR string
serviceRuntimeNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Service Runtime string
serviceRuntimeSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime string

Sku

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

TrackedResourceTags

Name Description Value

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.

Terraform (AzAPI provider) resource definition

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

  • Resource groups

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

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring@2022-01-01-preview"
  name = "string"
  location = "string"
  sku = {
    capacity = int
    name = "string"
    tier = "string"
  }
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      networkProfile = {
        appNetworkResourceGroup = "string"
        appSubnetId = "string"
        serviceCidr = "string"
        serviceRuntimeNetworkResourceGroup = "string"
        serviceRuntimeSubnetId = "string"
      }
      zoneRedundant = bool
    }
  })
}

Property Values

ClusterResourceProperties

Name Description Value
networkProfile Network profile of the Service NetworkProfile
zoneRedundant bool

Microsoft.AppPlatform/Spring

Name Description Value
location The GEO location of the resource. string
name The resource name string (required)
properties Properties of the Service resource ClusterResourceProperties
sku Sku of the Service resource Sku
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.AppPlatform/Spring@2022-01-01-preview"

NetworkProfile

Name Description Value
appNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Apps string
appSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps string
serviceCidr Azure Spring Cloud service reserved CIDR string
serviceRuntimeNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Cloud Service Runtime string
serviceRuntimeSubnetId Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime string

Sku

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

TrackedResourceTags

Name Description Value