Skip to content

Commit 14680de

Browse files
OAS Update
1 parent 9918ffa commit 14680de

1 file changed

Lines changed: 49 additions & 3 deletions

File tree

services/sfs/v1/sfs.json

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,28 +848,74 @@
848848
"type": "string"
849849
},
850850
"schedules": {
851-
"description": "associated schedules",
851+
"deprecated": true,
852+
"description": "(deprecated) associated schedules",
852853
"items": {
853854
"$ref": "#/components/schemas/SnapshotPolicy_Schedule"
854855
},
855856
"type": "array"
857+
},
858+
"snapshotSchedules": {
859+
"description": "associated schedules",
860+
"items": {
861+
"$ref": "#/components/schemas/SnapshotPolicy_SnapshotPolicySchedule"
862+
},
863+
"type": "array"
856864
}
857865
},
858866
"type": "object"
859867
},
860868
"SnapshotPolicy_Schedule": {
861869
"properties": {
862870
"count": {
871+
"description": "Retention Count",
863872
"format": "uint32",
864873
"type": "integer"
865874
},
866-
"prefix": {
875+
"interval": {
876+
"description": "Interval of the Schedule (follows the cron schedule expression in Unix-like systems)",
867877
"type": "string"
868878
},
869-
"retentionPeriod": {
879+
"prefix": {
880+
"description": "Prefix used for the snapshots created by this policy",
870881
"type": "string"
871882
},
872883
"scheduleId": {
884+
"description": "ID of the Schedule",
885+
"type": "string"
886+
}
887+
},
888+
"type": "object"
889+
},
890+
"SnapshotPolicy_SnapshotPolicySchedule": {
891+
"properties": {
892+
"createdAt": {
893+
"format": "date-time",
894+
"type": "string"
895+
},
896+
"id": {
897+
"description": "ID of the Schedule",
898+
"type": "string"
899+
},
900+
"interval": {
901+
"description": "Interval of the Schedule (follows the cron schedule expression in Unix-like systems)",
902+
"type": "string"
903+
},
904+
"name": {
905+
"description": "Name of the Schedule",
906+
"type": "string"
907+
},
908+
"prefix": {
909+
"description": "Prefix used for the snapshots created by this policy",
910+
"type": "string"
911+
},
912+
"retentionCount": {
913+
"description": "Retention Count",
914+
"format": "uint32",
915+
"type": "integer"
916+
},
917+
"retentionPeriod": {
918+
"description": "Retention Period (ISO 8601 format or \"infinite\")",
873919
"type": "string"
874920
}
875921
},

0 commit comments

Comments
 (0)