diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-07-12 21:26:44 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-07-17 11:35:53 +1200 |
commit | 828e873846495df6d6911f9c196ae1fb478492f5 (patch) | |
tree | 40594616246e68fe54bef919cdc02d7dc310b682 /api-ref/source/samples | |
parent | f8ca333b4302ef5681f7f63731cce141e4ad7cf3 (diff) | |
download | trove-828e873846495df6d6911f9c196ae1fb478492f5.tar.gz |
Support backup strategy API
Change-Id: I0ddd7214dae6e29ddfaf045fdb282f4980a8afff
Diffstat (limited to 'api-ref/source/samples')
3 files changed, 24 insertions, 0 deletions
diff --git a/api-ref/source/samples/backup-strategy-create-request.json b/api-ref/source/samples/backup-strategy-create-request.json new file mode 100644 index 00000000..7c30d9c8 --- /dev/null +++ b/api-ref/source/samples/backup-strategy-create-request.json @@ -0,0 +1,6 @@ +{ + "backup_strategy": { + "instance_id": "0602db72-c63d-11ea-b87c-00224d6b7bc1", + "swift_container": "my_trove_backups" + } +}
\ No newline at end of file diff --git a/api-ref/source/samples/backup-strategy-create-response.json b/api-ref/source/samples/backup-strategy-create-response.json new file mode 100644 index 00000000..a6c3ac6c --- /dev/null +++ b/api-ref/source/samples/backup-strategy-create-response.json @@ -0,0 +1,8 @@ +{ + "backup_strategy": { + "project_id": "922b47766bcb448f83a760358337f2b4", + "instance_id": "0602db72-c63d-11ea-b87c-00224d6b7bc1", + "backend": "swift", + "swift_container": "my_trove_backups" + } +}
\ No newline at end of file diff --git a/api-ref/source/samples/backup-strategy-list-response.json b/api-ref/source/samples/backup-strategy-list-response.json new file mode 100644 index 00000000..98ee13ce --- /dev/null +++ b/api-ref/source/samples/backup-strategy-list-response.json @@ -0,0 +1,10 @@ +{ + "backup_strategies": [ + { + "backend": "swift", + "instance_id": "0602db72-c63d-11ea-b87c-00224d6b7bc1", + "project_id": "922b47766bcb448f83a760358337f2b4", + "swift_container": "my_trove_backups" + } + ] +}
\ No newline at end of file |