Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getStreamingSystems (query)
getStreamingSystems is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Gets streaming systems under an account.
Arguments
| Argument | Type | Description |
|---|---|---|
includeClusters | Boolean |
Returns
[StreamingSystemWithClusters]
Example
query GetStreamingSystems {
getStreamingSystems {
system {
id
createdTime
updatedTime
deletedAt
uuid
name
type
accountUuid
dcId
}
}
}Types used only by getStreamingSystems
getStreamingSystemsStreamingSystemWithClusters
StreamingSystemWithClustersObject type.
| Field | Type | Description |
|---|---|---|
system | StreamingSystem | |
clusterConnections | [Connection] |
Related types
Mutations
addStreamingConnection (mutation)
addStreamingConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add a connection for a streaming cluster and setup any associated jobs. Creates a streaming cluster if a cluster if not specified.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionType | String! | Type of the new connection. |
dcId | UUID | Data Collector uuid to associate the streaming system with. |
jobTypes | [String] | List of job types to create for the connection. If left empty, MC'd create all auto jobs. |
key | String! | Temp key from testing connections. |
mcClusterId | UUID | UUID of an existing streaming cluster. If this field is given, please don't set new_cluster_id, new_cluster_type or new_cluster_name. |
newClusterId | String | Real cluster ID used in the system. Should be obtained from customer system. Only set when creating a new cluster. |
newClusterName | String | Name of the cluster. Only set when creating a new cluster. |
newClusterType | String | Type of the cluster. Only set when creating a new cluster. Supported types: [kafka-cluster, kafka-connect-cluster] |
newStreamingSystemName | String | Name of a new streaming system to associate with a new cluster and the connection. Only set when we'd like to create a new streaming system. |
newStreamingSystemType | String | Type of a new streaming system to associate with a new cluster and the connection. Only set when we'd like to create a new streaming system. Supported values: [confluent-cloud, msk, self-hosted] |
streamingSystemId | UUID | UUID of an existing streaming system. If this field is given, please don't set new_streaming_system_type or new_streaming_system_name. |
Returns
AddStreamingConnectionMutation
Example
mutation AddStreamingConnection($connectionType: String!, $key: String!) {
addStreamingConnection(connectionType: $connectionType, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addStreamingConnection
addStreamingConnectionAddStreamingConnectionMutation
AddStreamingConnectionMutationObject type. Add a connection for a streaming cluster and setup any associated jobs. Creates a streaming cluster if a cluster if not specified.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addStreamingSystem (mutation)
addStreamingSystem is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add a streaming system, which contains a set of streaming clusters that work together in the system.
Arguments
| Argument | Type | Description |
|---|---|---|
dcId | UUID | The Data Collector UUID for the jobs of connections within the streaming system to run in. |
streamingSystemName | String! | Name of the streaming system. |
streamingSystemType | String! | Streaming system type. Supported values: [confluent-cloud, msk, self-hosted] |
Returns
AddStreamingSystemMutation
Example
mutation AddStreamingSystem($streamingSystemName: String!, $streamingSystemType: String!) {
addStreamingSystem(streamingSystemName: $streamingSystemName, streamingSystemType: $streamingSystemType) {
streamingSystem {
id
createdTime
updatedTime
deletedAt
uuid
name
type
accountUuid
dcId
}
}
}Types used only by addStreamingSystem
addStreamingSystemAddStreamingSystemMutation
AddStreamingSystemMutationObject type. Add a streaming system, which contains a set of streaming clusters that work together in the system.
| Field | Type | Description |
|---|---|---|
streamingSystem | StreamingSystem |
Related types
deleteStreamingCluster (mutation)
deleteStreamingCluster is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Delete a streaming clusters, and connections on this cluster.
Arguments
| Argument | Type | Description |
|---|---|---|
streamingClusterUuid | UUID! | UUID of the streaming Cluster. |
Returns
DeleteStreamingClusterMutation
Example
mutation DeleteStreamingCluster($streamingClusterUuid: UUID!) {
deleteStreamingCluster(streamingClusterUuid: $streamingClusterUuid) {
success
}
}Types used only by deleteStreamingCluster
deleteStreamingClusterDeleteStreamingClusterMutation
DeleteStreamingClusterMutationObject type. Delete a streaming clusters, and connections on this cluster.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
deleteStreamingSystem (mutation)
deleteStreamingSystem is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Delete a streaming system. This will delete all clusters within the streaming system as well.
Arguments
| Argument | Type | Description |
|---|---|---|
streamingSystemUuid | UUID! | UUID of the streaming System |
Returns
DeleteStreamingSystemMutation
Example
mutation DeleteStreamingSystem($streamingSystemUuid: UUID!) {
deleteStreamingSystem(streamingSystemUuid: $streamingSystemUuid) {
success
}
}Types used only by deleteStreamingSystem
deleteStreamingSystemDeleteStreamingSystemMutation
DeleteStreamingSystemMutationObject type. Delete a streaming system. This will delete all clusters within the streaming system as well.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
testConfluentKafkaConnectCredentials (mutation)
testConfluentKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test a confluent Kafka Connect cluster credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | ConfluentKafkaConnectCredentialsInput! | Required Credential Info for accessing Confluent Cloud Kafka Connect APIs. |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
validationName | String! | Validation to run for validating the connection. |
Returns
TestConfluentKafkaConnectCredentials
Example
mutation TestConfluentKafkaConnectCredentials($connectionDetails: ConfluentKafkaConnectCredentialsInput!, $validationName: String!) {
testConfluentKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testConfluentKafkaConnectCredentials
testConfluentKafkaConnectCredentialsConfluentKafkaConnectCredentialsInput
ConfluentKafkaConnectCredentialsInputInput object type. Credentials to Confluent Connect APIs
| Field | Type | Description |
|---|---|---|
confluentEnv | String! | Confluent environment. |
cluster | String! | Confluent Kafka cluster in which the connectors are defined. |
apiKey | String! | Confluent Cloud API key. |
secret | String! | Confluent Cloud Api key's secret. |
url | String | URL for the Confluent Connect. |
TestConfluentKafkaConnectCredentials
TestConfluentKafkaConnectCredentialsObject type. Test a confluent Kafka Connect cluster credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
ConnectionTestOptions, TestCredentialsV2Response
testConfluentKafkaCredentials (mutation)
testConfluentKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test a confluent Kafka cluster credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | ConfluentKafkaCredentialsInput! | Required Credential Info for accessing Confluent Kafka Cluster APIs. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | Name of the validation test that should be run. |
Returns
TestConfluentKafkaCredentials
Example
mutation TestConfluentKafkaCredentials($connectionDetails: ConfluentKafkaCredentialsInput!, $validationName: String!) {
testConfluentKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testConfluentKafkaCredentials
testConfluentKafkaCredentialsConfluentKafkaCredentialsInput
ConfluentKafkaCredentialsInputInput object type. Credentials to a Confluent Kafka Cluster
| Field | Type | Description |
|---|---|---|
cluster | String! | Confluent Kafka cluster. |
apiKey | String! | Confluent Kafka API key. |
secret | String! | Confluent Kafka Api key's secret. |
url | String! | URL for the Confluent kafka cluster. |
TestConfluentKafkaCredentials
TestConfluentKafkaCredentialsObject type. Test a confluent Kafka cluster credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
ConnectionTestOptions, TestCredentialsV2Response
testMskKafkaConnectCredentials (mutation)
testMskKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test MSK Kafka Connect credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | MskKafkaConnectCredentialsInput! | Required Credential Info for accessing MSK Kafka Connect. |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
validationName | String! | Validation to run for validating the connection. |
Returns
TestMskKafkaConnectCredentials
Example
mutation TestMskKafkaConnectCredentials($connectionDetails: MskKafkaConnectCredentialsInput!, $validationName: String!) {
testMskKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testMskKafkaConnectCredentials
testMskKafkaConnectCredentialsMskKafkaConnectCredentialsInput
MskKafkaConnectCredentialsInputInput object type. Credentials for MSK Kafka Connect
| Field | Type | Description |
|---|---|---|
clusterArn | String! | ARN of the MSK cluster that connectors are running against |
iamRoleArn | String! | ARN of an assumable IAM role used for collection, see our public docs for required permissions |
externalId | String | Optional external id, if one is required to assume the provided IAM role |
TestMskKafkaConnectCredentials
TestMskKafkaConnectCredentialsObject type. Test MSK Kafka Connect credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
ConnectionTestOptions, TestCredentialsV2Response
testMskKafkaCredentials (mutation)
testMskKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test MSK Kafka cluster credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | SelfHostedKafkaCredentialsInput! | Required Credential Info for accessing REST Proxy in front of an MSK cluster |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | Name of the validation test that should be run. |
Returns
TestMskKafkaCredentials
Example
mutation TestMskKafkaCredentials($connectionDetails: SelfHostedKafkaCredentialsInput!, $validationName: String!) {
testMskKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testMskKafkaCredentials
testMskKafkaCredentialsTestMskKafkaCredentials
TestMskKafkaCredentialsObject type. Test MSK Kafka cluster credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
ConnectionTestOptions, SelfHostedKafkaCredentialsInput, TestCredentialsV2Response
testSelfHostedKafkaConnectCredentials (mutation)
testSelfHostedKafkaConnectCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test a Self Hosted Kafka Connect cluster credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | SelfHostedKafkaConnectCredentialsInput! | Required Credential Info for accessing Self Hosted Kafka Connect APIs. |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
validationName | String! | Validation to run for validating the connection. |
Returns
TestSelfHostedKafkaConnectCredentials
Example
mutation TestSelfHostedKafkaConnectCredentials($connectionDetails: SelfHostedKafkaConnectCredentialsInput!, $validationName: String!) {
testSelfHostedKafkaConnectCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testSelfHostedKafkaConnectCredentials
testSelfHostedKafkaConnectCredentialsSelfHostedKafkaConnectCredentialsInput
SelfHostedKafkaConnectCredentialsInputInput object type. Credentials to a Self Hosted Kafka Cluster
| Field | Type | Description |
|---|---|---|
cluster | String! | Self Hosted Kafka Connect cluster. |
authType | AuthType! | Type of Auth used to connect to the cluster. |
authToken | String | Authentication Token. Required for Basic and Bearer Auth. |
url | String! | URL for the Self Hosted kafka connect cluster. |
TestSelfHostedKafkaConnectCredentials
TestSelfHostedKafkaConnectCredentialsObject type. Test a Self Hosted Kafka Connect cluster credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
AuthType, ConnectionTestOptions, TestCredentialsV2Response
testSelfHostedKafkaCredentials (mutation)
testSelfHostedKafkaCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test Self Hosted Kafka cluster credentials.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | SelfHostedKafkaCredentialsInput! | Required Credential Info for accessing Self Hosted Kafka Cluster APIs. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | Name of the validation test that should be run. |
Returns
TestSelfHostedKafkaCredentials
Example
mutation TestSelfHostedKafkaCredentials($connectionDetails: SelfHostedKafkaCredentialsInput!, $validationName: String!) {
testSelfHostedKafkaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testSelfHostedKafkaCredentials
testSelfHostedKafkaCredentialsTestSelfHostedKafkaCredentials
TestSelfHostedKafkaCredentialsObject type. Test Self Hosted Kafka cluster credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connectionThis key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response |
Related types
ConnectionTestOptions, SelfHostedKafkaCredentialsInput, TestCredentialsV2Response
updateStreamingClusterName (mutation)
updateStreamingClusterName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Update a streaming cluster name.
Arguments
| Argument | Type | Description |
|---|---|---|
newName | String! | New name of the system |
streamingClusterUuid | UUID! | UUID of the streaming cluster. |
Returns
UpdateStreamingClusterNameMutation
Example
mutation UpdateStreamingClusterName($newName: String!, $streamingClusterUuid: UUID!) {
updateStreamingClusterName(newName: $newName, streamingClusterUuid: $streamingClusterUuid) {
streamingCluster {
id
createdTime
updatedTime
deletedAt
uuid
externalClusterId
name
clusterType
streamingSystemUuid
}
}
}Types used only by updateStreamingClusterName
updateStreamingClusterNameUpdateStreamingClusterNameMutation
UpdateStreamingClusterNameMutationObject type. Update a streaming cluster name.
| Field | Type | Description |
|---|---|---|
streamingCluster | StreamingCluster |
Related types
updateStreamingSystemName (mutation)
updateStreamingSystemName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Update a streaming system name.
Arguments
| Argument | Type | Description |
|---|---|---|
newName | String! | New name of the system |
streamingSystemUuid | UUID! | UUID of the streaming Cluster. |
Returns
UpdateStreamingSystemNameMutation
Example
mutation UpdateStreamingSystemName($newName: String!, $streamingSystemUuid: UUID!) {
updateStreamingSystemName(newName: $newName, streamingSystemUuid: $streamingSystemUuid) {
streamingSystem {
id
createdTime
updatedTime
deletedAt
uuid
name
type
accountUuid
dcId
}
}
}Types used only by updateStreamingSystemName
updateStreamingSystemNameUpdateStreamingSystemNameMutation
UpdateStreamingSystemNameMutationObject type. Update a streaming system name.
| Field | Type | Description |
|---|---|---|
streamingSystem | StreamingSystem |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
