@cloudyskysoftware/pulumi-render 0.2.1 → 0.3.1

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.
Files changed (265) hide show
  1. package/README.md +1 -5
  2. package/blueprints/getBlueprint.d.ts +19 -0
  3. package/blueprints/getBlueprint.js +19 -0
  4. package/blueprints/getBlueprint.js.map +1 -0
  5. package/blueprints/index.d.ts +10 -0
  6. package/blueprints/index.js +32 -0
  7. package/blueprints/index.js.map +1 -0
  8. package/blueprints/listBlueprintSyncs.d.ts +19 -0
  9. package/blueprints/listBlueprintSyncs.js +19 -0
  10. package/blueprints/listBlueprintSyncs.js.map +1 -0
  11. package/blueprints/listBlueprints.d.ts +9 -0
  12. package/blueprints/listBlueprints.js +18 -0
  13. package/blueprints/listBlueprints.js.map +1 -0
  14. package/cronjobs/index.d.ts +4 -0
  15. package/cronjobs/index.js +38 -0
  16. package/cronjobs/index.js.map +1 -0
  17. package/cronjobs/runCronJob.d.ts +46 -0
  18. package/cronjobs/runCronJob.js +62 -0
  19. package/cronjobs/runCronJob.js.map +1 -0
  20. package/disks/disk.d.ts +40 -0
  21. package/disks/disk.js +72 -0
  22. package/disks/disk.js.map +1 -0
  23. package/disks/getDisk.d.ts +19 -0
  24. package/disks/getDisk.js +19 -0
  25. package/disks/getDisk.js.map +1 -0
  26. package/disks/index.d.ts +12 -0
  27. package/disks/index.js +32 -0
  28. package/disks/index.js.map +1 -0
  29. package/disks/listDisks.d.ts +9 -0
  30. package/disks/listDisks.js +18 -0
  31. package/disks/listDisks.js.map +1 -0
  32. package/disks/restoreSnapshot.d.ts +50 -0
  33. package/disks/restoreSnapshot.js +71 -0
  34. package/disks/restoreSnapshot.js.map +1 -0
  35. package/envgroups/envGroup.d.ts +50 -0
  36. package/envgroups/envGroup.js +75 -0
  37. package/envgroups/envGroup.js.map +1 -0
  38. package/envgroups/getEnvGroup.d.ts +19 -0
  39. package/envgroups/getEnvGroup.js +19 -0
  40. package/envgroups/getEnvGroup.js.map +1 -0
  41. package/envgroups/getEnvGroupEnvVar.d.ts +27 -0
  42. package/envgroups/getEnvGroupEnvVar.js +20 -0
  43. package/envgroups/getEnvGroupEnvVar.js.map +1 -0
  44. package/envgroups/getEnvGroupSecretFile.d.ts +27 -0
  45. package/envgroups/getEnvGroupSecretFile.js +20 -0
  46. package/envgroups/getEnvGroupSecretFile.js.map +1 -0
  47. package/envgroups/index.d.ts +19 -0
  48. package/envgroups/index.js +54 -0
  49. package/envgroups/index.js.map +1 -0
  50. package/envgroups/linkServiceToEnvGroup.d.ts +50 -0
  51. package/envgroups/linkServiceToEnvGroup.js +69 -0
  52. package/envgroups/linkServiceToEnvGroup.js.map +1 -0
  53. package/envgroups/listEnvGroups.d.ts +9 -0
  54. package/envgroups/listEnvGroups.js +18 -0
  55. package/envgroups/listEnvGroups.js.map +1 -0
  56. package/environments/environment.d.ts +47 -0
  57. package/environments/environment.js +68 -0
  58. package/environments/environment.js.map +1 -0
  59. package/environments/getEnvironment.d.ts +13 -0
  60. package/environments/getEnvironment.js +19 -0
  61. package/environments/getEnvironment.js.map +1 -0
  62. package/environments/index.d.ts +13 -0
  63. package/environments/index.js +48 -0
  64. package/environments/index.js.map +1 -0
  65. package/environments/listEnvironments.d.ts +9 -0
  66. package/environments/listEnvironments.js +18 -0
  67. package/environments/listEnvironments.js.map +1 -0
  68. package/environments/resourcesToEnvironment.d.ts +44 -0
  69. package/environments/resourcesToEnvironment.js +71 -0
  70. package/environments/resourcesToEnvironment.js.map +1 -0
  71. package/index.d.ts +11 -1
  72. package/index.js +21 -1
  73. package/index.js.map +1 -1
  74. package/metrics/index.d.ts +6 -0
  75. package/metrics/index.js +13 -0
  76. package/metrics/index.js.map +1 -0
  77. package/metrics/listActiveConnections.d.ts +9 -0
  78. package/metrics/listActiveConnections.js +18 -0
  79. package/metrics/listActiveConnections.js.map +1 -0
  80. package/metrics/listReplicationLag.d.ts +9 -0
  81. package/metrics/listReplicationLag.js +18 -0
  82. package/metrics/listReplicationLag.js.map +1 -0
  83. package/notificationsettings/getOwnerNotificationSetting.d.ts +19 -0
  84. package/notificationsettings/getOwnerNotificationSetting.js +19 -0
  85. package/notificationsettings/getOwnerNotificationSetting.js.map +1 -0
  86. package/notificationsettings/getServiceNotificationOverride.d.ts +19 -0
  87. package/notificationsettings/getServiceNotificationOverride.js +19 -0
  88. package/notificationsettings/getServiceNotificationOverride.js.map +1 -0
  89. package/notificationsettings/index.d.ts +10 -0
  90. package/notificationsettings/index.js +32 -0
  91. package/notificationsettings/index.js.map +1 -0
  92. package/notificationsettings/listNotificationOverrides.d.ts +9 -0
  93. package/notificationsettings/listNotificationOverrides.js +18 -0
  94. package/notificationsettings/listNotificationOverrides.js.map +1 -0
  95. package/package.json +1 -1
  96. package/postgres/failoverPostgres.d.ts +31 -0
  97. package/postgres/failoverPostgres.js +52 -0
  98. package/postgres/failoverPostgres.js.map +1 -0
  99. package/postgres/getPostgres.d.ts +13 -0
  100. package/postgres/getPostgres.js +19 -0
  101. package/postgres/getPostgres.js.map +1 -0
  102. package/postgres/getPostgresConnectionInfo.d.ts +13 -0
  103. package/postgres/getPostgresConnectionInfo.js +19 -0
  104. package/postgres/getPostgresConnectionInfo.js.map +1 -0
  105. package/postgres/getPostgresRecoveryInfo.d.ts +13 -0
  106. package/postgres/getPostgresRecoveryInfo.js +19 -0
  107. package/postgres/getPostgresRecoveryInfo.js.map +1 -0
  108. package/postgres/index.d.ts +37 -0
  109. package/postgres/index.js +77 -0
  110. package/postgres/index.js.map +1 -0
  111. package/postgres/listPostgres.d.ts +9 -0
  112. package/postgres/listPostgres.js +18 -0
  113. package/postgres/listPostgres.js.map +1 -0
  114. package/postgres/listPostgresBackup.d.ts +13 -0
  115. package/postgres/listPostgresBackup.js +19 -0
  116. package/postgres/listPostgresBackup.js.map +1 -0
  117. package/postgres/postgres.d.ts +101 -0
  118. package/postgres/postgres.js +114 -0
  119. package/postgres/postgres.js.map +1 -0
  120. package/postgres/postgresBackup.d.ts +31 -0
  121. package/postgres/postgresBackup.js +52 -0
  122. package/postgres/postgresBackup.js.map +1 -0
  123. package/postgres/recoverPostgres.d.ts +99 -0
  124. package/postgres/recoverPostgres.js +105 -0
  125. package/postgres/recoverPostgres.js.map +1 -0
  126. package/postgres/restartPostgres.d.ts +31 -0
  127. package/postgres/restartPostgres.js +52 -0
  128. package/postgres/restartPostgres.js.map +1 -0
  129. package/postgres/resumePostgres.d.ts +31 -0
  130. package/postgres/resumePostgres.js +52 -0
  131. package/postgres/resumePostgres.js.map +1 -0
  132. package/postgres/suspendPostgres.d.ts +31 -0
  133. package/postgres/suspendPostgres.js +52 -0
  134. package/postgres/suspendPostgres.js.map +1 -0
  135. package/projects/getProject.d.ts +13 -0
  136. package/projects/getProject.js +19 -0
  137. package/projects/getProject.js.map +1 -0
  138. package/projects/index.d.ts +10 -0
  139. package/projects/index.js +44 -0
  140. package/projects/index.js.map +1 -0
  141. package/projects/listProjects.d.ts +9 -0
  142. package/projects/listProjects.js +18 -0
  143. package/projects/listProjects.js.map +1 -0
  144. package/projects/project.d.ts +63 -0
  145. package/projects/project.js +71 -0
  146. package/projects/project.js.map +1 -0
  147. package/redis/getRedi.d.ts +13 -0
  148. package/redis/getRedi.js +19 -0
  149. package/redis/getRedi.js.map +1 -0
  150. package/redis/getRedisConnectionInfo.d.ts +13 -0
  151. package/redis/getRedisConnectionInfo.js +19 -0
  152. package/redis/getRedisConnectionInfo.js.map +1 -0
  153. package/redis/index.d.ts +13 -0
  154. package/redis/index.js +47 -0
  155. package/redis/index.js.map +1 -0
  156. package/redis/listRedis.d.ts +9 -0
  157. package/redis/listRedis.js +18 -0
  158. package/redis/listRedis.js.map +1 -0
  159. package/redis/redi.d.ts +99 -0
  160. package/redis/redi.js +88 -0
  161. package/redis/redi.js.map +1 -0
  162. package/registrycredentials/registryCredential.d.ts +3 -0
  163. package/services/autoscaleService.d.ts +2 -2
  164. package/services/autoscaleService.js +1 -1
  165. package/services/autoscaleService.js.map +1 -1
  166. package/services/backgroundWorker.d.ts +10 -7
  167. package/services/backgroundWorker.js +6 -0
  168. package/services/backgroundWorker.js.map +1 -1
  169. package/services/cancelJob.d.ts +2 -1
  170. package/services/cancelJob.js.map +1 -1
  171. package/services/cronJob.d.ts +10 -7
  172. package/services/cronJob.js +8 -1
  173. package/services/cronJob.js.map +1 -1
  174. package/services/deploy.d.ts +22 -6
  175. package/services/deploy.js.map +1 -1
  176. package/services/envVarsForService.d.ts +2 -2
  177. package/services/getEnvVar.d.ts +27 -0
  178. package/services/getEnvVar.js +20 -0
  179. package/services/getEnvVar.js.map +1 -0
  180. package/services/getSecretFile.d.ts +27 -0
  181. package/services/getSecretFile.js +20 -0
  182. package/services/getSecretFile.js.map +1 -0
  183. package/services/header.d.ts +60 -0
  184. package/services/header.js +66 -0
  185. package/services/header.js.map +1 -0
  186. package/services/index.d.ts +27 -9
  187. package/services/index.js +33 -11
  188. package/services/index.js.map +1 -1
  189. package/services/job.d.ts +2 -1
  190. package/services/job.js.map +1 -1
  191. package/services/listCustomDomains.d.ts +1 -1
  192. package/services/listHeaders.d.ts +19 -0
  193. package/services/listHeaders.js +19 -0
  194. package/services/listHeaders.js.map +1 -0
  195. package/services/listRoutes.d.ts +19 -0
  196. package/services/listRoutes.js +19 -0
  197. package/services/listRoutes.js.map +1 -0
  198. package/services/listSecretFilesForService.d.ts +19 -0
  199. package/services/listSecretFilesForService.js +19 -0
  200. package/services/listSecretFilesForService.js.map +1 -0
  201. package/services/privateService.d.ts +10 -7
  202. package/services/privateService.js +6 -0
  203. package/services/privateService.js.map +1 -1
  204. package/services/{restartServer.d.ts → restartService.d.ts} +9 -9
  205. package/services/{restartServer.js → restartService.js} +11 -11
  206. package/services/restartService.js.map +1 -0
  207. package/services/rollbackDeploy.d.ts +2 -2
  208. package/services/route.d.ts +49 -0
  209. package/services/route.js +69 -0
  210. package/services/route.js.map +1 -0
  211. package/services/secretFilesForService.d.ts +34 -0
  212. package/services/secretFilesForService.js +52 -0
  213. package/services/secretFilesForService.js.map +1 -0
  214. package/services/staticSite.d.ts +10 -7
  215. package/services/staticSite.js +6 -0
  216. package/services/staticSite.js.map +1 -1
  217. package/services/webService.d.ts +10 -7
  218. package/services/webService.js +6 -0
  219. package/services/webService.js.map +1 -1
  220. package/types/enums/blueprints/index.d.ts +38 -0
  221. package/types/enums/blueprints/index.js +37 -0
  222. package/types/enums/blueprints/index.js.map +1 -0
  223. package/types/enums/cronjobs/index.d.ts +7 -0
  224. package/types/enums/cronjobs/index.js +12 -0
  225. package/types/enums/cronjobs/index.js.map +1 -0
  226. package/types/enums/envgroups/index.d.ts +8 -0
  227. package/types/enums/envgroups/index.js +13 -0
  228. package/types/enums/envgroups/index.js.map +1 -0
  229. package/types/enums/environments/index.d.ts +16 -0
  230. package/types/enums/environments/index.js +14 -0
  231. package/types/enums/environments/index.js.map +1 -0
  232. package/types/enums/index.d.ts +9 -1
  233. package/types/enums/index.js +17 -1
  234. package/types/enums/index.js.map +1 -1
  235. package/types/enums/notificationsettings/index.d.ts +32 -0
  236. package/types/enums/notificationsettings/index.js +33 -0
  237. package/types/enums/notificationsettings/index.js.map +1 -0
  238. package/types/enums/postgres/index.d.ts +286 -0
  239. package/types/enums/postgres/index.js +246 -0
  240. package/types/enums/postgres/index.js.map +1 -0
  241. package/types/enums/projects/index.d.ts +13 -0
  242. package/types/enums/projects/index.js +14 -0
  243. package/types/enums/projects/index.js.map +1 -0
  244. package/types/enums/redis/index.d.ts +139 -0
  245. package/types/enums/redis/index.js +120 -0
  246. package/types/enums/redis/index.js.map +1 -0
  247. package/types/enums/registrycredentials/index.d.ts +5 -0
  248. package/types/enums/registrycredentials/index.js +2 -0
  249. package/types/enums/registrycredentials/index.js.map +1 -1
  250. package/types/enums/services/index.d.ts +175 -12
  251. package/types/enums/services/index.js +94 -1
  252. package/types/enums/services/index.js.map +1 -1
  253. package/types/input.d.ts +222 -78
  254. package/types/input.js +54 -15
  255. package/types/input.js.map +1 -1
  256. package/types/output.d.ts +885 -87
  257. package/types/output.js +163 -38
  258. package/types/output.js.map +1 -1
  259. package/services/listRetrieveHeaders.d.ts +0 -19
  260. package/services/listRetrieveHeaders.js +0 -19
  261. package/services/listRetrieveHeaders.js.map +0 -1
  262. package/services/listRetrieveRoutes.d.ts +0 -19
  263. package/services/listRetrieveRoutes.js +0 -19
  264. package/services/listRetrieveRoutes.js.map +0 -1
  265. package/services/restartServer.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -1,5 +1,232 @@
1
1
  import * as outputs from "../types/output";
2
2
  import * as enums from "../types/enums";
3
+ export declare namespace blueprints {
4
+ /**
5
+ * A blueprint with a cursor
6
+ */
7
+ interface BlueprintWithCursor {
8
+ blueprint: outputs.blueprints.BlueprintWithCursorBlueprintProperties;
9
+ cursor: string;
10
+ }
11
+ interface BlueprintWithCursorBlueprintProperties {
12
+ /**
13
+ * Automatically sync changes to render.yaml
14
+ */
15
+ autoSync: boolean;
16
+ branch: string;
17
+ id: string;
18
+ lastSync?: string;
19
+ name: string;
20
+ repo: string;
21
+ status: enums.blueprints.BlueprintWithCursorBlueprintPropertiesStatus;
22
+ }
23
+ interface GetBlueprintProperties {
24
+ /**
25
+ * Automatically sync changes to render.yaml
26
+ */
27
+ autoSync: boolean;
28
+ branch: string;
29
+ id: string;
30
+ lastSync?: string;
31
+ name: string;
32
+ repo: string;
33
+ resources: outputs.blueprints.GetBlueprintPropertiesResourcesItemProperties[];
34
+ status: enums.blueprints.GetBlueprintPropertiesStatus;
35
+ }
36
+ interface GetBlueprintPropertiesResourcesItemProperties {
37
+ id: string;
38
+ name: string;
39
+ /**
40
+ * type of the resource (ex. web_service or postgres)
41
+ */
42
+ type: enums.blueprints.GetBlueprintPropertiesResourcesItemPropertiesType;
43
+ }
44
+ /**
45
+ * A blueprint sync with a cursor
46
+ */
47
+ interface SyncWithCursor {
48
+ cursor: string;
49
+ sync: outputs.blueprints.SyncWithCursorSyncProperties;
50
+ }
51
+ interface SyncWithCursorSyncProperties {
52
+ commit: outputs.blueprints.SyncWithCursorSyncPropertiesCommitProperties;
53
+ completedAt?: string;
54
+ id: string;
55
+ startedAt?: string;
56
+ state: enums.blueprints.SyncWithCursorSyncPropertiesState;
57
+ }
58
+ interface SyncWithCursorSyncPropertiesCommitProperties {
59
+ id: string;
60
+ }
61
+ }
62
+ export declare namespace disks {
63
+ interface DiskWithCursor {
64
+ cursor: string;
65
+ disk: outputs.disks.DiskWithCursorDiskProperties;
66
+ }
67
+ interface DiskWithCursorDiskProperties {
68
+ createdAt: string;
69
+ id: string;
70
+ mountPath: string;
71
+ name: string;
72
+ serviceId?: string;
73
+ sizeGB: number;
74
+ updatedAt: string;
75
+ }
76
+ interface DiskWithCursorpropertiesdisk {
77
+ createdAt: string;
78
+ id: string;
79
+ mountPath: string;
80
+ name: string;
81
+ serviceId?: string;
82
+ sizeGB: number;
83
+ updatedAt: string;
84
+ }
85
+ }
86
+ export declare namespace envgroups {
87
+ interface EnvGroup {
88
+ createdAt: string;
89
+ envVars: outputs.envgroups.EnvVar[];
90
+ environmentId?: string;
91
+ id: string;
92
+ name: string;
93
+ ownerId: string;
94
+ secretFiles: outputs.envgroups.SecretFile[];
95
+ /**
96
+ * List of serviceIds linked to the envGroup
97
+ */
98
+ serviceLinks: outputs.envgroups.ServiceLink[];
99
+ updatedAt: string;
100
+ }
101
+ interface EnvGroupMeta {
102
+ createdAt: string;
103
+ environmentId?: string;
104
+ id: string;
105
+ name: string;
106
+ ownerId: string;
107
+ /**
108
+ * List of serviceIds linked to the envGroup
109
+ */
110
+ serviceLinks: outputs.envgroups.ServiceLink[];
111
+ updatedAt: string;
112
+ }
113
+ interface EnvVar {
114
+ key: string;
115
+ value: string;
116
+ }
117
+ interface SecretFile {
118
+ content: string;
119
+ name: string;
120
+ }
121
+ interface ServiceLink {
122
+ id: string;
123
+ name: string;
124
+ type: enums.envgroups.ServiceLinkType;
125
+ }
126
+ }
127
+ export declare namespace environments {
128
+ interface Environment {
129
+ databasesIds: string[];
130
+ envGroupIds: string[];
131
+ id: string;
132
+ name: string;
133
+ projectId: string;
134
+ /**
135
+ * Indicates whether an environment is `unprotected` or `protected`. Only admin users can perform destructive actions in `protected` environments.
136
+ */
137
+ protectedStatus: enums.environments.EnvironmentProtectedStatus;
138
+ redisIds: string[];
139
+ serviceIds: string[];
140
+ }
141
+ /**
142
+ * An environment with a cursor
143
+ */
144
+ interface EnvironmentWithCursor {
145
+ cursor: string;
146
+ environment: outputs.environments.Environment;
147
+ }
148
+ }
149
+ export declare namespace metrics {
150
+ /**
151
+ * A time series data point
152
+ */
153
+ interface ListActiveConnectionsItemProperties {
154
+ /**
155
+ * List of labels describing the time series
156
+ */
157
+ labels: outputs.metrics.ListActiveConnectionsItemPropertiesLabelsItemProperties[];
158
+ unit: string;
159
+ /**
160
+ * The values of the time series
161
+ */
162
+ values: outputs.metrics.ListActiveConnectionsItemPropertiesValuesItemProperties[];
163
+ }
164
+ /**
165
+ * A time series datapoint label
166
+ */
167
+ interface ListActiveConnectionsItemPropertiesLabelsItemProperties {
168
+ field: string;
169
+ value: string;
170
+ }
171
+ /**
172
+ * A time series datapoint value
173
+ */
174
+ interface ListActiveConnectionsItemPropertiesValuesItemProperties {
175
+ timestamp: string;
176
+ value: number;
177
+ }
178
+ /**
179
+ * A time series data point
180
+ */
181
+ interface ListReplicationLagItemProperties {
182
+ /**
183
+ * List of labels describing the time series
184
+ */
185
+ labels: outputs.metrics.ListReplicationLagItemPropertiesLabelsItemProperties[];
186
+ unit: string;
187
+ /**
188
+ * The values of the time series
189
+ */
190
+ values: outputs.metrics.ListReplicationLagItemPropertiesValuesItemProperties[];
191
+ }
192
+ /**
193
+ * A time series datapoint label
194
+ */
195
+ interface ListReplicationLagItemPropertiesLabelsItemProperties {
196
+ field: string;
197
+ value: string;
198
+ }
199
+ /**
200
+ * A time series datapoint value
201
+ */
202
+ interface ListReplicationLagItemPropertiesValuesItemProperties {
203
+ timestamp: string;
204
+ value: number;
205
+ }
206
+ }
207
+ export declare namespace notificationsettings {
208
+ interface GetOwnerNotificationSettingProperties {
209
+ emailEnabled: boolean;
210
+ notificationsToSend: enums.notificationsettings.GetOwnerNotificationSettingPropertiesNotificationsToSend;
211
+ ownerId: string;
212
+ previewNotificationsEnabled: boolean;
213
+ slackEnabled: boolean;
214
+ }
215
+ interface GetServiceNotificationOverrideProperties {
216
+ notificationsToSend: enums.notificationsettings.GetServiceNotificationOverridePropertiesNotificationsToSend;
217
+ previewNotificationsEnabled: enums.notificationsettings.GetServiceNotificationOverridePropertiesPreviewNotificationsEnabled;
218
+ serviceId: string;
219
+ }
220
+ interface NotificationOverrideWithCursor {
221
+ cursor: string;
222
+ override: outputs.notificationsettings.NotificationOverrideWithCursorOverrideProperties;
223
+ }
224
+ interface NotificationOverrideWithCursorOverrideProperties {
225
+ notificationsToSend: enums.notificationsettings.NotificationOverrideWithCursorOverridePropertiesNotificationsToSend;
226
+ previewNotificationsEnabled: enums.notificationsettings.NotificationOverrideWithCursorOverridePropertiesPreviewNotificationsEnabled;
227
+ serviceId: string;
228
+ }
229
+ }
3
230
  export declare namespace owners {
4
231
  interface ListOwnersItemProperties {
5
232
  cursor?: string;
@@ -9,74 +236,416 @@ export declare namespace owners {
9
236
  email: string;
10
237
  id: string;
11
238
  name: string;
239
+ /**
240
+ * Whether two-factor authentication is enabled for the owner. Only present for user owners.
241
+ */
242
+ twoFactorAuthEnabled?: boolean;
12
243
  type: enums.owners.OwnerType;
13
244
  }
14
245
  }
15
- export declare namespace registrycredentials {
16
- interface RegistryCredential {
246
+ export declare namespace postgres {
247
+ interface CidrBlockAndDescription {
248
+ cidrBlock: string;
17
249
  /**
18
- * Unique identifier for this credential
250
+ * User-provided description of the CIDR block
251
+ */
252
+ description: string;
253
+ }
254
+ interface GetPostgresRecoveryInfoProperties {
255
+ /**
256
+ * Availability of point-in-time recovery.
19
257
  */
258
+ recoveryStatus: enums.postgres.GetPostgresRecoveryInfoPropertiesRecoveryStatus;
259
+ startsAt?: string;
260
+ }
261
+ interface ListPostgresBackupItemProperties {
262
+ createdAt: string;
20
263
  id: string;
21
264
  /**
22
- * Descriptive name for this credential
265
+ * URL to download the Postgres backup
23
266
  */
267
+ url?: string;
268
+ }
269
+ interface ListPostgresItemProperties {
270
+ cursor?: string;
271
+ postgres?: outputs.postgres.Postgres;
272
+ }
273
+ /**
274
+ * listPostgresItemPropertiesProvideDefaults sets the appropriate defaults for ListPostgresItemProperties
275
+ */
276
+ function listPostgresItemPropertiesProvideDefaults(val: ListPostgresItemProperties): ListPostgresItemProperties;
277
+ interface Owner {
278
+ email: string;
279
+ id: string;
24
280
  name: string;
25
281
  /**
26
- * The registry to use this credential with
282
+ * Whether two-factor authentication is enabled for the owner. Only present for user owners.
27
283
  */
28
- registry: enums.registrycredentials.RegistryCredentialRegistry;
284
+ twoFactorAuthEnabled?: boolean;
285
+ type: enums.postgres.OwnerType;
286
+ }
287
+ interface Postgres {
288
+ createdAt: string;
29
289
  /**
30
- * The username associated with the credential
290
+ * The URL to view the PostgreSQL instance in the Render Dashboard
31
291
  */
32
- username: string;
292
+ dashboardUrl: string;
293
+ databaseName: string;
294
+ databaseUser: string;
295
+ diskSizeGB?: number;
296
+ environmentId?: string;
297
+ /**
298
+ * The time at which the database will be expire. Applies to free tier databases only.
299
+ */
300
+ expiresAt?: string;
301
+ highAvailabilityEnabled: boolean;
302
+ id: string;
303
+ ipAllowList: outputs.postgres.CidrBlockAndDescription[];
304
+ name: string;
305
+ owner: outputs.postgres.Owner;
306
+ plan: enums.postgres.PostgresPlan;
307
+ primaryPostgresID?: string;
308
+ readReplicas: outputs.postgres.ReadReplica[];
309
+ /**
310
+ * Defaults to "oregon"
311
+ */
312
+ region: enums.postgres.PostgresRegion;
313
+ role: enums.postgres.PostgresRole;
314
+ status: enums.postgres.PostgresStatus;
315
+ suspended: enums.postgres.PostgresSuspended;
316
+ suspenders: enums.postgres.PostgresSuspendersItem[];
317
+ updatedAt: string;
318
+ /**
319
+ * The PostgreSQL version
320
+ */
321
+ version: enums.postgres.PostgresVersion;
322
+ }
323
+ /**
324
+ * postgresProvideDefaults sets the appropriate defaults for Postgres
325
+ */
326
+ function postgresProvideDefaults(val: Postgres): Postgres;
327
+ interface PostgresConnectionInfo {
328
+ externalConnectionString: string;
329
+ internalConnectionString: string;
330
+ password: string;
331
+ psqlCommand: string;
332
+ }
333
+ interface PostgresDetail {
334
+ createdAt: string;
335
+ /**
336
+ * The URL to view the PostgreSQL instance in the Render Dashboard
337
+ */
338
+ dashboardUrl: string;
339
+ databaseName: string;
340
+ databaseUser: string;
341
+ diskSizeGB?: number;
342
+ environmentId?: string;
343
+ /**
344
+ * The time at which the database will be expire. Applies to free tier databases only.
345
+ */
346
+ expiresAt?: string;
347
+ highAvailabilityEnabled: boolean;
348
+ id: string;
349
+ ipAllowList: outputs.postgres.CidrBlockAndDescription[];
350
+ maintenance?: outputs.postgres.RedisDetailpropertiesmaintenance;
351
+ name: string;
352
+ owner: outputs.postgres.Owner;
353
+ plan: enums.postgres.PostgresDetailPlan;
354
+ primaryPostgresID?: string;
355
+ readReplicas: outputs.postgres.ReadReplica[];
356
+ /**
357
+ * Defaults to "oregon"
358
+ */
359
+ region: enums.postgres.PostgresDetailRegion;
360
+ role: enums.postgres.PostgresDetailRole;
361
+ status: enums.postgres.PostgresDetailStatus;
362
+ suspended: enums.postgres.PostgresDetailSuspended;
363
+ suspenders: enums.postgres.PostgresDetailSuspendersItem[];
364
+ updatedAt: string;
365
+ /**
366
+ * The PostgreSQL version
367
+ */
368
+ version: enums.postgres.PostgresDetailVersion;
369
+ }
370
+ /**
371
+ * postgresDetailProvideDefaults sets the appropriate defaults for PostgresDetail
372
+ */
373
+ function postgresDetailProvideDefaults(val: PostgresDetail): PostgresDetail;
374
+ interface ReadReplica {
375
+ /**
376
+ * The replica instance identifier.
377
+ */
378
+ id: string;
379
+ /**
380
+ * The display name of the replica instance.
381
+ */
382
+ name: string;
383
+ }
384
+ interface RedisDetailpropertiesmaintenance {
385
+ id: string;
386
+ /**
387
+ * If present, the maintenance run cannot be scheduled for later than this date-time.
388
+ */
389
+ pendingMaintenanceBy?: string;
390
+ scheduledAt: string;
391
+ state: enums.postgres.RedisDetailpropertiesmaintenanceState;
392
+ type: string;
33
393
  }
34
394
  }
35
- export declare namespace services {
36
- interface AutoscalingConfig {
37
- criteria: outputs.services.AutoscalingCriteria;
38
- enabled: boolean;
395
+ export declare namespace projects {
396
+ interface Owner {
397
+ email: string;
398
+ id: string;
399
+ name: string;
39
400
  /**
40
- * The maximum number of instances for the service
401
+ * Whether two-factor authentication is enabled for the owner. Only present for user owners.
41
402
  */
42
- max: number;
403
+ twoFactorAuthEnabled?: boolean;
404
+ type: enums.projects.OwnerType;
405
+ }
406
+ /**
407
+ * A project is a collection of environments
408
+ */
409
+ interface Project {
410
+ createdAt: string;
43
411
  /**
44
- * The minimum number of instances for the service
412
+ * The environments associated with the project
45
413
  */
46
- min: number;
414
+ environmentIds: string[];
415
+ /**
416
+ * The ID of the project
417
+ */
418
+ id: string;
419
+ /**
420
+ * The name of the project
421
+ */
422
+ name: string;
423
+ owner: outputs.projects.Owner;
424
+ updatedAt: string;
425
+ }
426
+ interface ProjectCreateEnvironmentInput {
427
+ name: string;
428
+ /**
429
+ * Indicates whether an environment is `unprotected` or `protected`. Only admin users can perform destructive actions in `protected` environments.
430
+ */
431
+ protectedStatus?: enums.projects.ProjectCreateEnvironmentInputProtectedStatus;
432
+ }
433
+ interface ProjectWithCursor {
434
+ cursor: string;
435
+ /**
436
+ * A project is a collection of environments
437
+ */
438
+ project: outputs.projects.Project;
439
+ }
440
+ }
441
+ export declare namespace redis {
442
+ interface CidrBlockAndDescription {
443
+ cidrBlock: string;
444
+ /**
445
+ * User-provided description of the CIDR block
446
+ */
447
+ description: string;
448
+ }
449
+ interface ListRedisItemProperties {
450
+ cursor?: string;
451
+ /**
452
+ * A Redis instance
453
+ */
454
+ redis?: outputs.redis.Redis;
47
455
  }
48
456
  /**
49
- * autoscalingConfigProvideDefaults sets the appropriate defaults for AutoscalingConfig
457
+ * listRedisItemPropertiesProvideDefaults sets the appropriate defaults for ListRedisItemProperties
50
458
  */
51
- function autoscalingConfigProvideDefaults(val: AutoscalingConfig): AutoscalingConfig;
52
- interface AutoscalingCriteria {
53
- cpu: outputs.services.AutoscalingCriteriaPercentage;
54
- memory: outputs.services.AutoscalingCriteriaPercentage;
459
+ function listRedisItemPropertiesProvideDefaults(val: ListRedisItemProperties): ListRedisItemProperties;
460
+ interface MaintenanceProperties {
461
+ id: string;
462
+ /**
463
+ * If present, the maintenance run cannot be scheduled for later than this date-time.
464
+ */
465
+ pendingMaintenanceBy?: string;
466
+ scheduledAt: string;
467
+ state: enums.redis.MaintenancePropertiesState;
468
+ type: string;
469
+ }
470
+ interface Owner {
471
+ email: string;
472
+ id: string;
473
+ name: string;
474
+ /**
475
+ * Whether two-factor authentication is enabled for the owner. Only present for user owners.
476
+ */
477
+ twoFactorAuthEnabled?: boolean;
478
+ type: enums.redis.OwnerType;
55
479
  }
56
480
  /**
57
- * autoscalingCriteriaProvideDefaults sets the appropriate defaults for AutoscalingCriteria
481
+ * A Redis instance
58
482
  */
59
- function autoscalingCriteriaProvideDefaults(val: AutoscalingCriteria): AutoscalingCriteria;
60
- interface AutoscalingCriteriaPercentage {
61
- enabled: boolean;
483
+ interface Redis {
62
484
  /**
63
- * Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
485
+ * The creation time of the Redis instance
64
486
  */
65
- percentage: number;
487
+ createdAt: string;
488
+ /**
489
+ * The URL to view the Redis instance in the Render Dashboard
490
+ */
491
+ dashboardUrl: string;
492
+ /**
493
+ * The ID of the environment the Redis instance is associated with
494
+ */
495
+ environmentId?: string;
496
+ /**
497
+ * The ID of the Redis instance
498
+ */
499
+ id: string;
500
+ /**
501
+ * The IP allow list for the Redis instance
502
+ */
503
+ ipAllowList: outputs.redis.CidrBlockAndDescription[];
504
+ /**
505
+ * The name of the Redis instance
506
+ */
507
+ name: string;
508
+ /**
509
+ * Options for a Redis instance
510
+ */
511
+ options: outputs.redis.RedisOptions;
512
+ owner: outputs.redis.Owner;
513
+ plan: enums.redis.RedisPlan;
514
+ /**
515
+ * Defaults to "oregon"
516
+ */
517
+ region: enums.redis.RedisRegion;
518
+ status: enums.redis.RedisStatus;
519
+ /**
520
+ * The last updated time of the Redis instance
521
+ */
522
+ updatedAt: string;
523
+ /**
524
+ * The version of Redis
525
+ */
526
+ version: string;
66
527
  }
67
528
  /**
68
- * autoscalingCriteriaPercentageProvideDefaults sets the appropriate defaults for AutoscalingCriteriaPercentage
529
+ * redisProvideDefaults sets the appropriate defaults for Redis
530
+ */
531
+ function redisProvideDefaults(val: Redis): Redis;
532
+ /**
533
+ * A Redis instance
69
534
  */
70
- function autoscalingCriteriaPercentageProvideDefaults(val: AutoscalingCriteriaPercentage): AutoscalingCriteriaPercentage;
535
+ interface RedisConnectionInfo {
536
+ /**
537
+ * The connection string to use from outside Render
538
+ */
539
+ externalConnectionString: string;
540
+ /**
541
+ * The connection string to use from within Render
542
+ */
543
+ internalConnectionString: string;
544
+ /**
545
+ * The Redis CLI command to connect to the Redis instance
546
+ */
547
+ redisCLICommand: string;
548
+ }
549
+ /**
550
+ * A Redis instance
551
+ */
552
+ interface RedisDetail {
553
+ /**
554
+ * The creation time of the Redis instance
555
+ */
556
+ createdAt: string;
557
+ /**
558
+ * The ID of the environment the Redis instance is associated with
559
+ */
560
+ environmentId?: string;
561
+ /**
562
+ * The ID of the Redis instance
563
+ */
564
+ id: string;
565
+ /**
566
+ * The IP allow list for the Redis instance
567
+ */
568
+ ipAllowList: outputs.redis.CidrBlockAndDescription[];
569
+ maintenance?: outputs.redis.RedisDetailMaintenanceProperties;
570
+ /**
571
+ * The name of the Redis instance
572
+ */
573
+ name: string;
574
+ /**
575
+ * Options for a Redis instance
576
+ */
577
+ options: outputs.redis.RedisOptions;
578
+ owner: outputs.redis.Owner;
579
+ plan: enums.redis.RedisDetailPlan;
580
+ /**
581
+ * Defaults to "oregon"
582
+ */
583
+ region: enums.redis.RedisDetailRegion;
584
+ status: enums.redis.RedisDetailStatus;
585
+ /**
586
+ * The last updated time of the Redis instance
587
+ */
588
+ updatedAt: string;
589
+ /**
590
+ * The version of Redis
591
+ */
592
+ version: string;
593
+ }
594
+ /**
595
+ * redisDetailProvideDefaults sets the appropriate defaults for RedisDetail
596
+ */
597
+ function redisDetailProvideDefaults(val: RedisDetail): RedisDetail;
598
+ interface RedisDetailMaintenanceProperties {
599
+ id: string;
600
+ /**
601
+ * If present, the maintenance run cannot be scheduled for later than this date-time.
602
+ */
603
+ pendingMaintenanceBy?: string;
604
+ scheduledAt: string;
605
+ state: enums.redis.RedisDetailMaintenancePropertiesState;
606
+ type: string;
607
+ }
608
+ /**
609
+ * Options for a Redis instance
610
+ */
611
+ interface RedisOptions {
612
+ maxmemoryPolicy?: string;
613
+ }
614
+ }
615
+ export declare namespace registrycredentials {
616
+ interface RegistryCredential {
617
+ /**
618
+ * Unique identifier for this credential
619
+ */
620
+ id: string;
621
+ /**
622
+ * Descriptive name for this credential
623
+ */
624
+ name: string;
625
+ /**
626
+ * The registry to use this credential with
627
+ */
628
+ registry: enums.registrycredentials.RegistryCredentialRegistry;
629
+ /**
630
+ * The username associated with the credential
631
+ */
632
+ username: string;
633
+ }
634
+ }
635
+ export declare namespace services {
71
636
  interface BackgroundWorkerDetailsOutput {
72
- autoscaling?: outputs.services.AutoscalingConfig;
73
- buildPlan: string;
74
- disk?: outputs.services.Disk;
637
+ autoscaling?: outputs.services.WebServiceDetailspropertiesautoscaling;
638
+ buildPlan: enums.services.BackgroundWorkerDetailsOutputBuildPlan;
639
+ disk?: outputs.services.WebServiceDetailspropertiesdisk;
75
640
  /**
76
- * Environment (runtime)
641
+ * Runtime
77
642
  */
78
643
  env: enums.services.BackgroundWorkerDetailsOutputEnv;
79
- envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
644
+ envSpecificDetails: outputs.services.EnvSpecificDetails;
645
+ /**
646
+ * The maximum amount of time (in seconds) that Render waits for your application process to exit gracefully after sending it a SIGTERM signal.
647
+ */
648
+ maxShutdownDelaySeconds?: number;
80
649
  /**
81
650
  * For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service.
82
651
  */
@@ -86,7 +655,13 @@ export declare namespace services {
86
655
  * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
87
656
  */
88
657
  plan: enums.services.BackgroundWorkerDetailsOutputPlan;
89
- pullRequestPreviewsEnabled: enums.services.BackgroundWorkerDetailsOutputPullRequestPreviewsEnabled;
658
+ /**
659
+ * Defaults to "no"
660
+ */
661
+ pullRequestPreviewsEnabled?: enums.services.BackgroundWorkerDetailsOutputPullRequestPreviewsEnabled;
662
+ /**
663
+ * Defaults to "oregon"
664
+ */
90
665
  region: enums.services.BackgroundWorkerDetailsOutputRegion;
91
666
  }
92
667
  /**
@@ -98,11 +673,17 @@ export declare namespace services {
98
673
  branch?: string;
99
674
  buildFilter?: outputs.services.BuildFilter;
100
675
  createdAt: string;
676
+ /**
677
+ * The URL to view the service in the Render Dashboard
678
+ */
679
+ dashboardUrl: string;
680
+ environmentId?: string;
101
681
  id: string;
102
682
  imagePath?: string;
103
683
  name: string;
104
684
  notifyOnFail: enums.services.ServiceNotifyOnFail;
105
685
  ownerId: string;
686
+ registryCredential?: outputs.services.RegistryCredentialSummary;
106
687
  repo?: string;
107
688
  rootDir: string;
108
689
  serviceDetails?: outputs.services.BackgroundWorkerDetailsOutput;
@@ -125,31 +706,63 @@ export declare namespace services {
125
706
  id?: string;
126
707
  message?: string;
127
708
  }
709
+ interface CriteriaProperties {
710
+ cpu: outputs.services.CriteriaPropertiesCpuProperties;
711
+ memory: outputs.services.WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu;
712
+ }
713
+ /**
714
+ * criteriaPropertiesProvideDefaults sets the appropriate defaults for CriteriaProperties
715
+ */
716
+ function criteriaPropertiesProvideDefaults(val: CriteriaProperties): CriteriaProperties;
717
+ interface CriteriaPropertiesCpuProperties {
718
+ enabled: boolean;
719
+ /**
720
+ * Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
721
+ */
722
+ percentage: number;
723
+ }
724
+ /**
725
+ * criteriaPropertiesCpuPropertiesProvideDefaults sets the appropriate defaults for CriteriaPropertiesCpuProperties
726
+ */
727
+ function criteriaPropertiesCpuPropertiesProvideDefaults(val: CriteriaPropertiesCpuProperties): CriteriaPropertiesCpuProperties;
128
728
  interface CronJobDetailsOutput {
129
- buildPlan: string;
729
+ buildPlan: enums.services.CronJobDetailsOutputBuildPlan;
130
730
  /**
131
- * Environment (runtime)
731
+ * Runtime
132
732
  */
133
733
  env: enums.services.CronJobDetailsOutputEnv;
134
- envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
734
+ envSpecificDetails: outputs.services.EnvSpecificDetails;
135
735
  lastSuccessfulRunAt?: string;
136
736
  /**
137
737
  * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
138
738
  */
139
739
  plan: enums.services.CronJobDetailsOutputPlan;
740
+ /**
741
+ * Defaults to "oregon"
742
+ */
140
743
  region: enums.services.CronJobDetailsOutputRegion;
141
744
  schedule: string;
142
745
  }
746
+ /**
747
+ * cronJobDetailsOutputProvideDefaults sets the appropriate defaults for CronJobDetailsOutput
748
+ */
749
+ function cronJobDetailsOutputProvideDefaults(val: CronJobDetailsOutput): CronJobDetailsOutput;
143
750
  interface CronJobOutput {
144
751
  autoDeploy: enums.services.ServiceAutoDeploy;
145
752
  branch?: string;
146
753
  buildFilter?: outputs.services.BuildFilter;
147
754
  createdAt: string;
755
+ /**
756
+ * The URL to view the service in the Render Dashboard
757
+ */
758
+ dashboardUrl: string;
759
+ environmentId?: string;
148
760
  id: string;
149
761
  imagePath?: string;
150
762
  name: string;
151
763
  notifyOnFail: enums.services.ServiceNotifyOnFail;
152
764
  ownerId: string;
765
+ registryCredential?: outputs.services.RegistryCredentialSummary;
153
766
  repo?: string;
154
767
  rootDir: string;
155
768
  serviceDetails?: outputs.services.CronJobDetailsOutput;
@@ -177,6 +790,10 @@ export declare namespace services {
177
790
  id?: string;
178
791
  name?: string;
179
792
  }
793
+ interface CustomDomainWithCursor {
794
+ cursor: string;
795
+ customDomain: outputs.services.CustomDomain;
796
+ }
180
797
  interface Deploy {
181
798
  commit?: outputs.services.DeployCommitProperties;
182
799
  createdAt?: string;
@@ -212,30 +829,20 @@ export declare namespace services {
212
829
  */
213
830
  sha?: string;
214
831
  }
215
- interface Disk {
216
- id: string;
217
- mountPath: string;
218
- name: string;
219
- sizeGB: number;
220
- }
221
- interface DockerDetails {
222
- dockerCommand: string;
223
- dockerContext: string;
224
- dockerfilePath: string;
832
+ interface EnvSpecificDetails {
833
+ buildCommand?: string;
834
+ dockerCommand?: string;
835
+ dockerContext?: string;
836
+ dockerfilePath?: string;
225
837
  preDeployCommand?: string;
226
838
  registryCredential?: outputs.services.RegistryCredential;
839
+ startCommand?: string;
227
840
  }
228
841
  interface EnvVar {
229
842
  key: string;
230
843
  value: string;
231
844
  }
232
- interface EnvVarKeyGenerateValue {
233
- generateValue: boolean;
234
- key: string;
235
- }
236
- interface EnvVarKeyValue {
237
- key: string;
238
- value: string;
845
+ interface EnvVarInput {
239
846
  }
240
847
  interface EnvVarWithCursor {
241
848
  cursor: string;
@@ -246,11 +853,17 @@ export declare namespace services {
246
853
  branch?: string;
247
854
  buildFilter?: outputs.services.BuildFilter;
248
855
  createdAt: string;
856
+ /**
857
+ * The URL to view the service in the Render Dashboard
858
+ */
859
+ dashboardUrl: string;
860
+ environmentId?: string;
249
861
  id: string;
250
862
  imagePath?: string;
251
863
  name: string;
252
864
  notifyOnFail: enums.services.ServiceNotifyOnFail;
253
865
  ownerId: string;
866
+ registryCredential?: outputs.services.RegistryCredentialSummary;
254
867
  repo?: string;
255
868
  rootDir: string;
256
869
  serviceDetails?: outputs.services.BackgroundWorkerDetailsOutput;
@@ -269,11 +882,17 @@ export declare namespace services {
269
882
  branch?: string;
270
883
  buildFilter?: outputs.services.BuildFilter;
271
884
  createdAt: string;
885
+ /**
886
+ * The URL to view the service in the Render Dashboard
887
+ */
888
+ dashboardUrl: string;
889
+ environmentId?: string;
272
890
  id: string;
273
891
  imagePath?: string;
274
892
  name: string;
275
893
  notifyOnFail: enums.services.ServiceNotifyOnFail;
276
894
  ownerId: string;
895
+ registryCredential?: outputs.services.RegistryCredentialSummary;
277
896
  repo?: string;
278
897
  rootDir: string;
279
898
  serviceDetails?: outputs.services.CronJobDetailsOutput;
@@ -292,11 +911,17 @@ export declare namespace services {
292
911
  branch?: string;
293
912
  buildFilter?: outputs.services.BuildFilter;
294
913
  createdAt: string;
914
+ /**
915
+ * The URL to view the service in the Render Dashboard
916
+ */
917
+ dashboardUrl: string;
918
+ environmentId?: string;
295
919
  id: string;
296
920
  imagePath?: string;
297
921
  name: string;
298
922
  notifyOnFail: enums.services.ServiceNotifyOnFail;
299
923
  ownerId: string;
924
+ registryCredential?: outputs.services.RegistryCredentialSummary;
300
925
  repo?: string;
301
926
  rootDir: string;
302
927
  serviceDetails?: outputs.services.PrivateServiceDetailsOutput;
@@ -315,11 +940,17 @@ export declare namespace services {
315
940
  branch?: string;
316
941
  buildFilter?: outputs.services.BuildFilter;
317
942
  createdAt: string;
943
+ /**
944
+ * The URL to view the service in the Render Dashboard
945
+ */
946
+ dashboardUrl: string;
947
+ environmentId?: string;
318
948
  id: string;
319
949
  imagePath?: string;
320
950
  name: string;
321
951
  notifyOnFail: enums.services.ServiceNotifyOnFail;
322
952
  ownerId: string;
953
+ registryCredential?: outputs.services.RegistryCredentialSummary;
323
954
  repo?: string;
324
955
  rootDir: string;
325
956
  serviceDetails?: outputs.services.StaticSiteDetailsOutput;
@@ -338,11 +969,17 @@ export declare namespace services {
338
969
  branch?: string;
339
970
  buildFilter?: outputs.services.BuildFilter;
340
971
  createdAt: string;
972
+ /**
973
+ * The URL to view the service in the Render Dashboard
974
+ */
975
+ dashboardUrl: string;
976
+ environmentId?: string;
341
977
  id: string;
342
978
  imagePath?: string;
343
979
  name: string;
344
980
  notifyOnFail: enums.services.ServiceNotifyOnFail;
345
981
  ownerId: string;
982
+ registryCredential?: outputs.services.RegistryCredentialSummary;
346
983
  repo?: string;
347
984
  rootDir: string;
348
985
  serviceDetails?: outputs.services.WebServiceDetailsOutput;
@@ -362,6 +999,10 @@ export declare namespace services {
362
999
  path: string;
363
1000
  value: string;
364
1001
  }
1002
+ interface HeaderWithCursor {
1003
+ cursor: string;
1004
+ header: outputs.services.Header;
1005
+ }
365
1006
  interface Image {
366
1007
  /**
367
1008
  * Path to the image used for this server (e.g docker.io/library/nginx:latest).
@@ -401,11 +1042,7 @@ export declare namespace services {
401
1042
  serviceId: string;
402
1043
  startCommand: string;
403
1044
  startedAt?: string;
404
- status?: string;
405
- }
406
- interface ListCustomDomainsItemProperties {
407
- cursor?: string;
408
- customDomain?: outputs.services.CustomDomain;
1045
+ status?: enums.services.JobStatus;
409
1046
  }
410
1047
  interface ListDeploysItemProperties {
411
1048
  cursor?: string;
@@ -413,34 +1050,35 @@ export declare namespace services {
413
1050
  }
414
1051
  interface ListJobItemProperties {
415
1052
  cursor?: string;
416
- job?: outputs.services.Job;
417
- }
418
- interface ListRetrieveHeadersItemProperties {
419
- cursor?: string;
420
- headers?: outputs.services.Header;
421
- }
422
- interface ListRetrieveRoutesItemProperties {
423
- cursor?: string;
424
- routes?: outputs.services.Route;
1053
+ job?: outputs.services.Paths1services17BserviceId7D1jobscreateresponses200contentapplication1jsonschema;
425
1054
  }
426
1055
  interface ListServicesResponse {
427
1056
  cursor?: string;
428
1057
  service?: outputs.services.BackgroundWorkerOutput | outputs.services.CronJobOutput | outputs.services.PrivateServiceOutput | outputs.services.StaticSiteOutput | outputs.services.WebServiceOutput;
429
1058
  }
430
- interface NativeEnvironmentDetails {
431
- buildCommand: string;
432
- preDeployCommand?: string;
1059
+ interface Paths1services17BserviceId7D1jobscreateresponses200contentapplication1jsonschema {
1060
+ createdAt: string;
1061
+ finishedAt?: string;
1062
+ id: string;
1063
+ planId: string;
1064
+ serviceId: string;
433
1065
  startCommand: string;
1066
+ startedAt?: string;
1067
+ status?: enums.services.Paths1services17BserviceId7D1jobscreateresponses200contentapplication1jsonschemaStatus;
434
1068
  }
435
1069
  interface PrivateServiceDetailsOutput {
436
- autoscaling?: outputs.services.AutoscalingConfig;
437
- buildPlan: string;
438
- disk?: outputs.services.Disk;
1070
+ autoscaling?: outputs.services.WebServiceDetailspropertiesautoscaling;
1071
+ buildPlan: enums.services.PrivateServiceDetailsOutputBuildPlan;
1072
+ disk?: outputs.services.WebServiceDetailspropertiesdisk;
439
1073
  /**
440
- * Environment (runtime)
1074
+ * Runtime
441
1075
  */
442
1076
  env: enums.services.PrivateServiceDetailsOutputEnv;
443
- envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
1077
+ envSpecificDetails: outputs.services.EnvSpecificDetails;
1078
+ /**
1079
+ * The maximum amount of time (in seconds) that Render waits for your application process to exit gracefully after sending it a SIGTERM signal.
1080
+ */
1081
+ maxShutdownDelaySeconds?: number;
444
1082
  /**
445
1083
  * For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service.
446
1084
  */
@@ -451,7 +1089,13 @@ export declare namespace services {
451
1089
  * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
452
1090
  */
453
1091
  plan: enums.services.PrivateServiceDetailsOutputPlan;
454
- pullRequestPreviewsEnabled: enums.services.PrivateServiceDetailsOutputPullRequestPreviewsEnabled;
1092
+ /**
1093
+ * Defaults to "no"
1094
+ */
1095
+ pullRequestPreviewsEnabled?: enums.services.PrivateServiceDetailsOutputPullRequestPreviewsEnabled;
1096
+ /**
1097
+ * Defaults to "oregon"
1098
+ */
455
1099
  region: enums.services.PrivateServiceDetailsOutputRegion;
456
1100
  url: string;
457
1101
  }
@@ -464,11 +1108,17 @@ export declare namespace services {
464
1108
  branch?: string;
465
1109
  buildFilter?: outputs.services.BuildFilter;
466
1110
  createdAt: string;
1111
+ /**
1112
+ * The URL to view the service in the Render Dashboard
1113
+ */
1114
+ dashboardUrl: string;
1115
+ environmentId?: string;
467
1116
  id: string;
468
1117
  imagePath?: string;
469
1118
  name: string;
470
1119
  notifyOnFail: enums.services.ServiceNotifyOnFail;
471
1120
  ownerId: string;
1121
+ registryCredential?: outputs.services.RegistryCredentialSummary;
472
1122
  repo?: string;
473
1123
  rootDir: string;
474
1124
  serviceDetails?: outputs.services.PrivateServiceDetailsOutput;
@@ -500,6 +1150,10 @@ export declare namespace services {
500
1150
  */
501
1151
  username: string;
502
1152
  }
1153
+ interface RegistryCredentialSummary {
1154
+ id: string;
1155
+ name: string;
1156
+ }
503
1157
  interface Resource {
504
1158
  id: string;
505
1159
  name: string;
@@ -514,10 +1168,22 @@ export declare namespace services {
514
1168
  source: string;
515
1169
  type: enums.services.RouteType;
516
1170
  }
1171
+ interface RouteWithCursor {
1172
+ cursor: string;
1173
+ route: outputs.services.Route;
1174
+ }
517
1175
  interface SecretFile {
518
- id: string;
1176
+ content: string;
519
1177
  name: string;
520
1178
  }
1179
+ interface SecretFileInput {
1180
+ content: string;
1181
+ name: string;
1182
+ }
1183
+ interface SecretFileWithCursor {
1184
+ cursor: string;
1185
+ secretFile: outputs.services.SecretFile;
1186
+ }
521
1187
  interface ServerPort {
522
1188
  port: number;
523
1189
  protocol: enums.services.ServerPortProtocol;
@@ -527,11 +1193,17 @@ export declare namespace services {
527
1193
  branch?: string;
528
1194
  buildFilter?: outputs.services.BuildFilter;
529
1195
  createdAt: string;
1196
+ /**
1197
+ * The URL to view the service in the Render Dashboard
1198
+ */
1199
+ dashboardUrl: string;
1200
+ environmentId?: string;
530
1201
  id: string;
531
1202
  imagePath?: string;
532
1203
  name: string;
533
1204
  notifyOnFail: enums.services.ServiceNotifyOnFail;
534
1205
  ownerId: string;
1206
+ registryCredential?: outputs.services.RegistryCredentialSummary;
535
1207
  repo?: string;
536
1208
  rootDir: string;
537
1209
  slug: string;
@@ -539,24 +1211,41 @@ export declare namespace services {
539
1211
  suspenders: enums.services.ServiceSuspendersItem[];
540
1212
  updatedAt: string;
541
1213
  }
1214
+ /**
1215
+ * serviceProvideDefaults sets the appropriate defaults for Service
1216
+ */
1217
+ function serviceProvideDefaults(val: Service): Service;
542
1218
  interface StaticSiteDetailsOutput {
543
1219
  buildCommand: string;
544
- buildPlan: string;
1220
+ buildPlan: enums.services.StaticSiteDetailsOutputBuildPlan;
545
1221
  parentServer?: outputs.services.Resource;
546
1222
  publishPath: string;
547
- pullRequestPreviewsEnabled: enums.services.StaticSiteDetailsOutputPullRequestPreviewsEnabled;
1223
+ /**
1224
+ * Defaults to "no"
1225
+ */
1226
+ pullRequestPreviewsEnabled?: enums.services.StaticSiteDetailsOutputPullRequestPreviewsEnabled;
548
1227
  url: string;
549
1228
  }
1229
+ /**
1230
+ * staticSiteDetailsOutputProvideDefaults sets the appropriate defaults for StaticSiteDetailsOutput
1231
+ */
1232
+ function staticSiteDetailsOutputProvideDefaults(val: StaticSiteDetailsOutput): StaticSiteDetailsOutput;
550
1233
  interface StaticSiteOutput {
551
1234
  autoDeploy: enums.services.ServiceAutoDeploy;
552
1235
  branch?: string;
553
1236
  buildFilter?: outputs.services.BuildFilter;
554
1237
  createdAt: string;
1238
+ /**
1239
+ * The URL to view the service in the Render Dashboard
1240
+ */
1241
+ dashboardUrl: string;
1242
+ environmentId?: string;
555
1243
  id: string;
556
1244
  imagePath?: string;
557
1245
  name: string;
558
1246
  notifyOnFail: enums.services.ServiceNotifyOnFail;
559
1247
  ownerId: string;
1248
+ registryCredential?: outputs.services.RegistryCredentialSummary;
560
1249
  repo?: string;
561
1250
  rootDir: string;
562
1251
  serviceDetails?: outputs.services.StaticSiteDetailsOutput;
@@ -571,15 +1260,19 @@ export declare namespace services {
571
1260
  */
572
1261
  function staticSiteOutputProvideDefaults(val: StaticSiteOutput): StaticSiteOutput;
573
1262
  interface WebServiceDetailsOutput {
574
- autoscaling?: outputs.services.AutoscalingConfig;
575
- buildPlan: string;
576
- disk?: outputs.services.Disk;
1263
+ autoscaling?: outputs.services.WebServiceDetailsOutputAutoscalingProperties;
1264
+ buildPlan: enums.services.WebServiceDetailsOutputBuildPlan;
1265
+ disk?: outputs.services.WebServiceDetailsOutputDiskProperties;
577
1266
  /**
578
- * Environment (runtime)
1267
+ * Runtime
579
1268
  */
580
1269
  env: enums.services.WebServiceDetailsOutputEnv;
581
- envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
1270
+ envSpecificDetails: outputs.services.EnvSpecificDetails;
582
1271
  healthCheckPath: string;
1272
+ /**
1273
+ * The maximum amount of time (in seconds) that Render waits for your application process to exit gracefully after sending it a SIGTERM signal.
1274
+ */
1275
+ maxShutdownDelaySeconds?: number;
583
1276
  /**
584
1277
  * For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service.
585
1278
  */
@@ -590,7 +1283,13 @@ export declare namespace services {
590
1283
  * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
591
1284
  */
592
1285
  plan: enums.services.WebServiceDetailsOutputPlan;
593
- pullRequestPreviewsEnabled: enums.services.WebServiceDetailsOutputPullRequestPreviewsEnabled;
1286
+ /**
1287
+ * Defaults to "no"
1288
+ */
1289
+ pullRequestPreviewsEnabled?: enums.services.WebServiceDetailsOutputPullRequestPreviewsEnabled;
1290
+ /**
1291
+ * Defaults to "oregon"
1292
+ */
594
1293
  region: enums.services.WebServiceDetailsOutputRegion;
595
1294
  url: string;
596
1295
  }
@@ -598,16 +1297,115 @@ export declare namespace services {
598
1297
  * webServiceDetailsOutputProvideDefaults sets the appropriate defaults for WebServiceDetailsOutput
599
1298
  */
600
1299
  function webServiceDetailsOutputProvideDefaults(val: WebServiceDetailsOutput): WebServiceDetailsOutput;
1300
+ interface WebServiceDetailsOutputAutoscalingProperties {
1301
+ criteria: outputs.services.WebServiceDetailsOutputAutoscalingPropertiesCriteriaProperties;
1302
+ enabled: boolean;
1303
+ /**
1304
+ * The maximum number of instances for the service
1305
+ */
1306
+ max: number;
1307
+ /**
1308
+ * The minimum number of instances for the service
1309
+ */
1310
+ min: number;
1311
+ }
1312
+ /**
1313
+ * webServiceDetailsOutputAutoscalingPropertiesProvideDefaults sets the appropriate defaults for WebServiceDetailsOutputAutoscalingProperties
1314
+ */
1315
+ function webServiceDetailsOutputAutoscalingPropertiesProvideDefaults(val: WebServiceDetailsOutputAutoscalingProperties): WebServiceDetailsOutputAutoscalingProperties;
1316
+ interface WebServiceDetailsOutputAutoscalingPropertiesCriteriaProperties {
1317
+ cpu: outputs.services.WebServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuProperties;
1318
+ memory: outputs.services.WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu;
1319
+ }
1320
+ /**
1321
+ * webServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesProvideDefaults sets the appropriate defaults for WebServiceDetailsOutputAutoscalingPropertiesCriteriaProperties
1322
+ */
1323
+ function webServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesProvideDefaults(val: WebServiceDetailsOutputAutoscalingPropertiesCriteriaProperties): WebServiceDetailsOutputAutoscalingPropertiesCriteriaProperties;
1324
+ interface WebServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuProperties {
1325
+ enabled: boolean;
1326
+ /**
1327
+ * Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
1328
+ */
1329
+ percentage: number;
1330
+ }
1331
+ /**
1332
+ * webServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuPropertiesProvideDefaults sets the appropriate defaults for WebServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuProperties
1333
+ */
1334
+ function webServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuPropertiesProvideDefaults(val: WebServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuProperties): WebServiceDetailsOutputAutoscalingPropertiesCriteriaPropertiesCpuProperties;
1335
+ interface WebServiceDetailsOutputDiskProperties {
1336
+ id: string;
1337
+ mountPath: string;
1338
+ name: string;
1339
+ sizeGB: number;
1340
+ }
1341
+ interface WebServiceDetailspropertiesautoscaling {
1342
+ criteria: outputs.services.WebServiceDetailspropertiesautoscalingCriteriaProperties;
1343
+ enabled: boolean;
1344
+ /**
1345
+ * The maximum number of instances for the service
1346
+ */
1347
+ max: number;
1348
+ /**
1349
+ * The minimum number of instances for the service
1350
+ */
1351
+ min: number;
1352
+ }
1353
+ /**
1354
+ * webServiceDetailspropertiesautoscalingProvideDefaults sets the appropriate defaults for WebServiceDetailspropertiesautoscaling
1355
+ */
1356
+ function webServiceDetailspropertiesautoscalingProvideDefaults(val: WebServiceDetailspropertiesautoscaling): WebServiceDetailspropertiesautoscaling;
1357
+ interface WebServiceDetailspropertiesautoscalingCriteriaProperties {
1358
+ cpu: outputs.services.WebServiceDetailspropertiesautoscalingCriteriaPropertiesCpuProperties;
1359
+ memory: outputs.services.WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu;
1360
+ }
1361
+ /**
1362
+ * webServiceDetailspropertiesautoscalingCriteriaPropertiesProvideDefaults sets the appropriate defaults for WebServiceDetailspropertiesautoscalingCriteriaProperties
1363
+ */
1364
+ function webServiceDetailspropertiesautoscalingCriteriaPropertiesProvideDefaults(val: WebServiceDetailspropertiesautoscalingCriteriaProperties): WebServiceDetailspropertiesautoscalingCriteriaProperties;
1365
+ interface WebServiceDetailspropertiesautoscalingCriteriaPropertiesCpuProperties {
1366
+ enabled: boolean;
1367
+ /**
1368
+ * Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
1369
+ */
1370
+ percentage: number;
1371
+ }
1372
+ /**
1373
+ * webServiceDetailspropertiesautoscalingCriteriaPropertiesCpuPropertiesProvideDefaults sets the appropriate defaults for WebServiceDetailspropertiesautoscalingCriteriaPropertiesCpuProperties
1374
+ */
1375
+ function webServiceDetailspropertiesautoscalingCriteriaPropertiesCpuPropertiesProvideDefaults(val: WebServiceDetailspropertiesautoscalingCriteriaPropertiesCpuProperties): WebServiceDetailspropertiesautoscalingCriteriaPropertiesCpuProperties;
1376
+ interface WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu {
1377
+ enabled: boolean;
1378
+ /**
1379
+ * Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
1380
+ */
1381
+ percentage: number;
1382
+ }
1383
+ /**
1384
+ * webServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpuProvideDefaults sets the appropriate defaults for WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu
1385
+ */
1386
+ function webServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpuProvideDefaults(val: WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu): WebServiceDetailspropertiesautoscalingpropertiescriteriapropertiescpu;
1387
+ interface WebServiceDetailspropertiesdisk {
1388
+ id: string;
1389
+ mountPath: string;
1390
+ name: string;
1391
+ sizeGB: number;
1392
+ }
601
1393
  interface WebServiceOutput {
602
1394
  autoDeploy: enums.services.ServiceAutoDeploy;
603
1395
  branch?: string;
604
1396
  buildFilter?: outputs.services.BuildFilter;
605
1397
  createdAt: string;
1398
+ /**
1399
+ * The URL to view the service in the Render Dashboard
1400
+ */
1401
+ dashboardUrl: string;
1402
+ environmentId?: string;
606
1403
  id: string;
607
1404
  imagePath?: string;
608
1405
  name: string;
609
1406
  notifyOnFail: enums.services.ServiceNotifyOnFail;
610
1407
  ownerId: string;
1408
+ registryCredential?: outputs.services.RegistryCredentialSummary;
611
1409
  repo?: string;
612
1410
  rootDir: string;
613
1411
  serviceDetails?: outputs.services.WebServiceDetailsOutput;