Waiting for engine...
Skip to main content

environmentMigrationSave

Saves an environment migration to a target gateway.

Input Parameters:

  • environmentId: ID of the environment to migrate.
  • gatewayId: ID of the target gateway for migration.

Response:

  • Returns the EnvironmentMigration object with migration configuration and status.

Example Request:

mutation environmentMigrationSave($environmentId: String!, $gatewayId: String) {
environmentMigrationSave(environmentId: $environmentId, gatewayId: $gatewayId) {
environment {
id,
name,
gateway {
id,
name,
deleted,
environments {
id,
name,
gateway {
id,
name,
deleted
},
settings {
restPath,
soapPath,
soap12Path,
odataPath
},
publishedName
},
defaultApiExecutionSettings {
concurrency,
retries,
retryCases,
connectTimeout,
executionTimeout
},
forwardProxy {
id,
enabled,
hostAddress,
portNumber,
proxyType,
username,
password
}
},
settings {
restPath,
soapPath,
soap12Path,
odataPath
},
publishedName
},
toGateway {
id,
name,
deleted,
environments {
id,
name,
publishedName
},
defaultApiExecutionSettings {
concurrency,
retries,
retryCases,
connectTimeout,
executionTimeout
},
forwardProxy {
id,
enabled,
hostAddress,
portNumber,
proxyType,
username,
password
}
},
fromGateway {
id,
name,
deleted,
environments {
id,
name,
publishedName
},
defaultApiExecutionSettings {
concurrency,
retries,
retryCases,
connectTimeout,
executionTimeout
},
forwardProxy {
id,
enabled,
hostAddress,
portNumber,
proxyType,
username,
password
}
},
environmentConfigurationCompleted,
containerConfigurationCompleted,
apiConfigurationCompleted,
gatewayConfigurationCompleted,
environmentSettings {
restPath,
soapPath,
soap12Path,
odataPath
},
warnings {
environmentWarnings {
entityIds,
errorCode,
message,
severity
},
containerWarnings {
entityIds,
errorCode,
message,
severity
},
apiWarnings {
entityIds,
errorCode,
message,
severity
}
}
}
}

Variables:

{
"environmentId": "",
"gatewayId": ""
}

environmentMigrationSave(
environmentId: String!
gatewayId: String
): EnvironmentMigration

Arguments

environmentMigrationSave.environmentId ● String! non-null scalar miscellaneous

environmentMigrationSave.gatewayId ● String scalar miscellaneous

Type

EnvironmentMigration object platform

Represents the migration process of an environment from one gateway to another with configuration status tracking.

On this Page