Microsoft.AppPlatform Spring/buildServices/agentPools 2022-04-01

Bicep resource definition

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

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

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.

Resource format

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

resource symbolicname 'Microsoft.AppPlatform/Spring/buildServices/agentPools@2022-04-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    poolSize: {
      name: 'string'
    }
  }
}

Property Values

Microsoft.AppPlatform/Spring/buildServices/agentPools

Name Description Value
name The resource name string (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/buildServices
properties build service agent pool properties BuildServiceAgentPoolProperties

BuildServiceAgentPoolProperties

Name Description Value
poolSize build service agent pool size properties BuildServiceAgentPoolSizeProperties

BuildServiceAgentPoolSizeProperties

Name Description Value
name The name of build service agent pool size string

ARM template resource definition

The Spring/buildServices/agentPools 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/buildServices/agentPools resource, add the following JSON to your template.

{
  "type": "Microsoft.AppPlatform/Spring/buildServices/agentPools",
  "apiVersion": "2022-04-01",
  "name": "string",
  "properties": {
    "poolSize": {
      "name": "string"
    }
  }
}

Property Values

Microsoft.AppPlatform/Spring/buildServices/agentPools

Name Description Value
apiVersion The api version '2022-04-01'
name The resource name string (required)
properties build service agent pool properties BuildServiceAgentPoolProperties
type The resource type 'Microsoft.AppPlatform/Spring/buildServices/agentPools'

BuildServiceAgentPoolProperties

Name Description Value
poolSize build service agent pool size properties BuildServiceAgentPoolSizeProperties

BuildServiceAgentPoolSizeProperties

Name Description Value
name The name of build service agent pool size string

Terraform (AzAPI provider) resource definition

The Spring/buildServices/agentPools 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/buildServices/agentPools resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/buildServices/agentPools@2022-04-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      poolSize = {
        name = "string"
      }
    }
  }
}

Property Values

Microsoft.AppPlatform/Spring/buildServices/agentPools

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: Spring/buildServices
properties build service agent pool properties BuildServiceAgentPoolProperties
type The resource type "Microsoft.AppPlatform/Spring/buildServices/agentPools@2022-04-01"

BuildServiceAgentPoolProperties

Name Description Value
poolSize build service agent pool size properties BuildServiceAgentPoolSizeProperties

BuildServiceAgentPoolSizeProperties

Name Description Value
name The name of build service agent pool size string