Microsoft.AppPlatform Spring/apps/deployments 2019-05-01-preview

The Spring/apps/deployments resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

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

resource symbolicname 'Microsoft.AppPlatform/Spring/apps/deployments@2019-05-01-preview' = {
  name: 'string'
  sku: {
    capacity: int
    name: 'string'
    tier: 'string'
  }
  parent: resourceSymbolicName
  properties: {
    deploymentSettings: {
      cpu: int
      environmentVariables: {}
      instanceCount: int
      jvmOptions: 'string'
      memoryInGB: int
      netCoreMainEntryPath: 'string'
      runtimeVersion: 'string'
    }
    source: {
      artifactSelector: 'string'
      relativePath: 'string'
      type: 'string'
      version: 'string'
    }
  }
}

Property values

Spring/apps/deployments

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.AppPlatform/Spring/apps/deployments'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2019-05-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
sku Sku of Azure Spring Cloud Sku
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: apps
properties Deployment resource properties payload DeploymentResourceProperties

DeploymentResourceProperties

Name Description Value
deploymentSettings Deployment settings payload DeploymentSettings
source Source information for a deployment UserSourceInfo

DeploymentSettings

Name Description Value
cpu Required CPU, basic tier should be 1, standard tier should be in range (1, 4) int
environmentVariables Collection of environment variables object
instanceCount Instance count, basic tier should be in range (1, 25), standard tier should be in range (1, 500) int
jvmOptions JVM parameter string
memoryInGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8) int
netCoreMainEntryPath The path to the .NET executable relative to zip root string
runtimeVersion Runtime version 'Java_11'
'Java_8'
'NetCore_31'

UserSourceInfo

Name Description Value
artifactSelector Selector for the artifact to be used for the deployment for multi-module projects. This should be
the relative path to the target module/project.
string
relativePath Relative path of the storage which stores the source string
type Type of the source uploaded 'Jar'
'NetCoreZip'
'Source'
version Version of the source 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