Skip to content

Commit cbd8210

Browse files
migrate more apis
1 parent b0c3874 commit cbd8210

18 files changed

+2870
-52
lines changed

legacy/backbeat-2017-07-01.api.json

Lines changed: 2062 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Get details of a specific failed Cross-Region Replication (CRR) object
5+
@readonly
6+
@http(method: "GET", uri: "/_/backbeat/api/crr/failed/{Bucket}/{Key+}")
7+
operation GetFailedObject {
8+
input: GetFailedObjectInput,
9+
output: GetFailedObjectOutput
10+
}
11+
12+
structure GetFailedObjectInput {
13+
/// Bucket name
14+
@required
15+
@httpLabel
16+
Bucket: String,
17+
18+
/// Object key
19+
@required
20+
@httpLabel
21+
Key: String,
22+
23+
/// Version ID of the object
24+
@required
25+
@httpQuery("versionId")
26+
VersionId: String
27+
}
28+
29+
structure GetFailedObjectOutput {
30+
/// Whether the list is truncated
31+
IsTruncated: Boolean,
32+
33+
/// List of failed object versions
34+
Versions: FailedObjectVersions
35+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Pause ingestion for all ingestion sites
5+
@http(method: "POST", uri: "/_/backbeat/api/ingestion/pause")
6+
operation PauseAllIngestionSites {
7+
input: PauseAllIngestionSitesInput,
8+
output: PauseAllIngestionSitesOutput
9+
}
10+
11+
structure PauseAllIngestionSitesInput {
12+
/// Optional request body
13+
@httpPayload
14+
Body: Blob
15+
}
16+
17+
structure PauseAllIngestionSitesOutput {
18+
/// Status response map
19+
status: LocationStatusMap
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Pause replication for all Cross-Region Replication (CRR) sites
5+
@http(method: "POST", uri: "/_/backbeat/api/crr/pause")
6+
operation PauseAllSites {
7+
input: PauseAllSitesInput,
8+
output: PauseAllSitesOutput
9+
}
10+
11+
structure PauseAllSitesInput {
12+
/// Optional request body
13+
@httpPayload
14+
Body: Blob
15+
}
16+
17+
structure PauseAllSitesOutput {
18+
/// Status response map
19+
status: LocationStatusMap
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Pause ingestion for a specific ingestion site
5+
@http(method: "POST", uri: "/_/backbeat/api/ingestion/pause/{Site}")
6+
operation PauseIngestionSite {
7+
input: PauseIngestionSiteInput,
8+
output: PauseIngestionSiteOutput
9+
}
10+
11+
structure PauseIngestionSiteInput {
12+
/// Site name to pause
13+
@required
14+
@httpLabel
15+
Site: String,
16+
17+
/// Optional request body
18+
@httpPayload
19+
Body: Blob
20+
}
21+
22+
structure PauseIngestionSiteOutput {
23+
/// Status response map
24+
status: LocationStatusMap
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Pause replication for a specific Cross-Region Replication (CRR) site
5+
@http(method: "POST", uri: "/_/backbeat/api/crr/pause/{Site}")
6+
operation PauseSite {
7+
input: PauseSiteInput,
8+
output: PauseSiteOutput
9+
}
10+
11+
structure PauseSiteInput {
12+
/// Site name to pause
13+
@required
14+
@httpLabel
15+
Site: String,
16+
17+
/// Optional request body
18+
@httpPayload
19+
Body: Blob
20+
}
21+
22+
structure PauseSiteOutput {
23+
/// Status response map
24+
status: LocationStatusMap
25+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Resume ingestion for all ingestion sites
5+
@http(method: "POST", uri: "/_/backbeat/api/ingestion/resume")
6+
operation ResumeAllIngestionSites {
7+
input: ResumeAllIngestionSitesInput,
8+
output: ResumeAllIngestionSitesOutput
9+
}
10+
11+
structure ResumeAllIngestionSitesInput {
12+
/// Optional request body
13+
@httpPayload
14+
Body: Blob
15+
}
16+
17+
structure ResumeAllIngestionSitesOutput {
18+
/// Status response map
19+
status: LocationStatusMap
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Resume replication for all Cross-Region Replication (CRR) sites
5+
@http(method: "POST", uri: "/_/backbeat/api/crr/resume")
6+
operation ResumeAllSites {
7+
input: ResumeAllSitesInput,
8+
output: ResumeAllSitesOutput
9+
}
10+
11+
structure ResumeAllSitesInput {
12+
/// Optional request body
13+
@httpPayload
14+
Body: Blob
15+
}
16+
17+
structure ResumeAllSitesOutput {
18+
/// Status response map
19+
status: LocationStatusMap
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Resume ingestion for a specific ingestion site
5+
@http(method: "POST", uri: "/_/backbeat/api/ingestion/resume/{Site}")
6+
operation ResumeIngestionSite {
7+
input: ResumeIngestionSiteInput,
8+
output: ResumeIngestionSiteOutput
9+
}
10+
11+
structure ResumeIngestionSiteInput {
12+
/// Site name to resume
13+
@required
14+
@httpLabel
15+
Site: String,
16+
17+
/// Optional request body
18+
@httpPayload
19+
Body: Blob
20+
}
21+
22+
structure ResumeIngestionSiteOutput {
23+
/// Status response map
24+
status: LocationStatusMap
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$version: "2.0"
2+
namespace cloudserver.client
3+
4+
/// Resume replication for a specific Cross-Region Replication (CRR) site
5+
@http(method: "POST", uri: "/_/backbeat/api/crr/resume/{Site}")
6+
operation ResumeSite {
7+
input: ResumeSiteInput,
8+
output: ResumeSiteOutput
9+
}
10+
11+
structure ResumeSiteInput {
12+
/// Site name to resume
13+
@required
14+
@httpLabel
15+
Site: String,
16+
17+
/// Optional request body
18+
@httpPayload
19+
Body: Blob
20+
}
21+
22+
structure ResumeSiteOutput {
23+
/// Status response map
24+
status: LocationStatusMap
25+
}

0 commit comments

Comments
 (0)