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
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2022-03-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "clustername1",
"agentPoolName": "agentpool1",
"ignorePodDisruptionBudget": true
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,9 @@
},
{
"$ref": "#/parameters/ResourceNameParameter"
},
{
"$ref": "#/parameters/IgnorePodDisruptionBudgetParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1119,6 +1122,9 @@
"required": true,
"type": "string",
"description": "The name of the agent pool."
},
{
"$ref": "#/parameters/IgnorePodDisruptionBudgetParameter"
}
],
"responses": {
Expand All @@ -1139,6 +1145,9 @@
"x-ms-examples": {
"Delete Agent Pool": {
"$ref": "./examples/AgentPoolsDelete.json"
},
"Delete Agent Pool by ignoring PodDisruptionBudget": {
"$ref": "./examples/AgentPoolsDelete_IgnorePodDisruptionBudget.json"
}
}
}
Expand Down Expand Up @@ -6298,6 +6307,14 @@
},
"description": "Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.",
"x-ms-parameter-location": "method"
},
"IgnorePodDisruptionBudgetParameter": {
"name": "ignore-pod-disruption-budget",
"in": "query",
"required": false,
"type": "boolean",
"description": "ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget",
"x-ms-parameter-location": "method"
}
}
}