Microsoft.AppPlatform Spring/apps/deployments 2020-11-01-preview

Template format

To create a Microsoft.AppPlatform/Spring/apps/deployments resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.AppPlatform/Spring/apps/deployments",
  "apiVersion": "2020-11-01-preview",
  "properties": {
    "source": {
      "type": "string",
      "relativePath": "string",
      "version": "string",
      "artifactSelector": "string"
    },
    "deploymentSettings": {
      "cpu": "integer",
      "memoryInGB": "integer",
      "jvmOptions": "string",
      "netCoreMainEntryPath": "string",
      "environmentVariables": {},
      "runtimeVersion": "string"
    }
  },
  "sku": {
    "name": "string",
    "tier": "string",
    "capacity": "integer"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.AppPlatform/Spring/apps/deployments object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the Deployment resource.
type enum Yes For JSON -deployments
-or-
Microsoft.AppPlatform/Spring/apps/deployments

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-11-01-preview
properties object Yes Properties of the Deployment resource - DeploymentResourceProperties object
sku object No Sku of the Deployment resource - Sku object

DeploymentResourceProperties object

Name Type Required Value
source object No Uploaded source information of the deployment. - UserSourceInfo object
deploymentSettings object No Deployment settings of the Deployment - DeploymentSettings object

Sku object

Name Type Required Value
name string No Name of the Sku
tier string No Tier of the Sku
capacity integer No Current capacity of the target resource

UserSourceInfo object

Name Type Required Value
type enum No Type of the source uploaded. - Jar, NetCoreZip, Source
relativePath string No Relative path of the storage which stores the source
version string No Version of the source
artifactSelector string No 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.

DeploymentSettings object

Name Type Required Value
cpu integer No Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
memoryInGB integer No Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
jvmOptions string No JVM parameter
netCoreMainEntryPath string No The path to the .NET executable relative to zip root
environmentVariables object No Collection of environment variables
runtimeVersion enum No Runtime version. - Java_8, Java_11, NetCore_31