Files
api-specs/idn/beta/paths/managed-cluster-upgrade.yaml
GitHub Action Bot 9269e86172 Automated commit 'added new oauth2 flow and description (#1386)
* added new oauth2 flow and description

* renamed authentication to make more sense' by github action: 5967546682
2023-08-24 18:29:03 +00:00

47 lines
1.2 KiB
YAML

post:
tags:
- Managed Clusters
summary: Upgrade a cluster's VAs
description: >-
Upgrade a clusters VAs manual call
AMS Security: API, Internal
A token with SYSTEM_ADMINISTRATOR authority is required to call this API.
operationId: upgradeCluster
parameters:
- name: id
in: path
description: ID of the cluster to upgrade
required: true
style: simple
explode: false
schema:
type: string
example: aClusterId
requestBody:
description: UpgradeCluster configuration data for the given ManagedCluster
content:
application/json:
schema:
$ref: '../schemas/ClusterUpgradeData.yaml'
required: true
responses:
"200":
description: Responds with updated UpgradeClusterConfig for the given ManagedCluster.
content:
application/json:
schema:
$ref: '../schemas/ClusterUpgradeData.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:managed-cluster-upgrade:manage]