diff --git a/components/examples/clusterDatastore.json b/components/examples/clusterDatastore.json index e6f6aa7..2a6dc20 100644 --- a/components/examples/clusterDatastore.json +++ b/components/examples/clusterDatastore.json @@ -17,6 +17,8 @@ "refType": "ComputeServerGroup", "refId": 3, "externalId": "datastore-58601", + "status": "provisioned", + "statusMessage": null, "zone": { "id": 4 }, @@ -53,6 +55,14 @@ "sites": [], "plans": [] }, - "datastores": [] + "datastores": [], + "locations": [ + { + "refType": "ComputeServer", + "refId": 7813, + "status": "provisioned", + "statusMessage": null + } + ] } } \ No newline at end of file diff --git a/components/schemas/clusterDatastores.yaml b/components/schemas/clusterDatastores.yaml index 7c0d6b1..24372c9 100644 --- a/components/schemas/clusterDatastores.yaml +++ b/components/schemas/clusterDatastores.yaml @@ -41,6 +41,10 @@ properties: format: int64 externalId: type: string + status: + type: string + statusMessage: + type: string zone: type: object properties: @@ -78,6 +82,20 @@ properties: nullable: true items: type: object + locations: + type: array + items: + type: object + properties: + refType: + type: string + refId: + type: integer + format: int64 + status: + type: string + statusMessage: + type: string resourcePermissions: type: object properties: diff --git a/paths/api@clusters@id@datastores@id.yaml b/paths/api@clusters@id@datastores@id.yaml index 7df34fe..c7f3e32 100644 --- a/paths/api@clusters@id@datastores@id.yaml +++ b/paths/api@clusters@id@datastores@id.yaml @@ -70,7 +70,9 @@ put: $ref: ../components/responses/5xx.yaml delete: summary: Delete a Cluster Datastore - description: Will delete a cluster datastore + description: | + Will initiate a delete of a cluster datastore. + Note: This will initiate a delete but does not guarantee success. operationId: deleteClusterDatastore tags: - Clusters