Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger change for ignore-pod-disruption-budget #18548

Merged
4 commits merged into from Apr 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
This conversation was marked as resolved.
Show resolved Hide resolved
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,9 @@
},
{
"$ref": "#/parameters/ResourceNameParameter"
},
{
"$ref": "#/parameters/IgnorePodDisruptionBudgetParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1116,6 +1119,9 @@
"required": true,
"type": "string",
"description": "The name of the agent pool."
},
{
"$ref": "#/parameters/IgnorePodDisruptionBudgetParameter"
}
],
"responses": {
Expand All @@ -1136,6 +1142,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 @@ -6262,6 +6271,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": "string",
This conversation was marked as resolved.
Show resolved Hide resolved
"description": "ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget",
"x-ms-parameter-location": "method"
}
}
}