@cloudyskysoftware/pulumi-render 0.0.33 → 0.0.36
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/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/owners/getOwner.d.ts +19 -0
- package/owners/getOwner.js +22 -0
- package/owners/getOwner.js.map +1 -0
- package/owners/index.d.ts +3 -0
- package/owners/index.js +24 -0
- package/owners/index.js.map +1 -0
- package/owners/listOwners.d.ts +8 -0
- package/owners/listOwners.js +17 -0
- package/owners/listOwners.js.map +1 -0
- package/package.json +3 -3
- package/services/backgroundWorker.d.ts +90 -0
- package/services/backgroundWorker.js +91 -0
- package/services/backgroundWorker.js.map +1 -0
- package/services/cronJob.d.ts +90 -0
- package/services/cronJob.js +91 -0
- package/services/cronJob.js.map +1 -0
- package/services/customDomain.d.ts +6 -2
- package/services/customDomain.js +1 -0
- package/services/customDomain.js.map +1 -1
- package/services/deploy.d.ts +7 -3
- package/services/deploy.js +1 -0
- package/services/deploy.js.map +1 -1
- package/services/getBackgroundWorker.d.ts +19 -0
- package/services/getBackgroundWorker.js +22 -0
- package/services/getBackgroundWorker.js.map +1 -0
- package/services/getCronJob.d.ts +19 -0
- package/services/getCronJob.js +22 -0
- package/services/getCronJob.js.map +1 -0
- package/services/getCustomDomain.d.ts +27 -0
- package/services/getCustomDomain.js +23 -0
- package/services/getCustomDomain.js.map +1 -0
- package/services/getDeploy.d.ts +27 -0
- package/services/getDeploy.js +23 -0
- package/services/getDeploy.js.map +1 -0
- package/services/getPrivateService.d.ts +19 -0
- package/services/getPrivateService.js +22 -0
- package/services/getPrivateService.js.map +1 -0
- package/services/getStaticSite.d.ts +19 -0
- package/services/getStaticSite.js +22 -0
- package/services/getStaticSite.js.map +1 -0
- package/services/getWebService.d.ts +19 -0
- package/services/getWebService.js +22 -0
- package/services/getWebService.js.map +1 -0
- package/services/index.d.ts +16 -0
- package/services/index.js +25 -0
- package/services/index.js.map +1 -1
- package/services/listCustomDomains.d.ts +19 -0
- package/services/listCustomDomains.js +22 -0
- package/services/listCustomDomains.js.map +1 -0
- package/services/listDeploys.d.ts +19 -0
- package/services/listDeploys.js +22 -0
- package/services/listDeploys.js.map +1 -0
- package/services/listEnvVars.d.ts +19 -0
- package/services/listEnvVars.js +22 -0
- package/services/listEnvVars.js.map +1 -0
- package/services/listServiceHeaders.d.ts +19 -0
- package/services/listServiceHeaders.js +22 -0
- package/services/listServiceHeaders.js.map +1 -0
- package/services/listServices.d.ts +8 -0
- package/services/listServices.js +17 -0
- package/services/listServices.js.map +1 -0
- package/services/listStaticSiteRoutes.d.ts +19 -0
- package/services/listStaticSiteRoutes.js +22 -0
- package/services/listStaticSiteRoutes.js.map +1 -0
- package/services/privateService.d.ts +90 -0
- package/services/privateService.js +91 -0
- package/services/privateService.js.map +1 -0
- package/services/scale.d.ts +4 -0
- package/services/scale.js +1 -0
- package/services/scale.js.map +1 -1
- package/services/staticSite.d.ts +8 -8
- package/services/staticSite.js +1 -1
- package/services/staticSite.js.map +1 -1
- package/services/suspend.d.ts +4 -0
- package/services/suspend.js +1 -0
- package/services/suspend.js.map +1 -1
- package/services/webService.d.ts +8 -8
- package/services/webService.js +1 -1
- package/services/webService.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/owners/index.d.ts +8 -0
- package/types/enums/owners/index.js +10 -0
- package/types/enums/owners/index.js.map +1 -0
- package/types/enums/services/index.d.ts +125 -39
- package/types/enums/services/index.js +102 -22
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +106 -42
- package/types/input.js +38 -14
- package/types/input.js.map +1 -1
- package/types/output.d.ts +559 -38
- package/types/output.js +133 -14
- package/types/output.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,10 +1,472 @@
|
|
|
1
1
|
import { output as outputs, enums } from "../types";
|
|
2
|
+
export declare namespace owners {
|
|
3
|
+
interface ListOwnersResponse {
|
|
4
|
+
cursor?: string;
|
|
5
|
+
/**
|
|
6
|
+
* The owner object represents an authorized user or team. The `type` property indicates if the owner is a user or team.
|
|
7
|
+
*/
|
|
8
|
+
owner?: outputs.owners.Owner;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The owner object represents an authorized user or team. The `type` property indicates if the owner is a user or team.
|
|
12
|
+
*/
|
|
13
|
+
interface Owner {
|
|
14
|
+
/**
|
|
15
|
+
* The email of the owner.
|
|
16
|
+
*/
|
|
17
|
+
email?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The owner ID.
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the owner.
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The type of the authorized user.
|
|
28
|
+
*/
|
|
29
|
+
type?: enums.owners.OwnerType;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
2
32
|
export declare namespace services {
|
|
3
|
-
|
|
33
|
+
/**
|
|
34
|
+
* A background worker service
|
|
35
|
+
*/
|
|
36
|
+
interface BackgroundWorker {
|
|
37
|
+
/**
|
|
38
|
+
* Whether to auto deploy the service or not upon git push.
|
|
39
|
+
*/
|
|
40
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
41
|
+
/**
|
|
42
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
43
|
+
*/
|
|
44
|
+
branch?: string;
|
|
45
|
+
createdAt?: string;
|
|
46
|
+
name: string;
|
|
47
|
+
/**
|
|
48
|
+
* The notification setting for this service upon deployment failure.
|
|
49
|
+
*/
|
|
50
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
51
|
+
/**
|
|
52
|
+
* The id of the owner (user/team).
|
|
53
|
+
*/
|
|
54
|
+
ownerId: string;
|
|
55
|
+
/**
|
|
56
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
57
|
+
*/
|
|
58
|
+
repo: string;
|
|
59
|
+
serviceDetails?: outputs.services.BackgroundWorkerServiceDetails;
|
|
60
|
+
slug?: string;
|
|
61
|
+
suspended?: enums.services.ServiceSuspended;
|
|
62
|
+
suspenders?: string[];
|
|
63
|
+
type?: string;
|
|
64
|
+
updatedAt?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* backgroundWorkerProvideDefaults sets the appropriate defaults for BackgroundWorker
|
|
68
|
+
*/
|
|
69
|
+
function backgroundWorkerProvideDefaults(val: BackgroundWorker): BackgroundWorker;
|
|
70
|
+
interface BackgroundWorkerServiceDetails {
|
|
71
|
+
disk?: outputs.services.Disk;
|
|
72
|
+
env: enums.services.BackgroundWorkerServiceDetailsEnv;
|
|
73
|
+
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
74
|
+
numInstances?: number;
|
|
75
|
+
parentServer?: outputs.services.BackgroundWorkerServiceDetailsParentServerProperties;
|
|
76
|
+
plan?: enums.services.BackgroundWorkerServiceDetailsPlan;
|
|
77
|
+
pullRequestPreviewsEnabled?: enums.services.BackgroundWorkerServiceDetailsPullRequestPreviewsEnabled;
|
|
78
|
+
region?: enums.services.BackgroundWorkerServiceDetailsRegion;
|
|
79
|
+
url?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* backgroundWorkerServiceDetailsProvideDefaults sets the appropriate defaults for BackgroundWorkerServiceDetails
|
|
83
|
+
*/
|
|
84
|
+
function backgroundWorkerServiceDetailsProvideDefaults(val: BackgroundWorkerServiceDetails): BackgroundWorkerServiceDetails;
|
|
85
|
+
interface BackgroundWorkerServiceDetailsParentServerProperties {
|
|
86
|
+
id?: string;
|
|
87
|
+
name?: string;
|
|
88
|
+
}
|
|
89
|
+
interface Commit {
|
|
4
90
|
createdAt?: string;
|
|
5
91
|
id?: string;
|
|
6
92
|
message?: string;
|
|
7
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* A cron job
|
|
96
|
+
*/
|
|
97
|
+
interface CronJob {
|
|
98
|
+
/**
|
|
99
|
+
* Whether to auto deploy the service or not upon git push.
|
|
100
|
+
*/
|
|
101
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
102
|
+
/**
|
|
103
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
104
|
+
*/
|
|
105
|
+
branch?: string;
|
|
106
|
+
createdAt?: string;
|
|
107
|
+
name: string;
|
|
108
|
+
/**
|
|
109
|
+
* The notification setting for this service upon deployment failure.
|
|
110
|
+
*/
|
|
111
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
112
|
+
/**
|
|
113
|
+
* The id of the owner (user/team).
|
|
114
|
+
*/
|
|
115
|
+
ownerId: string;
|
|
116
|
+
/**
|
|
117
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
118
|
+
*/
|
|
119
|
+
repo: string;
|
|
120
|
+
serviceDetails?: outputs.services.CronJobServiceDetails;
|
|
121
|
+
slug?: string;
|
|
122
|
+
suspended?: enums.services.ServiceSuspended;
|
|
123
|
+
suspenders?: string[];
|
|
124
|
+
type?: string;
|
|
125
|
+
updatedAt?: string;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* cronJobProvideDefaults sets the appropriate defaults for CronJob
|
|
129
|
+
*/
|
|
130
|
+
function cronJobProvideDefaults(val: CronJob): CronJob;
|
|
131
|
+
interface CronJobServiceDetails {
|
|
132
|
+
env: enums.services.CronJobServiceDetailsEnv;
|
|
133
|
+
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
134
|
+
lastSuccessfulRunAt?: string;
|
|
135
|
+
plan?: enums.services.CronJobServiceDetailsPlan;
|
|
136
|
+
region?: enums.services.CronJobServiceDetailsRegion;
|
|
137
|
+
schedule: string;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* cronJobServiceDetailsProvideDefaults sets the appropriate defaults for CronJobServiceDetails
|
|
141
|
+
*/
|
|
142
|
+
function cronJobServiceDetailsProvideDefaults(val: CronJobServiceDetails): CronJobServiceDetails;
|
|
143
|
+
interface CustomDomain {
|
|
144
|
+
createdAt?: string;
|
|
145
|
+
domainType: enums.services.CustomDomainDomainType;
|
|
146
|
+
name: string;
|
|
147
|
+
publicSuffix?: string;
|
|
148
|
+
redirectForName: string;
|
|
149
|
+
server: outputs.services.CustomDomainServerProperties;
|
|
150
|
+
verificationStatus: enums.services.CustomDomainVerificationStatus;
|
|
151
|
+
}
|
|
152
|
+
interface CustomDomainServerProperties {
|
|
153
|
+
id?: string;
|
|
154
|
+
name?: string;
|
|
155
|
+
}
|
|
156
|
+
interface Deploy {
|
|
157
|
+
clearCache?: enums.services.DeployClearCache;
|
|
158
|
+
commit?: outputs.services.Commit;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* deployProvideDefaults sets the appropriate defaults for Deploy
|
|
162
|
+
*/
|
|
163
|
+
function deployProvideDefaults(val: Deploy): Deploy;
|
|
164
|
+
interface Disk {
|
|
165
|
+
mountPath: string;
|
|
166
|
+
name: string;
|
|
167
|
+
sizeGB?: number;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* diskProvideDefaults sets the appropriate defaults for Disk
|
|
171
|
+
*/
|
|
172
|
+
function diskProvideDefaults(val: Disk): Disk;
|
|
173
|
+
interface DockerDetails {
|
|
174
|
+
dockerCommand?: string;
|
|
175
|
+
dockerContext?: string;
|
|
176
|
+
dockerfilePath?: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* dockerDetailsProvideDefaults sets the appropriate defaults for DockerDetails
|
|
180
|
+
*/
|
|
181
|
+
function dockerDetailsProvideDefaults(val: DockerDetails): DockerDetails;
|
|
182
|
+
interface EnvVarKeyValue {
|
|
183
|
+
key: string;
|
|
184
|
+
value: string;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* A background worker service
|
|
188
|
+
*/
|
|
189
|
+
interface GetBackgroundWorker {
|
|
190
|
+
/**
|
|
191
|
+
* Whether to auto deploy the service or not upon git push.
|
|
192
|
+
*/
|
|
193
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
194
|
+
/**
|
|
195
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
196
|
+
*/
|
|
197
|
+
branch?: string;
|
|
198
|
+
createdAt?: string;
|
|
199
|
+
name: string;
|
|
200
|
+
/**
|
|
201
|
+
* The notification setting for this service upon deployment failure.
|
|
202
|
+
*/
|
|
203
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
204
|
+
/**
|
|
205
|
+
* The id of the owner (user/team).
|
|
206
|
+
*/
|
|
207
|
+
ownerId: string;
|
|
208
|
+
/**
|
|
209
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
210
|
+
*/
|
|
211
|
+
repo: string;
|
|
212
|
+
serviceDetails?: outputs.services.BackgroundWorkerServiceDetails;
|
|
213
|
+
slug?: string;
|
|
214
|
+
suspended?: enums.services.ServiceSuspended;
|
|
215
|
+
suspenders?: string[];
|
|
216
|
+
type?: string;
|
|
217
|
+
updatedAt?: string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* getBackgroundWorkerProvideDefaults sets the appropriate defaults for GetBackgroundWorker
|
|
221
|
+
*/
|
|
222
|
+
function getBackgroundWorkerProvideDefaults(val: GetBackgroundWorker): GetBackgroundWorker;
|
|
223
|
+
/**
|
|
224
|
+
* A cron job
|
|
225
|
+
*/
|
|
226
|
+
interface GetCronJob {
|
|
227
|
+
/**
|
|
228
|
+
* Whether to auto deploy the service or not upon git push.
|
|
229
|
+
*/
|
|
230
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
231
|
+
/**
|
|
232
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
233
|
+
*/
|
|
234
|
+
branch?: string;
|
|
235
|
+
createdAt?: string;
|
|
236
|
+
name: string;
|
|
237
|
+
/**
|
|
238
|
+
* The notification setting for this service upon deployment failure.
|
|
239
|
+
*/
|
|
240
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
241
|
+
/**
|
|
242
|
+
* The id of the owner (user/team).
|
|
243
|
+
*/
|
|
244
|
+
ownerId: string;
|
|
245
|
+
/**
|
|
246
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
247
|
+
*/
|
|
248
|
+
repo: string;
|
|
249
|
+
serviceDetails?: outputs.services.CronJobServiceDetails;
|
|
250
|
+
slug?: string;
|
|
251
|
+
suspended?: enums.services.ServiceSuspended;
|
|
252
|
+
suspenders?: string[];
|
|
253
|
+
type?: string;
|
|
254
|
+
updatedAt?: string;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* getCronJobProvideDefaults sets the appropriate defaults for GetCronJob
|
|
258
|
+
*/
|
|
259
|
+
function getCronJobProvideDefaults(val: GetCronJob): GetCronJob;
|
|
260
|
+
/**
|
|
261
|
+
* A private service
|
|
262
|
+
*/
|
|
263
|
+
interface GetPrivateService {
|
|
264
|
+
/**
|
|
265
|
+
* Whether to auto deploy the service or not upon git push.
|
|
266
|
+
*/
|
|
267
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
268
|
+
/**
|
|
269
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
270
|
+
*/
|
|
271
|
+
branch?: string;
|
|
272
|
+
createdAt?: string;
|
|
273
|
+
name: string;
|
|
274
|
+
/**
|
|
275
|
+
* The notification setting for this service upon deployment failure.
|
|
276
|
+
*/
|
|
277
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
278
|
+
/**
|
|
279
|
+
* The id of the owner (user/team).
|
|
280
|
+
*/
|
|
281
|
+
ownerId: string;
|
|
282
|
+
/**
|
|
283
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
284
|
+
*/
|
|
285
|
+
repo: string;
|
|
286
|
+
serviceDetails?: outputs.services.PrivateServiceDetails;
|
|
287
|
+
slug?: string;
|
|
288
|
+
suspended?: enums.services.ServiceSuspended;
|
|
289
|
+
suspenders?: string[];
|
|
290
|
+
type?: string;
|
|
291
|
+
updatedAt?: string;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* getPrivateServiceProvideDefaults sets the appropriate defaults for GetPrivateService
|
|
295
|
+
*/
|
|
296
|
+
function getPrivateServiceProvideDefaults(val: GetPrivateService): GetPrivateService;
|
|
297
|
+
/**
|
|
298
|
+
* A static website service
|
|
299
|
+
*/
|
|
300
|
+
interface GetStaticSite {
|
|
301
|
+
/**
|
|
302
|
+
* Whether to auto deploy the service or not upon git push.
|
|
303
|
+
*/
|
|
304
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
305
|
+
/**
|
|
306
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
307
|
+
*/
|
|
308
|
+
branch?: string;
|
|
309
|
+
createdAt?: string;
|
|
310
|
+
name: string;
|
|
311
|
+
/**
|
|
312
|
+
* The notification setting for this service upon deployment failure.
|
|
313
|
+
*/
|
|
314
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
315
|
+
/**
|
|
316
|
+
* The id of the owner (user/team).
|
|
317
|
+
*/
|
|
318
|
+
ownerId: string;
|
|
319
|
+
/**
|
|
320
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
321
|
+
*/
|
|
322
|
+
repo: string;
|
|
323
|
+
serviceDetails?: outputs.services.StaticSiteServiceDetails;
|
|
324
|
+
slug?: string;
|
|
325
|
+
suspended?: enums.services.ServiceSuspended;
|
|
326
|
+
suspenders?: string[];
|
|
327
|
+
type?: string;
|
|
328
|
+
updatedAt?: string;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* getStaticSiteProvideDefaults sets the appropriate defaults for GetStaticSite
|
|
332
|
+
*/
|
|
333
|
+
function getStaticSiteProvideDefaults(val: GetStaticSite): GetStaticSite;
|
|
334
|
+
/**
|
|
335
|
+
* A web service
|
|
336
|
+
*/
|
|
337
|
+
interface GetWebService {
|
|
338
|
+
/**
|
|
339
|
+
* Whether to auto deploy the service or not upon git push.
|
|
340
|
+
*/
|
|
341
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
342
|
+
/**
|
|
343
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
344
|
+
*/
|
|
345
|
+
branch?: string;
|
|
346
|
+
createdAt?: string;
|
|
347
|
+
name: string;
|
|
348
|
+
/**
|
|
349
|
+
* The notification setting for this service upon deployment failure.
|
|
350
|
+
*/
|
|
351
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
352
|
+
/**
|
|
353
|
+
* The id of the owner (user/team).
|
|
354
|
+
*/
|
|
355
|
+
ownerId: string;
|
|
356
|
+
/**
|
|
357
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
358
|
+
*/
|
|
359
|
+
repo: string;
|
|
360
|
+
serviceDetails?: outputs.services.WebServiceServiceDetails;
|
|
361
|
+
slug?: string;
|
|
362
|
+
suspended?: enums.services.ServiceSuspended;
|
|
363
|
+
suspenders?: string[];
|
|
364
|
+
type?: string;
|
|
365
|
+
updatedAt?: string;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* getWebServiceProvideDefaults sets the appropriate defaults for GetWebService
|
|
369
|
+
*/
|
|
370
|
+
function getWebServiceProvideDefaults(val: GetWebService): GetWebService;
|
|
371
|
+
interface ListCustomDomainsResponse {
|
|
372
|
+
cursor?: string;
|
|
373
|
+
customDomain?: outputs.services.CustomDomain;
|
|
374
|
+
}
|
|
375
|
+
interface ListDeploysResponse {
|
|
376
|
+
cursor?: string;
|
|
377
|
+
customDomain?: outputs.services.Deploy;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* listDeploysResponseProvideDefaults sets the appropriate defaults for ListDeploysResponse
|
|
381
|
+
*/
|
|
382
|
+
function listDeploysResponseProvideDefaults(val: ListDeploysResponse): ListDeploysResponse;
|
|
383
|
+
interface ListEnvVarsResponse {
|
|
384
|
+
cursor?: string;
|
|
385
|
+
envVar?: outputs.services.EnvVarKeyValue;
|
|
386
|
+
}
|
|
387
|
+
interface ListServiceHeadersResponse {
|
|
388
|
+
cursor?: string;
|
|
389
|
+
/**
|
|
390
|
+
* A service header object
|
|
391
|
+
*/
|
|
392
|
+
header?: outputs.services.ServiceHeader;
|
|
393
|
+
}
|
|
394
|
+
interface ListServiceResponse {
|
|
395
|
+
cursor?: string;
|
|
396
|
+
service?: outputs.services.StaticSite | outputs.services.WebService | outputs.services.PrivateService | outputs.services.BackgroundWorker | outputs.services.CronJob;
|
|
397
|
+
}
|
|
398
|
+
interface ListStaticSiteRoutesResponse {
|
|
399
|
+
cursor?: string;
|
|
400
|
+
/**
|
|
401
|
+
* A route object for a static site
|
|
402
|
+
*/
|
|
403
|
+
route?: outputs.services.StaticSiteRoute;
|
|
404
|
+
}
|
|
405
|
+
interface NativeEnvironmentDetails {
|
|
406
|
+
buildCommand: string;
|
|
407
|
+
startCommand: string;
|
|
408
|
+
}
|
|
409
|
+
interface OpenPorts {
|
|
410
|
+
port?: number;
|
|
411
|
+
protocol?: enums.services.OpenPortsProtocol;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* A private service
|
|
415
|
+
*/
|
|
416
|
+
interface PrivateService {
|
|
417
|
+
/**
|
|
418
|
+
* Whether to auto deploy the service or not upon git push.
|
|
419
|
+
*/
|
|
420
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
421
|
+
/**
|
|
422
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
423
|
+
*/
|
|
424
|
+
branch?: string;
|
|
425
|
+
createdAt?: string;
|
|
426
|
+
name: string;
|
|
427
|
+
/**
|
|
428
|
+
* The notification setting for this service upon deployment failure.
|
|
429
|
+
*/
|
|
430
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
431
|
+
/**
|
|
432
|
+
* The id of the owner (user/team).
|
|
433
|
+
*/
|
|
434
|
+
ownerId: string;
|
|
435
|
+
/**
|
|
436
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
437
|
+
*/
|
|
438
|
+
repo: string;
|
|
439
|
+
serviceDetails?: outputs.services.PrivateServiceDetails;
|
|
440
|
+
slug?: string;
|
|
441
|
+
suspended?: enums.services.ServiceSuspended;
|
|
442
|
+
suspenders?: string[];
|
|
443
|
+
type?: string;
|
|
444
|
+
updatedAt?: string;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* privateServiceProvideDefaults sets the appropriate defaults for PrivateService
|
|
448
|
+
*/
|
|
449
|
+
function privateServiceProvideDefaults(val: PrivateService): PrivateService;
|
|
450
|
+
interface PrivateServiceDetails {
|
|
451
|
+
disk?: outputs.services.Disk;
|
|
452
|
+
env: enums.services.PrivateServiceDetailsEnv;
|
|
453
|
+
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
454
|
+
numInstances?: number;
|
|
455
|
+
openPorts?: outputs.services.OpenPorts[];
|
|
456
|
+
parentServer?: outputs.services.PrivateServiceDetailsParentServerProperties;
|
|
457
|
+
plan?: enums.services.PrivateServiceDetailsPlan;
|
|
458
|
+
pullRequestPreviewsEnabled?: enums.services.PrivateServiceDetailsPullRequestPreviewsEnabled;
|
|
459
|
+
region?: enums.services.PrivateServiceDetailsRegion;
|
|
460
|
+
url?: string;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* privateServiceDetailsProvideDefaults sets the appropriate defaults for PrivateServiceDetails
|
|
464
|
+
*/
|
|
465
|
+
function privateServiceDetailsProvideDefaults(val: PrivateServiceDetails): PrivateServiceDetails;
|
|
466
|
+
interface PrivateServiceDetailsParentServerProperties {
|
|
467
|
+
id?: string;
|
|
468
|
+
name?: string;
|
|
469
|
+
}
|
|
8
470
|
interface ServerProperties {
|
|
9
471
|
id?: string;
|
|
10
472
|
name?: string;
|
|
@@ -12,73 +474,132 @@ export declare namespace services {
|
|
|
12
474
|
/**
|
|
13
475
|
* A service header object
|
|
14
476
|
*/
|
|
15
|
-
interface
|
|
477
|
+
interface ServiceHeader {
|
|
16
478
|
name: string;
|
|
17
479
|
path: string;
|
|
18
480
|
value: string;
|
|
19
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* A static website service
|
|
484
|
+
*/
|
|
485
|
+
interface StaticSite {
|
|
486
|
+
/**
|
|
487
|
+
* Whether to auto deploy the service or not upon git push.
|
|
488
|
+
*/
|
|
489
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
490
|
+
/**
|
|
491
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
492
|
+
*/
|
|
493
|
+
branch?: string;
|
|
494
|
+
createdAt?: string;
|
|
495
|
+
name: string;
|
|
496
|
+
/**
|
|
497
|
+
* The notification setting for this service upon deployment failure.
|
|
498
|
+
*/
|
|
499
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
500
|
+
/**
|
|
501
|
+
* The id of the owner (user/team).
|
|
502
|
+
*/
|
|
503
|
+
ownerId: string;
|
|
504
|
+
/**
|
|
505
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
506
|
+
*/
|
|
507
|
+
repo: string;
|
|
508
|
+
serviceDetails?: outputs.services.StaticSiteServiceDetails;
|
|
509
|
+
slug?: string;
|
|
510
|
+
suspended?: enums.services.ServiceSuspended;
|
|
511
|
+
suspenders?: string[];
|
|
512
|
+
type?: string;
|
|
513
|
+
updatedAt?: string;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* staticSiteProvideDefaults sets the appropriate defaults for StaticSite
|
|
517
|
+
*/
|
|
518
|
+
function staticSiteProvideDefaults(val: StaticSite): StaticSite;
|
|
20
519
|
/**
|
|
21
520
|
* A route object for a static site
|
|
22
521
|
*/
|
|
23
|
-
interface
|
|
522
|
+
interface StaticSiteRoute {
|
|
24
523
|
destination: string;
|
|
25
524
|
source: string;
|
|
26
|
-
type: enums.services.
|
|
525
|
+
type: enums.services.StaticSiteRouteType;
|
|
27
526
|
}
|
|
28
|
-
interface
|
|
527
|
+
interface StaticSiteServiceDetails {
|
|
29
528
|
buildCommand?: string;
|
|
30
|
-
headers?: outputs.services.
|
|
31
|
-
parentServer?: outputs.services.
|
|
529
|
+
headers?: outputs.services.ServiceHeader[];
|
|
530
|
+
parentServer?: outputs.services.StaticSiteServiceDetailsParentServerProperties;
|
|
32
531
|
publishPath?: string;
|
|
33
|
-
pullRequestPreviewsEnabled?: enums.services.
|
|
34
|
-
routes?: outputs.services.
|
|
532
|
+
pullRequestPreviewsEnabled?: enums.services.StaticSiteServiceDetailsPullRequestPreviewsEnabled;
|
|
533
|
+
routes?: outputs.services.StaticSiteRoute[];
|
|
35
534
|
/**
|
|
36
535
|
* The HTTPS service URL. A subdomain of onrender.com, by default.
|
|
37
536
|
*/
|
|
38
537
|
url?: string;
|
|
39
538
|
}
|
|
40
539
|
/**
|
|
41
|
-
*
|
|
540
|
+
* staticSiteServiceDetailsProvideDefaults sets the appropriate defaults for StaticSiteServiceDetails
|
|
42
541
|
*/
|
|
43
|
-
function
|
|
44
|
-
interface
|
|
542
|
+
function staticSiteServiceDetailsProvideDefaults(val: StaticSiteServiceDetails): StaticSiteServiceDetails;
|
|
543
|
+
interface StaticSiteServiceDetailsParentServerProperties {
|
|
45
544
|
id?: string;
|
|
46
545
|
name?: string;
|
|
47
546
|
}
|
|
48
|
-
interface WebServiceDisk {
|
|
49
|
-
mountPath: string;
|
|
50
|
-
name: string;
|
|
51
|
-
sizeGB?: number;
|
|
52
|
-
}
|
|
53
547
|
/**
|
|
54
|
-
*
|
|
548
|
+
* A web service
|
|
55
549
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
550
|
+
interface WebService {
|
|
551
|
+
/**
|
|
552
|
+
* Whether to auto deploy the service or not upon git push.
|
|
553
|
+
*/
|
|
554
|
+
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
555
|
+
/**
|
|
556
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
557
|
+
*/
|
|
558
|
+
branch?: string;
|
|
559
|
+
createdAt?: string;
|
|
560
|
+
name: string;
|
|
561
|
+
/**
|
|
562
|
+
* The notification setting for this service upon deployment failure.
|
|
563
|
+
*/
|
|
564
|
+
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
565
|
+
/**
|
|
566
|
+
* The id of the owner (user/team).
|
|
567
|
+
*/
|
|
568
|
+
ownerId: string;
|
|
569
|
+
/**
|
|
570
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
571
|
+
*/
|
|
572
|
+
repo: string;
|
|
573
|
+
serviceDetails?: outputs.services.WebServiceServiceDetails;
|
|
574
|
+
slug?: string;
|
|
575
|
+
suspended?: enums.services.ServiceSuspended;
|
|
576
|
+
suspenders?: string[];
|
|
577
|
+
type?: string;
|
|
578
|
+
updatedAt?: string;
|
|
61
579
|
}
|
|
62
580
|
/**
|
|
63
|
-
*
|
|
581
|
+
* webServiceProvideDefaults sets the appropriate defaults for WebService
|
|
64
582
|
*/
|
|
65
|
-
function
|
|
66
|
-
interface
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
interface WebServiceWebServiceServiceDetails {
|
|
71
|
-
disk?: outputs.services.WebServiceDisk;
|
|
72
|
-
env: enums.services.WebServiceWebServiceServiceDetailsEnv;
|
|
73
|
-
envSpecificDetails?: outputs.services.WebServiceDockerDetails | outputs.services.WebServiceNativeEnvironmentDetails;
|
|
583
|
+
function webServiceProvideDefaults(val: WebService): WebService;
|
|
584
|
+
interface WebServiceServiceDetails {
|
|
585
|
+
disk?: outputs.services.Disk;
|
|
586
|
+
env: enums.services.WebServiceServiceDetailsEnv;
|
|
587
|
+
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
74
588
|
healthCheckPath?: string;
|
|
75
589
|
numInstances?: number;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
590
|
+
openPorts?: outputs.services.OpenPorts[];
|
|
591
|
+
parentServer?: outputs.services.WebServiceServiceDetailsParentServerProperties;
|
|
592
|
+
plan?: enums.services.WebServiceServiceDetailsPlan;
|
|
593
|
+
pullRequestPreviewsEnabled?: enums.services.WebServiceServiceDetailsPullRequestPreviewsEnabled;
|
|
594
|
+
region?: enums.services.WebServiceServiceDetailsRegion;
|
|
595
|
+
url?: string;
|
|
79
596
|
}
|
|
80
597
|
/**
|
|
81
|
-
*
|
|
598
|
+
* webServiceServiceDetailsProvideDefaults sets the appropriate defaults for WebServiceServiceDetails
|
|
82
599
|
*/
|
|
83
|
-
function
|
|
600
|
+
function webServiceServiceDetailsProvideDefaults(val: WebServiceServiceDetails): WebServiceServiceDetails;
|
|
601
|
+
interface WebServiceServiceDetailsParentServerProperties {
|
|
602
|
+
id?: string;
|
|
603
|
+
name?: string;
|
|
604
|
+
}
|
|
84
605
|
}
|