-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add create snapshot repository examples
- Loading branch information
Showing
6 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: A shared file system repository | ||
# method_request: PUT /_snapshot/my_repository | ||
description: Run `PUT /_snapshot/my_repository` to create or update a shared file system snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"fs\",\n \"settings\": {\n \"location\": \"my_backup_location\"\ | ||
\n }\n}" |
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: An Azure repository | ||
# method_request: PUT _snapshot/my_backup | ||
description: Run `PUT /_snapshot/my_repository` to create or update an Azure snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"azure\",\n \"settings\": {\n \"client\": \"secondary\"\ | ||
\n }\n}" |
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: A Google Cloud Storage repository | ||
# method_request: PUT _snapshot/my_gcs_repository | ||
description: Run `PUT /_snapshot/my_gcs_repository` to create or update a Google Cloud Storage snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"gcs\",\n \"settings\": {\n \"bucket\": \"my_other_bucket\"\ | ||
,\n \"base_path\": \"dev\"\n }\n}" |
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: An S3 repository | ||
# method_request: PUT _snapshot/my_s3_repository | ||
description: Run `PUT /_snapshot/my_s3_repository` to create or update an AWS S3 snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"s3\",\n \"settings\": {\n \"bucket\": \"my-bucket\"\n\ | ||
\ }\n}" |
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample5.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: A source-only repository | ||
# method_request: PUT _snapshot/my_src_only_repository | ||
description: Run `PUT _snapshot/my_src_only_repository` to create or update a source-only snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"source\",\n \"settings\": {\n \"delegate_type\": \"fs\"\ | ||
,\n \"location\": \"my_backup_repository\"\n }\n}" |
7 changes: 7 additions & 0 deletions
7
.../snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
summary: A read-only URL repository | ||
# method_request: PUT _snapshot/my_read_only_url_repository | ||
description: Run `PUT _snapshot/my_read_only_url_repository` to create or update a read-only URL snapshot repository. | ||
# type: request | ||
value: | ||
"{\n \"type\": \"url\",\n \"settings\": {\n \"url\": \"file:/mount/backups/my_fs_backup_location\"\ | ||
\n }\n}" |