From d386a3fe505159bfee3b3bfce61c60dccc131521 Mon Sep 17 00:00:00 2001 From: Bryce Lewis Date: Thu, 13 Mar 2025 14:14:47 -0700 Subject: [PATCH] unquarantine action --- .../infrastructure/servers/task/ServerTask.yml | 2 ++ .../servers/task/ServerUnquarantineAction.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 components/schemas/infrastructure/servers/task/ServerUnquarantineAction.yml 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