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:
POSTon/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:
GETon/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:
POSTon/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:
PUTon/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:
DELETEon/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:
POSTon/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:
GETon/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:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/deploy/releases
deployReleasesCreate(args: { tenantId: string; projectId: string; body: DeployRequest }, options?: CallOptions): Promise<DeployResponse>deployReleasesList
List deploys
- Request:
GETon/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:
POSTon/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:
DELETEon/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:
GETon/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:
PATCHon/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>