Skip to content

Commit

Permalink
feat: add /rotateServiceAccountSigningKeys API (#18359)
Browse files Browse the repository at this point in the history
* feat: add `/rotateServiceAccountSigningKeys` API

* chore: remove duplicated description
  • Loading branch information
bcho authored Mar 24, 2022
1 parent 8fa4f76 commit ee59544
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2022-03-02-preview",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "clustername1"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,49 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys": {
"post": {
"tags": [
"ManagedClusters"
],
"operationId": "ManagedClusters_RotateServiceAccountSigningKeys",
"summary": "Rotates the service account signing keys of a managed cluster.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
}
],
"responses": {
"202": {
"description": "Accepted"
},
"204": {
"description": "NoContent"
},
"default": {
"description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Rotate Cluster Certificates": {
"$ref": "./examples/ManagedClustersRotateServiceAccountSigningKeys.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop": {
"post": {
"tags": [
Expand Down

0 comments on commit ee59544

Please sign in to comment.