Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
List and Get supportedBuildpacks
  • Loading branch information
yuwzho committed Dec 7, 2021
commit c04c93314b51e715657e0f6b375ad3530a8b7b91
Original file line number Diff line number Diff line change
Expand Up @@ -2073,13 +2073,13 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/getSupportedBuildpacks": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Get all supported buildpacks.",
"operationId": "BuildService_SupportedBuildpacks",
"operationId": "BuildService_ListSupportedBuildpacks",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -2101,7 +2101,7 @@
"200": {
"description": "Success. The response describes all supported buildpacks.",
"schema": {
"$ref": "#/definitions/SupportedBuildpacksDefinition"
"$ref": "#/definitions/SupportedBuildpacksCollection"
}
},
"default": {
Expand All @@ -2112,19 +2112,67 @@
}
},
"x-ms-examples": {
"BuildService_SupportedBuildpacks": {
"$ref": "./examples/BuildService_SupportedBuildpacks.json"
"BuildService_ListSupportedBuildpacks": {
"$ref": "./examples/BuildService_ListSupportedBuildpacks.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/getSupportedStacks": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedBuildpacks/{buildpackName}": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Get the supported buildpack resource.",
"operationId": "BuildService_GetSupportedBuildpack",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceBuildpackNameParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the supported buildpack.",
"schema": {
"$ref": "#/definitions/SupportedBuildpackResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"BuildService_GetSupportedBuildpack": {
"$ref": "./examples/BuildService_GetSupportedBuildpack.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Get all supported stacks.",
"operationId": "BuildService_SupportedStacks",
"operationId": "BuildService_ListSupportedStacks",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand All @@ -2146,7 +2194,7 @@
"200": {
"description": "Success. The response describes all supported stacks.",
"schema": {
"$ref": "#/definitions/SupportedStacksDefinition"
"$ref": "#/definitions/SupportedStacksCollection"
}
},
"default": {
Expand All @@ -2157,8 +2205,56 @@
}
},
"x-ms-examples": {
"BuildService_SupportedStacks": {
"$ref": "./examples/BuildService_SupportedStacks.json"
"BuildService_ListSupportedStacks": {
"$ref": "./examples/BuildService_ListSupportedStacks.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/supportedStacks/{stackName}": {
"get": {
"tags": [
"AppPlatform"
],
"description": "Get the supported stack resource.",
"operationId": "BuildService_GetSupportedStack",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceStackNameParameter"
}
],
"responses": {
"200": {
"description": "Success. The response describes the supported stack.",
"schema": {
"$ref": "#/definitions/SupportedStackResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"BuildService_GetSupportedStack": {
"$ref": "./examples/BuildService_GetSupportedStack.json"
}
}
}
Expand Down Expand Up @@ -4644,7 +4740,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/StartJFR": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/startJFR": {
"post": {
"tags": [
"AppPlatform"
Expand Down Expand Up @@ -6646,50 +6742,93 @@
"id": {
"description": "Id of the buildpack",
"type": "string"
},
"version": {
"description": "Version of the buildpack",
"type": "string"
},
"optional": {
"description": "optional property of the buildpack",
"type": "boolean",
"readOnly": true
}
}
},
"SupportedBuildpacksDefinition": {
"description": "Supported buildpacks definition payload",
"SupportedBuildpacksCollection": {
"description": "Object that includes an array of supported buildpacks resources and a possible link for next set",
"type": "object",
"properties": {
"buildpacks": {
"description": "A dictionary of all supported buildpacks",
"value": {
"description": "Collection of supported buildpacks resources",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/BuildServiceSupportedItem"
"$ref": "#/definitions/SupportedBuildpackResource"
}
},
"nextLink": {
"description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
"type": "string"
}
}
},
"SupportedBuildpackResource": {
"description": "Supported buildpack resource payload",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ProxyResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/SupportedBuildpackResourceProperties"
}
}
},
"SupportedBuildpackResourceProperties": {
"description": "Supported buildpack resource properties",
"type": "object",
"properties": {
"buildpackId": {
"description": "The id of supported buildpack",
"type": "string"
}
}
},
"SupportedStacksDefinition": {
"description": "Supported stacks definition payload",
"SupportedStacksCollection": {
"description": "Object that includes an array of supported stacks resources and a possible link for next set",
"type": "object",
"properties": {
"stacks": {
"description": "A dictionary of all supported stacks",
"value": {
"description": "Collection of supported stacks resources",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/BuildServiceSupportedItem"
"$ref": "#/definitions/SupportedStackResource"
}
},
"nextLink": {
"description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
"type": "string"
}
}
},
"BuildServiceSupportedItem": {
"description": "The supported item in build service",
"SupportedStackResource": {
"description": "Supported stack resource payload",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ProxyResource"
}
],
"properties": {
"id": {
"description": "The id of this resource",
"properties": {
"$ref": "#/definitions/SupportedStackResourceProperties"
}
}
},
"SupportedStackResourceProperties": {
"description": "Supported stack resource properties",
"type": "object",
"properties": {
"stackId": {
"description": "The id of supported stack",
"type": "string"
},
"version": {
"description": "The version of supported stack",
"type": "string"
}
}
Expand Down Expand Up @@ -9987,6 +10126,22 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"BuildServiceBuildpackNameParameter": {
"name": "buildpackName",
"in": "path",
"description": "The name of the buildpack resource.",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"BuildServiceStackNameParameter": {
"name": "stackName",
"in": "path",
"description": "The name of the stack resource.",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"BuildServiceAgentPoolNameParameter": {
"name": "agentPoolName",
"in": "path",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
"properties": {
"stack": {
"id": "io.buildpacks.stacks.bionic",
"version": "1.3.31-base"
"version": "base"
},
"buildpackGroups": [
{
"name": "mix",
"buildpacks": [
{
"id": "tanzu-buildpacks/java-azure",
"version": "5.8.0"
"id": "tanzu-buildpacks/java-azure"
}
]
}
Expand All @@ -33,21 +32,17 @@
"provisioningState": "Succeeded",
"stack": {
"id": "io.buildpacks.stacks.bionic",
"version": "1.3.31-base"
"version": "base"
},
"buildpackGroups": [
{
"name": "mix",
"buildpacks": [
{
"id": "tanzu-buildpacks/java-azure",
"version": "5.8.0",
"optional": true
"id": "tanzu-buildpacks/java-azure"
},
{
"id": "tanzu-buildpacks/dotnet-core",
"version": "1.3.0",
"optional": true
"id": "tanzu-buildpacks/dotnet-core"
}
]
}
Expand All @@ -72,21 +67,17 @@
"provisioningState": "Creating",
"stack": {
"id": "io.buildpacks.stacks.bionic",
"version": "1.3.31-base"
"version": "base"
},
"buildpackGroups": [
{
"name": "mix",
"buildpacks": [
{
"id": "tanzu-buildpacks/java-azure",
"version": "5.8.0",
"optional": true
"id": "tanzu-buildpacks/java-azure"
},
{
"id": "tanzu-buildpacks/dotnet-core",
"version": "1.3.0",
"optional": true
"id": "tanzu-buildpacks/dotnet-core"
}
]
}
Expand Down
Loading