Skip to content

Commit

Permalink
Add 200 response to extension patch (#19038)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored May 12, 2022
1 parent 1278b95 commit 2d129e6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,28 @@
}
},
"responses": {
"200": {
"description": "Extension properties from not updating any property values.",
"body": {
"properties": {
"extensionType": "azuremonitor-containers",
"autoUpgradeMinorVersion": true,
"releaseTrain": "Preview",
"version": "0.1.4",
"scope": {
"cluster": {
"releaseNamespace": "kube-system"
}
},
"configurationSettings": {
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
"omsagent.env.clusterName": "clusterName1"
},
"provisioningState": "Succeeded",
"statuses": []
}
}
},
"202": {
"headers": {
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor/operations/operationId",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@
"$ref": "#/definitions/Extension"
}
},
"200": {
"description": "No update is done to extension so return OK.",
"schema": {
"$ref": "#/definitions/Extension"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down

0 comments on commit 2d129e6

Please sign in to comment.