diff --git a/gql-queries-generator/doc/queries.graphql b/gql-queries-generator/doc/queries.graphql index 3a6e3e594..04c7ecaa7 100644 --- a/gql-queries-generator/doc/queries.graphql +++ b/gql-queries-generator/doc/queries.graphql @@ -6484,8 +6484,8 @@ query authCli_getRemoteLogin($loginId: String!, $secret: String!) { mutation authCli_createClusterReference($cluster: BYOKClusterIn!) { infra_createBYOKCluster(cluster: $cluster) { - id clusterToken + displayName metadata { name } @@ -6630,6 +6630,7 @@ query authCli_listByokClusters($search: SearchCluster, $pagination: CursorPagina edges { cursor node { + clusterToken displayName id metadata { diff --git a/src/apps/auth/server/gql/cli-queries.ts b/src/apps/auth/server/gql/cli-queries.ts index 092bf28e1..5d036c39e 100644 --- a/src/apps/auth/server/gql/cli-queries.ts +++ b/src/apps/auth/server/gql/cli-queries.ts @@ -721,8 +721,8 @@ export const cliQueries = (executor: IExecutor) => ({ gql` mutation Infra_createBYOKCluster($cluster: BYOKClusterIn!) { infra_createBYOKCluster(cluster: $cluster) { - id clusterToken + displayName metadata { name } @@ -914,6 +914,7 @@ export const cliQueries = (executor: IExecutor) => ({ edges { cursor node { + clusterToken displayName id metadata { diff --git a/src/generated/gql/server.ts b/src/generated/gql/server.ts index f84aae0a9..07bc13432 100644 --- a/src/generated/gql/server.ts +++ b/src/generated/gql/server.ts @@ -8139,8 +8139,8 @@ export type AuthCli_CreateClusterReferenceMutationVariables = Exact<{ export type AuthCli_CreateClusterReferenceMutation = { infra_createBYOKCluster?: { - id: string; clusterToken: string; + displayName: string; metadata: { name: string }; }; }; @@ -8286,6 +8286,7 @@ export type AuthCli_ListByokClustersQuery = { edges: Array<{ cursor: string; node: { + clusterToken: string; displayName: string; id: string; updateTime: any;