diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample1.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample1.yaml new file mode 100644 index 0000000000..dd576940c5 --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample1.yaml @@ -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}" diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample2.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample2.yaml new file mode 100644 index 0000000000..f6ea3b085b --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample2.yaml @@ -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}" diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample3.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample3.yaml new file mode 100644 index 0000000000..704df3beb7 --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample3.yaml @@ -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}" diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample4.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample4.yaml new file mode 100644 index 0000000000..67f87c3dd6 --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample4.yaml @@ -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}" diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample5.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample5.yaml new file mode 100644 index 0000000000..d891ad0298 --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample5.yaml @@ -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}" diff --git a/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample6.yaml b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample6.yaml new file mode 100644 index 0000000000..4dea0a1547 --- /dev/null +++ b/specification/snapshot/create_repository/examples/request/SnapshotCreateRepositoryRequestExample6.yaml @@ -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}"