- There is only one Build Service and it is named
default
. It is created automatically. agentPools
are a sub-resource ofbuildServices
- It seems like you cannot have more than one Agent Pool (named
default
)
Whenever you create an Azure Spring Apps Service instance with the Enterprise SKU (Build Service is a VMWare Tanzu component and only available on the Enterprise SKU), there is no Agent Pool. In other words, the "Build Service Agent Pool - List" endpoint returns as follows:
// GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/buildServices/default/agentPools?api-version=2022-09-01-preview
// Response Body:
{
"value": []
}
You create (and update) the Build Service Agent Pool using the "Build Service Agent Pool - Update Put" endpoint.
// PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/buildServices/default/agentPools/default?api-version=2022-09-01-preview
// Request Body:
{
"properties": {
"poolSize": {
"name": "S1"
}
}
}
// Response Body:
{
"properties": {
"provisioningState": "Updating",
"poolSize": {
"name": "S1",
"cpu": "2",
"memory": "4Gi"
}
},
"type": "Microsoft.AppPlatform/Spring/buildServices/agentPools",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/buildServices/default/agentPools/default",
"name": "default"
}
After the Build Service Agent Pool is created, it cannot be deleted (there's no "delete" endpoint).
Whenever you create an Azure Spring Apps Service with the Standard SKU the "Config Servers - Get" endpoint returns as follows:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/configServers/default?api-version=2022-09-01-preview
{
"properties": {
"provisioningState": "Succeeded"
},
"type": "Microsoft.AppPlatform/Spring/configServers",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/configServers/default",
"name": "default"
}
Whenever you create an Azure Spring Apps Service instance, regardless of SKU, the "Monitoring Settings - Get" endpoint returns as follows:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/monitoringSettings/default?api-version=2022-09-01-preview
{
"properties": {
"provisioningState": "Succeeded",
"traceEnabled": false,
"appInsightsInstrumentationKey": null,
"appInsightsSamplingRate": 10.0,
"appInsightsAgentVersions": {
"java": "3.3.1"
}
},
"type": "Microsoft.AppPlatform/Spring/monitoringSettings",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{asaServiceName}/monitoringSettings/default",
"name": "default"
}