Connection validation, part 2 of 2 (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Mutations

testTableauCredentialsV2 (mutation)

testTableauCredentialsV2 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 Tableau credentials

Arguments

ArgumentTypeDescription
connectionDetailsTableauConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestTableauCredentialsV2

Example

mutation TestTableauCredentialsV2($connectionDetails: TableauConnectionDetails!, $validationName: String!) {
  testTableauCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testTableauCredentialsV2

TableauConnectionDetails

Input object type.

FieldTypeDescription
serverNameString!The Tableau server name
usernameStringUsername for the Tableau user if using username/password or Connected Apps
passwordStringPassword for the Tableau user if using username/password
clientIdStringThe Tableau Connected Apps Client ID
secretIdStringThe Tableau Connected Apps Secret ID
secretValueStringThe Tableau Connected Apps Secret value
tokenNameStringThe personal access token name for PAT authentication
tokenValueStringThe personal access token value for PAT authentication
siteNameStringThe Tableau site name
verifySslBooleanWhether to verify the SSL connection to Tableau server Default: true.
TestTableauCredentialsV2

Object type. Test a Tableau connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testTransactionalDbCredentials (mutation)

testTransactionalDbCredentials 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 Transactional DB credentials

Arguments

ArgumentTypeDescription
connectionDetailsTransactionalDbConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestTransactionalDbCredentialsV2

Example

mutation TestTransactionalDbCredentials($connectionDetails: TransactionalDbConnectionDetails!, $validationName: String!) {
  testTransactionalDbCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testTransactionalDbCredentials

TeradataLogMechEnum

Enum type.

ValueDescription
TD2
BROWSER
JWT
LDAP
KRB5
TDNEGO
TeradataSSLModeEnum

Enum type.

ValueDescription
DISABLE
ALLOW
PREFER
REQUIRE
VERIFY_CA
VERIFY_FULL
TestTransactionalDbCredentialsV2

Object type. Test a Transactional DB connection.

FieldTypeDescription
keyStringPath to key for adding a connection.This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.
TransactionalDbConnectionDetails

Input object type.

FieldTypeDescription
dbNameStringName of database to add connection for
dbTypeString!Type of Transactional DB to add connection for
hostStringHostname of the warehouse
portIntHTTP Port to use
userStringUser with access to the database
passwordStringUser's password
tokenStringAuth Token for connection
consumerKeyStringConsumer key for connection
consumerSecretStringConsumer secret for connection
usernameStringSalesforce Data Cloud JWT Bearer auth: username of the run-as user, used as the JWT subject. Omit for OAuth client credentials.
privateKeyStringSalesforce Data Cloud JWT Bearer auth: PEM private key that signs the JWT. Mutually exclusive with consumer_secret.
connectionSettingsTransactionalDbConnectionSettingsOptional connection settings
domainStringDomain for the connection
dataspaces[String]List of data space names to collect metadata from for Salesforce Data Cloud.
dataspaceStringSingle data space name to scope query connections for Salesforce Data Cloud.
tenantIdStringTenant ID for Azure Service Principal auth
clientIdStringClient ID for Azure Service Principal auth
clientSecretStringClient Secret for Azure Service Principal auth
authTypeStringAuthentication method. "kerberos" selects Windows Authentication (SQL Server only); omitted or "sql" uses a SQL login.
realmStringKerberos realm, normally the uppercased AD domain
kdcStringKerberos KDC hostname, optionally with a port (dc1.corp.example.com or dc1.corp.example.com:88)
principalStringKerberos client principal, e.g. [email protected]
keytabBase64StringBase64-encoded Kerberos keytab for the service principal. Mutually exclusive with password. Omit both when the credential is self-hosted -- the agent reads the keytab from your secret store.
TransactionalDbConnectionSettings

Input object type.

FieldTypeDescription
tdSslmodeTeradataSSLModeEnumSpecifies the mode for connections to Teradata database.
tdLogmechTeradataLogMechEnumTeradata logon authentication method.
tlsBooleanShould we use TLS when connecting to Dremio, required for Dremio Cloud.
sslOptionsSslOptionsOptional SSL options.
rdsProxyBooleanIndicates if we are connecting to the database through a RDS Proxy.

Related types

ConnectionTestOptions, SslOptions, TestCredentialsV2Response

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.