Skip to content

Commit

Permalink
added status / locations to datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan DeVilbiss committed Dec 20, 2024
1 parent 16abd9c commit 9a7d475
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
12 changes: 11 additions & 1 deletion components/examples/clusterDatastore.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"refType": "ComputeServerGroup",
"refId": 3,
"externalId": "datastore-58601",
"status": "provisioned",
"statusMessage": null,
"zone": {
"id": 4
},
Expand Down Expand Up @@ -53,6 +55,14 @@
"sites": [],
"plans": []
},
"datastores": []
"datastores": [],
"locations": [
{
"refType": "ComputeServer",
"refId": 7813,
"status": "provisioned",
"statusMessage": null
}
]
}
}
18 changes: 18 additions & 0 deletions components/schemas/clusterDatastores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ properties:
format: int64
externalId:
type: string
status:
type: string
statusMessage:
type: string
zone:
type: object
properties:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion paths/api@clusters@id@[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a7d475

Please sign in to comment.