@distilled.cloud/render 1.0.0-rc.20 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +9 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/errors.d.ts +7 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.lazy.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +9 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/render.d.ts +842 -282
- package/lib/services/render.d.ts.map +1 -1
- package/lib/services/render.js +331 -318
- package/lib/services/render.js.map +1 -1
- package/lib/services.lazy/render.js +2 -2
- package/lib/traits.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/credentials.ts +24 -16
- package/src/errors.ts +9 -1
- package/src/protocol.ts +13 -23
- package/src/services/render.ts +3829 -2405
package/lib/services/render.d.ts
CHANGED
|
@@ -6,42 +6,54 @@ export type { RenderOpError, RenderOpContext };
|
|
|
6
6
|
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
7
7
|
readonly code: any;
|
|
8
8
|
readonly message: any;
|
|
9
|
+
readonly body: any;
|
|
10
|
+
readonly headers: any;
|
|
9
11
|
}> & (new (...args: any[]) => {
|
|
10
12
|
"@distilled.cloud/error/categories": {
|
|
11
13
|
BadRequestError: true;
|
|
12
14
|
};
|
|
13
15
|
});
|
|
14
16
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
17
|
+
readonly body?: Error | string;
|
|
15
18
|
}
|
|
16
19
|
declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
|
|
17
20
|
readonly code: any;
|
|
18
21
|
readonly message: any;
|
|
22
|
+
readonly body: any;
|
|
23
|
+
readonly headers: any;
|
|
19
24
|
}> & (new (...args: any[]) => {
|
|
20
25
|
"@distilled.cloud/error/categories": {
|
|
21
26
|
ConflictError: true;
|
|
22
27
|
};
|
|
23
28
|
});
|
|
24
29
|
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
30
|
+
readonly body?: Error | string;
|
|
25
31
|
}
|
|
26
32
|
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
27
33
|
readonly code: any;
|
|
28
34
|
readonly message: any;
|
|
35
|
+
readonly body: any;
|
|
36
|
+
readonly headers: any;
|
|
29
37
|
}> & (new (...args: any[]) => {
|
|
30
38
|
"@distilled.cloud/error/categories": {
|
|
31
39
|
AuthError: true;
|
|
32
40
|
};
|
|
33
41
|
});
|
|
34
42
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
43
|
+
readonly body?: Error | string;
|
|
35
44
|
}
|
|
36
45
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
37
46
|
readonly code: any;
|
|
38
47
|
readonly message: any;
|
|
48
|
+
readonly body: any;
|
|
49
|
+
readonly headers: any;
|
|
39
50
|
}> & (new (...args: any[]) => {
|
|
40
51
|
"@distilled.cloud/error/categories": {
|
|
41
52
|
BadRequestError: true;
|
|
42
53
|
};
|
|
43
54
|
});
|
|
44
55
|
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
56
|
+
readonly body?: Error | string;
|
|
45
57
|
}
|
|
46
58
|
export interface AddDiskRequest {
|
|
47
59
|
name: string;
|
|
@@ -81,18 +93,18 @@ export interface AddOrUpdateBuildSourceSecretFileRequest {
|
|
|
81
93
|
buildSourceId: string;
|
|
82
94
|
/** The file name of the secret file */
|
|
83
95
|
envVarKey: string;
|
|
84
|
-
content?: string | undefined;
|
|
96
|
+
content?: string | Redacted.Redacted<string> | undefined;
|
|
85
97
|
}
|
|
86
98
|
export interface SecretFile {
|
|
87
99
|
name: string;
|
|
88
|
-
content: string
|
|
100
|
+
content: string | Redacted.Redacted<string>;
|
|
89
101
|
}
|
|
90
102
|
export interface AddOrUpdateSecretFileRequest {
|
|
91
103
|
/** The ID of the service */
|
|
92
104
|
serviceId: string;
|
|
93
105
|
/** The file name of the secret file */
|
|
94
106
|
envVarKey: string;
|
|
95
|
-
content?: string | undefined;
|
|
107
|
+
content?: string | Redacted.Redacted<string> | undefined;
|
|
96
108
|
}
|
|
97
109
|
export type AddResourcesToEnvironmentRequestResourceIdsList = Array<string>;
|
|
98
110
|
export interface AddResourcesToEnvironmentRequest {
|
|
@@ -195,7 +207,7 @@ export interface DeployImage {
|
|
|
195
207
|
/** SHA that the image reference was resolved to when creating the deploy */
|
|
196
208
|
sha?: string | undefined;
|
|
197
209
|
/** Name of credential used to pull the image, if provided */
|
|
198
|
-
registryCredential?: string | undefined;
|
|
210
|
+
registryCredential?: string | Redacted.Redacted<string> | undefined;
|
|
199
211
|
}
|
|
200
212
|
export type DeployStatus = "created" | "queued" | "build_in_progress" | "update_in_progress" | "live" | "deactivated" | "build_failed" | "update_failed" | "canceled" | "pre_deploy_in_progress" | "pre_deploy_failed";
|
|
201
213
|
export type DeployTrigger = "api" | "blueprint_sync" | "deploy_hook" | "deployed_by_render" | "manual" | "other" | "new_commit" | "rollback" | "service_resumed" | "service_updated";
|
|
@@ -244,49 +256,47 @@ export interface CancelTaskRunResponse {
|
|
|
244
256
|
}
|
|
245
257
|
export type ConnectSandboxFilesRequestOperation = "upload" | "download";
|
|
246
258
|
export interface ConnectSandboxFilesRequest {
|
|
247
|
-
/** The ID of the sandbox */
|
|
259
|
+
/** The ID of the sandbox. */
|
|
248
260
|
sandboxId: string;
|
|
249
|
-
/** The file operation to authorize
|
|
261
|
+
/** The file transfer operation to authorize. Use `upload` to send a file or tar archive with HTTP PUT, or `download` to retrieve a file or directory archive with HTTP GET. */
|
|
250
262
|
operation: ConnectSandboxFilesRequestOperation | (string & {});
|
|
251
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
263
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
252
264
|
ownerId?: string | undefined;
|
|
253
|
-
/**
|
|
265
|
+
/** The file or directory path the token authorizes. For archive uploads, this is the directory to extract into. For downloads, it is the file or directory to retrieve. Relative paths are resolved from the image's `WORKDIR`, or the home directory if no `WORKDIR` is set. Use `.` for that working directory. Absolute paths are resolved from the sandbox filesystem root. */
|
|
254
266
|
path: string;
|
|
255
267
|
}
|
|
256
|
-
/** A
|
|
268
|
+
/** A short-lived connect token and the URL to use it with. Send the request to `uri` using `method`, with `token` as the bearer token. Include a request body if the operation requires one. */
|
|
257
269
|
export interface Schema26 {
|
|
258
|
-
/**
|
|
270
|
+
/** The ID of the sandbox execution. */
|
|
259
271
|
executionId: string;
|
|
260
|
-
/**
|
|
261
|
-
token: string
|
|
262
|
-
/** The
|
|
272
|
+
/** A short-lived bearer token that authorizes only the requested operation on this sandbox. */
|
|
273
|
+
token: string | Redacted.Redacted<string>;
|
|
274
|
+
/** The URL to send the authorized command run or file transfer request to. */
|
|
263
275
|
uri: string;
|
|
264
|
-
/** HTTP method to use
|
|
276
|
+
/** The HTTP method to use when sending the request to `uri`. */
|
|
265
277
|
method: string;
|
|
266
|
-
/**
|
|
278
|
+
/** The timestamp when the token expires, in ISO 8601 format. Start the authorized operation before this time. */
|
|
267
279
|
expiresAt: string;
|
|
268
280
|
}
|
|
269
281
|
export type ConnectSandboxRunRequestOperation = "sync" | "stream";
|
|
270
282
|
export interface ConnectSandboxRunRequest {
|
|
271
|
-
/** The ID of the sandbox */
|
|
283
|
+
/** The ID of the sandbox. */
|
|
272
284
|
sandboxId: string;
|
|
273
|
-
/** The run operation to authorize
|
|
285
|
+
/** The command run operation to authorize. Use `sync` for a buffered response or `stream` for server-sent events. */
|
|
274
286
|
operation: ConnectSandboxRunRequestOperation | (string & {});
|
|
275
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
287
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
276
288
|
ownerId?: string | undefined;
|
|
277
|
-
/** Command text for the sandbox event timeline. */
|
|
278
|
-
command?: string | undefined;
|
|
279
289
|
}
|
|
280
290
|
export interface ConnectSandboxRunResponse {
|
|
281
|
-
/**
|
|
291
|
+
/** The ID of the sandbox execution. */
|
|
282
292
|
executionId: string;
|
|
283
|
-
/**
|
|
284
|
-
token: string
|
|
285
|
-
/** The
|
|
293
|
+
/** A short-lived bearer token that authorizes only the requested operation on this sandbox. */
|
|
294
|
+
token: string | Redacted.Redacted<string>;
|
|
295
|
+
/** The URL to send the authorized command run or file transfer request to. */
|
|
286
296
|
uri: string;
|
|
287
|
-
/** HTTP method to use
|
|
297
|
+
/** The HTTP method to use when sending the request to `uri`. */
|
|
288
298
|
method: string;
|
|
289
|
-
/**
|
|
299
|
+
/** The timestamp when the token expires, in ISO 8601 format. Start the authorized operation before this time. */
|
|
290
300
|
expiresAt: string;
|
|
291
301
|
}
|
|
292
302
|
export type BuildFilterPathsList2 = Array<string>;
|
|
@@ -323,7 +333,7 @@ export interface CreateBuildSourceRequestImage {
|
|
|
323
333
|
export type CreateBuildSourceRequestServiceIdsList = Array<string>;
|
|
324
334
|
export interface SchemaItemCase0 {
|
|
325
335
|
key: string;
|
|
326
|
-
value: string
|
|
336
|
+
value: string | Redacted.Redacted<string>;
|
|
327
337
|
}
|
|
328
338
|
export interface SchemaItemCase1 {
|
|
329
339
|
key: string;
|
|
@@ -334,7 +344,7 @@ export type SchemaItem = SchemaItemCase0 | SchemaItemCase1;
|
|
|
334
344
|
export type Schema6 = Array<SchemaItem>;
|
|
335
345
|
export interface Items {
|
|
336
346
|
name: string;
|
|
337
|
-
content: string
|
|
347
|
+
content: string | Redacted.Redacted<string>;
|
|
338
348
|
}
|
|
339
349
|
/** Secret files for the build source's build. Only valid for `git` sources. */
|
|
340
350
|
export type CreateBuildSourceRequestSecretFilesList = Array<Items>;
|
|
@@ -497,9 +507,11 @@ export interface EnvGroupLink {
|
|
|
497
507
|
export type CreateEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
|
|
498
508
|
export interface EnvVar {
|
|
499
509
|
key: string;
|
|
500
|
-
value: string
|
|
510
|
+
value: string | Redacted.Redacted<string>;
|
|
501
511
|
}
|
|
512
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
502
513
|
export type CreateEnvGroupResponseEnvVarsList = Array<EnvVar>;
|
|
514
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
503
515
|
export type CreateEnvGroupResponseSecretFilesList = Array<SecretFile>;
|
|
504
516
|
export interface CreateEnvGroupResponse {
|
|
505
517
|
id: string;
|
|
@@ -510,8 +522,10 @@ export interface CreateEnvGroupResponse {
|
|
|
510
522
|
/** List of serviceIds linked to the envGroup */
|
|
511
523
|
serviceLinks: CreateEnvGroupResponseServiceLinksList;
|
|
512
524
|
environmentId?: string | undefined;
|
|
513
|
-
|
|
514
|
-
|
|
525
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
526
|
+
envVars?: CreateEnvGroupResponseEnvVarsList | undefined;
|
|
527
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
528
|
+
secretFiles?: CreateEnvGroupResponseSecretFilesList | undefined;
|
|
515
529
|
}
|
|
516
530
|
export type CreateEnvironmentRequestIpAllowListList = Array<CidrBlockAndDescription>;
|
|
517
531
|
export interface CreateEnvironmentRequest {
|
|
@@ -603,7 +617,7 @@ export interface CreatePostgresRequest {
|
|
|
603
617
|
databaseName?: string | undefined;
|
|
604
618
|
databaseUser?: string | undefined;
|
|
605
619
|
/** The Datadog API key for the Datadog agent to monitor the new database. */
|
|
606
|
-
datadogAPIKey?: string | undefined;
|
|
620
|
+
datadogAPIKey?: string | Redacted.Redacted<string> | undefined;
|
|
607
621
|
/** Datadog region to use for monitoring the new database. Defaults to 'US1'. */
|
|
608
622
|
datadogSite?: string | undefined;
|
|
609
623
|
/** The name of the database as it will appear in the Render Dashboard */
|
|
@@ -715,7 +729,7 @@ export interface CreateRegistryCredentialRequest {
|
|
|
715
729
|
registry: RegistryCredentialRegistry | (string & {});
|
|
716
730
|
name: string;
|
|
717
731
|
username: string;
|
|
718
|
-
authToken: string
|
|
732
|
+
authToken: string | Redacted.Redacted<string>;
|
|
719
733
|
ownerId: string;
|
|
720
734
|
}
|
|
721
735
|
export interface RegistryCredential {
|
|
@@ -729,83 +743,87 @@ export interface RegistryCredential {
|
|
|
729
743
|
/** Last updated time for the credential */
|
|
730
744
|
updatedAt: string;
|
|
731
745
|
}
|
|
732
|
-
/** How outbound traffic
|
|
746
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
|
|
733
747
|
export type CreateSandboxRequestNetworkPolicyType = "allow-all" | "deny-all" | "allow-list";
|
|
734
|
-
/** How outbound traffic
|
|
735
|
-
export type
|
|
736
|
-
/**
|
|
748
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
|
|
749
|
+
export type _06 = "allow-all" | "deny-all" | "allow-list";
|
|
750
|
+
/** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
|
|
737
751
|
export type CreateSandboxRequestNetworkPolicyRulesItemProtocol = "https";
|
|
752
|
+
/** A destination that sandboxes can access when the network policy is `allow-list`. */
|
|
738
753
|
export interface CreateSandboxRequestNetworkPolicyRulesItem {
|
|
739
|
-
/**
|
|
754
|
+
/** The hostname this rule allows, up to 253 characters. Matching is exact: `foo.local` does not match `api.foo.local`. Use a separate rule or `*.foo.local` for subdomains. A wildcard is allowed only as the leftmost label. */
|
|
740
755
|
domain: string;
|
|
741
|
-
/**
|
|
756
|
+
/** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
|
|
742
757
|
protocol?: CreateSandboxRequestNetworkPolicyRulesItemProtocol | (string & {}) | undefined;
|
|
743
758
|
}
|
|
744
759
|
/** Destinations the sandbox may reach, required when the policy is `allow-list` and rejected otherwise. Each domain may be listed once. */
|
|
745
760
|
export type CreateSandboxRequestNetworkPolicyRulesList = Array<CreateSandboxRequestNetworkPolicyRulesItem>;
|
|
746
|
-
/**
|
|
761
|
+
/** The outbound traffic policy to apply to the sandbox. Provide `type` or its deprecated alias `default`. If both are provided, they must match. */
|
|
747
762
|
export interface CreateSandboxRequestNetworkPolicy {
|
|
748
|
-
/** How outbound traffic
|
|
763
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. Required unless `default` is provided. If `networkPolicy` is omitted, defaults to `allow-all`, or to the source sandbox's policy when creating a sandbox from a snapshot. */
|
|
749
764
|
type?: CreateSandboxRequestNetworkPolicyType | (string & {}) | undefined;
|
|
750
|
-
/**
|
|
751
|
-
default?:
|
|
765
|
+
/** A deprecated alias for `type`. Use `type` instead. */
|
|
766
|
+
default?: _06 | (string & {}) | undefined;
|
|
752
767
|
/** Destinations the sandbox may reach, required when the policy is `allow-list` and rejected otherwise. Each domain may be listed once. */
|
|
753
768
|
rules?: CreateSandboxRequestNetworkPolicyRulesList | undefined;
|
|
754
769
|
}
|
|
755
|
-
/** The compute plan
|
|
770
|
+
/** The compute plan for the sandbox. The `starter`, `standard`, and `pro` plans are deprecated. */
|
|
756
771
|
export type CreateSandboxRequestPlanCase0 = "starter" | "standard" | "pro" | "1c-2g" | "2c-4g" | "4c-8g" | "8c-16g";
|
|
757
|
-
/**
|
|
772
|
+
/** The compute plan for the sandbox. See `sandboxPlan` for known values. */
|
|
758
773
|
export type CreateSandboxRequestPlan = CreateSandboxRequestPlanCase0 | string;
|
|
759
|
-
/**
|
|
774
|
+
/** The environment variables to set when creating the sandbox. */
|
|
760
775
|
export type CreateSandboxRequestEnvMap = {
|
|
761
776
|
[key: string]: string | undefined;
|
|
762
777
|
};
|
|
763
778
|
export interface CreateSandboxRequest {
|
|
764
779
|
/** The ID of the workspace the sandbox belongs to. */
|
|
765
780
|
ownerId: string;
|
|
766
|
-
/**
|
|
781
|
+
/** The ID of the sandbox group to create the sandbox in. Defaults to the workspace's default group. */
|
|
767
782
|
sandboxGroupId?: string | undefined;
|
|
768
|
-
/** A label for the sandbox,
|
|
783
|
+
/** A label for the sandbox, such as `my-agent`, up to 64 characters. Names do not have to be unique; use the sandbox ID to identify a specific sandbox. Must not start with `sbx-`. */
|
|
769
784
|
name?: string | undefined;
|
|
770
|
-
/**
|
|
785
|
+
/** The outbound traffic policy to apply to the sandbox. Provide `type` or its deprecated alias `default`. If both are provided, they must match. */
|
|
771
786
|
networkPolicy?: CreateSandboxRequestNetworkPolicy | undefined;
|
|
772
|
-
/**
|
|
787
|
+
/** The compute plan for the sandbox. See `sandboxPlan` for known values. */
|
|
773
788
|
plan?: CreateSandboxRequestPlan | undefined;
|
|
774
|
-
/**
|
|
789
|
+
/** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. Use 0 to disable the runtime timeout. Positive values must be between 60 and 2592000 (30 days). Defaults to 86400, or to the source sandbox's runtime timeout when creating a sandbox from a snapshot. */
|
|
775
790
|
timeoutSeconds?: number | undefined;
|
|
776
|
-
/**
|
|
791
|
+
/** The number of seconds of inactivity before Render suspends the sandbox. Use 0 to disable automatic idle suspension. Positive values must be between 300 and 86400. Defaults to 900, or to the source sandbox's idle timeout when creating a sandbox from a snapshot. */
|
|
777
792
|
idleTimeoutSeconds?: number | undefined;
|
|
778
|
-
/**
|
|
793
|
+
/** The environment variables to set when creating the sandbox. */
|
|
779
794
|
env?: CreateSandboxRequestEnvMap | undefined;
|
|
780
|
-
/**
|
|
795
|
+
/** The ID of the snapshot to create the sandbox from instead of the base image. The snapshot must be `available` and belong to the same sandbox group. For a `runtime` snapshot, `plan` must match the snapshot's plan. The new sandbox inherits the source sandbox's network policy, timeout, and idle timeout. Provide `networkPolicy`, `timeoutSeconds`, or `idleTimeoutSeconds` to override these settings. */
|
|
781
796
|
snapshotId?: string | undefined;
|
|
782
|
-
/**
|
|
797
|
+
/** The name of the snapshot to create the sandbox from. Uses the most recently created snapshot with this name in the sandbox group that is `available` and unexpired. Cannot be combined with `snapshotId`. The same restore requirements as `snapshotId` apply. */
|
|
783
798
|
snapshotName?: string | undefined;
|
|
784
|
-
/**
|
|
799
|
+
/** The ID of the build to create the sandbox from instead of the base image. The build must have succeeded and belong to the same sandbox group. Cannot be combined with `buildName`, `snapshotId`, or `snapshotName`. */
|
|
785
800
|
buildId?: string | undefined;
|
|
786
|
-
/**
|
|
801
|
+
/** The name of the build to create the sandbox from instead of the base image. Uses the newest successful build with this name in the sandbox group. Cannot be combined with `buildId`, `snapshotId`, or `snapshotName`. */
|
|
787
802
|
buildName?: string | undefined;
|
|
788
803
|
}
|
|
804
|
+
/** The sandbox's current status. */
|
|
789
805
|
export type Items6 = "creating" | "running" | "suspending" | "suspended" | "resuming" | "errored" | "terminated";
|
|
790
|
-
/** The compute plan
|
|
791
|
-
export type
|
|
792
|
-
/**
|
|
793
|
-
export type CreateSandboxResponsePlan =
|
|
794
|
-
/**
|
|
806
|
+
/** The compute plan for the sandbox. The `starter`, `standard`, and `pro` plans are deprecated. */
|
|
807
|
+
export type _05 = "starter" | "standard" | "pro" | "1c-2g" | "2c-4g" | "4c-8g" | "8c-16g";
|
|
808
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
809
|
+
export type CreateSandboxResponsePlan = _05 | string;
|
|
810
|
+
/** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
|
|
795
811
|
export type ItemsProtocol = "https";
|
|
812
|
+
/** A destination that sandboxes can access when the network policy is `allow-list`. */
|
|
796
813
|
export interface Items7 {
|
|
797
|
-
/**
|
|
814
|
+
/** The hostname this rule allows, up to 253 characters. Matching is exact: `foo.local` does not match `api.foo.local`. Use a separate rule or `*.foo.local` for subdomains. A wildcard is allowed only as the leftmost label. */
|
|
798
815
|
domain: string;
|
|
799
|
-
/**
|
|
816
|
+
/** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
|
|
800
817
|
protocol?: ItemsProtocol | undefined;
|
|
801
818
|
}
|
|
802
819
|
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
803
820
|
export type CreateSandboxResponseNetworkPolicyRulesList = Array<Items7>;
|
|
821
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
804
822
|
export interface CreateSandboxResponseNetworkPolicy {
|
|
805
|
-
/** How outbound traffic
|
|
806
|
-
type:
|
|
807
|
-
/**
|
|
808
|
-
default?:
|
|
823
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
|
|
824
|
+
type: _06;
|
|
825
|
+
/** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
|
|
826
|
+
default?: _06 | undefined;
|
|
809
827
|
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
810
828
|
rules?: CreateSandboxResponseNetworkPolicyRulesList | undefined;
|
|
811
829
|
}
|
|
@@ -813,121 +831,218 @@ export interface CreateSandboxResponse {
|
|
|
813
831
|
id: string;
|
|
814
832
|
/** The label set when the sandbox was created. */
|
|
815
833
|
name?: string | null | undefined;
|
|
816
|
-
/** The sandbox group this sandbox belongs to. */
|
|
834
|
+
/** The ID of the sandbox group this sandbox belongs to. */
|
|
817
835
|
sandboxGroupId?: string | undefined;
|
|
818
836
|
status: Items6;
|
|
819
|
-
/**
|
|
837
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
820
838
|
plan: CreateSandboxResponsePlan;
|
|
839
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
821
840
|
networkPolicy: CreateSandboxResponseNetworkPolicy;
|
|
822
|
-
/**
|
|
841
|
+
/** The Render region where the sandbox runs. */
|
|
823
842
|
region: string;
|
|
824
|
-
/**
|
|
843
|
+
/** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
|
|
825
844
|
timeoutSeconds: number;
|
|
826
|
-
/**
|
|
845
|
+
/** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
|
|
827
846
|
idleTimeoutSeconds: number;
|
|
847
|
+
/** The timestamp when the sandbox was created, in ISO 8601 format. */
|
|
828
848
|
createdAt: string;
|
|
829
|
-
/**
|
|
849
|
+
/** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
|
|
830
850
|
terminatedAt?: string | null | undefined;
|
|
831
851
|
}
|
|
832
|
-
/**
|
|
852
|
+
/** Credentials used to pull `sourceImage` from a private registry for this build. */
|
|
833
853
|
export interface CreateSandboxBuildRequestRegistryCredential {
|
|
854
|
+
/** The username used to authenticate with the image registry. */
|
|
834
855
|
username: string;
|
|
856
|
+
/** The password used to authenticate with the image registry. */
|
|
835
857
|
password: string | Redacted.Redacted<string>;
|
|
836
858
|
}
|
|
837
859
|
export interface CreateSandboxBuildRequest {
|
|
838
|
-
/** The ID of the sandbox group */
|
|
860
|
+
/** The ID of the sandbox group. */
|
|
839
861
|
sandboxGroupId: string;
|
|
840
|
-
/**
|
|
862
|
+
/** The name used to select this image when creating a sandbox, between 1 and 255 characters. Can't start with `sbb-`, the prefix reserved for build IDs. Multiple builds can share a name. */
|
|
841
863
|
name: string;
|
|
842
|
-
/** The image to convert, by tag or digest. */
|
|
864
|
+
/** The container image to convert, specified by tag or digest. */
|
|
843
865
|
sourceImage: string;
|
|
844
|
-
/**
|
|
866
|
+
/** Credentials used to pull `sourceImage` from a private registry for this build. */
|
|
845
867
|
registryCredential?: CreateSandboxBuildRequestRegistryCredential | undefined;
|
|
846
868
|
}
|
|
869
|
+
/** The source container image used for this build. */
|
|
847
870
|
export interface CreateSandboxBuildResponseSource {
|
|
871
|
+
/** The registry and repository path containing the source image. */
|
|
848
872
|
repository: string;
|
|
873
|
+
/** The name of the source image. */
|
|
849
874
|
image: string;
|
|
875
|
+
/** The tag or digest identifying the source image version. */
|
|
850
876
|
reference: string;
|
|
851
877
|
}
|
|
852
|
-
|
|
878
|
+
/** The sandbox build's current status. */
|
|
879
|
+
export type Items10 = "pending" | "running" | "succeeded" | "failed";
|
|
853
880
|
export interface CreateSandboxBuildResponse {
|
|
854
881
|
id: string;
|
|
855
882
|
sandboxGroupId: string;
|
|
856
|
-
/**
|
|
883
|
+
/** The name used to select this image when creating a sandbox. Multiple builds can share a name. */
|
|
857
884
|
name: string;
|
|
885
|
+
/** The source container image used for this build. */
|
|
858
886
|
source: CreateSandboxBuildResponseSource;
|
|
859
|
-
/** The
|
|
887
|
+
/** The digest of the source image converted by this build. */
|
|
860
888
|
sourceDigest: string;
|
|
861
|
-
status:
|
|
862
|
-
/**
|
|
889
|
+
status: Items10;
|
|
890
|
+
/** A description of why the build failed. Null unless the status is `failed`. May include error text from the image registry. When displaying errors, use `failureCode` to select the main message and show this value as additional detail. */
|
|
863
891
|
failureReason?: string | null | undefined;
|
|
892
|
+
/** A machine-readable reason the build failed. Null unless the status is `failed`. See `sandboxBuildFailureCode` for known codes. Treat unrecognized codes as `internal_error`. */
|
|
893
|
+
failureCode?: string | null | undefined;
|
|
894
|
+
/** The timestamp when the sandbox build was created, in ISO 8601 format. */
|
|
864
895
|
createdAt: string;
|
|
865
|
-
/**
|
|
896
|
+
/** The timestamp when the build succeeded or failed, in ISO 8601 format. Null while the build is pending or running. */
|
|
866
897
|
finishedAt?: string | null | undefined;
|
|
867
898
|
}
|
|
868
899
|
export interface CreateSandboxGroupRequest {
|
|
869
|
-
/**
|
|
900
|
+
/** The ID of the workspace to create the sandbox group in. */
|
|
870
901
|
ownerId: string;
|
|
871
|
-
/**
|
|
902
|
+
/** The sandbox group's name. Must be unique within the workspace. */
|
|
872
903
|
name: string;
|
|
873
|
-
/**
|
|
904
|
+
/** The Render region where the group's sandboxes run. Defaults to `oregon`. */
|
|
874
905
|
region?: string | undefined;
|
|
906
|
+
/** The ID of an environment in the workspace to create the group in. If you omit it, the group isn't in a project. Creating a group in a protected environment requires an admin. */
|
|
907
|
+
environmentId?: string | undefined;
|
|
875
908
|
}
|
|
876
909
|
export interface CreateSandboxGroupResponse {
|
|
877
910
|
id: string;
|
|
878
911
|
/** The ID of the workspace this group belongs to. */
|
|
879
912
|
ownerId: string;
|
|
880
|
-
/**
|
|
913
|
+
/** The sandbox group's name. */
|
|
881
914
|
name: string;
|
|
882
|
-
/** Render region the group
|
|
915
|
+
/** The Render region where the group's sandboxes run. */
|
|
883
916
|
region: string;
|
|
884
|
-
/** Whether this is the workspace's default group.
|
|
917
|
+
/** Whether this is the workspace's default sandbox group. Create requests that omit `sandboxGroupId` use this group. */
|
|
885
918
|
isDefault: boolean;
|
|
886
|
-
/**
|
|
919
|
+
/** The ID of the environment that contains this group. Null if the group isn't in a project. To move a group, add it to or remove it from an environment with `/environments/{environmentId}/resources`. */
|
|
887
920
|
environmentId?: string | null | undefined;
|
|
888
|
-
/** The
|
|
921
|
+
/** The maximum number of active sandboxes allowed in this group, capped by Render's limit for the workspace. */
|
|
889
922
|
concurrencyLimit: number;
|
|
923
|
+
/** The timestamp when the sandbox group was created, in ISO 8601 format. */
|
|
890
924
|
createdAt: string;
|
|
925
|
+
/** The timestamp when the sandbox group was last updated, in ISO 8601 format. */
|
|
926
|
+
updatedAt: string;
|
|
927
|
+
}
|
|
928
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. Omit or provide an empty list to match any method. */
|
|
929
|
+
export type CreateSandboxGroupCredentialRequestMethodsList = Array<string>;
|
|
930
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. Omit or provide an empty list to match any path. */
|
|
931
|
+
export type CreateSandboxGroupCredentialRequestPathsList = Array<string>;
|
|
932
|
+
/** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
|
|
933
|
+
export type CreateSandboxGroupCredentialRequestInjectionType = "header" | "basic" | "cookie" | "query";
|
|
934
|
+
/** Settings for injecting the secret value into matching outbound HTTPS requests. */
|
|
935
|
+
export interface CreateSandboxGroupCredentialRequestInjection {
|
|
936
|
+
/** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
|
|
937
|
+
type: CreateSandboxGroupCredentialRequestInjectionType | (string & {});
|
|
938
|
+
/** The header, cookie, or query parameter to set. Required for `header`, `cookie`, and `query`. Headers that control routing or connection behavior cannot be used. */
|
|
939
|
+
name?: string | undefined;
|
|
940
|
+
/** A template containing 1-5 occurrences of `${SECRET}`, such as `Bearer ${SECRET}`. Render replaces each occurrence with the secret value. Omit to use the secret value without a template. */
|
|
941
|
+
template?: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
export interface CreateSandboxGroupCredentialRequest {
|
|
944
|
+
/** The ID of the sandbox group. */
|
|
945
|
+
sandboxGroupId: string;
|
|
946
|
+
id: string;
|
|
947
|
+
/** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
|
|
948
|
+
domain: string;
|
|
949
|
+
/** The secret value to store, up to 5 KiB (5120 UTF-8 bytes). */
|
|
950
|
+
value: string | Redacted.Redacted<string>;
|
|
951
|
+
/** Whether this credential is enabled for injection. Defaults to `true`. */
|
|
952
|
+
enabled?: boolean | undefined;
|
|
953
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. Omit or provide an empty list to match any method. */
|
|
954
|
+
methods?: CreateSandboxGroupCredentialRequestMethodsList | undefined;
|
|
955
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. Omit or provide an empty list to match any path. */
|
|
956
|
+
paths?: CreateSandboxGroupCredentialRequestPathsList | undefined;
|
|
957
|
+
/** Settings for injecting the secret value into matching outbound HTTPS requests. */
|
|
958
|
+
injection: CreateSandboxGroupCredentialRequestInjection;
|
|
959
|
+
}
|
|
960
|
+
/** Metadata for a credential version. These endpoints do not return secret values. */
|
|
961
|
+
export interface Items9 {
|
|
962
|
+
/** The ID of the credential version. Each new version receives a higher ID, including versions created by a restore. */
|
|
963
|
+
id: number;
|
|
964
|
+
/** The timestamp when this credential version was created, in ISO 8601 format. */
|
|
891
965
|
updatedAt: string;
|
|
966
|
+
/** The ID of the authenticated identity that created this credential version. */
|
|
967
|
+
updatedBy: string;
|
|
968
|
+
/** A fingerprint of the routing settings, injection settings, and secret value. Matching fingerprints identify equivalent credential configurations within the same sandbox group. Fingerprints cannot be compared across groups. */
|
|
969
|
+
fingerprint: string;
|
|
970
|
+
/** The ID of the credential version restored to create this version. Omitted for versions created by a create or update request. */
|
|
971
|
+
restoredFromVersionId?: number | undefined;
|
|
972
|
+
}
|
|
973
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
|
|
974
|
+
export type CreateSandboxGroupCredentialResponseMethodsList = Array<string>;
|
|
975
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
|
|
976
|
+
export type CreateSandboxGroupCredentialResponsePathsList = Array<string>;
|
|
977
|
+
/** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
|
|
978
|
+
export type InjectionType = "header" | "basic" | "cookie" | "query";
|
|
979
|
+
/** Settings for injecting the secret value into matching outbound HTTPS requests. */
|
|
980
|
+
export interface Injection {
|
|
981
|
+
/** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
|
|
982
|
+
type: InjectionType | (string & {});
|
|
983
|
+
/** The header, cookie, or query parameter to set. Required for `header`, `cookie`, and `query`. Headers that control routing or connection behavior cannot be used. */
|
|
984
|
+
name?: string | undefined;
|
|
985
|
+
/** A template containing 1-5 occurrences of `${SECRET}`, such as `Bearer ${SECRET}`. Render replaces each occurrence with the secret value. Omit to use the secret value without a template. */
|
|
986
|
+
template?: string | undefined;
|
|
892
987
|
}
|
|
893
|
-
|
|
988
|
+
export interface CreateSandboxGroupCredentialResponse {
|
|
989
|
+
id: string;
|
|
990
|
+
/** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
|
|
991
|
+
domain: string;
|
|
992
|
+
version?: Items9 | undefined;
|
|
993
|
+
/** Whether this credential is enabled for injection. */
|
|
994
|
+
enabled: boolean;
|
|
995
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
|
|
996
|
+
methods: CreateSandboxGroupCredentialResponseMethodsList;
|
|
997
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
|
|
998
|
+
paths: CreateSandboxGroupCredentialResponsePathsList;
|
|
999
|
+
injection: Injection;
|
|
1000
|
+
}
|
|
1001
|
+
/** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
|
|
894
1002
|
export type Kind = "filesystem" | "runtime";
|
|
895
1003
|
export interface CreateSandboxSnapshotRequest {
|
|
896
|
-
/** The ID of the sandbox */
|
|
1004
|
+
/** The ID of the sandbox. */
|
|
897
1005
|
sandboxId: string;
|
|
898
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
1006
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
899
1007
|
ownerId?: string | undefined;
|
|
1008
|
+
/** The state to capture in the snapshot. Defaults to `runtime`. */
|
|
900
1009
|
kind?: Kind | (string & {}) | undefined;
|
|
901
|
-
/**
|
|
1010
|
+
/** A case-sensitive name for snapshots in a sandbox group, up to 64 characters. Must not start with `snp-`. Multiple snapshots can share a name. When creating a sandbox by snapshot name, Render uses the most recently created snapshot with that name that is `available` and unexpired. */
|
|
902
1011
|
name?: string | undefined;
|
|
903
|
-
/** The
|
|
1012
|
+
/** The snapshot's lifetime after its last use, in seconds. Creating a sandbox from this snapshot resets its remaining lifetime to this duration. Use 0 to keep the snapshot until you delete it. Defaults to Render's snapshot lifetime. Cannot be combined with `expiresAt`. */
|
|
1013
|
+
ttlSeconds?: number | undefined;
|
|
1014
|
+
/** The expiration timestamp, in ISO 8601 format. Deprecated; use `ttlSeconds` instead. Must be in the future. Render sets the snapshot lifetime to the duration between the request and this timestamp. */
|
|
904
1015
|
expiresAt?: string | undefined;
|
|
905
1016
|
}
|
|
906
|
-
/** `filesystem` captures the writable filesystem and
|
|
1017
|
+
/** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
|
|
907
1018
|
export type CreateSandboxSnapshotResponseKind = "filesystem" | "runtime";
|
|
1019
|
+
/** The snapshot's current status. */
|
|
908
1020
|
export type Items8 = "creating" | "available" | "failed";
|
|
909
|
-
/**
|
|
910
|
-
export type CreateSandboxSnapshotResponsePlan =
|
|
1021
|
+
/** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
|
|
1022
|
+
export type CreateSandboxSnapshotResponsePlan = _05 | string;
|
|
911
1023
|
export interface CreateSandboxSnapshotResponse {
|
|
912
1024
|
id: string;
|
|
913
1025
|
sandboxGroupId: string;
|
|
914
|
-
/** The sandbox this snapshot was captured from
|
|
1026
|
+
/** The ID of the sandbox this snapshot was captured from, recorded for reference. */
|
|
915
1027
|
sourceSandboxId: string;
|
|
916
|
-
/**
|
|
1028
|
+
/** The name assigned when the snapshot was created. Cannot be changed. Null if no name was provided. */
|
|
917
1029
|
name?: string | null | undefined;
|
|
918
|
-
/** `filesystem` captures the writable filesystem and
|
|
1030
|
+
/** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
|
|
919
1031
|
kind: CreateSandboxSnapshotResponseKind;
|
|
920
1032
|
status: Items8;
|
|
921
|
-
/**
|
|
1033
|
+
/** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
|
|
922
1034
|
plan: CreateSandboxSnapshotResponsePlan;
|
|
1035
|
+
/** The timestamp when the snapshot was requested, in ISO 8601 format. */
|
|
923
1036
|
requestedAt: string;
|
|
924
|
-
/**
|
|
1037
|
+
/** The timestamp when capture completed, in ISO 8601 format. Null until the snapshot is `available`. */
|
|
925
1038
|
capturedAt?: string | null | undefined;
|
|
926
|
-
/** The
|
|
1039
|
+
/** The timestamp after which the snapshot can no longer be retrieved or restored, in ISO 8601 format. Each time you create a sandbox from this snapshot, Render resets its expiration to `ttlSeconds` seconds after that use. For snapshots with no expiration (`ttlSeconds: 0`), this is `9999-12-31T23:59:59Z`. */
|
|
927
1040
|
expiresAt: string;
|
|
928
|
-
/**
|
|
1041
|
+
/** The snapshot's lifetime after its last use, in seconds. A value of 0 means the snapshot does not expire. If omitted, Render's default snapshot lifetime applies. */
|
|
1042
|
+
ttlSeconds?: number | undefined;
|
|
1043
|
+
/** The size of the snapshot, in bytes. Null until the snapshot is `available`. */
|
|
929
1044
|
sizeBytes?: number | null | undefined;
|
|
930
|
-
/** Null unless `failed`. */
|
|
1045
|
+
/** The reason the snapshot failed. Null unless its status is `failed`. */
|
|
931
1046
|
error?: string | null | undefined;
|
|
932
1047
|
}
|
|
933
1048
|
export type ServiceType = "static_site" | "web_service" | "private_service" | "background_worker" | "cron_job";
|
|
@@ -1267,7 +1382,7 @@ export interface CreateTaskRequest {
|
|
|
1267
1382
|
/** A client-generated key that makes starting a task run safe to retry. Repeating a request with the same key within 24 hours returns the task run that the first request started instead of starting another one; the repeated request's input is ignored. Keys are scoped to a workflow. Omit the key to always start a new run. */
|
|
1268
1383
|
idempotencyKey?: string | undefined;
|
|
1269
1384
|
}
|
|
1270
|
-
export type Status2 = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused";
|
|
1385
|
+
export type Status2 = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
|
|
1271
1386
|
export interface CreateTaskResponseAttemptsItem {
|
|
1272
1387
|
/** The ID of the task run this attempt belongs to. */
|
|
1273
1388
|
taskRunId?: string | undefined;
|
|
@@ -1519,12 +1634,28 @@ export interface DeleteRouteRequest {
|
|
|
1519
1634
|
}
|
|
1520
1635
|
export interface DeleteRouteResponse {
|
|
1521
1636
|
}
|
|
1637
|
+
export interface DeleteSandboxBuildRequest {
|
|
1638
|
+
/** The ID of the sandbox group. */
|
|
1639
|
+
sandboxGroupId: string;
|
|
1640
|
+
/** The ID of the sandbox build. */
|
|
1641
|
+
buildId: string;
|
|
1642
|
+
}
|
|
1643
|
+
export interface DeleteSandboxBuildResponse {
|
|
1644
|
+
}
|
|
1645
|
+
export interface DeleteSandboxGroupCredentialRequest {
|
|
1646
|
+
/** The ID of the sandbox group. */
|
|
1647
|
+
sandboxGroupId: string;
|
|
1648
|
+
/** The ID of the credential. Must be unique within this sandbox group. */
|
|
1649
|
+
credentialId: string;
|
|
1650
|
+
}
|
|
1651
|
+
export interface DeleteSandboxGroupCredentialResponse {
|
|
1652
|
+
}
|
|
1522
1653
|
export interface DeleteSandboxSnapshotRequest {
|
|
1523
|
-
/** The ID of the sandbox group */
|
|
1654
|
+
/** The ID of the sandbox group. */
|
|
1524
1655
|
sandboxGroupId: string;
|
|
1525
|
-
/** The ID of the snapshot */
|
|
1656
|
+
/** The ID of the sandbox snapshot. */
|
|
1526
1657
|
snapshotId: string;
|
|
1527
|
-
/** The ID of the workspace the sandbox group belongs to.
|
|
1658
|
+
/** The ID of the workspace the sandbox group belongs to. */
|
|
1528
1659
|
ownerId?: string | undefined;
|
|
1529
1660
|
}
|
|
1530
1661
|
export interface DeleteSandboxSnapshotResponse {
|
|
@@ -1581,6 +1712,12 @@ export interface GetActiveConnectionsRequest {
|
|
|
1581
1712
|
resolutionSeconds?: number | undefined;
|
|
1582
1713
|
/** Resource ID to query. When multiple resource query params are provided, they are ORed together. Resources Postgres ids or Redis ids */
|
|
1583
1714
|
resource?: string | undefined;
|
|
1715
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
1716
|
+
project?: string | undefined;
|
|
1717
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
1718
|
+
environment?: string | undefined;
|
|
1719
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
1720
|
+
region?: string | undefined;
|
|
1584
1721
|
}
|
|
1585
1722
|
/** A time series datapoint label */
|
|
1586
1723
|
export interface GetActiveConnectionsResponseBodyItemLabelsItem {
|
|
@@ -1616,6 +1753,12 @@ export interface GetBandwidthRequest {
|
|
|
1616
1753
|
resource?: string | undefined;
|
|
1617
1754
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1618
1755
|
service?: string | undefined;
|
|
1756
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
1757
|
+
project?: string | undefined;
|
|
1758
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
1759
|
+
environment?: string | undefined;
|
|
1760
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
1761
|
+
region?: string | undefined;
|
|
1619
1762
|
}
|
|
1620
1763
|
/** A time series datapoint label */
|
|
1621
1764
|
export type GetBandwidthResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1645,6 +1788,12 @@ export interface GetBandwidthSourcesRequest {
|
|
|
1645
1788
|
resource?: string | undefined;
|
|
1646
1789
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1647
1790
|
service?: string | undefined;
|
|
1791
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
1792
|
+
project?: string | undefined;
|
|
1793
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
1794
|
+
environment?: string | undefined;
|
|
1795
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
1796
|
+
region?: string | undefined;
|
|
1648
1797
|
}
|
|
1649
1798
|
export type GetBandwidthSourcesResponseDataItemLabelsTrafficSource = "total" | "http" | "websocket" | "nat" | "privatelink";
|
|
1650
1799
|
export interface GetBandwidthSourcesResponseDataItemLabels {
|
|
@@ -1719,33 +1868,33 @@ export interface GetBuildSourceBuildRequest {
|
|
|
1719
1868
|
buildSourceId: string;
|
|
1720
1869
|
buildId: string;
|
|
1721
1870
|
}
|
|
1722
|
-
export type
|
|
1723
|
-
export type
|
|
1871
|
+
export type GetBuildSourceBuildResponseBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
|
|
1872
|
+
export type GetBuildSourceBuildResponseBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
1724
1873
|
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
1725
|
-
export interface
|
|
1874
|
+
export interface GetBuildSourceBuildResponseBuildRun {
|
|
1726
1875
|
id: string;
|
|
1727
|
-
status?:
|
|
1876
|
+
status?: GetBuildSourceBuildResponseBuildRunStatus | undefined;
|
|
1728
1877
|
buildStartedAt?: string | undefined;
|
|
1729
1878
|
buildFinishedAt?: string | undefined;
|
|
1730
|
-
runtime?:
|
|
1879
|
+
runtime?: GetBuildSourceBuildResponseBuildRunRuntime | undefined;
|
|
1731
1880
|
commitId?: string | undefined;
|
|
1732
1881
|
commitUrl?: string | undefined;
|
|
1733
1882
|
}
|
|
1734
1883
|
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
1735
|
-
export interface
|
|
1884
|
+
export interface GetBuildSourceBuildResponseImage {
|
|
1736
1885
|
imageVersionId?: string | undefined;
|
|
1737
1886
|
SHA?: string | undefined;
|
|
1738
1887
|
ref?: string | undefined;
|
|
1739
1888
|
imageUrl?: string | undefined;
|
|
1740
1889
|
registryCredentialId?: string | undefined;
|
|
1741
1890
|
}
|
|
1742
|
-
export interface
|
|
1891
|
+
export interface GetBuildSourceBuildResponse {
|
|
1743
1892
|
id: string;
|
|
1744
1893
|
buildSourceId: string;
|
|
1745
1894
|
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
1746
|
-
buildRun?:
|
|
1895
|
+
buildRun?: GetBuildSourceBuildResponseBuildRun | undefined;
|
|
1747
1896
|
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
1748
|
-
image?:
|
|
1897
|
+
image?: GetBuildSourceBuildResponseImage | undefined;
|
|
1749
1898
|
createdAt: string;
|
|
1750
1899
|
updatedAt: string;
|
|
1751
1900
|
assetsDeletedAt?: string | undefined;
|
|
@@ -1772,10 +1921,16 @@ export interface GetCpuRequest {
|
|
|
1772
1921
|
resource?: string | undefined;
|
|
1773
1922
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1774
1923
|
service?: string | undefined;
|
|
1924
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
1925
|
+
project?: string | undefined;
|
|
1926
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
1927
|
+
environment?: string | undefined;
|
|
1775
1928
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
1776
1929
|
instance?: string | undefined;
|
|
1777
1930
|
/** The aggregation method to apply to multiple time series */
|
|
1778
1931
|
aggregationMethod?: GetCpuRequestAggregationMethod | (string & {}) | undefined;
|
|
1932
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
1933
|
+
region?: string | undefined;
|
|
1779
1934
|
}
|
|
1780
1935
|
/** A time series datapoint label */
|
|
1781
1936
|
export type GetCpuResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1807,8 +1962,14 @@ export interface GetCpuLimitRequest {
|
|
|
1807
1962
|
resource?: string | undefined;
|
|
1808
1963
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1809
1964
|
service?: string | undefined;
|
|
1965
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
1966
|
+
project?: string | undefined;
|
|
1967
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
1968
|
+
environment?: string | undefined;
|
|
1810
1969
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
1811
1970
|
instance?: string | undefined;
|
|
1971
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
1972
|
+
region?: string | undefined;
|
|
1812
1973
|
}
|
|
1813
1974
|
/** A time series datapoint label */
|
|
1814
1975
|
export type GetCpuLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1840,8 +2001,14 @@ export interface GetCpuTargetRequest {
|
|
|
1840
2001
|
resource?: string | undefined;
|
|
1841
2002
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1842
2003
|
service?: string | undefined;
|
|
2004
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2005
|
+
project?: string | undefined;
|
|
2006
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2007
|
+
environment?: string | undefined;
|
|
1843
2008
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
1844
2009
|
instance?: string | undefined;
|
|
2010
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2011
|
+
region?: string | undefined;
|
|
1845
2012
|
}
|
|
1846
2013
|
/** A time series datapoint label */
|
|
1847
2014
|
export type GetCpuTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1902,6 +2069,12 @@ export interface GetDiskCapacityRequest {
|
|
|
1902
2069
|
resource?: string | undefined;
|
|
1903
2070
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1904
2071
|
service?: string | undefined;
|
|
2072
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2073
|
+
project?: string | undefined;
|
|
2074
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2075
|
+
environment?: string | undefined;
|
|
2076
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2077
|
+
region?: string | undefined;
|
|
1905
2078
|
}
|
|
1906
2079
|
/** A time series datapoint label */
|
|
1907
2080
|
export type GetDiskCapacityResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1933,6 +2106,12 @@ export interface GetDiskUsageRequest {
|
|
|
1933
2106
|
resource?: string | undefined;
|
|
1934
2107
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
1935
2108
|
service?: string | undefined;
|
|
2109
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2110
|
+
project?: string | undefined;
|
|
2111
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2112
|
+
environment?: string | undefined;
|
|
2113
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2114
|
+
region?: string | undefined;
|
|
1936
2115
|
}
|
|
1937
2116
|
/** A time series datapoint label */
|
|
1938
2117
|
export type GetDiskUsageResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -1959,7 +2138,9 @@ export interface GetEnvGroupRequest {
|
|
|
1959
2138
|
}
|
|
1960
2139
|
/** List of serviceIds linked to the envGroup */
|
|
1961
2140
|
export type GetEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
|
|
2141
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
1962
2142
|
export type GetEnvGroupResponseEnvVarsList = Array<EnvVar>;
|
|
2143
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
1963
2144
|
export type GetEnvGroupResponseSecretFilesList = Array<SecretFile>;
|
|
1964
2145
|
export interface GetEnvGroupResponse {
|
|
1965
2146
|
id: string;
|
|
@@ -1970,8 +2151,10 @@ export interface GetEnvGroupResponse {
|
|
|
1970
2151
|
/** List of serviceIds linked to the envGroup */
|
|
1971
2152
|
serviceLinks: GetEnvGroupResponseServiceLinksList;
|
|
1972
2153
|
environmentId?: string | undefined;
|
|
1973
|
-
|
|
1974
|
-
|
|
2154
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
2155
|
+
envVars?: GetEnvGroupResponseEnvVarsList | undefined;
|
|
2156
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
2157
|
+
secretFiles?: GetEnvGroupResponseSecretFilesList | undefined;
|
|
1975
2158
|
}
|
|
1976
2159
|
export interface GetEnvGroupEnvVarRequest {
|
|
1977
2160
|
/** Filter for resources that belong to an environment group */
|
|
@@ -2341,7 +2524,7 @@ export interface GetFlowRunRequest {
|
|
|
2341
2524
|
flowRunId: string;
|
|
2342
2525
|
}
|
|
2343
2526
|
/** The status of a flow run. */
|
|
2344
|
-
export type Items5 = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused";
|
|
2527
|
+
export type Items5 = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
|
|
2345
2528
|
/** Positional arguments passed to the flow function */
|
|
2346
2529
|
export type InputCase0List2 = Array<unknown>;
|
|
2347
2530
|
/** Named parameters passed to the flow function as keyword arguments */
|
|
@@ -2397,12 +2580,22 @@ export interface GetFlowRunStepRequest {
|
|
|
2397
2580
|
stepSeq: number;
|
|
2398
2581
|
/** The SDK's key for the step, as `stepKey` reports it in the step listing. Steps that share a sequence number are told apart by it. Omit it for a step the SDK recorded without one. */
|
|
2399
2582
|
stepKey?: string | undefined;
|
|
2583
|
+
includeAttempts?: boolean | undefined;
|
|
2400
2584
|
}
|
|
2585
|
+
export interface _03 {
|
|
2586
|
+
attempt: number;
|
|
2587
|
+
flowAttempt: number;
|
|
2588
|
+
startedAt: string;
|
|
2589
|
+
completedAt: string;
|
|
2590
|
+
retryAt?: string | undefined;
|
|
2591
|
+
}
|
|
2592
|
+
export type GetFlowRunStepResponseFailedAttemptsList = Array<_03>;
|
|
2401
2593
|
/** The kind of step. `inline` runs a function inside the flow's process and retries in place. `detached` runs a registered task as its own task run. `sleep` is a durable sleep. */
|
|
2402
2594
|
export type GetFlowRunStepResponseType = "inline" | "detached" | "sleep";
|
|
2403
2595
|
/** `running` until the step records an outcome, then `succeeded` or `failed`. */
|
|
2404
2596
|
export type GetFlowRunStepResponseStatus = "running" | "succeeded" | "failed";
|
|
2405
2597
|
export interface GetFlowRunStepResponse {
|
|
2598
|
+
failedAttempts?: GetFlowRunStepResponseFailedAttemptsList | undefined;
|
|
2406
2599
|
/** The step's position in the flow run. Steps are numbered densely in the order the flow started them. */
|
|
2407
2600
|
seq: number;
|
|
2408
2601
|
/** The SDK's key for the step. */
|
|
@@ -2426,6 +2619,23 @@ export interface GetFlowRunStepResponse {
|
|
|
2426
2619
|
/** Error message if the step failed. */
|
|
2427
2620
|
error?: string | undefined;
|
|
2428
2621
|
}
|
|
2622
|
+
export interface GetFlowRunStepAttemptRequest {
|
|
2623
|
+
/** The ID of the flow run */
|
|
2624
|
+
flowRunId: string;
|
|
2625
|
+
/** The sequence number of the step within its flow run */
|
|
2626
|
+
stepSeq: number;
|
|
2627
|
+
attempt: number;
|
|
2628
|
+
/** The SDK's key for the step, as `stepKey` reports it in the step listing. Steps that share a sequence number are told apart by it. Omit it for a step the SDK recorded without one. */
|
|
2629
|
+
stepKey?: string | undefined;
|
|
2630
|
+
}
|
|
2631
|
+
export interface GetFlowRunStepAttemptResponse {
|
|
2632
|
+
attempt: number;
|
|
2633
|
+
flowAttempt: number;
|
|
2634
|
+
startedAt: string;
|
|
2635
|
+
completedAt: string;
|
|
2636
|
+
retryAt?: string | undefined;
|
|
2637
|
+
error: string;
|
|
2638
|
+
}
|
|
2429
2639
|
export interface GetHttpLatencyRequest {
|
|
2430
2640
|
/** Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. */
|
|
2431
2641
|
startTime?: string | undefined;
|
|
@@ -2437,12 +2647,18 @@ export interface GetHttpLatencyRequest {
|
|
|
2437
2647
|
resource?: string | undefined;
|
|
2438
2648
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2439
2649
|
service?: string | undefined;
|
|
2650
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2651
|
+
project?: string | undefined;
|
|
2652
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2653
|
+
environment?: string | undefined;
|
|
2440
2654
|
/** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
|
|
2441
2655
|
host?: string | undefined;
|
|
2442
2656
|
/** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
|
|
2443
2657
|
path?: string | undefined;
|
|
2444
2658
|
/** The quantile of latencies to fetch. When multiple quantile query params are provided, they are ORed together */
|
|
2445
2659
|
quantile?: number | undefined;
|
|
2660
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2661
|
+
region?: string | undefined;
|
|
2446
2662
|
}
|
|
2447
2663
|
/** A time series datapoint label */
|
|
2448
2664
|
export type GetHttpLatencyResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2475,12 +2691,18 @@ export interface GetHttpRequestsRequest {
|
|
|
2475
2691
|
resource?: string | undefined;
|
|
2476
2692
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2477
2693
|
service?: string | undefined;
|
|
2694
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2695
|
+
project?: string | undefined;
|
|
2696
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2697
|
+
environment?: string | undefined;
|
|
2478
2698
|
/** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
|
|
2479
2699
|
host?: string | undefined;
|
|
2480
2700
|
/** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
|
|
2481
2701
|
path?: string | undefined;
|
|
2482
2702
|
/** The field to aggregate by */
|
|
2483
2703
|
aggregateBy?: GetHttpRequestsRequestAggregateBy | (string & {}) | undefined;
|
|
2704
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2705
|
+
region?: string | undefined;
|
|
2484
2706
|
}
|
|
2485
2707
|
/** A time series datapoint label */
|
|
2486
2708
|
export type GetHttpRequestsResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2512,6 +2734,12 @@ export interface GetInstanceCountRequest {
|
|
|
2512
2734
|
resource?: string | undefined;
|
|
2513
2735
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2514
2736
|
service?: string | undefined;
|
|
2737
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2738
|
+
project?: string | undefined;
|
|
2739
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2740
|
+
environment?: string | undefined;
|
|
2741
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2742
|
+
region?: string | undefined;
|
|
2515
2743
|
}
|
|
2516
2744
|
/** A time series datapoint label */
|
|
2517
2745
|
export type GetInstanceCountResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2547,11 +2775,11 @@ export interface GetKeyValueConnectionInfoRequest {
|
|
|
2547
2775
|
/** A Key Value instance */
|
|
2548
2776
|
export interface KeyValueConnectionInfo {
|
|
2549
2777
|
/** The connection string to use from within Render */
|
|
2550
|
-
internalConnectionString: string
|
|
2778
|
+
internalConnectionString: string | Redacted.Redacted<string>;
|
|
2551
2779
|
/** The connection string to use from outside Render */
|
|
2552
|
-
externalConnectionString: string
|
|
2780
|
+
externalConnectionString: string | Redacted.Redacted<string>;
|
|
2553
2781
|
/** The CLI (redis-cli or valkey-cli) command to connect to the Key Value instance */
|
|
2554
|
-
cliCommand: string
|
|
2782
|
+
cliCommand: string | Redacted.Redacted<string>;
|
|
2555
2783
|
}
|
|
2556
2784
|
export interface GetMaintenanceRequest {
|
|
2557
2785
|
maintenanceRunID: string;
|
|
@@ -2576,8 +2804,14 @@ export interface GetMemoryRequest {
|
|
|
2576
2804
|
resource?: string | undefined;
|
|
2577
2805
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2578
2806
|
service?: string | undefined;
|
|
2807
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2808
|
+
project?: string | undefined;
|
|
2809
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2810
|
+
environment?: string | undefined;
|
|
2579
2811
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
2580
2812
|
instance?: string | undefined;
|
|
2813
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2814
|
+
region?: string | undefined;
|
|
2581
2815
|
}
|
|
2582
2816
|
/** A time series datapoint label */
|
|
2583
2817
|
export type GetMemoryResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2609,8 +2843,14 @@ export interface GetMemoryLimitRequest {
|
|
|
2609
2843
|
resource?: string | undefined;
|
|
2610
2844
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2611
2845
|
service?: string | undefined;
|
|
2846
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2847
|
+
project?: string | undefined;
|
|
2848
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2849
|
+
environment?: string | undefined;
|
|
2612
2850
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
2613
2851
|
instance?: string | undefined;
|
|
2852
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2853
|
+
region?: string | undefined;
|
|
2614
2854
|
}
|
|
2615
2855
|
/** A time series datapoint label */
|
|
2616
2856
|
export type GetMemoryLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2642,8 +2882,14 @@ export interface GetMemoryTargetRequest {
|
|
|
2642
2882
|
resource?: string | undefined;
|
|
2643
2883
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
2644
2884
|
service?: string | undefined;
|
|
2885
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
2886
|
+
project?: string | undefined;
|
|
2887
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
2888
|
+
environment?: string | undefined;
|
|
2645
2889
|
/** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
|
|
2646
2890
|
instance?: string | undefined;
|
|
2891
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
2892
|
+
region?: string | undefined;
|
|
2647
2893
|
}
|
|
2648
2894
|
/** A time series datapoint label */
|
|
2649
2895
|
export type GetMemoryTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2731,11 +2977,11 @@ export interface GetPostgresConnectionInfoRequest {
|
|
|
2731
2977
|
}
|
|
2732
2978
|
export interface PostgresConnectionInfo {
|
|
2733
2979
|
password: string | Redacted.Redacted<string>;
|
|
2734
|
-
internalConnectionString: string
|
|
2735
|
-
externalConnectionString: string
|
|
2736
|
-
internalConnectionPoolString?: string | undefined;
|
|
2737
|
-
externalConnectionPoolString?: string | undefined;
|
|
2738
|
-
psqlCommand: string
|
|
2980
|
+
internalConnectionString: string | Redacted.Redacted<string>;
|
|
2981
|
+
externalConnectionString: string | Redacted.Redacted<string>;
|
|
2982
|
+
internalConnectionPoolString?: string | Redacted.Redacted<string> | undefined;
|
|
2983
|
+
externalConnectionPoolString?: string | Redacted.Redacted<string> | undefined;
|
|
2984
|
+
psqlCommand: string | Redacted.Redacted<string>;
|
|
2739
2985
|
}
|
|
2740
2986
|
export interface GetPostgresRecoveryInfoRequest {
|
|
2741
2987
|
postgresId: string;
|
|
@@ -2763,6 +3009,12 @@ export interface GetReplicationLagRequest {
|
|
|
2763
3009
|
resolutionSeconds?: number | undefined;
|
|
2764
3010
|
/** Postgres ID to query. When multiple resource query params are provided, they are ORed together */
|
|
2765
3011
|
resource?: string | undefined;
|
|
3012
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
3013
|
+
project?: string | undefined;
|
|
3014
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
3015
|
+
environment?: string | undefined;
|
|
3016
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
3017
|
+
region?: string | undefined;
|
|
2766
3018
|
}
|
|
2767
3019
|
/** A time series datapoint label */
|
|
2768
3020
|
export type GetReplicationLagResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
@@ -2797,141 +3049,188 @@ export interface GetResourceLogStreamResponse {
|
|
|
2797
3049
|
setting?: Items3 | undefined;
|
|
2798
3050
|
}
|
|
2799
3051
|
export interface GetSandboxRequest {
|
|
2800
|
-
/** The ID of the sandbox */
|
|
3052
|
+
/** The ID of the sandbox. */
|
|
2801
3053
|
sandboxId: string;
|
|
2802
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
3054
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
2803
3055
|
ownerId?: string | undefined;
|
|
2804
3056
|
}
|
|
2805
|
-
/**
|
|
2806
|
-
export type
|
|
3057
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
3058
|
+
export type GetSandboxResponsePlan = _05 | string;
|
|
2807
3059
|
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
2808
|
-
export type
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
3060
|
+
export type GetSandboxResponseNetworkPolicyRulesList = Array<Items7>;
|
|
3061
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
3062
|
+
export interface GetSandboxResponseNetworkPolicy {
|
|
3063
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
|
|
3064
|
+
type: _06;
|
|
3065
|
+
/** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
|
|
3066
|
+
default?: _06 | undefined;
|
|
2814
3067
|
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
2815
|
-
rules?:
|
|
3068
|
+
rules?: GetSandboxResponseNetworkPolicyRulesList | undefined;
|
|
2816
3069
|
}
|
|
2817
|
-
export interface
|
|
3070
|
+
export interface GetSandboxResponse {
|
|
2818
3071
|
id: string;
|
|
2819
3072
|
/** The label set when the sandbox was created. */
|
|
2820
3073
|
name?: string | null | undefined;
|
|
2821
|
-
/** The sandbox group this sandbox belongs to. */
|
|
3074
|
+
/** The ID of the sandbox group this sandbox belongs to. */
|
|
2822
3075
|
sandboxGroupId?: string | undefined;
|
|
2823
3076
|
status: Items6;
|
|
2824
|
-
/**
|
|
2825
|
-
plan:
|
|
2826
|
-
|
|
2827
|
-
|
|
3077
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
3078
|
+
plan: GetSandboxResponsePlan;
|
|
3079
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
3080
|
+
networkPolicy: GetSandboxResponseNetworkPolicy;
|
|
3081
|
+
/** The Render region where the sandbox runs. */
|
|
2828
3082
|
region: string;
|
|
2829
|
-
/**
|
|
3083
|
+
/** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
|
|
2830
3084
|
timeoutSeconds: number;
|
|
2831
|
-
/**
|
|
3085
|
+
/** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
|
|
2832
3086
|
idleTimeoutSeconds: number;
|
|
3087
|
+
/** The timestamp when the sandbox was created, in ISO 8601 format. */
|
|
2833
3088
|
createdAt: string;
|
|
2834
|
-
/**
|
|
3089
|
+
/** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
|
|
2835
3090
|
terminatedAt?: string | null | undefined;
|
|
2836
3091
|
}
|
|
2837
3092
|
export interface GetSandboxBuildRequest {
|
|
2838
|
-
/** The ID of the sandbox group */
|
|
3093
|
+
/** The ID of the sandbox group. */
|
|
2839
3094
|
sandboxGroupId: string;
|
|
2840
|
-
/** The ID of the build */
|
|
3095
|
+
/** The ID of the sandbox build. */
|
|
2841
3096
|
buildId: string;
|
|
2842
3097
|
}
|
|
3098
|
+
/** The source container image used for this build. */
|
|
2843
3099
|
export type SchemaSource = CreateSandboxBuildResponseSource;
|
|
3100
|
+
/** A build that converts a container image into an image that sandboxes can use. */
|
|
2844
3101
|
export interface Schema24 {
|
|
2845
3102
|
id: string;
|
|
2846
3103
|
sandboxGroupId: string;
|
|
2847
|
-
/**
|
|
3104
|
+
/** The name used to select this image when creating a sandbox. Multiple builds can share a name. */
|
|
2848
3105
|
name: string;
|
|
3106
|
+
/** The source container image used for this build. */
|
|
2849
3107
|
source: CreateSandboxBuildResponseSource;
|
|
2850
|
-
/** The
|
|
3108
|
+
/** The digest of the source image converted by this build. */
|
|
2851
3109
|
sourceDigest: string;
|
|
2852
|
-
status:
|
|
2853
|
-
/**
|
|
3110
|
+
status: Items10;
|
|
3111
|
+
/** A description of why the build failed. Null unless the status is `failed`. May include error text from the image registry. When displaying errors, use `failureCode` to select the main message and show this value as additional detail. */
|
|
2854
3112
|
failureReason?: string | null | undefined;
|
|
3113
|
+
/** A machine-readable reason the build failed. Null unless the status is `failed`. See `sandboxBuildFailureCode` for known codes. Treat unrecognized codes as `internal_error`. */
|
|
3114
|
+
failureCode?: string | null | undefined;
|
|
3115
|
+
/** The timestamp when the sandbox build was created, in ISO 8601 format. */
|
|
2855
3116
|
createdAt: string;
|
|
2856
|
-
/**
|
|
3117
|
+
/** The timestamp when the build succeeded or failed, in ISO 8601 format. Null while the build is pending or running. */
|
|
2857
3118
|
finishedAt?: string | null | undefined;
|
|
2858
3119
|
}
|
|
2859
3120
|
export interface GetSandboxExecutionRequest {
|
|
2860
|
-
/** The ID of the sandbox */
|
|
3121
|
+
/** The ID of the sandbox. */
|
|
2861
3122
|
sandboxId: string;
|
|
2862
|
-
/** The ID of the execution */
|
|
3123
|
+
/** The ID of the sandbox execution. */
|
|
2863
3124
|
execId: string;
|
|
2864
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
3125
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
2865
3126
|
ownerId?: string | undefined;
|
|
2866
3127
|
}
|
|
3128
|
+
/** Whether the execution is a command run or a file transfer. */
|
|
2867
3129
|
export type GetSandboxExecutionResponseType = "runs" | "files";
|
|
3130
|
+
/** The command run or file transfer operation authorized by the connect token. */
|
|
2868
3131
|
export type GetSandboxExecutionResponseOperation = "sync" | "stream" | "upload" | "download";
|
|
2869
3132
|
export interface GetSandboxExecutionResponse {
|
|
2870
3133
|
id: string;
|
|
2871
3134
|
sandboxId: string;
|
|
3135
|
+
/** Whether the execution is a command run or a file transfer. */
|
|
2872
3136
|
type: GetSandboxExecutionResponseType;
|
|
3137
|
+
/** The command run or file transfer operation authorized by the connect token. */
|
|
2873
3138
|
operation: GetSandboxExecutionResponseOperation;
|
|
2874
|
-
/** The
|
|
3139
|
+
/** The command run in the sandbox, or the target path for a file transfer. Command text may be redacted or truncated. Omitted if you do not have permission to view execution commands. */
|
|
2875
3140
|
command?: string | undefined;
|
|
2876
|
-
/** The ID of the user the execution token was
|
|
3141
|
+
/** The ID of the user the execution token was created for. */
|
|
2877
3142
|
userId: string;
|
|
3143
|
+
/** The timestamp when the execution token was created, in ISO 8601 format. */
|
|
2878
3144
|
startedAt: string;
|
|
3145
|
+
/** The timestamp when the execution stopped, in ISO 8601 format. Omitted until a result is available. */
|
|
2879
3146
|
stoppedAt?: string | undefined;
|
|
3147
|
+
/** The execution exit code. Omitted until a result is available. */
|
|
2880
3148
|
exitCode?: number | undefined;
|
|
2881
3149
|
}
|
|
2882
3150
|
export interface GetSandboxGroupRequest {
|
|
2883
|
-
/** The ID of the sandbox group */
|
|
3151
|
+
/** The ID of the sandbox group. */
|
|
2884
3152
|
sandboxGroupId: string;
|
|
2885
3153
|
}
|
|
2886
|
-
|
|
3154
|
+
/** A group of sandboxes in a workspace that share a region, concurrency limit, and credentials. */
|
|
3155
|
+
export interface Schema21 {
|
|
2887
3156
|
id: string;
|
|
2888
3157
|
/** The ID of the workspace this group belongs to. */
|
|
2889
3158
|
ownerId: string;
|
|
2890
|
-
/**
|
|
3159
|
+
/** The sandbox group's name. */
|
|
2891
3160
|
name: string;
|
|
2892
|
-
/** Render region the group
|
|
3161
|
+
/** The Render region where the group's sandboxes run. */
|
|
2893
3162
|
region: string;
|
|
2894
|
-
/** Whether this is the workspace's default group.
|
|
3163
|
+
/** Whether this is the workspace's default sandbox group. Create requests that omit `sandboxGroupId` use this group. */
|
|
2895
3164
|
isDefault: boolean;
|
|
2896
|
-
/**
|
|
3165
|
+
/** The ID of the environment that contains this group. Null if the group isn't in a project. To move a group, add it to or remove it from an environment with `/environments/{environmentId}/resources`. */
|
|
2897
3166
|
environmentId?: string | null | undefined;
|
|
2898
|
-
/** The
|
|
3167
|
+
/** The maximum number of active sandboxes allowed in this group, capped by Render's limit for the workspace. */
|
|
2899
3168
|
concurrencyLimit: number;
|
|
3169
|
+
/** The timestamp when the sandbox group was created, in ISO 8601 format. */
|
|
2900
3170
|
createdAt: string;
|
|
3171
|
+
/** The timestamp when the sandbox group was last updated, in ISO 8601 format. */
|
|
2901
3172
|
updatedAt: string;
|
|
2902
3173
|
}
|
|
3174
|
+
export interface GetSandboxGroupCredentialRequest {
|
|
3175
|
+
/** The ID of the sandbox group. */
|
|
3176
|
+
sandboxGroupId: string;
|
|
3177
|
+
/** The ID of the credential. Must be unique within this sandbox group. */
|
|
3178
|
+
credentialId: string;
|
|
3179
|
+
}
|
|
3180
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
|
|
3181
|
+
export type SchemaMethodsList = Array<string>;
|
|
3182
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
|
|
3183
|
+
export type SchemaPathsList = Array<string>;
|
|
3184
|
+
/** A credential configured for injection into matching outbound HTTPS requests from sandboxes in one sandbox group. Each credential stores its own secret value. These endpoints do not return secret values, including to admins. Credential injection supports HTTPS requests on port 443. Avoid overlapping credential configurations for the same hostname. Multiple matching credentials are not combined. */
|
|
3185
|
+
export interface Schema23 {
|
|
3186
|
+
id: string;
|
|
3187
|
+
/** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
|
|
3188
|
+
domain: string;
|
|
3189
|
+
version?: Items9 | undefined;
|
|
3190
|
+
/** Whether this credential is enabled for injection. */
|
|
3191
|
+
enabled: boolean;
|
|
3192
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
|
|
3193
|
+
methods: SchemaMethodsList;
|
|
3194
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
|
|
3195
|
+
paths: SchemaPathsList;
|
|
3196
|
+
injection: Injection;
|
|
3197
|
+
}
|
|
2903
3198
|
export interface GetSandboxSnapshotRequest {
|
|
2904
|
-
/** The ID of the sandbox group */
|
|
3199
|
+
/** The ID of the sandbox group. */
|
|
2905
3200
|
sandboxGroupId: string;
|
|
2906
|
-
/** The ID of the snapshot */
|
|
3201
|
+
/** The ID of the sandbox snapshot. */
|
|
2907
3202
|
snapshotId: string;
|
|
2908
|
-
/** The ID of the workspace the sandbox group belongs to.
|
|
3203
|
+
/** The ID of the workspace the sandbox group belongs to. */
|
|
2909
3204
|
ownerId?: string | undefined;
|
|
2910
3205
|
}
|
|
2911
|
-
/** `filesystem` captures the writable filesystem and
|
|
3206
|
+
/** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
|
|
2912
3207
|
export type SchemaKind = "filesystem" | "runtime";
|
|
2913
|
-
/**
|
|
2914
|
-
export type
|
|
3208
|
+
/** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
|
|
3209
|
+
export type SchemaPlan = _05 | string;
|
|
3210
|
+
/** A saved filesystem or runtime state that can be used to create another sandbox. */
|
|
2915
3211
|
export interface Schema25 {
|
|
2916
3212
|
id: string;
|
|
2917
3213
|
sandboxGroupId: string;
|
|
2918
|
-
/** The sandbox this snapshot was captured from
|
|
3214
|
+
/** The ID of the sandbox this snapshot was captured from, recorded for reference. */
|
|
2919
3215
|
sourceSandboxId: string;
|
|
2920
|
-
/**
|
|
3216
|
+
/** The name assigned when the snapshot was created. Cannot be changed. Null if no name was provided. */
|
|
2921
3217
|
name?: string | null | undefined;
|
|
2922
|
-
/** `filesystem` captures the writable filesystem and
|
|
3218
|
+
/** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
|
|
2923
3219
|
kind: SchemaKind;
|
|
2924
3220
|
status: Items8;
|
|
2925
|
-
/**
|
|
2926
|
-
plan:
|
|
3221
|
+
/** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
|
|
3222
|
+
plan: SchemaPlan;
|
|
3223
|
+
/** The timestamp when the snapshot was requested, in ISO 8601 format. */
|
|
2927
3224
|
requestedAt: string;
|
|
2928
|
-
/**
|
|
3225
|
+
/** The timestamp when capture completed, in ISO 8601 format. Null until the snapshot is `available`. */
|
|
2929
3226
|
capturedAt?: string | null | undefined;
|
|
2930
|
-
/** The
|
|
3227
|
+
/** The timestamp after which the snapshot can no longer be retrieved or restored, in ISO 8601 format. Each time you create a sandbox from this snapshot, Render resets its expiration to `ttlSeconds` seconds after that use. For snapshots with no expiration (`ttlSeconds: 0`), this is `9999-12-31T23:59:59Z`. */
|
|
2931
3228
|
expiresAt: string;
|
|
2932
|
-
/**
|
|
3229
|
+
/** The snapshot's lifetime after its last use, in seconds. A value of 0 means the snapshot does not expire. If omitted, Render's default snapshot lifetime applies. */
|
|
3230
|
+
ttlSeconds?: number | undefined;
|
|
3231
|
+
/** The size of the snapshot, in bytes. Null until the snapshot is `available`. */
|
|
2933
3232
|
sizeBytes?: number | null | undefined;
|
|
2934
|
-
/** Null unless `failed`. */
|
|
3233
|
+
/** The reason the snapshot failed. Null unless its status is `failed`. */
|
|
2935
3234
|
error?: string | null | undefined;
|
|
2936
3235
|
}
|
|
2937
3236
|
export interface GetSecretFileRequest {
|
|
@@ -2986,7 +3285,7 @@ export interface GetTaskRunRequest {
|
|
|
2986
3285
|
/** The ID of the task run */
|
|
2987
3286
|
taskRunId: string;
|
|
2988
3287
|
}
|
|
2989
|
-
export type GetTaskRunResponseStatus = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused";
|
|
3288
|
+
export type GetTaskRunResponseStatus = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
|
|
2990
3289
|
export type GetTaskRunResponseResultsList = Array<unknown>;
|
|
2991
3290
|
/** Positional arguments passed to the task function */
|
|
2992
3291
|
export type InputCase0List = Array<unknown>;
|
|
@@ -3151,7 +3450,9 @@ export interface LinkEnvGroupToBuildSourceRequest {
|
|
|
3151
3450
|
}
|
|
3152
3451
|
/** List of serviceIds linked to the envGroup */
|
|
3153
3452
|
export type LinkEnvGroupToBuildSourceResponseServiceLinksList = Array<EnvGroupLink>;
|
|
3453
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3154
3454
|
export type LinkEnvGroupToBuildSourceResponseEnvVarsList = Array<EnvVar>;
|
|
3455
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3155
3456
|
export type LinkEnvGroupToBuildSourceResponseSecretFilesList = Array<SecretFile>;
|
|
3156
3457
|
export interface LinkEnvGroupToBuildSourceResponse {
|
|
3157
3458
|
id: string;
|
|
@@ -3162,8 +3463,10 @@ export interface LinkEnvGroupToBuildSourceResponse {
|
|
|
3162
3463
|
/** List of serviceIds linked to the envGroup */
|
|
3163
3464
|
serviceLinks: LinkEnvGroupToBuildSourceResponseServiceLinksList;
|
|
3164
3465
|
environmentId?: string | undefined;
|
|
3165
|
-
|
|
3166
|
-
|
|
3466
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3467
|
+
envVars?: LinkEnvGroupToBuildSourceResponseEnvVarsList | undefined;
|
|
3468
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3469
|
+
secretFiles?: LinkEnvGroupToBuildSourceResponseSecretFilesList | undefined;
|
|
3167
3470
|
}
|
|
3168
3471
|
export interface LinkServiceToEnvGroupRequest {
|
|
3169
3472
|
/** Filter for resources that belong to an environment group */
|
|
@@ -3173,7 +3476,9 @@ export interface LinkServiceToEnvGroupRequest {
|
|
|
3173
3476
|
}
|
|
3174
3477
|
/** List of serviceIds linked to the envGroup */
|
|
3175
3478
|
export type LinkServiceToEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
|
|
3479
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3176
3480
|
export type LinkServiceToEnvGroupResponseEnvVarsList = Array<EnvVar>;
|
|
3481
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3177
3482
|
export type LinkServiceToEnvGroupResponseSecretFilesList = Array<SecretFile>;
|
|
3178
3483
|
export interface LinkServiceToEnvGroupResponse {
|
|
3179
3484
|
id: string;
|
|
@@ -3184,8 +3489,10 @@ export interface LinkServiceToEnvGroupResponse {
|
|
|
3184
3489
|
/** List of serviceIds linked to the envGroup */
|
|
3185
3490
|
serviceLinks: LinkServiceToEnvGroupResponseServiceLinksList;
|
|
3186
3491
|
environmentId?: string | undefined;
|
|
3187
|
-
|
|
3188
|
-
|
|
3492
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3493
|
+
envVars?: LinkServiceToEnvGroupResponseEnvVarsList | undefined;
|
|
3494
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
3495
|
+
secretFiles?: LinkServiceToEnvGroupResponseSecretFilesList | undefined;
|
|
3189
3496
|
}
|
|
3190
3497
|
export interface ListApplicationFilterValuesRequest {
|
|
3191
3498
|
/** Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. */
|
|
@@ -3198,6 +3505,12 @@ export interface ListApplicationFilterValuesRequest {
|
|
|
3198
3505
|
resource?: string | undefined;
|
|
3199
3506
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
3200
3507
|
service?: string | undefined;
|
|
3508
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
3509
|
+
project?: string | undefined;
|
|
3510
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
3511
|
+
environment?: string | undefined;
|
|
3512
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
3513
|
+
region?: string | undefined;
|
|
3201
3514
|
}
|
|
3202
3515
|
export type ListApplicationFilterValuesResponseBodyItemFilter = "instance";
|
|
3203
3516
|
export type ListApplicationFilterValuesResponseBodyItemValuesList = Array<string>;
|
|
@@ -3269,6 +3582,31 @@ export interface ListBuildsInBuildSourceRequest {
|
|
|
3269
3582
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
3270
3583
|
limit?: number | undefined;
|
|
3271
3584
|
}
|
|
3585
|
+
export type SchemaBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
|
|
3586
|
+
export type SchemaBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
3587
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
3588
|
+
export interface SchemaBuildRun {
|
|
3589
|
+
id: string;
|
|
3590
|
+
status?: SchemaBuildRunStatus | undefined;
|
|
3591
|
+
buildStartedAt?: string | undefined;
|
|
3592
|
+
buildFinishedAt?: string | undefined;
|
|
3593
|
+
runtime?: SchemaBuildRunRuntime | undefined;
|
|
3594
|
+
commitId?: string | undefined;
|
|
3595
|
+
commitUrl?: string | undefined;
|
|
3596
|
+
}
|
|
3597
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
3598
|
+
export type SchemaImage = GetBuildSourceBuildResponseImage;
|
|
3599
|
+
export interface Schema13 {
|
|
3600
|
+
id: string;
|
|
3601
|
+
buildSourceId: string;
|
|
3602
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
3603
|
+
buildRun?: SchemaBuildRun | undefined;
|
|
3604
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
3605
|
+
image?: GetBuildSourceBuildResponseImage | undefined;
|
|
3606
|
+
createdAt: string;
|
|
3607
|
+
updatedAt: string;
|
|
3608
|
+
assetsDeletedAt?: string | undefined;
|
|
3609
|
+
}
|
|
3272
3610
|
export interface ListBuildsInBuildSourceResponseBodyItem {
|
|
3273
3611
|
build: Schema13;
|
|
3274
3612
|
cursor: string;
|
|
@@ -3567,7 +3905,7 @@ export type ListEventsResponse = ListEventsResponseBodyList;
|
|
|
3567
3905
|
export type ListFlowRunsRequestFlowSlugList = Array<string>;
|
|
3568
3906
|
export type ListFlowRunsRequestFlowIdList = Array<string>;
|
|
3569
3907
|
/** The status of a flow run. */
|
|
3570
|
-
export type ListFlowRunsRequestStatusItem = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused";
|
|
3908
|
+
export type ListFlowRunsRequestStatusItem = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
|
|
3571
3909
|
export type ListFlowRunsRequestStatusList = Array<ListFlowRunsRequestStatusItem | (string & {})>;
|
|
3572
3910
|
export type ListFlowRunsRequestOwnerIdList = Array<string>;
|
|
3573
3911
|
export type ListFlowRunsRequestWorkflowVersionIdList = Array<string>;
|
|
@@ -3704,10 +4042,16 @@ export interface ListHttpFilterValuesRequest {
|
|
|
3704
4042
|
resource?: string | undefined;
|
|
3705
4043
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
3706
4044
|
service?: string | undefined;
|
|
4045
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
4046
|
+
project?: string | undefined;
|
|
4047
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
4048
|
+
environment?: string | undefined;
|
|
3707
4049
|
/** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
|
|
3708
4050
|
host?: string | undefined;
|
|
3709
4051
|
/** The status codes of HTTP requests to filter to. When multiple status code query params are provided, they are ORed together */
|
|
3710
4052
|
statusCode?: string | undefined;
|
|
4053
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
4054
|
+
region?: string | undefined;
|
|
3711
4055
|
}
|
|
3712
4056
|
export type ListHttpFilterValuesResponseBodyItemFilter = "host" | "statusCode";
|
|
3713
4057
|
export type ListHttpFilterValuesResponseBodyItemValuesList = Array<string>;
|
|
@@ -3825,6 +4169,7 @@ export type ListLogsRequestMethodList = Array<string>;
|
|
|
3825
4169
|
export type ListLogsRequestTaskList = Array<string>;
|
|
3826
4170
|
export type ListLogsRequestTaskRunList = Array<string>;
|
|
3827
4171
|
export type ListLogsRequestSandboxList = Array<string>;
|
|
4172
|
+
export type ListLogsRequestBuildList = Array<string>;
|
|
3828
4173
|
export type ListLogsRequestLevelList = Array<string>;
|
|
3829
4174
|
export type ListLogsRequestTypeList = Array<string>;
|
|
3830
4175
|
export type ListLogsRequestTextList = Array<string>;
|
|
@@ -3838,8 +4183,14 @@ export interface ListLogsRequest {
|
|
|
3838
4183
|
endTime?: string | undefined;
|
|
3839
4184
|
/** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
|
|
3840
4185
|
direction?: ListLogsRequestDirection | (string & {}) | undefined;
|
|
3841
|
-
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
|
|
3842
|
-
resource
|
|
4186
|
+
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
|
|
4187
|
+
resource?: ListLogsRequestResourceList | undefined;
|
|
4188
|
+
/** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
|
|
4189
|
+
project?: string | undefined;
|
|
4190
|
+
/** The ID of an environment in the project to return logs for. Requires `project`. */
|
|
4191
|
+
environment?: string | undefined;
|
|
4192
|
+
/** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
|
|
4193
|
+
region?: string | undefined;
|
|
3843
4194
|
/** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
|
|
3844
4195
|
instance?: ListLogsRequestInstanceList | undefined;
|
|
3845
4196
|
/** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
@@ -3854,6 +4205,8 @@ export interface ListLogsRequest {
|
|
|
3854
4205
|
taskRun?: ListLogsRequestTaskRunList | undefined;
|
|
3855
4206
|
/** Filter logs by sandbox ID. */
|
|
3856
4207
|
sandbox?: ListLogsRequestSandboxList | undefined;
|
|
4208
|
+
/** Filter logs by build ID, such as a service build or a sandbox image build. */
|
|
4209
|
+
build?: ListLogsRequestBuildList | undefined;
|
|
3857
4210
|
/** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
3858
4211
|
level?: ListLogsRequestLevelList | undefined;
|
|
3859
4212
|
/** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
|
|
@@ -3866,7 +4219,7 @@ export interface ListLogsRequest {
|
|
|
3866
4219
|
limit?: number | undefined;
|
|
3867
4220
|
}
|
|
3868
4221
|
/** The name of the log label */
|
|
3869
|
-
export type SchemaLabelsItemName = "resource" | "instance" | "host" | "statusCode" | "method" | "level" | "workflowService" | "workflowVeresion" | "task" | "taskRun" | "sandbox" | "type" | "text" | "path" | "blocked";
|
|
4222
|
+
export type SchemaLabelsItemName = "resource" | "instance" | "host" | "statusCode" | "method" | "level" | "workflowService" | "workflowVeresion" | "task" | "taskRun" | "sandbox" | "build" | "type" | "text" | "path" | "blocked";
|
|
3870
4223
|
/** A log label */
|
|
3871
4224
|
export interface SchemaLabelsItem {
|
|
3872
4225
|
/** The name of the log label */
|
|
@@ -3905,6 +4258,7 @@ export type ListLogsValuesRequestMethodList = Array<string>;
|
|
|
3905
4258
|
export type ListLogsValuesRequestTaskList = Array<string>;
|
|
3906
4259
|
export type ListLogsValuesRequestTaskRunList = Array<string>;
|
|
3907
4260
|
export type ListLogsValuesRequestSandboxList = Array<string>;
|
|
4261
|
+
export type ListLogsValuesRequestBuildList = Array<string>;
|
|
3908
4262
|
export type ListLogsValuesRequestLevelList = Array<string>;
|
|
3909
4263
|
export type ListLogsValuesRequestTypeList = Array<string>;
|
|
3910
4264
|
export type ListLogsValuesRequestTextList = Array<string>;
|
|
@@ -3920,8 +4274,14 @@ export interface ListLogsValuesRequest {
|
|
|
3920
4274
|
endTime?: string | undefined;
|
|
3921
4275
|
/** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
|
|
3922
4276
|
direction?: ListLogsValuesRequestDirection | (string & {}) | undefined;
|
|
3923
|
-
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
|
|
3924
|
-
resource
|
|
4277
|
+
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
|
|
4278
|
+
resource?: ListLogsValuesRequestResourceList | undefined;
|
|
4279
|
+
/** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
|
|
4280
|
+
project?: string | undefined;
|
|
4281
|
+
/** The ID of an environment in the project to return logs for. Requires `project`. */
|
|
4282
|
+
environment?: string | undefined;
|
|
4283
|
+
/** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
|
|
4284
|
+
region?: string | undefined;
|
|
3925
4285
|
/** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
|
|
3926
4286
|
instance?: ListLogsValuesRequestInstanceList | undefined;
|
|
3927
4287
|
/** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
@@ -3936,6 +4296,8 @@ export interface ListLogsValuesRequest {
|
|
|
3936
4296
|
taskRun?: ListLogsValuesRequestTaskRunList | undefined;
|
|
3937
4297
|
/** Filter logs by sandbox ID. */
|
|
3938
4298
|
sandbox?: ListLogsValuesRequestSandboxList | undefined;
|
|
4299
|
+
/** Filter logs by build ID, such as a service build or a sandbox image build. */
|
|
4300
|
+
build?: ListLogsValuesRequestBuildList | undefined;
|
|
3939
4301
|
/** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
3940
4302
|
level?: ListLogsValuesRequestLevelList | undefined;
|
|
3941
4303
|
/** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
|
|
@@ -4091,12 +4453,18 @@ export interface ListPathFilterValuesRequest {
|
|
|
4091
4453
|
resource?: string | undefined;
|
|
4092
4454
|
/** This parameter is deprecated. Please use `resource` instead */
|
|
4093
4455
|
service?: string | undefined;
|
|
4456
|
+
/** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
|
|
4457
|
+
project?: string | undefined;
|
|
4458
|
+
/** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
|
|
4459
|
+
environment?: string | undefined;
|
|
4094
4460
|
/** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
|
|
4095
4461
|
host?: string | undefined;
|
|
4096
4462
|
/** The status codes of HTTP requests to filter to. When multiple status code query params are provided, they are ORed together */
|
|
4097
4463
|
statusCode?: string | undefined;
|
|
4098
4464
|
/** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
|
|
4099
4465
|
path?: string | undefined;
|
|
4466
|
+
/** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
|
|
4467
|
+
region?: string | undefined;
|
|
4100
4468
|
}
|
|
4101
4469
|
/** A collection of suggested paths to filter by */
|
|
4102
4470
|
export type ListPathFilterValuesResponseBodyList = Array<string>;
|
|
@@ -4384,113 +4752,177 @@ export interface RouteWithCursor {
|
|
|
4384
4752
|
}
|
|
4385
4753
|
export type ListRoutesResponseBodyList = Array<RouteWithCursor>;
|
|
4386
4754
|
export type ListRoutesResponse = ListRoutesResponseBodyList;
|
|
4755
|
+
/** The sandbox build's current status. */
|
|
4387
4756
|
export type ListSandboxBuildsRequestStatusItem = "pending" | "running" | "succeeded" | "failed";
|
|
4388
4757
|
export type ListSandboxBuildsRequestStatusList = Array<ListSandboxBuildsRequestStatusItem | (string & {})>;
|
|
4389
4758
|
export interface ListSandboxBuildsRequest {
|
|
4390
|
-
/** The ID of the sandbox group */
|
|
4759
|
+
/** The ID of the sandbox group. */
|
|
4391
4760
|
sandboxGroupId: string;
|
|
4392
4761
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4393
4762
|
cursor?: string | undefined;
|
|
4394
4763
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4395
4764
|
limit?: number | undefined;
|
|
4396
|
-
/**
|
|
4765
|
+
/** Filter for builds with exactly this image name. */
|
|
4397
4766
|
name?: string | undefined;
|
|
4398
|
-
/** Filter
|
|
4767
|
+
/** Filter for builds with the specified statuses. */
|
|
4399
4768
|
status?: ListSandboxBuildsRequestStatusList | undefined;
|
|
4400
4769
|
}
|
|
4401
|
-
/** A sandbox build with a cursor */
|
|
4770
|
+
/** A sandbox build with a cursor for fetching the next page of results. */
|
|
4402
4771
|
export interface SandboxBuildWithCursor {
|
|
4403
4772
|
build: Schema24;
|
|
4404
4773
|
cursor: string;
|
|
4405
4774
|
}
|
|
4406
4775
|
export type ListSandboxBuildsResponseBodyList = Array<SandboxBuildWithCursor>;
|
|
4407
4776
|
export type ListSandboxBuildsResponse = ListSandboxBuildsResponseBodyList;
|
|
4777
|
+
/** The sandbox's current status. */
|
|
4408
4778
|
export type ListSandboxesRequestStatusItem = "creating" | "running" | "suspending" | "suspended" | "resuming" | "errored" | "terminated";
|
|
4409
4779
|
export type ListSandboxesRequestStatusList = Array<ListSandboxesRequestStatusItem | (string & {})>;
|
|
4410
4780
|
export interface ListSandboxesRequest {
|
|
4411
4781
|
/** The ID of the workspace whose sandboxes to return. */
|
|
4412
4782
|
ownerId: string;
|
|
4413
|
-
/**
|
|
4783
|
+
/** Filter for sandboxes in this group. The group must belong to the workspace specified by `ownerId`. */
|
|
4414
4784
|
sandboxGroupId?: string | undefined;
|
|
4415
|
-
/**
|
|
4785
|
+
/** Filter for sandboxes with exactly this name. Names are not unique, so multiple sandboxes can match. */
|
|
4416
4786
|
name?: string | undefined;
|
|
4417
4787
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4418
4788
|
cursor?: string | undefined;
|
|
4419
4789
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4420
4790
|
limit?: number | undefined;
|
|
4421
|
-
/** Filter
|
|
4791
|
+
/** Filter for sandboxes with the specified statuses. By default, returns all statuses except `terminated`. Include `terminated` explicitly to return terminated sandboxes. */
|
|
4422
4792
|
status?: ListSandboxesRequestStatusList | undefined;
|
|
4423
4793
|
}
|
|
4424
|
-
/**
|
|
4794
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
4795
|
+
export type _0Plan = _05 | string;
|
|
4796
|
+
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
4797
|
+
export type _0NetworkPolicyRulesList = Array<Items7>;
|
|
4798
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
4799
|
+
export interface _0NetworkPolicy {
|
|
4800
|
+
/** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
|
|
4801
|
+
type: _06;
|
|
4802
|
+
/** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
|
|
4803
|
+
default?: _06 | undefined;
|
|
4804
|
+
/** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
|
|
4805
|
+
rules?: _0NetworkPolicyRulesList | undefined;
|
|
4806
|
+
}
|
|
4807
|
+
/** An isolated compute environment for running code, executing commands, and transferring files. */
|
|
4808
|
+
export interface _04 {
|
|
4809
|
+
id: string;
|
|
4810
|
+
/** The label set when the sandbox was created. */
|
|
4811
|
+
name?: string | null | undefined;
|
|
4812
|
+
/** The ID of the sandbox group this sandbox belongs to. */
|
|
4813
|
+
sandboxGroupId?: string | undefined;
|
|
4814
|
+
status: Items6;
|
|
4815
|
+
/** The sandbox's compute plan. See `sandboxPlan` for known values. */
|
|
4816
|
+
plan: _0Plan;
|
|
4817
|
+
/** The policy that controls outbound traffic from the sandbox. */
|
|
4818
|
+
networkPolicy: _0NetworkPolicy;
|
|
4819
|
+
/** The Render region where the sandbox runs. */
|
|
4820
|
+
region: string;
|
|
4821
|
+
/** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
|
|
4822
|
+
timeoutSeconds: number;
|
|
4823
|
+
/** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
|
|
4824
|
+
idleTimeoutSeconds: number;
|
|
4825
|
+
/** The timestamp when the sandbox was created, in ISO 8601 format. */
|
|
4826
|
+
createdAt: string;
|
|
4827
|
+
/** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
|
|
4828
|
+
terminatedAt?: string | null | undefined;
|
|
4829
|
+
}
|
|
4830
|
+
/** A sandbox with a cursor for fetching the next page of results. */
|
|
4425
4831
|
export interface SandboxWithCursor {
|
|
4426
|
-
sandbox:
|
|
4832
|
+
sandbox: _04;
|
|
4427
4833
|
cursor: string;
|
|
4428
4834
|
}
|
|
4429
4835
|
export type ListSandboxesResponseBodyList = Array<SandboxWithCursor>;
|
|
4430
4836
|
export type ListSandboxesResponse = ListSandboxesResponseBodyList;
|
|
4431
4837
|
export interface ListSandboxExecutionsRequest {
|
|
4432
|
-
/** The ID of the sandbox */
|
|
4838
|
+
/** The ID of the sandbox. */
|
|
4433
4839
|
sandboxId: string;
|
|
4434
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
4840
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
4435
4841
|
ownerId?: string | undefined;
|
|
4436
4842
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4437
4843
|
cursor?: string | undefined;
|
|
4438
4844
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4439
4845
|
limit?: number | undefined;
|
|
4440
4846
|
}
|
|
4847
|
+
/** Whether the execution is a command run or a file transfer. */
|
|
4441
4848
|
export type SchemaType = "runs" | "files";
|
|
4849
|
+
/** The command run or file transfer operation authorized by the connect token. */
|
|
4442
4850
|
export type SchemaOperation = "sync" | "stream" | "upload" | "download";
|
|
4443
|
-
/**
|
|
4444
|
-
export interface
|
|
4851
|
+
/** A record of a command run or file transfer in a sandbox. `startedAt` records when the connect token was created. The command can appear while the execution is running. `stoppedAt` and `exitCode` are omitted until Render receives the result or finalizes the execution when the sandbox stops. */
|
|
4852
|
+
export interface Schema22 {
|
|
4445
4853
|
id: string;
|
|
4446
4854
|
sandboxId: string;
|
|
4855
|
+
/** Whether the execution is a command run or a file transfer. */
|
|
4447
4856
|
type: SchemaType;
|
|
4857
|
+
/** The command run or file transfer operation authorized by the connect token. */
|
|
4448
4858
|
operation: SchemaOperation;
|
|
4449
|
-
/** The
|
|
4859
|
+
/** The command run in the sandbox, or the target path for a file transfer. Command text may be redacted or truncated. Omitted if you do not have permission to view execution commands. */
|
|
4450
4860
|
command?: string | undefined;
|
|
4451
|
-
/** The ID of the user the execution token was
|
|
4861
|
+
/** The ID of the user the execution token was created for. */
|
|
4452
4862
|
userId: string;
|
|
4863
|
+
/** The timestamp when the execution token was created, in ISO 8601 format. */
|
|
4453
4864
|
startedAt: string;
|
|
4865
|
+
/** The timestamp when the execution stopped, in ISO 8601 format. Omitted until a result is available. */
|
|
4454
4866
|
stoppedAt?: string | undefined;
|
|
4867
|
+
/** The execution exit code. Omitted until a result is available. */
|
|
4455
4868
|
exitCode?: number | undefined;
|
|
4456
4869
|
}
|
|
4457
|
-
/** A sandbox execution with a cursor */
|
|
4870
|
+
/** A sandbox execution with a cursor for fetching the next page of results. */
|
|
4458
4871
|
export interface ExecutionWithCursor {
|
|
4459
|
-
execution:
|
|
4872
|
+
execution: Schema22;
|
|
4460
4873
|
cursor: string;
|
|
4461
4874
|
}
|
|
4462
4875
|
export type ListSandboxExecutionsResponseBodyList = Array<ExecutionWithCursor>;
|
|
4463
4876
|
export type ListSandboxExecutionsResponse = ListSandboxExecutionsResponseBodyList;
|
|
4877
|
+
export interface ListSandboxGroupCredentialsRequest {
|
|
4878
|
+
/** The ID of the sandbox group. */
|
|
4879
|
+
sandboxGroupId: string;
|
|
4880
|
+
}
|
|
4881
|
+
export type ListSandboxGroupCredentialsResponseBodyList = Array<Schema23>;
|
|
4882
|
+
export type ListSandboxGroupCredentialsResponse = ListSandboxGroupCredentialsResponseBodyList;
|
|
4883
|
+
export interface ListSandboxGroupCredentialVersionsRequest {
|
|
4884
|
+
/** The ID of the sandbox group. */
|
|
4885
|
+
sandboxGroupId: string;
|
|
4886
|
+
/** The ID of the credential. Must be unique within this sandbox group. */
|
|
4887
|
+
credentialId: string;
|
|
4888
|
+
}
|
|
4889
|
+
/** Metadata for a credential version. These endpoints do not return secret values. */
|
|
4890
|
+
export type ListSandboxGroupCredentialVersionsResponseBodyItem = Items9;
|
|
4891
|
+
export type ListSandboxGroupCredentialVersionsResponseBodyList = Array<Items9>;
|
|
4892
|
+
export type ListSandboxGroupCredentialVersionsResponse = ListSandboxGroupCredentialVersionsResponseBodyList;
|
|
4464
4893
|
export interface ListSandboxGroupsRequest {
|
|
4465
4894
|
/** The ID of the workspace whose sandbox groups to return. */
|
|
4466
4895
|
ownerId: string;
|
|
4467
4896
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4468
4897
|
cursor?: string | undefined;
|
|
4469
|
-
/**
|
|
4898
|
+
/** The maximum number of sandbox groups to return, between 1 and 100. Defaults to 20. */
|
|
4470
4899
|
limit?: number | undefined;
|
|
4471
4900
|
}
|
|
4472
|
-
/** A sandbox group with a cursor */
|
|
4901
|
+
/** A sandbox group with a cursor for fetching the next page of results. */
|
|
4473
4902
|
export interface SandboxGroupWithCursor {
|
|
4474
|
-
sandboxGroup:
|
|
4903
|
+
sandboxGroup: Schema21;
|
|
4475
4904
|
cursor: string;
|
|
4476
4905
|
}
|
|
4477
4906
|
export type ListSandboxGroupsResponseBodyList = Array<SandboxGroupWithCursor>;
|
|
4478
4907
|
export type ListSandboxGroupsResponse = ListSandboxGroupsResponseBodyList;
|
|
4908
|
+
/** The snapshot's current status. */
|
|
4479
4909
|
export type ListSandboxSnapshotsRequestStatusItem = "creating" | "available" | "failed";
|
|
4480
4910
|
export type ListSandboxSnapshotsRequestStatusList = Array<ListSandboxSnapshotsRequestStatusItem | (string & {})>;
|
|
4481
4911
|
export interface ListSandboxSnapshotsRequest {
|
|
4482
|
-
/** The ID of the sandbox group */
|
|
4912
|
+
/** The ID of the sandbox group. */
|
|
4483
4913
|
sandboxGroupId: string;
|
|
4484
4914
|
/** The ID of the workspace whose snapshots to return. */
|
|
4485
4915
|
ownerId: string;
|
|
4916
|
+
/** Filter for snapshots with exactly this name. Multiple snapshots can share a name; results include each version, newest first. When creating a sandbox with `snapshotName`, Render uses the most recently created snapshot with that name that is `available` and unexpired. */
|
|
4917
|
+
name?: string | undefined;
|
|
4486
4918
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4487
4919
|
cursor?: string | undefined;
|
|
4488
4920
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4489
4921
|
limit?: number | undefined;
|
|
4490
|
-
/** Filter
|
|
4922
|
+
/** Filter for snapshots with the specified statuses. */
|
|
4491
4923
|
status?: ListSandboxSnapshotsRequestStatusList | undefined;
|
|
4492
4924
|
}
|
|
4493
|
-
/** A sandbox snapshot with a cursor */
|
|
4925
|
+
/** A sandbox snapshot with a cursor for fetching the next page of results. */
|
|
4494
4926
|
export interface SandboxSnapshotWithCursor {
|
|
4495
4927
|
snapshot: Schema25;
|
|
4496
4928
|
cursor: string;
|
|
@@ -4830,7 +5262,7 @@ export interface RecoverPostgresRequest {
|
|
|
4830
5262
|
/** The point in time to restore the database to. See `/recovery-info` for restore availability */
|
|
4831
5263
|
restoreTime?: string | undefined;
|
|
4832
5264
|
/** Datadog API key to use for monitoring the new database. Defaults to the API key of the original database. Use an empty string to prevent copying of the API key to the new database. */
|
|
4833
|
-
datadogApiKey?: string | undefined;
|
|
5265
|
+
datadogApiKey?: string | Redacted.Redacted<string> | undefined;
|
|
4834
5266
|
/** Datadog region code to use for monitoring the new database. Defaults to the region code of the original database. Use an empty string to prevent copying of the region code to the new database. */
|
|
4835
5267
|
datadogSite?: string | undefined;
|
|
4836
5268
|
/** The plan to use for the new database. Defaults to the same plan as the original database. Cannot be a lower tier plan than the original database. */
|
|
@@ -4872,6 +5304,14 @@ export interface RestartServiceRequest {
|
|
|
4872
5304
|
}
|
|
4873
5305
|
export interface RestartServiceResponse {
|
|
4874
5306
|
}
|
|
5307
|
+
export interface RestoreSandboxGroupCredentialRequest {
|
|
5308
|
+
/** The ID of the sandbox group. */
|
|
5309
|
+
sandboxGroupId: string;
|
|
5310
|
+
/** The ID of the credential. Must be unique within this sandbox group. */
|
|
5311
|
+
credentialId: string;
|
|
5312
|
+
/** The ID of a retained credential version to restore as a new current version. */
|
|
5313
|
+
versionId: number;
|
|
5314
|
+
}
|
|
4875
5315
|
export interface RestoreSnapshotRequest {
|
|
4876
5316
|
/** The ID of the disk */
|
|
4877
5317
|
diskId: string;
|
|
@@ -4956,6 +5396,7 @@ export type SubscribeLogsRequestMethodList = Array<string>;
|
|
|
4956
5396
|
export type SubscribeLogsRequestTaskList = Array<string>;
|
|
4957
5397
|
export type SubscribeLogsRequestTaskRunList = Array<string>;
|
|
4958
5398
|
export type SubscribeLogsRequestSandboxList = Array<string>;
|
|
5399
|
+
export type SubscribeLogsRequestBuildList = Array<string>;
|
|
4959
5400
|
export type SubscribeLogsRequestLevelList = Array<string>;
|
|
4960
5401
|
export type SubscribeLogsRequestTypeList = Array<string>;
|
|
4961
5402
|
export type SubscribeLogsRequestTextList = Array<string>;
|
|
@@ -4969,8 +5410,14 @@ export interface SubscribeLogsRequest {
|
|
|
4969
5410
|
endTime?: string | undefined;
|
|
4970
5411
|
/** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
|
|
4971
5412
|
direction?: SubscribeLogsRequestDirection | (string & {}) | undefined;
|
|
4972
|
-
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
|
|
4973
|
-
resource
|
|
5413
|
+
/** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
|
|
5414
|
+
resource?: SubscribeLogsRequestResourceList | undefined;
|
|
5415
|
+
/** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
|
|
5416
|
+
project?: string | undefined;
|
|
5417
|
+
/** The ID of an environment in the project to return logs for. Requires `project`. */
|
|
5418
|
+
environment?: string | undefined;
|
|
5419
|
+
/** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
|
|
5420
|
+
region?: string | undefined;
|
|
4974
5421
|
/** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
|
|
4975
5422
|
instance?: SubscribeLogsRequestInstanceList | undefined;
|
|
4976
5423
|
/** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
@@ -4985,6 +5432,8 @@ export interface SubscribeLogsRequest {
|
|
|
4985
5432
|
taskRun?: SubscribeLogsRequestTaskRunList | undefined;
|
|
4986
5433
|
/** Filter logs by sandbox ID. */
|
|
4987
5434
|
sandbox?: SubscribeLogsRequestSandboxList | undefined;
|
|
5435
|
+
/** Filter logs by build ID, such as a service build or a sandbox image build. */
|
|
5436
|
+
build?: SubscribeLogsRequestBuildList | undefined;
|
|
4988
5437
|
/** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
|
|
4989
5438
|
level?: SubscribeLogsRequestLevelList | undefined;
|
|
4990
5439
|
/** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
|
|
@@ -5008,6 +5457,14 @@ export interface SuspendPostgresRequest {
|
|
|
5008
5457
|
}
|
|
5009
5458
|
export interface SuspendPostgresResponse {
|
|
5010
5459
|
}
|
|
5460
|
+
export interface SuspendSandboxRequest {
|
|
5461
|
+
/** The ID of the sandbox. */
|
|
5462
|
+
sandboxId: string;
|
|
5463
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
5464
|
+
ownerId?: string | undefined;
|
|
5465
|
+
}
|
|
5466
|
+
export interface SuspendSandboxResponse {
|
|
5467
|
+
}
|
|
5011
5468
|
export interface SuspendServiceRequest {
|
|
5012
5469
|
/** The ID of the service */
|
|
5013
5470
|
serviceId: string;
|
|
@@ -5015,15 +5472,30 @@ export interface SuspendServiceRequest {
|
|
|
5015
5472
|
export interface SuspendServiceResponse {
|
|
5016
5473
|
}
|
|
5017
5474
|
export interface TerminateSandboxRequest {
|
|
5018
|
-
/** The ID of the sandbox */
|
|
5475
|
+
/** The ID of the sandbox. */
|
|
5019
5476
|
sandboxId: string;
|
|
5020
|
-
/** The ID of the workspace the sandbox belongs to.
|
|
5477
|
+
/** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
|
|
5021
5478
|
ownerId?: string | undefined;
|
|
5022
5479
|
}
|
|
5023
5480
|
export interface TerminateSandboxResponse {
|
|
5024
5481
|
}
|
|
5482
|
+
/** If `clear`, Render clears the build source's build cache before building. This can be useful if you're experiencing issues with your build. */
|
|
5483
|
+
export type TriggerBuildSourceBuildRequestClearCache = "clear" | "do_not_clear";
|
|
5484
|
+
/** Which linked services the build deploys to: - `autodeploy_only`: every linked service with autodeploy on, including services set to deploy after CI checks pass. Services with autodeploy off do not get a deploy. - `none`: no services. The build runs and deploys nothing. - `custom`: the linked services in `serviceIds`, regardless of their autodeploy setting. */
|
|
5485
|
+
export type TriggerBuildSourceBuildRequestDeployServiceScope = "autodeploy_only" | "none" | "custom";
|
|
5486
|
+
/** IDs of the linked services to deploy to. Required when `serviceScope` is `custom`, and not allowed with the other scopes. You must be authorized to trigger a deploy for each service that you include in this list. */
|
|
5487
|
+
export type TriggerBuildSourceBuildRequestDeployServiceIdsList = Array<string>;
|
|
5488
|
+
export interface TriggerBuildSourceBuildRequestDeploy {
|
|
5489
|
+
/** Which linked services the build deploys to: - `autodeploy_only`: every linked service with autodeploy on, including services set to deploy after CI checks pass. Services with autodeploy off do not get a deploy. - `none`: no services. The build runs and deploys nothing. - `custom`: the linked services in `serviceIds`, regardless of their autodeploy setting. */
|
|
5490
|
+
serviceScope: TriggerBuildSourceBuildRequestDeployServiceScope | (string & {});
|
|
5491
|
+
/** IDs of the linked services to deploy to. Required when `serviceScope` is `custom`, and not allowed with the other scopes. You must be authorized to trigger a deploy for each service that you include in this list. */
|
|
5492
|
+
serviceIds?: TriggerBuildSourceBuildRequestDeployServiceIdsList | undefined;
|
|
5493
|
+
}
|
|
5025
5494
|
export interface TriggerBuildSourceBuildRequest {
|
|
5026
5495
|
buildSourceId: string;
|
|
5496
|
+
/** If `clear`, Render clears the build source's build cache before building. This can be useful if you're experiencing issues with your build. */
|
|
5497
|
+
clearCache?: TriggerBuildSourceBuildRequestClearCache | (string & {}) | undefined;
|
|
5498
|
+
deploy?: TriggerBuildSourceBuildRequestDeploy | undefined;
|
|
5027
5499
|
}
|
|
5028
5500
|
export type TriggerBuildSourceBuildResponseBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
|
|
5029
5501
|
export type TriggerBuildSourceBuildResponseBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
@@ -5038,17 +5510,36 @@ export interface TriggerBuildSourceBuildResponseBuildRun {
|
|
|
5038
5510
|
commitUrl?: string | undefined;
|
|
5039
5511
|
}
|
|
5040
5512
|
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
5041
|
-
export type TriggerBuildSourceBuildResponseImage =
|
|
5513
|
+
export type TriggerBuildSourceBuildResponseImage = GetBuildSourceBuildResponseImage;
|
|
5514
|
+
export interface TriggerBuildSourceBuildResponseDeploysItem {
|
|
5515
|
+
serviceId: string;
|
|
5516
|
+
deployId: string;
|
|
5517
|
+
}
|
|
5518
|
+
/** The deploys that the build started, one for each service. */
|
|
5519
|
+
export type TriggerBuildSourceBuildResponseDeploysList = Array<TriggerBuildSourceBuildResponseDeploysItem>;
|
|
5520
|
+
/** Why the service did not get a deploy: - `suspended`: the service is suspended. - `deploys_shut_off`: Render has temporarily paused deploys for the service's plan tier. */
|
|
5521
|
+
export type TriggerBuildSourceBuildResponseSkippedServicesItemReason = "suspended" | "deploys_shut_off";
|
|
5522
|
+
export interface TriggerBuildSourceBuildResponseSkippedServicesItem {
|
|
5523
|
+
serviceId: string;
|
|
5524
|
+
/** Why the service did not get a deploy: - `suspended`: the service is suspended. - `deploys_shut_off`: Render has temporarily paused deploys for the service's plan tier. */
|
|
5525
|
+
reason: TriggerBuildSourceBuildResponseSkippedServicesItemReason;
|
|
5526
|
+
}
|
|
5527
|
+
/** Services in `deploy.serviceScope` that did not get a deploy, with the reason for each. The build still runs for the other services. For `autodeploy_only`, suspended services are not listed. */
|
|
5528
|
+
export type TriggerBuildSourceBuildResponseSkippedServicesList = Array<TriggerBuildSourceBuildResponseSkippedServicesItem>;
|
|
5042
5529
|
export interface TriggerBuildSourceBuildResponse {
|
|
5043
5530
|
id: string;
|
|
5044
5531
|
buildSourceId: string;
|
|
5045
5532
|
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
5046
5533
|
buildRun?: TriggerBuildSourceBuildResponseBuildRun | undefined;
|
|
5047
5534
|
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
5048
|
-
image?:
|
|
5535
|
+
image?: GetBuildSourceBuildResponseImage | undefined;
|
|
5049
5536
|
createdAt: string;
|
|
5050
5537
|
updatedAt: string;
|
|
5051
5538
|
assetsDeletedAt?: string | undefined;
|
|
5539
|
+
/** The deploys that the build started, one for each service. */
|
|
5540
|
+
deploys: TriggerBuildSourceBuildResponseDeploysList;
|
|
5541
|
+
/** Services in `deploy.serviceScope` that did not get a deploy, with the reason for each. The build still runs for the other services. For `autodeploy_only`, suspended services are not listed. */
|
|
5542
|
+
skippedServices: TriggerBuildSourceBuildResponseSkippedServicesList;
|
|
5052
5543
|
}
|
|
5053
5544
|
export interface TriggerMaintenanceRequest {
|
|
5054
5545
|
maintenanceRunID: string;
|
|
@@ -5133,7 +5624,7 @@ export interface UpdateBuildSourceRequest {
|
|
|
5133
5624
|
image?: UpdateBuildSourceRequestImage | undefined;
|
|
5134
5625
|
}
|
|
5135
5626
|
export interface EnvVarValue {
|
|
5136
|
-
value: string
|
|
5627
|
+
value: string | Redacted.Redacted<string>;
|
|
5137
5628
|
}
|
|
5138
5629
|
export interface EnvVarGenerateValue {
|
|
5139
5630
|
generateValue: boolean;
|
|
@@ -5166,7 +5657,9 @@ export interface UpdateEnvGroupRequest {
|
|
|
5166
5657
|
}
|
|
5167
5658
|
/** List of serviceIds linked to the envGroup */
|
|
5168
5659
|
export type UpdateEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
|
|
5660
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5169
5661
|
export type UpdateEnvGroupResponseEnvVarsList = Array<EnvVar>;
|
|
5662
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5170
5663
|
export type UpdateEnvGroupResponseSecretFilesList = Array<SecretFile>;
|
|
5171
5664
|
export interface UpdateEnvGroupResponse {
|
|
5172
5665
|
id: string;
|
|
@@ -5177,8 +5670,10 @@ export interface UpdateEnvGroupResponse {
|
|
|
5177
5670
|
/** List of serviceIds linked to the envGroup */
|
|
5178
5671
|
serviceLinks: UpdateEnvGroupResponseServiceLinksList;
|
|
5179
5672
|
environmentId?: string | undefined;
|
|
5180
|
-
|
|
5181
|
-
|
|
5673
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5674
|
+
envVars?: UpdateEnvGroupResponseEnvVarsList | undefined;
|
|
5675
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5676
|
+
secretFiles?: UpdateEnvGroupResponseSecretFilesList | undefined;
|
|
5182
5677
|
}
|
|
5183
5678
|
export interface UpdateEnvGroupEnvVarRequest {
|
|
5184
5679
|
/** Filter for resources that belong to an environment group */
|
|
@@ -5189,7 +5684,9 @@ export interface UpdateEnvGroupEnvVarRequest {
|
|
|
5189
5684
|
}
|
|
5190
5685
|
/** List of serviceIds linked to the envGroup */
|
|
5191
5686
|
export type UpdateEnvGroupEnvVarResponseServiceLinksList = Array<EnvGroupLink>;
|
|
5687
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5192
5688
|
export type UpdateEnvGroupEnvVarResponseEnvVarsList = Array<EnvVar>;
|
|
5689
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5193
5690
|
export type UpdateEnvGroupEnvVarResponseSecretFilesList = Array<SecretFile>;
|
|
5194
5691
|
export interface UpdateEnvGroupEnvVarResponse {
|
|
5195
5692
|
id: string;
|
|
@@ -5200,17 +5697,21 @@ export interface UpdateEnvGroupEnvVarResponse {
|
|
|
5200
5697
|
/** List of serviceIds linked to the envGroup */
|
|
5201
5698
|
serviceLinks: UpdateEnvGroupEnvVarResponseServiceLinksList;
|
|
5202
5699
|
environmentId?: string | undefined;
|
|
5203
|
-
|
|
5204
|
-
|
|
5700
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5701
|
+
envVars?: UpdateEnvGroupEnvVarResponseEnvVarsList | undefined;
|
|
5702
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5703
|
+
secretFiles?: UpdateEnvGroupEnvVarResponseSecretFilesList | undefined;
|
|
5205
5704
|
}
|
|
5206
5705
|
export interface UpdateEnvGroupSecretFileRequest {
|
|
5207
5706
|
envGroupId: string;
|
|
5208
5707
|
envVarKey: string;
|
|
5209
|
-
content?: string | undefined;
|
|
5708
|
+
content?: string | Redacted.Redacted<string> | undefined;
|
|
5210
5709
|
}
|
|
5211
5710
|
/** List of serviceIds linked to the envGroup */
|
|
5212
5711
|
export type UpdateEnvGroupSecretFileResponseServiceLinksList = Array<EnvGroupLink>;
|
|
5712
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5213
5713
|
export type UpdateEnvGroupSecretFileResponseEnvVarsList = Array<EnvVar>;
|
|
5714
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5214
5715
|
export type UpdateEnvGroupSecretFileResponseSecretFilesList = Array<SecretFile>;
|
|
5215
5716
|
export interface UpdateEnvGroupSecretFileResponse {
|
|
5216
5717
|
id: string;
|
|
@@ -5221,8 +5722,10 @@ export interface UpdateEnvGroupSecretFileResponse {
|
|
|
5221
5722
|
/** List of serviceIds linked to the envGroup */
|
|
5222
5723
|
serviceLinks: UpdateEnvGroupSecretFileResponseServiceLinksList;
|
|
5223
5724
|
environmentId?: string | undefined;
|
|
5224
|
-
|
|
5225
|
-
|
|
5725
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5726
|
+
envVars?: UpdateEnvGroupSecretFileResponseEnvVarsList | undefined;
|
|
5727
|
+
/** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
|
|
5728
|
+
secretFiles?: UpdateEnvGroupSecretFileResponseSecretFilesList | undefined;
|
|
5226
5729
|
}
|
|
5227
5730
|
export type UpdateEnvironmentRequestIpAllowListList = Array<CidrBlockAndDescription>;
|
|
5228
5731
|
export interface UpdateEnvironmentRequest {
|
|
@@ -5289,7 +5792,7 @@ export interface UpdateOwnerLogStreamRequest {
|
|
|
5289
5792
|
/** The endpoint to stream logs to. */
|
|
5290
5793
|
endpoint?: string | undefined;
|
|
5291
5794
|
/** The optional token to authenticate the log stream. */
|
|
5292
|
-
token?: string | undefined;
|
|
5795
|
+
token?: string | Redacted.Redacted<string> | undefined;
|
|
5293
5796
|
/** Whether to send logs or drop them. */
|
|
5294
5797
|
preview: UpdateOwnerLogStreamRequestPreview | (string & {});
|
|
5295
5798
|
}
|
|
@@ -5312,7 +5815,7 @@ export interface UpdatePostgresRequest {
|
|
|
5312
5815
|
connectionPool?: string | undefined;
|
|
5313
5816
|
enableHighAvailability?: boolean | undefined;
|
|
5314
5817
|
/** The Datadog API key for the Datadog agent to monitor the database. Pass empty string to remove. Restarts Postgres on change. */
|
|
5315
|
-
datadogAPIKey?: string | undefined;
|
|
5818
|
+
datadogAPIKey?: string | Redacted.Redacted<string> | undefined;
|
|
5316
5819
|
/** Datadog region to use for monitoring the new database. Defaults to 'US1'. */
|
|
5317
5820
|
datadogSite?: string | undefined;
|
|
5318
5821
|
ipAllowList?: UpdatePostgresRequestIpAllowListList | undefined;
|
|
@@ -5328,13 +5831,13 @@ export interface UpdateRegistryCredentialRequest {
|
|
|
5328
5831
|
registry: RegistryCredentialRegistry | (string & {});
|
|
5329
5832
|
name: string;
|
|
5330
5833
|
username: string;
|
|
5331
|
-
authToken: string
|
|
5834
|
+
authToken: string | Redacted.Redacted<string>;
|
|
5332
5835
|
}
|
|
5333
5836
|
export interface UpdateResourceLogStreamRequest {
|
|
5334
5837
|
/** The ID of the resource (server, cron job, postgres, or redis) to update log stream override information for */
|
|
5335
5838
|
resourceId: string;
|
|
5336
5839
|
endpoint?: string | undefined;
|
|
5337
|
-
token?: string | undefined;
|
|
5840
|
+
token?: string | Redacted.Redacted<string> | undefined;
|
|
5338
5841
|
setting: Items3 | (string & {});
|
|
5339
5842
|
}
|
|
5340
5843
|
export interface UpdateResourceLogStreamResponse {
|
|
@@ -5345,11 +5848,32 @@ export interface UpdateResourceLogStreamResponse {
|
|
|
5345
5848
|
setting?: Items3 | undefined;
|
|
5346
5849
|
}
|
|
5347
5850
|
export interface UpdateSandboxGroupRequest {
|
|
5348
|
-
/** The ID of the sandbox group */
|
|
5851
|
+
/** The ID of the sandbox group. */
|
|
5349
5852
|
sandboxGroupId: string;
|
|
5350
|
-
/**
|
|
5853
|
+
/** The maximum number of active sandboxes allowed in this group. Must be at least 1. Render caps this value at the workspace's limit and returns the effective limit. Lowering the limit does not stop existing sandboxes. */
|
|
5351
5854
|
concurrencyLimit: number;
|
|
5352
5855
|
}
|
|
5856
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. Omit to preserve the current filter. */
|
|
5857
|
+
export type UpdateSandboxGroupCredentialRequestMethodsList = Array<string>;
|
|
5858
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. Omit to preserve the current filter. */
|
|
5859
|
+
export type UpdateSandboxGroupCredentialRequestPathsList = Array<string>;
|
|
5860
|
+
export interface UpdateSandboxGroupCredentialRequest {
|
|
5861
|
+
/** The ID of the sandbox group. */
|
|
5862
|
+
sandboxGroupId: string;
|
|
5863
|
+
/** The ID of the credential. Must be unique within this sandbox group. */
|
|
5864
|
+
credentialId: string;
|
|
5865
|
+
/** The replacement secret value, up to 5 KiB (5120 UTF-8 bytes). Requires an admin. Omit to preserve the current value. */
|
|
5866
|
+
value?: string | Redacted.Redacted<string> | undefined;
|
|
5867
|
+
/** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. Omit to preserve the current hostname. */
|
|
5868
|
+
domain?: string | undefined;
|
|
5869
|
+
/** Whether this credential is enabled for injection. Omit to preserve the current setting. */
|
|
5870
|
+
enabled?: boolean | undefined;
|
|
5871
|
+
/** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. Omit to preserve the current filter. */
|
|
5872
|
+
methods?: UpdateSandboxGroupCredentialRequestMethodsList | undefined;
|
|
5873
|
+
/** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. Omit to preserve the current filter. */
|
|
5874
|
+
paths?: UpdateSandboxGroupCredentialRequestPathsList | undefined;
|
|
5875
|
+
injection?: Injection | undefined;
|
|
5876
|
+
}
|
|
5353
5877
|
export type UpdateSecretFilesForBuildSourceRequestBodyList = Array<Items>;
|
|
5354
5878
|
export interface UpdateSecretFilesForBuildSourceRequest {
|
|
5355
5879
|
buildSourceId: string;
|
|
@@ -5484,7 +6008,7 @@ export interface UpsertOwnerMetricsStreamRequest {
|
|
|
5484
6008
|
/** The endpoint URL to stream metrics to */
|
|
5485
6009
|
url?: string | undefined;
|
|
5486
6010
|
/** Authentication token for the metrics stream */
|
|
5487
|
-
token?: string | undefined;
|
|
6011
|
+
token?: string | Redacted.Redacted<string> | undefined;
|
|
5488
6012
|
}
|
|
5489
6013
|
export interface UpsertOwnerMetricsStreamResponse {
|
|
5490
6014
|
/** The ID of the owner */
|
|
@@ -5544,6 +6068,12 @@ export interface ValidateBlueprintResponse {
|
|
|
5544
6068
|
/** A summary of the resources that would be created as part of the Blueprint. Only present if `valid` is `true`. */
|
|
5545
6069
|
plan?: ValidateBlueprintResponsePlan | undefined;
|
|
5546
6070
|
}
|
|
6071
|
+
export interface Error {
|
|
6072
|
+
id?: string | undefined;
|
|
6073
|
+
message?: string | undefined;
|
|
6074
|
+
/** A stable, machine-readable identifier present on specific errors that clients can handle specially. Each endpoint documents the codes it can return. The errorCode schema lists the full vocabulary of codes. */
|
|
6075
|
+
code?: string | undefined;
|
|
6076
|
+
}
|
|
5547
6077
|
export type AddDiskError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5548
6078
|
/** Add disk Attach a persistent disk to a web service, private service, or background worker. The service must be redeployed for the disk to be attached. */
|
|
5549
6079
|
export declare const addDisk: API.OperationMethod<AddDiskRequest, AddDiskResponse, AddDiskError, RenderOpContext>;
|
|
@@ -5581,10 +6111,10 @@ export type CancelTaskRunError = BadRequest | Forbidden | NotFound | RenderOpErr
|
|
|
5581
6111
|
/** Cancel task run Cancel a running task run with the provided ID. */
|
|
5582
6112
|
export declare const cancelTaskRun: API.OperationMethod<CancelTaskRunRequest, CancelTaskRunResponse, CancelTaskRunError, RenderOpContext>;
|
|
5583
6113
|
export type ConnectSandboxFilesError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5584
|
-
/** Mint a connect token for a sandbox file transfer
|
|
6114
|
+
/** Mint a connect token for a sandbox file transfer Create a short-lived connect token for a file upload or download. Transfer the file directly to or from the URL in the response, using the token as the bearer token. The token authorizes only the specified sandbox, operation, and path. Its expiration time is returned in `expiresAt`. Use `application/octet-stream` for a single file or `application/x-tar` for a directory archive. For gzip compression, also set `Content-Encoding: gzip`. Directory downloads return `application/x-tar` with `Content-Encoding: gzip`. */
|
|
5585
6115
|
export declare const connectSandboxFiles: API.OperationMethod<ConnectSandboxFilesRequest, Schema26, ConnectSandboxFilesError, RenderOpContext>;
|
|
5586
6116
|
export type ConnectSandboxRunError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5587
|
-
/** Create a connect token for a sandbox run
|
|
6117
|
+
/** Create a connect token for a sandbox run Create a short-lived connect token for a command run in this sandbox. Send the command to the URL in the response, using the token as the bearer token. The token authorizes only the requested operation. */
|
|
5588
6118
|
export declare const connectSandboxRun: API.OperationMethod<ConnectSandboxRunRequest, ConnectSandboxRunResponse, ConnectSandboxRunError, RenderOpContext>;
|
|
5589
6119
|
export type CreateBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5590
6120
|
/** Create a build source Create a build source that can be linked to one or more services in the same workspace. Exactly one of `git` or `image` must be set: - `git`: the build source is git-backed. The code is built in the requested `region` (defaults to `oregon`). - `image`: the build source is image-backed. It points at an existing image in an external registry; no build is performed. `envVars`, `secretFiles`, and `envGroupIds` set the build-time environment and are only valid for `git` sources; the request fails if any are provided with `image`. */
|
|
@@ -5623,16 +6153,19 @@ export type CreateRegistryCredentialError = BadRequest | Conflict | RenderOpErro
|
|
|
5623
6153
|
/** Create registry credential Create a new registry credential. */
|
|
5624
6154
|
export declare const createRegistryCredential: API.OperationMethod<CreateRegistryCredentialRequest, RegistryCredential, CreateRegistryCredentialError, RenderOpContext>;
|
|
5625
6155
|
export type CreateSandboxError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5626
|
-
/** Create sandbox Create a sandbox
|
|
6156
|
+
/** Create sandbox Create a sandbox and return its initial state. The sandbox might still be starting when the response is returned. To use a saved snapshot or custom image, provide `snapshotId`, `snapshotName`, `buildId`, or `buildName`. */
|
|
5627
6157
|
export declare const createSandbox: API.OperationMethod<CreateSandboxRequest, CreateSandboxResponse, CreateSandboxError, RenderOpContext>;
|
|
5628
6158
|
export type CreateSandboxBuildError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5629
|
-
/** Create sandbox build
|
|
6159
|
+
/** Create sandbox build Start converting an OCI container image into an image that sandboxes can use. New builds run asynchronously. Retrieve the build until its status is `succeeded` or `failed`. After it succeeds, provide its ID as `buildId` when creating a sandbox. If the group already has a pending, running, or succeeded build for the same name and image digest, Render returns that build. Retrying a failed build starts a new build. */
|
|
5630
6160
|
export declare const createSandboxBuild: API.OperationMethod<CreateSandboxBuildRequest, CreateSandboxBuildResponse, CreateSandboxBuildError, RenderOpContext>;
|
|
5631
6161
|
export type CreateSandboxGroupError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5632
|
-
/** Create sandbox group Create a sandbox group. The
|
|
6162
|
+
/** Create sandbox group Create a sandbox group. The first group in a workspace becomes its default. */
|
|
5633
6163
|
export declare const createSandboxGroup: API.OperationMethod<CreateSandboxGroupRequest, CreateSandboxGroupResponse, CreateSandboxGroupError, RenderOpContext>;
|
|
6164
|
+
export type CreateSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6165
|
+
/** Create sandbox group credential Configure a credential for injection into matching outbound HTTPS requests from sandboxes in this group. Requires an admin. You assign the credential ID. Each group supports up to 25 credentials. Current credential settings and secret values have a combined serialized size limit of 200 KiB (204800 bytes). Render retains the current configuration and three distinct prior configurations per credential, with a total storage limit of 1 MiB including version metadata. The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. */
|
|
6166
|
+
export declare const createSandboxGroupCredential: API.OperationMethod<CreateSandboxGroupCredentialRequest, CreateSandboxGroupCredentialResponse, CreateSandboxGroupCredentialError, RenderOpContext>;
|
|
5634
6167
|
export type CreateSandboxSnapshotError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5635
|
-
/** Create sandbox snapshot Capture a snapshot of a running sandbox. Returns 202 with the snapshot in `creating
|
|
6168
|
+
/** Create sandbox snapshot Capture a snapshot of a running sandbox. Returns HTTP 202 with the snapshot in `creating` status. Retrieve the snapshot until its status is `available` or `failed`. The sandbox continues running, with a brief pause when capturing a runtime snapshot. */
|
|
5636
6169
|
export declare const createSandboxSnapshot: API.OperationMethod<CreateSandboxSnapshotRequest, CreateSandboxSnapshotResponse, CreateSandboxSnapshotError, RenderOpContext>;
|
|
5637
6170
|
export type CreateServiceError = BadRequest | NotFound | Conflict | RenderOpError;
|
|
5638
6171
|
/** Create service Creates a new Render service in the specified workspace with the specified configuration. 400 with `code: build_source_region_mismatch` if `buildSourceId` names a git-backed Build Source in a different region than the service. */
|
|
@@ -5715,8 +6248,14 @@ export declare const deleteResourceLogStream: API.OperationMethod<DeleteResource
|
|
|
5715
6248
|
export type DeleteRouteError = Forbidden | NotFound | RenderOpError;
|
|
5716
6249
|
/** Delete redirect/rewrite rule Delete a particular redirect/rewrite rule for a particular service. */
|
|
5717
6250
|
export declare const deleteRoute: API.OperationMethod<DeleteRouteRequest, DeleteRouteResponse, DeleteRouteError, RenderOpContext>;
|
|
6251
|
+
export type DeleteSandboxBuildError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6252
|
+
/** Delete sandbox build Delete a build of a sandbox image. The build no longer appears in lists and cannot be retrieved or used to create sandboxes, including by image name. Repeated requests to delete the build return HTTP 204. */
|
|
6253
|
+
export declare const deleteSandboxBuild: API.OperationMethod<DeleteSandboxBuildRequest, DeleteSandboxBuildResponse, DeleteSandboxBuildError, RenderOpContext>;
|
|
6254
|
+
export type DeleteSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6255
|
+
/** Delete sandbox group credential Delete a credential from the sandbox group. Requires an admin. Repeated delete requests are accepted, including if the credential is already absent. */
|
|
6256
|
+
export declare const deleteSandboxGroupCredential: API.OperationMethod<DeleteSandboxGroupCredentialRequest, DeleteSandboxGroupCredentialResponse, DeleteSandboxGroupCredentialError, RenderOpContext>;
|
|
5718
6257
|
export type DeleteSandboxSnapshotError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5719
|
-
/** Delete sandbox snapshot
|
|
6258
|
+
/** Delete sandbox snapshot Delete a snapshot. Sandboxes created from it are not affected. Returns HTTP 204 if the snapshot is already deleted or expired. */
|
|
5720
6259
|
export declare const deleteSandboxSnapshot: API.OperationMethod<DeleteSandboxSnapshotRequest, DeleteSandboxSnapshotResponse, DeleteSandboxSnapshotError, RenderOpContext>;
|
|
5721
6260
|
export type DeleteSecretFileError = Forbidden | NotFound | RenderOpError;
|
|
5722
6261
|
/** Delete secret file Delete a particular secret file from a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
@@ -5739,13 +6278,13 @@ export declare const disconnectBlueprint: API.OperationMethod<DisconnectBlueprin
|
|
|
5739
6278
|
export type FailoverPostgresError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5740
6279
|
/** Failover Postgres instance Failover a [highly available Postgres](https://render.com/docs/postgresql-high-availability) instance. */
|
|
5741
6280
|
export declare const failoverPostgres: API.OperationMethod<FailoverPostgresRequest, FailoverPostgresResponse, FailoverPostgresError, RenderOpContext>;
|
|
5742
|
-
export type GetActiveConnectionsError = BadRequest | RenderOpError;
|
|
6281
|
+
export type GetActiveConnectionsError = BadRequest | NotFound | RenderOpError;
|
|
5743
6282
|
/** Get active connection count Get the number of active connections for one or more Postgres databases or Redis instances. */
|
|
5744
6283
|
export declare const getActiveConnections: API.OperationMethod<GetActiveConnectionsRequest, GetActiveConnectionsResponse, GetActiveConnectionsError, RenderOpContext>;
|
|
5745
|
-
export type GetBandwidthError = BadRequest | RenderOpError;
|
|
6284
|
+
export type GetBandwidthError = BadRequest | NotFound | RenderOpError;
|
|
5746
6285
|
/** Get bandwidth usage Get bandwidth usage for one or more resources. */
|
|
5747
6286
|
export declare const getBandwidth: API.OperationMethod<GetBandwidthRequest, GetBandwidthResponse, GetBandwidthError, RenderOpContext>;
|
|
5748
|
-
export type GetBandwidthSourcesError = BadRequest | RenderOpError;
|
|
6287
|
+
export type GetBandwidthSourcesError = BadRequest | NotFound | RenderOpError;
|
|
5749
6288
|
/** Get bandwidth usage breakdown by traffic source Get bandwidth usage for one or more resources broken down by traffic source (HTTP, WebSocket, NAT, PrivateLink). Returns hourly data points with traffic source breakdown. Traffic source data is available from March 9, 2025 onwards. Queries for earlier dates will return a 400 Bad Request error. */
|
|
5750
6289
|
export declare const getBandwidthSources: API.OperationMethod<GetBandwidthSourcesRequest, GetBandwidthSourcesResponse, GetBandwidthSourcesError, RenderOpContext>;
|
|
5751
6290
|
export type GetBlueprintError = Forbidden | NotFound | RenderOpError;
|
|
@@ -5756,20 +6295,20 @@ export type GetBuildSourceError = BadRequest | NotFound | RenderOpError;
|
|
|
5756
6295
|
export declare const getBuildSource: API.OperationMethod<GetBuildSourceRequest, Schema12, GetBuildSourceError, RenderOpContext>;
|
|
5757
6296
|
export type GetBuildSourceBuildError = Forbidden | NotFound | RenderOpError;
|
|
5758
6297
|
/** Retrieve a build Retrieve a build of a build source, including its status. */
|
|
5759
|
-
export declare const getBuildSourceBuild: API.OperationMethod<GetBuildSourceBuildRequest,
|
|
6298
|
+
export declare const getBuildSourceBuild: API.OperationMethod<GetBuildSourceBuildRequest, GetBuildSourceBuildResponse, GetBuildSourceBuildError, RenderOpContext>;
|
|
5760
6299
|
export type GetBuildSourceEnvVarError = Forbidden | NotFound | RenderOpError;
|
|
5761
6300
|
/** Retrieve environment variable Retrieve a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
5762
6301
|
export declare const getBuildSourceEnvVar: API.OperationMethod<GetBuildSourceEnvVarRequest, EnvVar, GetBuildSourceEnvVarError, RenderOpContext>;
|
|
5763
6302
|
export type GetBuildSourceSecretFileError = Forbidden | NotFound | RenderOpError;
|
|
5764
6303
|
/** Retrieve secret file Retrieve a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
5765
6304
|
export declare const getBuildSourceSecretFile: API.OperationMethod<GetBuildSourceSecretFileRequest, SecretFile, GetBuildSourceSecretFileError, RenderOpContext>;
|
|
5766
|
-
export type GetCpuError = BadRequest | RenderOpError;
|
|
6305
|
+
export type GetCpuError = BadRequest | NotFound | RenderOpError;
|
|
5767
6306
|
/** Get CPU usage Get CPU usage for one or more resources. */
|
|
5768
6307
|
export declare const getCpu: API.OperationMethod<GetCpuRequest, GetCpuResponse, GetCpuError, RenderOpContext>;
|
|
5769
|
-
export type GetCpuLimitError = BadRequest | RenderOpError;
|
|
6308
|
+
export type GetCpuLimitError = BadRequest | NotFound | RenderOpError;
|
|
5770
6309
|
/** Get CPU limit Get the CPU limit for one or more resources. */
|
|
5771
6310
|
export declare const getCpuLimit: API.OperationMethod<GetCpuLimitRequest, GetCpuLimitResponse, GetCpuLimitError, RenderOpContext>;
|
|
5772
|
-
export type GetCpuTargetError = BadRequest | RenderOpError;
|
|
6311
|
+
export type GetCpuTargetError = BadRequest | NotFound | RenderOpError;
|
|
5773
6312
|
/** Get CPU target Get CPU target for one or more resources. */
|
|
5774
6313
|
export declare const getCpuTarget: API.OperationMethod<GetCpuTargetRequest, GetCpuTargetResponse, GetCpuTargetError, RenderOpContext>;
|
|
5775
6314
|
export type GetCustomDomainError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
@@ -5784,10 +6323,10 @@ export declare const getDeploy: API.OperationMethod<GetDeployRequest, Deploy, Ge
|
|
|
5784
6323
|
export type GetDiskError = Forbidden | NotFound | RenderOpError;
|
|
5785
6324
|
/** Retrieve disk Retrieve the persistent disk with the provided ID. */
|
|
5786
6325
|
export declare const getDisk: API.OperationMethod<GetDiskRequest, Schema2, GetDiskError, RenderOpContext>;
|
|
5787
|
-
export type GetDiskCapacityError = BadRequest | RenderOpError;
|
|
6326
|
+
export type GetDiskCapacityError = BadRequest | NotFound | RenderOpError;
|
|
5788
6327
|
/** Get disk capacity Get persistent disk capacity for one or more resources. */
|
|
5789
6328
|
export declare const getDiskCapacity: API.OperationMethod<GetDiskCapacityRequest, GetDiskCapacityResponse, GetDiskCapacityError, RenderOpContext>;
|
|
5790
|
-
export type GetDiskUsageError = BadRequest | RenderOpError;
|
|
6329
|
+
export type GetDiskUsageError = BadRequest | NotFound | RenderOpError;
|
|
5791
6330
|
/** Get disk usage Get persistent disk usage for one or more resources. */
|
|
5792
6331
|
export declare const getDiskUsage: API.OperationMethod<GetDiskUsageRequest, GetDiskUsageResponse, GetDiskUsageError, RenderOpContext>;
|
|
5793
6332
|
export type GetEnvGroupError = BadRequest | NotFound | RenderOpError;
|
|
@@ -5823,13 +6362,16 @@ export declare const getFlowRun: API.OperationMethod<GetFlowRunRequest, GetFlowR
|
|
|
5823
6362
|
export type GetFlowRunStepError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5824
6363
|
/** Retrieve flow run step Retrieve a single step of a flow run, including its input, result and error. A sequence number can cover more than one step, so pass the `stepKey` the step listing reported to address one of those. */
|
|
5825
6364
|
export declare const getFlowRunStep: API.OperationMethod<GetFlowRunStepRequest, GetFlowRunStepResponse, GetFlowRunStepError, RenderOpContext>;
|
|
5826
|
-
export type
|
|
6365
|
+
export type GetFlowRunStepAttemptError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6366
|
+
/** Retrieve recorded failed step attempt */
|
|
6367
|
+
export declare const getFlowRunStepAttempt: API.OperationMethod<GetFlowRunStepAttemptRequest, GetFlowRunStepAttemptResponse, GetFlowRunStepAttemptError, RenderOpContext>;
|
|
6368
|
+
export type GetHttpLatencyError = BadRequest | NotFound | RenderOpError;
|
|
5827
6369
|
/** Get HTTP latency Get HTTP latency metrics for one or more resources. */
|
|
5828
6370
|
export declare const getHttpLatency: API.OperationMethod<GetHttpLatencyRequest, GetHttpLatencyResponse, GetHttpLatencyError, RenderOpContext>;
|
|
5829
|
-
export type GetHttpRequestsError = BadRequest | RenderOpError;
|
|
6371
|
+
export type GetHttpRequestsError = BadRequest | NotFound | RenderOpError;
|
|
5830
6372
|
/** Get HTTP request count Get the HTTP request count for one or more resources. */
|
|
5831
6373
|
export declare const getHttpRequests: API.OperationMethod<GetHttpRequestsRequest, GetHttpRequestsResponse, GetHttpRequestsError, RenderOpContext>;
|
|
5832
|
-
export type GetInstanceCountError = BadRequest | RenderOpError;
|
|
6374
|
+
export type GetInstanceCountError = BadRequest | NotFound | RenderOpError;
|
|
5833
6375
|
/** Get instance count Get the instance count for one or more resources. */
|
|
5834
6376
|
export declare const getInstanceCount: API.OperationMethod<GetInstanceCountRequest, GetInstanceCountResponse, GetInstanceCountError, RenderOpContext>;
|
|
5835
6377
|
export type GetJobError = BadRequest | NotFound | RenderOpError;
|
|
@@ -5844,13 +6386,13 @@ export declare const getKeyValueConnectionInfo: API.OperationMethod<GetKeyValueC
|
|
|
5844
6386
|
export type GetMaintenanceError = BadRequest | NotFound | RenderOpError;
|
|
5845
6387
|
/** Retrieve maintenance run Retrieve the maintenance run with the provided ID. */
|
|
5846
6388
|
export declare const getMaintenance: API.OperationMethod<GetMaintenanceRequest, GetMaintenanceResponse, GetMaintenanceError, RenderOpContext>;
|
|
5847
|
-
export type GetMemoryError = BadRequest | RenderOpError;
|
|
6389
|
+
export type GetMemoryError = BadRequest | NotFound | RenderOpError;
|
|
5848
6390
|
/** Get memory usage Get memory usage for one or more resources. */
|
|
5849
6391
|
export declare const getMemory: API.OperationMethod<GetMemoryRequest, GetMemoryResponse, GetMemoryError, RenderOpContext>;
|
|
5850
|
-
export type GetMemoryLimitError = BadRequest | RenderOpError;
|
|
6392
|
+
export type GetMemoryLimitError = BadRequest | NotFound | RenderOpError;
|
|
5851
6393
|
/** Get memory limit Get the memory limit for one or more resources. */
|
|
5852
6394
|
export declare const getMemoryLimit: API.OperationMethod<GetMemoryLimitRequest, GetMemoryLimitResponse, GetMemoryLimitError, RenderOpContext>;
|
|
5853
|
-
export type GetMemoryTargetError = BadRequest | RenderOpError;
|
|
6395
|
+
export type GetMemoryTargetError = BadRequest | NotFound | RenderOpError;
|
|
5854
6396
|
/** Get memory target Get memory target for one or more resources. */
|
|
5855
6397
|
export declare const getMemoryTarget: API.OperationMethod<GetMemoryTargetRequest, GetMemoryTargetResponse, GetMemoryTargetError, RenderOpContext>;
|
|
5856
6398
|
export type GetOwnerError = NotFound | RenderOpError;
|
|
@@ -5883,7 +6425,7 @@ export declare const getProject: API.OperationMethod<GetProjectRequest, Project,
|
|
|
5883
6425
|
export type GetRegistryCredentialError = Forbidden | NotFound | RenderOpError;
|
|
5884
6426
|
/** Retrieve registry credential Retrieve the registry credential with the provided ID. */
|
|
5885
6427
|
export declare const getRegistryCredential: API.OperationMethod<GetRegistryCredentialRequest, RegistryCredential, GetRegistryCredentialError, RenderOpContext>;
|
|
5886
|
-
export type GetReplicationLagError = BadRequest | RenderOpError;
|
|
6428
|
+
export type GetReplicationLagError = BadRequest | NotFound | RenderOpError;
|
|
5887
6429
|
/** Get replica lag Get seconds of replica lag of a Postgres replica. */
|
|
5888
6430
|
export declare const getReplicationLag: API.OperationMethod<GetReplicationLagRequest, GetReplicationLagResponse, GetReplicationLagError, RenderOpContext>;
|
|
5889
6431
|
export type GetResourceLogStreamError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
@@ -5891,18 +6433,21 @@ export type GetResourceLogStreamError = BadRequest | Forbidden | NotFound | Rend
|
|
|
5891
6433
|
export declare const getResourceLogStream: API.OperationMethod<GetResourceLogStreamRequest, GetResourceLogStreamResponse, GetResourceLogStreamError, RenderOpContext>;
|
|
5892
6434
|
export type GetSandboxError = Forbidden | NotFound | RenderOpError;
|
|
5893
6435
|
/** Retrieve sandbox Retrieve the sandbox with the provided ID. */
|
|
5894
|
-
export declare const getSandbox: API.OperationMethod<GetSandboxRequest,
|
|
6436
|
+
export declare const getSandbox: API.OperationMethod<GetSandboxRequest, GetSandboxResponse, GetSandboxError, RenderOpContext>;
|
|
5895
6437
|
export type GetSandboxBuildError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5896
|
-
/** Retrieve sandbox build
|
|
6438
|
+
/** Retrieve sandbox build Retrieve a build by ID. */
|
|
5897
6439
|
export declare const getSandboxBuild: API.OperationMethod<GetSandboxBuildRequest, Schema24, GetSandboxBuildError, RenderOpContext>;
|
|
5898
6440
|
export type GetSandboxExecutionError = Forbidden | NotFound | RenderOpError;
|
|
5899
6441
|
/** Retrieve execution Retrieve one execution record for the sandbox. */
|
|
5900
6442
|
export declare const getSandboxExecution: API.OperationMethod<GetSandboxExecutionRequest, GetSandboxExecutionResponse, GetSandboxExecutionError, RenderOpContext>;
|
|
5901
6443
|
export type GetSandboxGroupError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5902
|
-
/** Retrieve sandbox group Retrieve a sandbox group
|
|
5903
|
-
export declare const getSandboxGroup: API.OperationMethod<GetSandboxGroupRequest,
|
|
6444
|
+
/** Retrieve sandbox group Retrieve a sandbox group by ID. */
|
|
6445
|
+
export declare const getSandboxGroup: API.OperationMethod<GetSandboxGroupRequest, Schema21, GetSandboxGroupError, RenderOpContext>;
|
|
6446
|
+
export type GetSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6447
|
+
/** Retrieve sandbox group credential Retrieve the settings and metadata for a credential in this sandbox group. These endpoints do not return secret values, including to admins. */
|
|
6448
|
+
export declare const getSandboxGroupCredential: API.OperationMethod<GetSandboxGroupCredentialRequest, Schema23, GetSandboxGroupCredentialError, RenderOpContext>;
|
|
5904
6449
|
export type GetSandboxSnapshotError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5905
|
-
/** Retrieve sandbox snapshot
|
|
6450
|
+
/** Retrieve sandbox snapshot Retrieve a snapshot by ID. */
|
|
5906
6451
|
export declare const getSandboxSnapshot: API.OperationMethod<GetSandboxSnapshotRequest, Schema25, GetSandboxSnapshotError, RenderOpContext>;
|
|
5907
6452
|
export type GetSecretFileError = Forbidden | NotFound | RenderOpError;
|
|
5908
6453
|
/** Retrieve secret file Retrieve a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
@@ -5946,7 +6491,7 @@ export declare const linkEnvGroupToBuildSource: API.OperationMethod<LinkEnvGroup
|
|
|
5946
6491
|
export type LinkServiceToEnvGroupError = BadRequest | NotFound | RenderOpError;
|
|
5947
6492
|
/** Link service Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. */
|
|
5948
6493
|
export declare const linkServiceToEnvGroup: API.OperationMethod<LinkServiceToEnvGroupRequest, LinkServiceToEnvGroupResponse, LinkServiceToEnvGroupError, RenderOpContext>;
|
|
5949
|
-
export type ListApplicationFilterValuesError = BadRequest | RenderOpError;
|
|
6494
|
+
export type ListApplicationFilterValuesError = BadRequest | NotFound | RenderOpError;
|
|
5950
6495
|
/** List queryable instance values List instance values to filter by for one or more resources. */
|
|
5951
6496
|
export declare const listApplicationFilterValues: API.OperationMethod<ListApplicationFilterValuesRequest, ListApplicationFilterValuesResponse, ListApplicationFilterValuesError, RenderOpContext>;
|
|
5952
6497
|
export type ListBlueprintsError = Forbidden | NotFound | RenderOpError;
|
|
@@ -5994,7 +6539,7 @@ export declare const listFlows: API.OperationMethod<ListFlowsRequest, ListFlowsR
|
|
|
5994
6539
|
export type ListHeadersError = Forbidden | NotFound | RenderOpError;
|
|
5995
6540
|
/** List header rules List a particular service's response header rules that match the provided filters. If no filters are provided, all rules for the service are returned. */
|
|
5996
6541
|
export declare const listHeaders: API.OperationMethod<ListHeadersRequest, ListHeadersResponse, ListHeadersError, RenderOpContext>;
|
|
5997
|
-
export type ListHttpFilterValuesError = BadRequest | RenderOpError;
|
|
6542
|
+
export type ListHttpFilterValuesError = BadRequest | NotFound | RenderOpError;
|
|
5998
6543
|
/** List queryable status codes and host values List status codes and host values to filter by for one or more resources. */
|
|
5999
6544
|
export declare const listHttpFilterValues: API.OperationMethod<ListHttpFilterValuesRequest, ListHttpFilterValuesResponse, ListHttpFilterValuesError, RenderOpContext>;
|
|
6000
6545
|
export type ListInstancesError = NotFound | RenderOpError;
|
|
@@ -6027,7 +6572,7 @@ export declare const listOwnerAuditLogs: API.OperationMethod<ListOwnerAuditLogsR
|
|
|
6027
6572
|
export type ListOwnersError = RenderOpError;
|
|
6028
6573
|
/** List workspaces List the workspaces that your API key has access to, optionally filtered by name or owner email address. */
|
|
6029
6574
|
export declare const listOwners: API.OperationMethod<ListOwnersRequest, ListOwnersResponse, ListOwnersError, RenderOpContext>;
|
|
6030
|
-
export type ListPathFilterValuesError = BadRequest | RenderOpError;
|
|
6575
|
+
export type ListPathFilterValuesError = BadRequest | NotFound | RenderOpError;
|
|
6031
6576
|
/** List queryable paths The path suggestions are based on the most recent 5000 log lines as filtered by the provided filters */
|
|
6032
6577
|
export declare const listPathFilterValues: API.OperationMethod<ListPathFilterValuesRequest, ListPathFilterValuesResponse, ListPathFilterValuesError, RenderOpContext>;
|
|
6033
6578
|
export type ListPostgresError = BadRequest | NotFound | Conflict | RenderOpError;
|
|
@@ -6064,19 +6609,25 @@ export type ListRoutesError = Forbidden | NotFound | RenderOpError;
|
|
|
6064
6609
|
/** List redirect/rewrite rules List a particular service's redirect/rewrite rules that match the provided filters. If no filters are provided, all rules for the service are returned. */
|
|
6065
6610
|
export declare const listRoutes: API.OperationMethod<ListRoutesRequest, ListRoutesResponse, ListRoutesError, RenderOpContext>;
|
|
6066
6611
|
export type ListSandboxBuildsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6067
|
-
/** List sandbox builds
|
|
6612
|
+
/** List sandbox builds List builds in a sandbox group, newest first. */
|
|
6068
6613
|
export declare const listSandboxBuilds: API.OperationMethod<ListSandboxBuildsRequest, ListSandboxBuildsResponse, ListSandboxBuildsError, RenderOpContext>;
|
|
6069
6614
|
export type ListSandboxesError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6070
|
-
/** List sandboxes List sandboxes
|
|
6615
|
+
/** List sandboxes List sandboxes in a workspace. Each request must specify one workspace. Sandboxes run in the region of their sandbox group. */
|
|
6071
6616
|
export declare const listSandboxes: API.OperationMethod<ListSandboxesRequest, ListSandboxesResponse, ListSandboxesError, RenderOpContext>;
|
|
6072
6617
|
export type ListSandboxExecutionsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6073
6618
|
/** List executions List execution records for the sandbox, ordered by start time, newest first. */
|
|
6074
6619
|
export declare const listSandboxExecutions: API.OperationMethod<ListSandboxExecutionsRequest, ListSandboxExecutionsResponse, ListSandboxExecutionsError, RenderOpContext>;
|
|
6620
|
+
export type ListSandboxGroupCredentialsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6621
|
+
/** List sandbox group credentials List credentials in the sandbox group, sorted by credential ID. Returns credential settings and metadata. These endpoints do not return secret values, including to admins. */
|
|
6622
|
+
export declare const listSandboxGroupCredentials: API.OperationMethod<ListSandboxGroupCredentialsRequest, ListSandboxGroupCredentialsResponse, ListSandboxGroupCredentialsError, RenderOpContext>;
|
|
6623
|
+
export type ListSandboxGroupCredentialVersionsError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6624
|
+
/** List sandbox credential versions List retained credential versions, newest version ID first. Versions with identical settings and secret values share a fingerprint. Render retains the current configuration and the three distinct prior configurations most recently active. When an older configuration is removed, all versions that refer to it are also removed. These endpoints do not return secret values. */
|
|
6625
|
+
export declare const listSandboxGroupCredentialVersions: API.OperationMethod<ListSandboxGroupCredentialVersionsRequest, ListSandboxGroupCredentialVersionsResponse, ListSandboxGroupCredentialVersionsError, RenderOpContext>;
|
|
6075
6626
|
export type ListSandboxGroupsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6076
|
-
/** List sandbox groups List sandbox groups
|
|
6627
|
+
/** List sandbox groups List sandbox groups in a workspace, newest first. Returns up to 20 groups by default, with a maximum of 100. To fetch the next page, pass the last result's cursor as `cursor`. Continue until the response is empty. */
|
|
6077
6628
|
export declare const listSandboxGroups: API.OperationMethod<ListSandboxGroupsRequest, ListSandboxGroupsResponse, ListSandboxGroupsError, RenderOpContext>;
|
|
6078
6629
|
export type ListSandboxSnapshotsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6079
|
-
/** List sandbox snapshots
|
|
6630
|
+
/** List sandbox snapshots List snapshots in a sandbox group, newest first. Excludes expired and deleted snapshots. */
|
|
6080
6631
|
export declare const listSandboxSnapshots: API.OperationMethod<ListSandboxSnapshotsRequest, ListSandboxSnapshotsResponse, ListSandboxSnapshotsError, RenderOpContext>;
|
|
6081
6632
|
export type ListSecretFilesForBuildSourceError = Forbidden | NotFound | RenderOpError;
|
|
6082
6633
|
/** List secret files List all secret files for the build source with the provided ID. */
|
|
@@ -6147,6 +6698,9 @@ export declare const restartPostgres: API.OperationMethod<RestartPostgresRequest
|
|
|
6147
6698
|
export type RestartServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6148
6699
|
/** Restart service Restart the service with the provided ID. Not supported for cron jobs. */
|
|
6149
6700
|
export declare const restartService: API.OperationMethod<RestartServiceRequest, RestartServiceResponse, RestartServiceError, RenderOpContext>;
|
|
6701
|
+
export type RestoreSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6702
|
+
/** Restore sandbox credential configuration Restore a retained credential version, including its routing settings, injection settings, and secret value, as a new current version. Requires an admin. The new version has a higher ID, records who restored it and when, and identifies the source in `restoredFromVersionId`. Its fingerprint matches the source version. Render retains the current configuration and the three distinct prior configurations most recently active. Removing an older configuration also removes all versions that refer to it. The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. These endpoints do not return secret values. */
|
|
6703
|
+
export declare const restoreSandboxGroupCredential: API.OperationMethod<RestoreSandboxGroupCredentialRequest, Schema23, RestoreSandboxGroupCredentialError, RenderOpContext>;
|
|
6150
6704
|
export type RestoreSnapshotError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6151
6705
|
/** Restore snapshot Restore a persistent disk to an available snapshot. **This operation is irreversible.** It will overwrite the current disk data. It might also trigger a service deploy. Snapshot keys returned from the [List snapshots](https://api-docs.render.com/reference/list-snapshots) endpoint expire after 24 hours. If a snapshot key has expired, query the endpoint again for a new key. */
|
|
6152
6706
|
export declare const restoreSnapshot: API.OperationMethod<RestoreSnapshotRequest, Schema2, RestoreSnapshotError, RenderOpContext>;
|
|
@@ -6180,14 +6734,17 @@ export declare const suspendKeyValue: API.OperationMethod<SuspendKeyValueRequest
|
|
|
6180
6734
|
export type SuspendPostgresError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6181
6735
|
/** Suspend Postgres instance Suspend a Postgres instance by ID. */
|
|
6182
6736
|
export declare const suspendPostgres: API.OperationMethod<SuspendPostgresRequest, SuspendPostgresResponse, SuspendPostgresError, RenderOpContext>;
|
|
6737
|
+
export type SuspendSandboxError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6738
|
+
/** Suspend sandbox Suspend the running sandbox with the provided ID. Returns HTTP 202 after the sandbox starts suspending, or if it is already `suspending` or `suspended`. Retrieve the sandbox until its status is `suspended`. Open commands and connections end. The next connection resumes the sandbox. */
|
|
6739
|
+
export declare const suspendSandbox: API.OperationMethod<SuspendSandboxRequest, SuspendSandboxResponse, SuspendSandboxError, RenderOpContext>;
|
|
6183
6740
|
export type SuspendServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6184
6741
|
/** Suspend service Suspend the service with the provided ID. */
|
|
6185
6742
|
export declare const suspendService: API.OperationMethod<SuspendServiceRequest, SuspendServiceResponse, SuspendServiceError, RenderOpContext>;
|
|
6186
6743
|
export type TerminateSandboxError = Forbidden | NotFound | RenderOpError;
|
|
6187
|
-
/** Terminate sandbox Terminate the sandbox with the provided ID.
|
|
6744
|
+
/** Terminate sandbox Terminate the sandbox with the provided ID. Returns HTTP 204 even if the sandbox is already terminated. You can also terminate a sandbox while it is starting (`creating`). */
|
|
6188
6745
|
export declare const terminateSandbox: API.OperationMethod<TerminateSandboxRequest, TerminateSandboxResponse, TerminateSandboxError, RenderOpContext>;
|
|
6189
6746
|
export type TriggerBuildSourceBuildError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6190
|
-
/** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists.
|
|
6747
|
+
/** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. By default, all services linked to the build source with autodeploy enabled will be deployed. Use `deploy.serviceScope` to override this and choose specific linked services. Updating a build source or its build-time environment (env vars, secret files, env groups) with the REST API does not build it. Call this endpoint after those changes to build them. Only `git` build sources can be built. */
|
|
6191
6748
|
export declare const triggerBuildSourceBuild: API.OperationMethod<TriggerBuildSourceBuildRequest, TriggerBuildSourceBuildResponse, TriggerBuildSourceBuildError, RenderOpContext>;
|
|
6192
6749
|
export type TriggerMaintenanceError = BadRequest | NotFound | RenderOpError;
|
|
6193
6750
|
/** Trigger maintenance run Trigger the scheduled maintenance run with the provided ID. Triggering maintenance is asynchronous. To check whether maintenance has started, use the [Retrieve maintenance run](https://api-docs.render.com/reference/retrieve-maintenance) endpoint. As maintenance progresses, the run's `state` will change from `scheduled` to other values, such as `in_progress` and `succeeded`. */
|
|
@@ -6259,8 +6816,11 @@ export type UpdateResourceLogStreamError = BadRequest | Forbidden | NotFound | R
|
|
|
6259
6816
|
/** Update log stream override Updates log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. */
|
|
6260
6817
|
export declare const updateResourceLogStream: API.OperationMethod<UpdateResourceLogStreamRequest, UpdateResourceLogStreamResponse, UpdateResourceLogStreamError, RenderOpContext>;
|
|
6261
6818
|
export type UpdateSandboxGroupError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6262
|
-
/** Update sandbox group Update a sandbox group's concurrency limit.
|
|
6263
|
-
export declare const updateSandboxGroup: API.OperationMethod<UpdateSandboxGroupRequest,
|
|
6819
|
+
/** Update sandbox group Update a sandbox group's concurrency limit. The response contains the effective limit after applying Render's limit for the workspace. */
|
|
6820
|
+
export declare const updateSandboxGroup: API.OperationMethod<UpdateSandboxGroupRequest, Schema21, UpdateSandboxGroupError, RenderOpContext>;
|
|
6821
|
+
export type UpdateSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6822
|
+
/** Update sandbox group credential Update a credential. Developers can change `injection`, `methods`, `paths`, and `enabled`. Changing `domain` or `value` requires an admin. Omitted top-level fields keep their current values. Providing `injection` replaces the entire object. Its `template` defaults to `${SECRET}` when omitted. An empty `methods` or `paths` list removes that filter. Providing `value` creates a new version. The combined serialized size of current credential settings and secret values in the group must remain within 200 KiB (204800 bytes). The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. */
|
|
6823
|
+
export declare const updateSandboxGroupCredential: API.OperationMethod<UpdateSandboxGroupCredentialRequest, Schema23, UpdateSandboxGroupCredentialError, RenderOpContext>;
|
|
6264
6824
|
export type UpdateSecretFilesForBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6265
6825
|
/** Update secret files Replace all secret files for a build source with the provided list of secret files. **Any of the build source's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
6266
6826
|
export declare const updateSecretFilesForBuildSource: API.OperationMethod<UpdateSecretFilesForBuildSourceRequest, UpdateSecretFilesForBuildSourceResponse, UpdateSecretFilesForBuildSourceError, RenderOpContext>;
|