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
feat: update agent pool swagger (#50)
  • Loading branch information
zhoufenqin authored and yuwzho committed Dec 3, 2021
commit 37830197f86e73fd7760f47b2501af1ec3f6f74c
Original file line number Diff line number Diff line change
Expand Up @@ -2268,12 +2268,12 @@
"$ref": "#/parameters/BuildServiceAgentPoolNameParameter"
},
{
"name": "tier",
"name": "poolSize",
"in": "body",
"description": "Parameters for the update operation",
"required": true,
"schema": {
"$ref": "#/definitions/BuildServiceAgentPoolTierProperties"
"$ref": "#/definitions/BuildServiceAgentPoolSizeProperties"
}
}
],
Expand Down Expand Up @@ -2312,71 +2312,6 @@
"$ref": "./examples/BuildServiceAgentPool_UpdatePut.json"
}
}
},
"patch": {
"tags": [
"AppPlatform"
],
"description": "Update build service agent pool.",
"operationId": "BuildServiceAgentPool_UpdatePatch",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceNameParameter"
},
{
"$ref": "#/parameters/BuildServiceAgentPoolNameParameter"
},
{
"name": "tier",
"in": "body",
"description": "Parameters for the update operation",
"required": true,
"schema": {
"$ref": "#/definitions/BuildServiceAgentPoolTierProperties"
}
}
],
"responses": {
"200": {
"description": "Success. The response describes build service agent pool.",
"schema": {
"$ref": "#/definitions/BuildServiceAgentPoolResource"
}
},
"202": {
"description": "Accepted. The response describes the build service agent pool is updating and contains a Location header to query the\r\noperation result.",
"schema": {
"$ref": "#/definitions/BuildServiceAgentPoolResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"BuildServiceAgentPool_UpdatePatch": {
"$ref": "./examples/BuildServiceAgentPool_UpdatePatch.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/monitoringSettings/default": {
Expand Down Expand Up @@ -6826,28 +6761,28 @@
"type": "string",
"readOnly": true
},
"tier": {
"description": "build service agent pool tier properties",
"poolSize": {
"description": "build service agent pool size properties",
"type": "object",
"$ref": "#/definitions/BuildServiceAgentPoolTierProperties"
"$ref": "#/definitions/BuildServiceAgentPoolSizeProperties"
}
}
},
"BuildServiceAgentPoolTierProperties": {
"description": "Build service agent pool tier properties",
"BuildServiceAgentPoolSizeProperties": {
"description": "Build service agent pool size properties",
"type": "object",
"properties": {
"name": {
"description": "The name of build service agent pool tier",
"description": "The name of build service agent pool size",
"type": "string"
},
"cpu": {
"description": "The cpu property of build service agent pool tier",
"description": "The cpu property of build service agent pool size",
"type": "string",
"readOnly": true
},
"memory": {
"description": "The memory property of build service agent pool tier",
"description": "The memory property of build service agent pool size",
"type": "string",
"readOnly": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"body": {
"properties": {
"provisioningState": "Succeeded",
"tier": {
"poolSize": {
"name": "S3",
"cpu": "4",
"memory": "8Gi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"properties": {
"provisioningState": "Succeeded",
"tier": {
"poolSize": {
"name": "S3",
"cpu": "4",
"memory": "8Gi"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"serviceName": "myservice",
"buildServiceName": "default",
"agentPoolName": "default",
"tier": {
"poolSize": {
"name": "S3"
}
},
Expand All @@ -15,7 +15,7 @@
"body": {
"properties": {
"provisioningState": "Succeeded",
"tier": {
"poolSize": {
"name": "S3",
"cpu": "4",
"memory": "8Gi"
Expand All @@ -38,7 +38,7 @@
"body": {
"properties": {
"provisioningState": "Created",
"tier": {
"poolSize": {
"name": "S3",
"cpu": "4",
"memory": "8Gi"
Expand All @@ -61,7 +61,7 @@
"body": {
"properties": {
"provisioningState": "Updating",
"tier": {
"poolSize": {
"name": "S3",
"cpu": "4",
"memory": "8Gi"
Expand Down