From 2d4e645ec240d536cd6e24c0bb109ae8a90b94fa Mon Sep 17 00:00:00 2001 From: Bryce Date: Tue, 9 Dec 2025 15:03:10 -0800 Subject: [PATCH 1/2] scan volumes button --- .../rootTasks/ExternalVolumesScanAction.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml b/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml index 7f66fe5d..9293968d 100644 --- a/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml +++ b/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml @@ -3,6 +3,7 @@ description: A task to scan for available external volumes on a given cluster. type: object required: - action + - contents properties: action: type: string @@ -14,8 +15,19 @@ properties: description: Scan options used by the platform to create the job. required: - cluster + - type + - integration_id properties: + integration_id: + $ref: ../../../ID.yml + type: + type: string + enum: [san-iscsi, ceph-rbd, aws-ebs] cluster: type: string description: | ID of the cluster to scan for external volumes. + server_ids: + type: array + items: + $ref: ../../../ID.yml From 6f138a076153512f83fb1254bebbc090ecfd44ed Mon Sep 17 00:00:00 2001 From: Bryce Date: Tue, 9 Dec 2025 15:09:35 -0800 Subject: [PATCH 2/2] descriptions --- .../rootTasks/ExternalVolumesScanAction.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml b/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml index 9293968d..be2ed70e 100644 --- a/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml +++ b/components/schemas/infrastructure/external-volumes/rootTasks/ExternalVolumesScanAction.yml @@ -19,15 +19,17 @@ properties: - integration_id properties: integration_id: + description: ID of the integration to scan for external volumes. $ref: ../../../ID.yml type: + description: Type of external volume system to scan. type: string enum: [san-iscsi, ceph-rbd, aws-ebs] cluster: - type: string - description: | - ID of the cluster to scan for external volumes. + description: ID of the cluster to scan for external volumes. + $ref: ../../../Identifier.yml server_ids: + description: Optional list of server IDs to limit the scan scope. type: array items: $ref: ../../../ID.yml