...
1extend type Query {
2 """
3 GetZones gets GCP Compute Engine zones using bff service account's secret.
4 """
5 zones: [String]
6 @hasRole(
7 roles: [
8 EDGE_ORG_ADMIN
9 EDGE_BANNER_ADMIN
10 EDGE_BANNER_OPERATOR
11 EDGE_BANNER_VIEWER
12 ]
13 )
14
15 """
16 GetGKEVersions gets GCP Kubernetes Engine kubernetes cluster versions for a given zone using bff service account's secret.
17 """
18 gkeVersions(zone: String): [String]
19 @hasRole(
20 roles: [
21 EDGE_ORG_ADMIN
22 EDGE_BANNER_ADMIN
23 EDGE_BANNER_OPERATOR
24 EDGE_BANNER_VIEWER
25 ]
26 )
27
28 """
29 GetMachineTypes gets all GCP Compute Engine machine types for a given zone using bff service account's secret.
30 """
31 machineTypes(zone: String): [MachineTypeInfo]
32 @hasRole(
33 roles: [
34 EDGE_ORG_ADMIN
35 EDGE_BANNER_ADMIN
36 EDGE_BANNER_OPERATOR
37 EDGE_BANNER_VIEWER
38 ]
39 )
40
41 """
42 GetMachineType gets a GCP Compute Engine machine type details for a given name and zone using bff service account's secret.
43 """
44 machineType(zone: String!, machineType: String!): MachineTypeInfo
45 @hasRole(
46 roles: [
47 EDGE_ORG_ADMIN
48 EDGE_BANNER_ADMIN
49 EDGE_BANNER_OPERATOR
50 EDGE_BANNER_VIEWER
51 ]
52 )
53}
View as plain text