diff --git a/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeAttachmentReconfigureAction.yml b/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeAttachmentReconfigureAction.yml new file mode 100644 index 00000000..1f084b6e --- /dev/null +++ b/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeAttachmentReconfigureAction.yml @@ -0,0 +1,14 @@ +title: ExternalVolumeAttachmentReconfigureAction +description: A task to reconfigure the attachment for external volume. +type: object +required: + - action +properties: + action: + type: string + enum: + - attachment.reconfigure + description: The name of the action to perform (attachment.reconfigure). + contents: + description: Attachment configuration details. + $ref: "../attachment/ExternalVolumeAttachment.yml" diff --git a/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTask.yml b/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTask.yml index a14343d7..0f14e3eb 100644 --- a/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTask.yml +++ b/components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTask.yml @@ -3,5 +3,7 @@ discriminator: propertyName: action mapping: servers.reconfigure: ExternalVolumeServersReconfigureAction.yml + attachment.reconfigure: ExternalVolumeAttachmentReconfigureAction.yml oneOf: - $ref: ExternalVolumeServersReconfigureAction.yml + - $ref: ExternalVolumeAttachmentReconfigureAction.yml diff --git a/components/schemas/infrastructure/servers/NodeState.yml b/components/schemas/infrastructure/servers/NodeState.yml index ac964255..940474aa 100644 --- a/components/schemas/infrastructure/servers/NodeState.yml +++ b/components/schemas/infrastructure/servers/NodeState.yml @@ -14,6 +14,7 @@ allOf: - authorizing - online - decommissioned + - deleted changed: $ref: ../../DateTime.yml desired: @@ -25,5 +26,6 @@ allOf: - authorizing - online - decommissioned + - deleted - type: "null" - "$ref": "../../State.yml"