...
1extend type Query {
2 """
3 Gets a specific Log Replay based on the log replay ID passed in
4 """
5 logReplay(
6 """
7 logReplay id
8 """
9 logReplayId: String!
10 ): LogReplay!
11 @hasRole(
12 roles: [
13 EDGE_ORG_ADMIN
14 EDGE_BANNER_ADMIN
15 EDGE_BANNER_OPERATOR
16 EDGE_BANNER_VIEWER
17 ]
18 )
19 """
20 Gets Log Replays based on the parameters passed in
21 """
22 logReplays(
23 """
24 logReplay id
25 """
26 clusterEdgeId:String!
27 """
28 True if looking for executed fale/nil otherwise
29 """
30 unexecutedLogReplays: Boolean
31 ): [LogReplay!]
32 @hasRole(
33 roles: [
34 EDGE_ORG_ADMIN
35 EDGE_BANNER_ADMIN
36 EDGE_BANNER_OPERATOR
37 EDGE_BANNER_VIEWER
38 ]
39 )
40}
41
42extend type Mutation {
43 """
44 Creates Log Replay for cluster
45 """
46 createLogReplay(
47 """
48 cluster id
49 """
50 clusterEdgeId: String! @hasClusterAccess(field: "clusterEdgeId")
51 """
52 payload input for the replay
53 """
54 replayPayload: CreateLogReplayPayload!
55
56 ): Boolean!
57 @hasRole(
58 roles: [
59 EDGE_ORG_ADMIN
60 EDGE_BANNER_ADMIN
61 EDGE_BANNER_OPERATOR
62 EDGE_BANNER_VIEWER
63 ]
64 )
65 """
66 Deletes Log Replay based on the parameters passed in
67 """
68 deleteLogReplay(
69 """
70 log replay edge id is the edge id for the replay
71 """
72 logReplayId: String!
73 ): Boolean!
74 @hasRole(
75 roles: [
76 EDGE_ORG_ADMIN
77 EDGE_BANNER_ADMIN
78 EDGE_BANNER_OPERATOR
79 EDGE_BANNER_VIEWER
80 ]
81 )
82}
View as plain text