Skip to content

Commit

Permalink
Revert | Remove the "provisioningModel" SPOT from the import
Browse files Browse the repository at this point in the history
  • Loading branch information
shaulib committed Jan 4, 2024
1 parent d21c0e1 commit 824fe0a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
22 changes: 22 additions & 0 deletions api/services/ocean/aws/paths/amiAutoUpdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
post:
summary: "Ami Auto Update"
description: >
Updates Cluster's VNG's AMI to the latest version available under to the cluster's and VNGs restrictions.
operationId: "oceanAwsAmiAutoUpdate"
tags:
- "Ocean AWS"
parameters:
- $ref: "../../commons/parameters/oceanClusterId.yaml"
- $ref: "../../../../commons/parameters/accountId.yaml"
requestBody:
required: false
content:
application/json:
schema:
allOf:
- $ref: "../schemas/AmiAutoUpdate.yaml"
responses:
200:
$ref: "../responses/filteredInstanceTypes.yaml"
400:
description: "Bad Request"
27 changes: 27 additions & 0 deletions api/services/ocean/aws/schemas/AmiAutoUpdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
type: object
description: >
The object specifying the request to trigger an AMI auto update operation
title: AMI Auto Update
required:
properties:
patch:
type: boolean
description: >
enable updating AMI after new patch.
default: false
example: true
minorVersion:
type: boolean
description: >
enable updating AMI when a later AMI's minor version is available.
default: false
example: true
applyRoll:
type: boolean
description: >
enable cluster roll after an AMI was updated
default: false
example: true
clusterRoll:
$ref: "../schemas/ocean-strategy.yaml"

0 comments on commit 824fe0a

Please sign in to comment.