Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Execution Config

This contains APIs for execution config for image tags

Delete Execution config for DBOps

delete

Delete the Execution config overrides for the customer

Header parameters
Harness-AccountstringOptional

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Boolean response for execution config response

application/json
booleanOptionalDefault: false
delete/v1/dbops/execution-config
DELETE /v1/dbops/execution-config HTTP/1.1
Accept: */*

No content

Get Customer Execution Config overrides

get
Query parameters
overridesOnlybooleanOptional

Returns the non-default images if true

Default: true
Header parameters
Harness-AccountstringOptional

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Response Body for Execution Config for Image tags

application/json
artifactoryTagstringOptional
bigQueryTagstringOptional
bigtableTagstringOptional
cassandraTagstringOptional
cloudSqlTagstringOptional
databricksTagstringOptional
db2TagstringOptional
defaultTagstringOptional
flywayDefaultTagstringOptional
flywayMongoTagstringOptional
flywaySpannerPsqlTagstringOptional
flywaySpannerTagstringOptional
gitCloneTagstringOptional
mongoTagstringOptional
mssqlTagstringOptional
oracleTagstringOptional
perconaTagstringOptional
rdsTagstringOptional
snowflakeTagstringOptional
spannerTagstringOptional
get/v1/dbops/execution-config/get-customer-config
GET /v1/dbops/execution-config/get-customer-config HTTP/1.1
Accept: */*
{
  "artifactoryTag": "text",
  "bigQueryTag": "text",
  "bigtableTag": "text",
  "cassandraTag": "text",
  "cloudSqlTag": "text",
  "databricksTag": "text",
  "db2Tag": "text",
  "defaultTag": "text",
  "flywayDefaultTag": "text",
  "flywayMongoTag": "text",
  "flywaySpannerPsqlTag": "text",
  "flywaySpannerTag": "text",
  "gitCloneTag": "text",
  "mongoTag": "text",
  "mssqlTag": "text",
  "oracleTag": "text",
  "perconaTag": "text",
  "rdsTag": "text",
  "snowflakeTag": "text",
  "spannerTag": "text"
}

Get Default Execution Config

get

Get list of the latest Harness Dbops images and tags

Header parameters
Harness-AccountstringOptional

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Response Body for Execution Config for Image tags

application/json
artifactoryTagstringOptional
bigQueryTagstringOptional
bigtableTagstringOptional
cassandraTagstringOptional
cloudSqlTagstringOptional
databricksTagstringOptional
db2TagstringOptional
defaultTagstringOptional
flywayDefaultTagstringOptional
flywayMongoTagstringOptional
flywaySpannerPsqlTagstringOptional
flywaySpannerTagstringOptional
gitCloneTagstringOptional
mongoTagstringOptional
mssqlTagstringOptional
oracleTagstringOptional
perconaTagstringOptional
rdsTagstringOptional
snowflakeTagstringOptional
spannerTagstringOptional
get/v1/dbops/execution-config/get-default-config
GET /v1/dbops/execution-config/get-default-config HTTP/1.1
Accept: */*
{
  "artifactoryTag": "text",
  "bigQueryTag": "text",
  "bigtableTag": "text",
  "cassandraTag": "text",
  "cloudSqlTag": "text",
  "databricksTag": "text",
  "db2Tag": "text",
  "defaultTag": "text",
  "flywayDefaultTag": "text",
  "flywayMongoTag": "text",
  "flywaySpannerPsqlTag": "text",
  "flywaySpannerTag": "text",
  "gitCloneTag": "text",
  "mongoTag": "text",
  "mssqlTag": "text",
  "oracleTag": "text",
  "perconaTag": "text",
  "rdsTag": "text",
  "snowflakeTag": "text",
  "spannerTag": "text"
}

Reset execution Config for DBOPs image tags

post

To reset one or more images to their defaults with a list of the images to reset.

Header parameters
Harness-AccountstringOptional

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Bodystring[]
string[]OptionalExample: gitCloneTag
Responses
201

Boolean response for execution config response

application/json
booleanOptionalDefault: false
post/v1/dbops/execution-config/reset-config
POST /v1/dbops/execution-config/reset-config HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 15

[
  "gitCloneTag"
]

No content

Override execution Config for DBOPs image tags

post

Override execution Config for DBOPs image tags

Header parameters
Harness-AccountstringOptional

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Bodyobject · ExecutionConfigOperation[]

Operations to set the images tag to particular version

fieldstringRequired

Image tag field names which can be retrieved from get-default-config

Example: gitCloneTag, defaultTag, mongoTag, etc
valuestringRequired

Value of the image tag

Example: harness/drone-git:1.5.6-rootless
Responses
201

Boolean response for execution config response

application/json
booleanOptionalDefault: false
post/v1/dbops/execution-config/update-config
POST /v1/dbops/execution-config/update-config HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 95

[
  {
    "field": "gitCloneTag, defaultTag, mongoTag, etc",
    "value": "harness/drone-git:1.5.6-rootless"
  }
]

No content

Last updated

Was this helpful?