API Stability |
Short-Term
|
The updateRemoteClusterConnection() GraphQL mutation may be used to update a cluster connection to a remote view.
Syntax
Below is the syntax for the updateRemoteClusterConnection() mutation field:
graphql
updateRemoteClusterConnection(
input: UpdateRemoteClusterConnectionInput!
): RemoteClusterConnection!
Below is an example of how this mutation field might be used:
graphql
mutation {
updateRemoteClusterConnection( input:
{
multiClusterViewName: "my-gang",
connectionId: "abc123",
queryPrefix: "the_gang"
}
)
{ id }
}
json
{
"data": {
"updateRemoteClusterConnection": {
"id": "abc123"
}
}
}
Given Datatypes
For UpdateRemoteClusterConnectionInput, there are several parameters. Below is a list of them along with a description of each:
Table: UpdateRemoteClusterConnectionInput
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Feb 26, 2025 | |||||
connectionId | string | yes | The unique identifier of the connection to update. | ||
multiClusterViewName | string | yes | The name or unique identifier of the multi-cluster view that has the connection. | ||
publicUrl | string | The public URL of the remote cluster with which to connect. | |||
queryPrefix | string | The filter query that restricts the data visible through this connection. | |||
tags | [ClusterConnectionInputTag ] | Any additional tags that can be used to filter queries. See ClusterConnectionInputTag . | |||
token | string | yes | The access token for the remote view with which to connect. |
Returned Datatypes
The returned datatype RemoteClusterConnection has several parameters. Below is a list of them along with a description of each:
Table: RemoteClusterConnection
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Mar 17, 2025 | |||||
clusterId | string | yes | Short-Term | Cluster identity of the connection. | |
id | string | yes | Short-Term | The unique identifier of the connection. | |
publicUrl | string | yes | Short-Term | Public URL of the remote cluster with which to connect. | |
queryPrefix | string | yes | Short-Term | The cluster connection query prefix. | |
tags | [ClusterConnectionTag ] | yes | Short-Term | Cluster connection tags. See ClusterConnectionTag . |