Skip to content

Commit

Permalink
Add support for DEL operation
Browse files Browse the repository at this point in the history
  • Loading branch information
ninzavivek committed Apr 13, 2020
1 parent 85114bd commit fe96d42
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testrg",
"loadBalancerName": "lb",
"backendAddressPoolName": "backend",
"api-version": "2020-04-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,68 @@
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
},
"delete": {
"tags": [
"LoadBalancers"
],
"operationId": "LoadBalancerBackendAddressPools_Delete",
"description": "Deletes the specified load balancer backend address pool.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "loadBalancerName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the load balancer."
},
{
"name": "backendAddressPoolName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the backend address pool."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"204": {
"description": "Request successful. Resource does not exist."
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
"200": {
"description": "Delete successful."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"BackendAddressPoolDelete": {
"$ref": "./examples/LoadBalancerBackendAddressPoolDelete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations": {
Expand Down

0 comments on commit fe96d42

Please sign in to comment.