diff --git a/components/schemas/infrastructure/servers/task/ServerTask.yml b/components/schemas/infrastructure/servers/task/ServerTask.yml index 21645644..42e39f17 100644 --- a/components/schemas/infrastructure/servers/task/ServerTask.yml +++ b/components/schemas/infrastructure/servers/task/ServerTask.yml @@ -9,6 +9,7 @@ discriminator: compute.spawner.restart: ServerRestartComputeSpawnerAction.yml evacuation.start: ServerEvacuateAction.yml evacuation.reset: ServerEvacuateResetAction.yml + unquarantine: ServerUnquarantineAction.yml oneOf: - $ref: ServerReconfigureSharedFsAction.yml - $ref: ServerReconfigureFeaturesAction.yml @@ -17,3 +18,4 @@ oneOf: - $ref: ServerRestartComputeSpawnerAction.yml - $ref: ServerEvacuateAction.yml - $ref: ServerEvacuateResetAction.yml + - $ref: ServerUnquarantineAction.yml diff --git a/components/schemas/infrastructure/servers/task/ServerUnquarantineAction.yml b/components/schemas/infrastructure/servers/task/ServerUnquarantineAction.yml new file mode 100644 index 00000000..43cbac14 --- /dev/null +++ b/components/schemas/infrastructure/servers/task/ServerUnquarantineAction.yml @@ -0,0 +1,18 @@ +title: ServerUnquarantineAction +type: object +required: + - action + - contents +properties: + action: + type: string + description: The action to take. + enum: + - unquarantine + contents: + type: object + required: + - cluster + properties: + cluster: + type: string