Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getCaasCollectionNodeParameters (query)
getCaasCollectionNodeParameters 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.
Returns the parameters for the collection node associated to the specified service.
Arguments
| Argument | Type | Description |
|---|---|---|
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
CaasCollectionNodeParameters
Example
query GetCaasCollectionNodeParameters {
getCaasCollectionNodeParameters {
parameters
}
}Types used only by getCaasCollectionNodeParameters
getCaasCollectionNodeParametersCaasCollectionNodeParameters
CaasCollectionNodeParametersObject type. Node parameters
| Field | Type | Description |
|---|---|---|
parameters | GenericScalar! | Node parameters |
Related types
getMigrationTestStatus (query)
getMigrationTestStatus 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.
DC migration status
Arguments
Returns
DcMigrationStatusResponse
Example
query GetMigrationTestStatus($migrationUuid: UUID!) {
getMigrationTestStatus(migrationUuid: $migrationUuid) {
output
}
}Types used only by getMigrationTestStatus
getMigrationTestStatusDcMigrationStatusResponse
DcMigrationStatusResponseObject type. DC migration status
| Field | Type | Description |
|---|---|---|
output | GenericScalar | Output from the migration process |
Related types
getPlatformMigrationStatus (query)
getPlatformMigrationStatus 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.
Platform migration status
Arguments
Returns
PlatformMigrationStatusResponse
Example
query GetPlatformMigrationStatus($migrationUuid: UUID!) {
getPlatformMigrationStatus(migrationUuid: $migrationUuid) {
status
targetDc
targetNode
output
}
}Types used only by getPlatformMigrationStatus
getPlatformMigrationStatusPlatformMigrationStatusResponse
PlatformMigrationStatusResponseObject type. DC migration status
| Field | Type | Description |
|---|---|---|
status | String! | Description of the migration status for the DC |
targetDc | String | UUID of the new DC the input DC was migrated to |
targetNode | String | ID of the node the input DC was migrated to |
output | GenericScalar | Additional output from the migration process |
Related types
getPlatformMigrationTestStatus (query)
getPlatformMigrationTestStatus 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.
Platform migration test status
Arguments
Returns
PlatformMigrationTestStatusResponse
Example
query GetPlatformMigrationTestStatus($migrationUuid: UUID!) {
getPlatformMigrationTestStatus(migrationUuid: $migrationUuid) {
output
}
}Types used only by getPlatformMigrationTestStatus
getPlatformMigrationTestStatusPlatformMigrationTestStatusResponse
PlatformMigrationTestStatusResponseObject type. Platform migration test status
| Field | Type | Description |
|---|---|---|
output | GenericScalar | Output from the test migration process |
Related types
Mutations
addPlatformService (mutation)
addPlatformService 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.
Adds a new platform service to the account, restricted operation.
Arguments
| Argument | Type | Description |
|---|---|---|
assignDataStore | Boolean | If True, a data store is assigned to the service Default: true. |
assignResources | Boolean | If False, the service gets its node and data store on its first use. Can't be combined with settingsSourceServiceUuid or assignDataStore false. Default: true. |
settingsSourceServiceUuid | UUID | Optional platform service to use as the source for settings (concurrency, memory and env vars). If not provided, default settings will be used. |
Returns
AddPlatformService
Example
mutation AddPlatformService {
addPlatformService {
serviceUuid
}
}Types used only by addPlatformService
addPlatformServiceAddPlatformService
AddPlatformServiceObject type. Adds a new platform service to the account, restricted operation.
| Field | Type | Description |
|---|---|---|
serviceUuid | UUID | The UUID of to the new service |
Related types
caasLinkCollectionResources (mutation)
caasLinkCollectionResources 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.
Links a pre-provisioned node and data-store to the specified DC. Only non-active DCs with template_variant=aether are supported.
Arguments
Returns
CaasLinkCollectionResources
Example
mutation CaasLinkCollectionResources {
caasLinkCollectionResources {
dc {
id
uuid
name
apiGatewayId
kinesisEndpointId
cloudwatchLogEndpointId
crossAccountRoleArn
stackArn
customerAwsAccountId
customerAwsRegion
templateLaunchUrl
templateProvider
templateVariant
templateVersion
templateParameters
codeVersion
kinesisAccessRole
active
lastUpdated
isCustom
}
}
}Types used only by caasLinkCollectionResources
caasLinkCollectionResourcesCaasLinkCollectionResources
CaasLinkCollectionResourcesObject type. Links a pre-provisioned node and data-store to the specified DC. Only non-active DCs with template_variant=aether are supported.
| Field | Type | Description |
|---|---|---|
dc | DataCollector | The data collector that was updated |
Related types
caasUpdateCollectionNodeEnv (mutation)
caasUpdateCollectionNodeEnv 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.
Updates the environment variables for the collection node associated to the specified DC
Arguments
| Argument | Type | Description |
|---|---|---|
replace | Boolean | If True, the current environment variables will be replaced by the new ones Default: false. |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
updates | GenericScalar! | Dictionary containing the values to update |
Returns
CaasUpdateCollectionNodeEnv
Example
mutation CaasUpdateCollectionNodeEnv($updates: GenericScalar!) {
caasUpdateCollectionNodeEnv(updates: $updates) {
ok
}
}Types used only by caasUpdateCollectionNodeEnv
caasUpdateCollectionNodeEnvCaasUpdateCollectionNodeEnv
CaasUpdateCollectionNodeEnvObject type. Updates the environment variables for the collection node associated to the specified DC
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionNodeParameters (mutation)
caasUpdateCollectionNodeParameters 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.
Updates the parameters for the collection node associated to the specified DC
Arguments
| Argument | Type | Description |
|---|---|---|
dcUuid | UUID | [Deprecated] Use serviceUuid instead |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
updates | GenericScalar! | Dictionary containing the values to update |
Returns
CaasUpdateCollectionNodeParameters
Example
mutation CaasUpdateCollectionNodeParameters($updates: GenericScalar!) {
caasUpdateCollectionNodeParameters(updates: $updates) {
ok
}
}Types used only by caasUpdateCollectionNodeParameters
caasUpdateCollectionNodeParametersCaasUpdateCollectionNodeParameters
CaasUpdateCollectionNodeParametersObject type. Updates the parameters for the collection node associated to the specified DC
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionNodeVersion (mutation)
caasUpdateCollectionNodeVersion 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.
Updates the collection node associated to the specified DC to the specified version.If no version is provided, the node is upgraded to latest version.
Arguments
| Argument | Type | Description |
|---|---|---|
codeVersion | String | Optional version to upgrade to, if not specified the latest released version is used |
dcUuid | UUID | [Deprecated] Use serviceUuid instead |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
templateVersion | String | Optional template version to upgrade to, if not specified and code is not specified either, then the template is also updated to the latest released version |
Returns
CaasUpdateCollectionNodeVersion
Example
mutation CaasUpdateCollectionNodeVersion {
caasUpdateCollectionNodeVersion {
ok
}
}Types used only by caasUpdateCollectionNodeVersion
caasUpdateCollectionNodeVersionCaasUpdateCollectionNodeVersion
CaasUpdateCollectionNodeVersionObject type. Updates the collection node associated to the specified DC to the specified version.If no version is provided, the node is upgraded to latest version.
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionStorageEncryption (mutation)
caasUpdateCollectionStorageEncryption 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.
Status: Experimental
Sets the collection storage encryption
Arguments
| Argument | Type | Description |
|---|---|---|
encryptionType | StorageEncryptionType | Type of storage encryption (default: 'AMAZON_S3_SSE') Default: "AMAZON_S3_SSE". |
serviceUuid | UUID! | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
CaasUpdateCollectionStorageEncryption
Example
mutation CaasUpdateCollectionStorageEncryption($serviceUuid: UUID!) {
caasUpdateCollectionStorageEncryption(serviceUuid: $serviceUuid) {
ok
}
}Types used only by caasUpdateCollectionStorageEncryption
caasUpdateCollectionStorageEncryptionCaasUpdateCollectionStorageEncryption
CaasUpdateCollectionStorageEncryptionObject type. Sets the collection storage encryption
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionStorageLink (mutation)
caasUpdateCollectionStorageLink 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.
Status: Experimental
If there's an agent associated to the service, it makes sure the link to the CaaS storage is deleted.
Arguments
| Argument | Type | Description |
|---|---|---|
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
CaasUpdateCollectionStorageLink
Example
mutation CaasUpdateCollectionStorageLink {
caasUpdateCollectionStorageLink {
ok
}
}Types used only by caasUpdateCollectionStorageLink
caasUpdateCollectionStorageLinkCaasUpdateCollectionStorageLink
CaasUpdateCollectionStorageLinkObject type. If there's an agent associated to the service, it makes sure the link to the CaaS storage is deleted.
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionStorageParameters (mutation)
caasUpdateCollectionStorageParameters 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.
Updates the parameters for the collection storage associated to the specified DC
Arguments
| Argument | Type | Description |
|---|---|---|
dcUuid | UUID | [Deprecated] Use serviceUuid instead |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
updates | GenericScalar! | JSON string with a dictionary containing the values to update |
Returns
CaasUpdateCollectionStorageParameters
Example
mutation CaasUpdateCollectionStorageParameters($updates: GenericScalar!) {
caasUpdateCollectionStorageParameters(updates: $updates) {
ok
}
}Types used only by caasUpdateCollectionStorageParameters
caasUpdateCollectionStorageParametersCaasUpdateCollectionStorageParameters
CaasUpdateCollectionStorageParametersObject type. Updates the parameters for the collection storage associated to the specified DC
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
caasUpdateCollectionStorageVersion (mutation)
caasUpdateCollectionStorageVersion 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.
Status: Experimental
Updates the collection storage template version associated to a DC.
Arguments
| Argument | Type | Description |
|---|---|---|
serviceUuid | UUID! | Platform Service UUID. To disambiguate accounts with multiple services |
templateVersion | Int! | Template version to upgrade to |
Returns
CaasUpdateCollectionStorageVersion
Example
mutation CaasUpdateCollectionStorageVersion($serviceUuid: UUID!, $templateVersion: Int!) {
caasUpdateCollectionStorageVersion(serviceUuid: $serviceUuid, templateVersion: $templateVersion) {
ok
}
}Types used only by caasUpdateCollectionStorageVersion
caasUpdateCollectionStorageVersionCaasUpdateCollectionStorageVersion
CaasUpdateCollectionStorageVersionObject type. Updates the collection storage template version associated to the specified DC.
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
connectPlatformServiceToExistingBucket (mutation)
connectPlatformServiceToExistingBucket 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.
Status: Experimental
Connects a platform service to an existing bucket, creating a new data store. The bucket must be updated to allow access to the execution roles used by the node. Use getPlatformServiceExecutionRoles to get the list of roles to enable.
Arguments
| Argument | Type | Description |
|---|---|---|
bucketName | String! | Name of the bucket to connect to. |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
ConnectPlatformServiceToExistingBucket
Example
mutation ConnectPlatformServiceToExistingBucket($bucketName: String!) {
connectPlatformServiceToExistingBucket(bucketName: $bucketName) {
dataStoreId
}
}Types used only by connectPlatformServiceToExistingBucket
connectPlatformServiceToExistingBucketConnectPlatformServiceToExistingBucket
ConnectPlatformServiceToExistingBucketObject type.
| Field | Type | Description |
|---|---|---|
dataStoreId | UUID | The UUID assigned to the data store created from the existing bucket. |
Related types
connectPlatformServiceToLegacyBucket (mutation)
connectPlatformServiceToLegacyBucket 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.
Status: Experimental
Connects a platform service to the bucket used by a legacy DC in the same account.
Arguments
Returns
ConnectPlatformServiceToLegacyBucket
Example
mutation ConnectPlatformServiceToLegacyBucket($sourceServiceUuid: UUID!, $targetServiceUuid: UUID!) {
connectPlatformServiceToLegacyBucket(sourceServiceUuid: $sourceServiceUuid, targetServiceUuid: $targetServiceUuid) {
dc {
id
uuid
name
apiGatewayId
kinesisEndpointId
cloudwatchLogEndpointId
crossAccountRoleArn
stackArn
customerAwsAccountId
customerAwsRegion
templateLaunchUrl
templateProvider
templateVariant
templateVersion
templateParameters
codeVersion
kinesisAccessRole
active
lastUpdated
isCustom
}
}
}Types used only by connectPlatformServiceToLegacyBucket
connectPlatformServiceToLegacyBucketConnectPlatformServiceToLegacyBucket
ConnectPlatformServiceToLegacyBucketObject type.
| Field | Type | Description |
|---|---|---|
dc | DataCollector | The data collector that was updated |
Related types
connectPlatformToExistingAgent (mutation)
connectPlatformToExistingAgent 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.
Status: Experimental
Connects a platform service to an existing agent, linked to another service in the same account.
Arguments
Returns
ConnectPlatformServiceToExistingAgent
Example
mutation ConnectPlatformToExistingAgent($sourceServiceUuid: UUID!, $targetServiceUuid: UUID!) {
connectPlatformToExistingAgent(sourceServiceUuid: $sourceServiceUuid, targetServiceUuid: $targetServiceUuid) {
agentId
}
}Types used only by connectPlatformToExistingAgent
connectPlatformToExistingAgentConnectPlatformServiceToExistingAgent
ConnectPlatformServiceToExistingAgentObject type.
| Field | Type | Description |
|---|---|---|
agentId | UUID | The UUID assigned to the new agent. |
Related types
restoreCollectionStorage (mutation)
restoreCollectionStorage 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.
Status: Experimental
Associates a new built-in collection storage to the specified service if no other storage or agent is associated.
Arguments
| Argument | Type | Description |
|---|---|---|
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
RestoreCollectionStorage
Example
mutation RestoreCollectionStorage {
restoreCollectionStorage {
storage {
id
status
stackArn
assignedOn
resources
}
}
}Types used only by restoreCollectionStorage
restoreCollectionStorageRestoreCollectionStorage
RestoreCollectionStorageObject type.
| Field | Type | Description |
|---|---|---|
storage | CollectionStorage | The storage that was assigned |
Related types
triggerMigrationTest (mutation)
triggerMigrationTest 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.
Triggers the DC migration test operation that checks if all connections in DC can be migrated to target_dc. Validations are executed in background, you can check the progress using getMigrationTestStatus.
Arguments
| Argument | Type | Description |
|---|---|---|
overrides | GenericScalar | Dictionary containing properties to override per connection. The key must be the connection UUID and the value a dictionary including new values for the connection properties, like 'host'. |
resourceUuids | [UUID] | List of resource UUIDs to test for migration. By default all resources will be tested. |
runAllValidations | Boolean | If True, all validations will be run, otherwise only the ones marked as prerequisite will be executed. Default: false. |
sourceDcUuid | UUID | [Deprecated] Use sourceServiceUuid instead |
sourceServiceUuid | UUID | Source Platform Service UUID. |
targetDcUuid | UUID | [Deprecated] Use targetServiceUuid instead |
targetServiceUuid | UUID | Target Platform Service UUID. |
Returns
TriggerMigrationTest
Example
mutation TriggerMigrationTest {
triggerMigrationTest {
migrationUuid
}
}Types used only by triggerMigrationTest
triggerMigrationTestTriggerMigrationTest
TriggerMigrationTestObject type. Triggers the DC migration test operation that checks if all connections in DC can be migrated to target_dc. Validations are executed in background, you can check the progress using getMigrationTestStatus.
| Field | Type | Description |
|---|---|---|
migrationUuid | UUID | UUID assigned to the operation, used to check status |
Related types
triggerPlatformMigration (mutation)
triggerPlatformMigration 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.
Triggers the platform migration for a given DC in background, dryRun can be used to run validations without performing the migration.
Arguments
| Argument | Type | Description |
|---|---|---|
dcUuid | UUID | [Deprecated] Use serviceUuid instead |
dryRun | Boolean | Runs only validations without performing the migration when True Default: true. |
rollback | Boolean | Whether to rollback the migration if validation before migration fails. This will delete the DC and CaaS node created to perform the migration. Default: true. |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
TriggerPlatformMigration
Example
mutation TriggerPlatformMigration {
triggerPlatformMigration {
migrationUuid
}
}Types used only by triggerPlatformMigration
triggerPlatformMigrationTriggerPlatformMigration
TriggerPlatformMigrationObject type. Triggers the platform migration for a given DC in background, dryRun can be used to run validations without performing the migration.
| Field | Type | Description |
|---|---|---|
migrationUuid | UUID | UUID assigned to the operation, used to check status |
Related types
triggerPlatformMigrationTest (mutation)
triggerPlatformMigrationTest 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.
Triggers a platform migration test for a given DC in background, use getPlatformMigrationTestStatus to get results.
Arguments
Returns
TriggerPlatformMigrationTest
Example
mutation TriggerPlatformMigrationTest {
triggerPlatformMigrationTest {
migrationUuid
}
}Types used only by triggerPlatformMigrationTest
triggerPlatformMigrationTestTriggerPlatformMigrationTest
TriggerPlatformMigrationTestObject type. Triggers a platform migration test for a given DC in background, use getPlatformMigrationTestStatus to get results.
| Field | Type | Description |
|---|---|---|
migrationUuid | UUID | UUID assigned to the operation, used to check status |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
