Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2163,6 +2163,39 @@
}
}
},
"/providers/Microsoft.AppPlatform/runtimeVersions": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.",
"operationId": "RuntimeVersions_ListRuntimeVersions",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the details of all supported deployment runtime versions.",
"schema": {
"$ref": "#/definitions/AvailableRuntimeVersions"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"RuntimeVersions_ListRuntimeVersions": {
"$ref": "./examples/RuntimeVersions_ListRuntimeVersions.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/skus": {
"get": {
"tags": [
Expand Down Expand Up @@ -3191,6 +3224,7 @@
"description": "Type of the source uploaded",
"enum": [
"Jar",
"NetCoreZip",
"Source"
],
"type": "string",
Expand Down Expand Up @@ -3233,6 +3267,10 @@
"description": "JVM parameter",
"type": "string"
},
"netCoreMainEntryPath": {
"description": "The path to the .NET executable relative to zip root",
"type": "string"
},
"instanceCount": {
"format": "int32",
"description": "Instance count, basic tier should be in range (1, 25), standard tier should be in range (1, 500)",
Expand All @@ -3250,7 +3288,8 @@
"description": "Runtime version",
"enum": [
"Java_8",
"Java_11"
"Java_11",
"NetCore_31"
],
"type": "string",
"x-ms-enum": {
Expand Down Expand Up @@ -3777,6 +3816,57 @@
}
},
"x-ms-external": true
},
"AvailableRuntimeVersions": {
"type": "object",
"properties": {
"value": {
"description": "A list of all supported runtime versions.",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/SupportedRuntimeVersion"
},
"readOnly": true
}
},
"readOnly": true
},
"SupportedRuntimeVersion": {
"description": "Supported deployment runtime version descriptor.",
"type": "object",
"properties": {
"value": {
"description": "The raw value which could be passed to deployment CRUD operations.",
"enum": [
"Java_8",
"Java_11",
"NetCore_31"
],
"type": "string",
"x-ms-enum": {
"name": "SupportedRuntimeVersion",
"modelAsString": true
}
},
"platform": {
"description": "The platform of this runtime version (possible values: \"Java\" or \".NET\").",
"enum": [
"Java",
".NET Core"
],
"type": "string",
"x-ms-enum": {
"name": "SupportedRuntimePlatform",
"modelAsString": true
}
},
"version": {
"description": "The detailed version (major.minor) of the platform.",
"type": "string"
}
},
"readOnly": true
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2019-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"value": "Java_8",
"platform": "Java",
"version": "8"
},
{
"value": "Java_11",
"platform": "Java",
"version": "11"
},
{
"value": "NetCore_31",
"platform": ".NET Core",
"version": "3.1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2607,6 +2607,39 @@
}
}
},
"/providers/Microsoft.AppPlatform/runtimeVersions": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.",
"operationId": "RuntimeVersions_ListRuntimeVersions",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the details of all supported deployment runtime versions.",
"schema": {
"$ref": "#/definitions/AvailableRuntimeVersions"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"RuntimeVersions_ListRuntimeVersions": {
"$ref": "./examples/RuntimeVersions_ListRuntimeVersions.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/skus": {
"get": {
"tags": [
Expand Down Expand Up @@ -3667,6 +3700,7 @@
"description": "Type of the source uploaded",
"enum": [
"Jar",
"NetCoreZip",
"Source"
],
"type": "string",
Expand Down Expand Up @@ -3709,6 +3743,10 @@
"description": "JVM parameter",
"type": "string"
},
"netCoreMainEntryPath": {
"description": "The path to the .NET executable relative to zip root",
"type": "string"
},
"environmentVariables": {
"description": "Collection of environment variables",
"type": "object",
Expand All @@ -3720,7 +3758,8 @@
"description": "Runtime version",
"enum": [
"Java_8",
"Java_11"
"Java_11",
"NetCore_31"
],
"type": "string",
"x-ms-enum": {
Expand Down Expand Up @@ -4253,6 +4292,57 @@
}
},
"x-ms-external": true
},
"AvailableRuntimeVersions": {
"type": "object",
"properties": {
"value": {
"description": "A list of all supported runtime versions.",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/SupportedRuntimeVersion"
},
"readOnly": true
}
},
"readOnly": true
},
"SupportedRuntimeVersion": {
"description": "Supported deployment runtime version descriptor.",
"type": "object",
"properties": {
"value": {
"description": "The raw value which could be passed to deployment CRUD operations.",
"enum": [
"Java_8",
"Java_11",
"NetCore_31"
],
"type": "string",
"x-ms-enum": {
"name": "SupportedRuntimeVersion",
"modelAsString": true
}
},
"platform": {
"description": "The platform of this runtime version (possible values: \"Java\" or \".NET\").",
"enum": [
"Java",
".NET Core"
],
"type": "string",
"x-ms-enum": {
"name": "SupportedRuntimePlatform",
"modelAsString": true
}
},
"version": {
"description": "The detailed version (major.minor) of the platform.",
"type": "string"
}
},
"readOnly": true
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2020-07-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"value": "Java_8",
"platform": "Java",
"version": "8"
},
{
"value": "Java_11",
"platform": "Java",
"version": "11"
},
{
"value": "NetCore_31",
"platform": ".NET Core",
"version": "3.1"
}
]
}
}
}
}