Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/2019-05-01-preview/Microsoft.AppPlatform.json
Original file line number Diff line number Diff line change
Expand Up @@ -1228,4 +1228,4 @@
"description": "Source information for a deployment"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-07-01/Microsoft.AppPlatform.json
Original file line number Diff line number Diff line change
Expand Up @@ -1375,4 +1375,4 @@
"description": "Source information for a deployment"
}
}
}
}
31 changes: 28 additions & 3 deletions schemas/2020-11-01-preview/Microsoft.AppPlatform.json
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Required CPU, basic tier should be 1, standard tier should be in range (1, 4)"
"description": "Required CPU. This should be 1 for Basic tier, and in range [1, 4] for Standard tier. This is deprecated starting from API version 2020-11-01-preview. Please use the resourceRequests field to set the CPU size."
},
"environmentVariables": {
"oneOf": [
Expand Down Expand Up @@ -773,12 +773,23 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)"
"description": "Required Memory size in GB. This should be in range [1, 2] for Basic tier, and in range [1, 8] for Standard tier. This is deprecated starting from API version 2020-11-01-preview. Please use the resourceRequests field to set the the memory size."
},
"netCoreMainEntryPath": {
"type": "string",
"description": "The path to the .NET executable relative to zip root"
},
"resourceRequests": {
"oneOf": [
{
"$ref": "#/definitions/ResourceRequests"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Deployment resource request payload"
},
"runtimeVersion": {
"oneOf": [
{
Expand Down Expand Up @@ -1029,6 +1040,20 @@
},
"description": "Persistent disk payload"
},
"ResourceRequests": {
"type": "object",
"properties": {
"cpu": {
"type": "string",
"description": "Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier."
},
"memory": {
"type": "string",
"description": "Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier."
}
},
"description": "Deployment resource request payload"
},
"Sku": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1417,4 +1442,4 @@
"description": "Source information for a deployment"
}
}
}
}