Skip to content

SDK: deploy

The deploy methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types.

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The deploy area has 13 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).

deployEnvironmentsCreate

Create a deploy environment (policy class)

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/deploy/environments
  • Needs an approval for agents: class policy_change
deployEnvironmentsCreate(args: { tenantId: string; projectId: string; body: CreateEnvironmentRequest }, options?: CallOptions): Promise<EnvironmentResponse>

deployEnvironmentsList

List deploy environments

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/deploy/environments
deployEnvironmentsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<Record<string, unknown>>

deployEnvironmentsRollback

Roll an environment back to its previous release

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/deploy/environments/{environmentId}/rollback
deployEnvironmentsRollback(args: { tenantId: string; projectId: string; environmentId: string; body: RollbackRequest }, options?: CallOptions): Promise<RollbackResponse>

deployEnvironmentsSecret

Set an environment secret (secrets class)

  • Request: PUT on /v1/tenants/{tenantId}/projects/{projectId}/deploy/environments/{environmentId}/secrets
  • Needs an approval for agents: class secrets
deployEnvironmentsSecret(args: { tenantId: string; projectId: string; environmentId: string; body: SetEnvironmentSecretRequest }, options?: CallOptions): Promise<Record<string, unknown>>

deployEnvironmentsSecretDelete

Delete an environment secret (secrets class)

  • Request: DELETE on /v1/tenants/{tenantId}/projects/{projectId}/deploy/environments/{environmentId}/secrets/{name}
  • Needs an approval for agents: class secrets
deployEnvironmentsSecretDelete(args: { tenantId: string; projectId: string; environmentId: string; name: string }, options?: CallOptions): Promise<DeleteEnvironmentSecretResponse>

deployPreviewsCreate

Deploy a branch preview

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/deploy/previews
deployPreviewsCreate(args: { tenantId: string; projectId: string; body: PreviewRequest }, options?: CallOptions): Promise<DeployResponse>

deployProvidersList

List the deploy services this project can use, whether each is available, and prices for hosting on Overlane

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/deploy/providers
deployProvidersList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ProviderListResponse>

deployReleasesCreate

Deploy a built artifact to an environment

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/deploy/releases
deployReleasesCreate(args: { tenantId: string; projectId: string; body: DeployRequest }, options?: CallOptions): Promise<DeployResponse>

deployReleasesList

List deploys

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/deploy/releases
deployReleasesList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ReleaseListResponse>

deployTargetsCreate

Add a deploy target (secrets class). The provider token is write-only; a target hosted on Overlane takes none

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/deploy/targets
  • Needs an approval for agents: class secrets
deployTargetsCreate(args: { tenantId: string; projectId: string; body: CreateTargetRequest }, options?: CallOptions): Promise<TargetResponse>

deployTargetsDelete

Remove a deploy target and its stored token (deletion class). Refused with target_in_use while an environment deploys to it

  • Request: DELETE on /v1/tenants/{tenantId}/projects/{projectId}/deploy/targets/{target}
  • Needs an approval for agents: class deletion
deployTargetsDelete(args: { tenantId: string; projectId: string; target: string }, options?: CallOptions): Promise<DeleteTargetResponse>

deployTargetsList

List deploy targets

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/deploy/targets
deployTargetsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<TargetListResponse>

deployTargetsUpdate

Rename a deploy target, change its settings or replace its provider token (secrets class). The kind never changes; the token is write-only

  • Request: PATCH on /v1/tenants/{tenantId}/projects/{projectId}/deploy/targets/{target}
  • Needs an approval for agents: class secrets
deployTargetsUpdate(args: { tenantId: string; projectId: string; target: string; body: UpdateTargetRequest }, options?: CallOptions): Promise<TargetResponse>
Navigation

Type to search…

↑↓ navigate↵ selectEsc close

Overlane Agent

Ask about the docs. Answers are quoted from the pages, with links. This panel cannot change anything.

    Questions are answered in your browser from the docs index. Nothing you type here is stored or sent anywhere.