@cloudyskysoftware/pulumi-render 0.0.47 → 0.2.0
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 +25 -181
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/index.d.ts +3 -2
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/owners/getOwner.d.ts +4 -4
- package/owners/getOwner.js +3 -6
- package/owners/getOwner.js.map +1 -1
- package/owners/index.d.ts +1 -0
- package/owners/index.js +3 -2
- package/owners/index.js.map +1 -1
- package/owners/listOwners.d.ts +2 -1
- package/owners/listOwners.js +6 -5
- package/owners/listOwners.js.map +1 -1
- package/package.json +4 -14
- package/package.json.bak +28 -0
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/registrycredentials/getRegistryCredential.d.ts +19 -0
- package/registrycredentials/getRegistryCredential.js +19 -0
- package/registrycredentials/getRegistryCredential.js.map +1 -0
- package/registrycredentials/index.d.ts +10 -0
- package/registrycredentials/index.js +44 -0
- package/registrycredentials/index.js.map +1 -0
- package/registrycredentials/listRegistryCredentials.d.ts +9 -0
- package/registrycredentials/listRegistryCredentials.js +18 -0
- package/registrycredentials/listRegistryCredentials.js.map +1 -0
- package/registrycredentials/registryCredential.d.ts +50 -0
- package/registrycredentials/registryCredential.js +73 -0
- package/registrycredentials/registryCredential.js.map +1 -0
- package/services/autoscaleService.d.ts +56 -0
- package/services/autoscaleService.js +74 -0
- package/services/autoscaleService.js.map +1 -0
- package/services/backgroundWorker.d.ts +16 -39
- package/services/backgroundWorker.js +37 -35
- package/services/backgroundWorker.js.map +1 -1
- package/services/cancelDeploy.d.ts +50 -0
- package/services/cancelDeploy.js +67 -0
- package/services/cancelDeploy.js.map +1 -0
- package/services/cancelJob.d.ts +45 -0
- package/services/cancelJob.js +66 -0
- package/services/cancelJob.js.map +1 -0
- package/services/cronJob.d.ts +16 -39
- package/services/cronJob.js +37 -36
- package/services/cronJob.js.map +1 -1
- package/services/customDomain.d.ts +1 -9
- package/services/customDomain.js +20 -32
- package/services/customDomain.js.map +1 -1
- package/services/deploy.d.ts +33 -2
- package/services/deploy.js +37 -21
- package/services/deploy.js.map +1 -1
- package/services/{envVar.d.ts → envVarsForService.d.ts} +12 -12
- package/services/{envVar.js → envVarsForService.js} +28 -28
- package/services/envVarsForService.js.map +1 -0
- package/services/getBackgroundWorker.d.ts +4 -4
- package/services/getBackgroundWorker.js +3 -6
- package/services/getBackgroundWorker.js.map +1 -1
- package/services/getCronJob.d.ts +4 -4
- package/services/getCronJob.js +3 -6
- package/services/getCronJob.js.map +1 -1
- package/services/getCustomDomain.d.ts +6 -6
- package/services/getCustomDomain.js +3 -6
- package/services/getCustomDomain.js.map +1 -1
- package/services/getDeploy.d.ts +6 -6
- package/services/getDeploy.js +3 -6
- package/services/getDeploy.js.map +1 -1
- package/services/getJob.d.ts +6 -6
- package/services/getJob.js +3 -6
- package/services/getJob.js.map +1 -1
- package/services/getPrivateService.d.ts +4 -4
- package/services/getPrivateService.js +3 -6
- package/services/getPrivateService.js.map +1 -1
- package/services/getStaticSite.d.ts +4 -4
- package/services/getStaticSite.js +3 -6
- package/services/getStaticSite.js.map +1 -1
- package/services/getWebService.d.ts +4 -4
- package/services/getWebService.js +3 -6
- package/services/getWebService.js.map +1 -1
- package/services/index.d.ts +51 -29
- package/services/index.js +55 -26
- package/services/index.js.map +1 -1
- package/services/job.d.ts +4 -3
- package/services/job.js +22 -24
- package/services/job.js.map +1 -1
- package/services/listCustomDomains.d.ts +3 -3
- package/services/listCustomDomains.js +2 -5
- package/services/listCustomDomains.js.map +1 -1
- package/services/listDeploys.d.ts +3 -3
- package/services/listDeploys.js +2 -5
- package/services/listDeploys.js.map +1 -1
- package/services/listEnvVarsForService.d.ts +19 -0
- package/services/listEnvVarsForService.js +19 -0
- package/services/listEnvVarsForService.js.map +1 -0
- package/services/listJob.d.ts +19 -0
- package/services/{listJobs.js → listJob.js} +9 -12
- package/services/listJob.js.map +1 -0
- package/services/listRetrieveHeaders.d.ts +19 -0
- package/services/listRetrieveHeaders.js +19 -0
- package/services/listRetrieveHeaders.js.map +1 -0
- package/services/listRetrieveRoutes.d.ts +19 -0
- package/services/listRetrieveRoutes.js +19 -0
- package/services/listRetrieveRoutes.js.map +1 -0
- package/services/listServices.d.ts +2 -1
- package/services/listServices.js +6 -5
- package/services/listServices.js.map +1 -1
- package/services/previewService.d.ts +62 -0
- package/services/previewService.js +65 -0
- package/services/previewService.js.map +1 -0
- package/services/privateService.d.ts +16 -39
- package/services/privateService.js +37 -35
- package/services/privateService.js.map +1 -1
- package/services/refreshCustomDomain.d.ts +38 -0
- package/services/refreshCustomDomain.js +53 -0
- package/services/refreshCustomDomain.js.map +1 -0
- package/services/restartServer.d.ts +34 -0
- package/services/restartServer.js +52 -0
- package/services/restartServer.js.map +1 -0
- package/services/rollbackDeploy.d.ts +54 -0
- package/services/rollbackDeploy.js +71 -0
- package/services/rollbackDeploy.js.map +1 -0
- package/services/{scale.d.ts → scaleService.d.ts} +10 -10
- package/services/{scale.js → scaleService.js} +28 -28
- package/services/scaleService.js.map +1 -0
- package/services/staticSite.d.ts +16 -38
- package/services/staticSite.js +37 -34
- package/services/staticSite.js.map +1 -1
- package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
- package/services/{suspend.js → suspendService.js} +27 -27
- package/services/suspendService.js.map +1 -0
- package/services/webService.d.ts +16 -39
- package/services/webService.js +37 -35
- 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 +1 -4
- package/types/enums/registrycredentials/index.d.ts +15 -0
- package/types/enums/registrycredentials/index.js +16 -0
- package/types/enums/registrycredentials/index.js.map +1 -0
- package/types/enums/services/index.d.ts +335 -69
- package/types/enums/services/index.js +230 -38
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +174 -90
- package/types/input.js +29 -30
- package/types/input.js.map +1 -1
- package/types/output.d.ts +428 -443
- package/types/output.js +59 -78
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -26
- package/services/envVar.js.map +0 -1
- package/services/listEnvVars.d.ts +0 -19
- package/services/listEnvVars.js +0 -22
- package/services/listEnvVars.js.map +0 -1
- package/services/listJobs.d.ts +0 -19
- package/services/listJobs.js.map +0 -1
- package/services/listServiceHeaders.d.ts +0 -19
- package/services/listServiceHeaders.js +0 -22
- package/services/listServiceHeaders.js.map +0 -1
- package/services/listStaticSiteRoutes.d.ts +0 -19
- package/services/listStaticSiteRoutes.js +0 -22
- package/services/listStaticSiteRoutes.js.map +0 -1
- package/services/scale.js.map +0 -1
- package/services/suspend.js.map +0 -1
package/types/output.d.ts
CHANGED
|
@@ -1,157 +1,176 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
import * as enums from "../types/enums";
|
|
3
3
|
export declare namespace owners {
|
|
4
|
-
interface
|
|
4
|
+
interface ListOwnersItemProperties {
|
|
5
5
|
cursor?: string;
|
|
6
|
-
/**
|
|
7
|
-
* The owner object represents an authorized user or team. The `type` property indicates if the owner is a user or team.
|
|
8
|
-
*/
|
|
9
6
|
owner?: outputs.owners.Owner;
|
|
10
7
|
}
|
|
11
|
-
/**
|
|
12
|
-
* The owner object represents an authorized user or team. The `type` property indicates if the owner is a user or team.
|
|
13
|
-
*/
|
|
14
8
|
interface Owner {
|
|
9
|
+
email: string;
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: enums.owners.OwnerType;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export declare namespace registrycredentials {
|
|
16
|
+
interface RegistryCredential {
|
|
15
17
|
/**
|
|
16
|
-
*
|
|
18
|
+
* Unique identifier for this credential
|
|
17
19
|
*/
|
|
18
|
-
|
|
20
|
+
id: string;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
22
|
+
* Descriptive name for this credential
|
|
21
23
|
*/
|
|
22
|
-
|
|
24
|
+
name: string;
|
|
23
25
|
/**
|
|
24
|
-
* The
|
|
26
|
+
* The registry to use this credential with
|
|
25
27
|
*/
|
|
26
|
-
|
|
28
|
+
registry: enums.registrycredentials.RegistryCredentialRegistry;
|
|
27
29
|
/**
|
|
28
|
-
* The
|
|
30
|
+
* The username associated with the credential
|
|
29
31
|
*/
|
|
30
|
-
|
|
32
|
+
username: string;
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
export declare namespace services {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
interface BackgroundWorker {
|
|
36
|
+
interface AutoscalingConfig {
|
|
37
|
+
criteria: outputs.services.AutoscalingCriteria;
|
|
38
|
+
enabled: boolean;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* The maximum number of instances for the service
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
+
max: number;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* The minimum number of instances for the service
|
|
44
45
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
min: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* autoscalingConfigProvideDefaults sets the appropriate defaults for AutoscalingConfig
|
|
50
|
+
*/
|
|
51
|
+
function autoscalingConfigProvideDefaults(val: AutoscalingConfig): AutoscalingConfig;
|
|
52
|
+
interface AutoscalingCriteria {
|
|
53
|
+
cpu: outputs.services.AutoscalingCriteriaPercentage;
|
|
54
|
+
memory: outputs.services.AutoscalingCriteriaPercentage;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* autoscalingCriteriaProvideDefaults sets the appropriate defaults for AutoscalingCriteria
|
|
58
|
+
*/
|
|
59
|
+
function autoscalingCriteriaProvideDefaults(val: AutoscalingCriteria): AutoscalingCriteria;
|
|
60
|
+
interface AutoscalingCriteriaPercentage {
|
|
61
|
+
enabled: boolean;
|
|
62
|
+
/**
|
|
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.
|
|
64
|
+
*/
|
|
65
|
+
percentage: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* autoscalingCriteriaPercentageProvideDefaults sets the appropriate defaults for AutoscalingCriteriaPercentage
|
|
69
|
+
*/
|
|
70
|
+
function autoscalingCriteriaPercentageProvideDefaults(val: AutoscalingCriteriaPercentage): AutoscalingCriteriaPercentage;
|
|
71
|
+
interface BackgroundWorkerDetailsOutput {
|
|
72
|
+
autoscaling?: outputs.services.AutoscalingConfig;
|
|
73
|
+
buildPlan: string;
|
|
74
|
+
disk?: outputs.services.Disk;
|
|
49
75
|
/**
|
|
50
|
-
*
|
|
76
|
+
* Environment (runtime)
|
|
51
77
|
*/
|
|
52
|
-
|
|
78
|
+
env: enums.services.BackgroundWorkerDetailsOutputEnv;
|
|
79
|
+
envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
53
80
|
/**
|
|
54
|
-
*
|
|
81
|
+
* 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.
|
|
55
82
|
*/
|
|
56
|
-
|
|
83
|
+
numInstances: number;
|
|
84
|
+
parentServer?: outputs.services.Resource;
|
|
57
85
|
/**
|
|
58
|
-
*
|
|
86
|
+
* 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.
|
|
59
87
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
slug?: string;
|
|
64
|
-
suspended?: enums.services.ServiceSuspended;
|
|
65
|
-
suspenders?: string[];
|
|
66
|
-
type?: string;
|
|
67
|
-
updatedAt?: string;
|
|
88
|
+
plan: enums.services.BackgroundWorkerDetailsOutputPlan;
|
|
89
|
+
pullRequestPreviewsEnabled: enums.services.BackgroundWorkerDetailsOutputPullRequestPreviewsEnabled;
|
|
90
|
+
region: enums.services.BackgroundWorkerDetailsOutputRegion;
|
|
68
91
|
}
|
|
69
92
|
/**
|
|
70
|
-
*
|
|
93
|
+
* backgroundWorkerDetailsOutputProvideDefaults sets the appropriate defaults for BackgroundWorkerDetailsOutput
|
|
71
94
|
*/
|
|
72
|
-
function
|
|
73
|
-
interface
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
95
|
+
function backgroundWorkerDetailsOutputProvideDefaults(val: BackgroundWorkerDetailsOutput): BackgroundWorkerDetailsOutput;
|
|
96
|
+
interface BackgroundWorkerOutput {
|
|
97
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
98
|
+
branch?: string;
|
|
99
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
100
|
+
createdAt: string;
|
|
101
|
+
id: string;
|
|
102
|
+
imagePath?: string;
|
|
103
|
+
name: string;
|
|
104
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
105
|
+
ownerId: string;
|
|
106
|
+
repo?: string;
|
|
107
|
+
rootDir: string;
|
|
108
|
+
serviceDetails?: outputs.services.BackgroundWorkerDetailsOutput;
|
|
109
|
+
slug: string;
|
|
110
|
+
suspended: enums.services.ServiceSuspended;
|
|
111
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
112
|
+
type?: string;
|
|
113
|
+
updatedAt: string;
|
|
83
114
|
}
|
|
84
115
|
/**
|
|
85
|
-
*
|
|
116
|
+
* backgroundWorkerOutputProvideDefaults sets the appropriate defaults for BackgroundWorkerOutput
|
|
86
117
|
*/
|
|
87
|
-
function
|
|
88
|
-
interface
|
|
89
|
-
|
|
90
|
-
|
|
118
|
+
function backgroundWorkerOutputProvideDefaults(val: BackgroundWorkerOutput): BackgroundWorkerOutput;
|
|
119
|
+
interface BuildFilter {
|
|
120
|
+
ignoredPaths: string[];
|
|
121
|
+
paths: string[];
|
|
91
122
|
}
|
|
92
|
-
interface
|
|
123
|
+
interface CommitProperties {
|
|
93
124
|
createdAt?: string;
|
|
94
125
|
id?: string;
|
|
95
126
|
message?: string;
|
|
96
127
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*/
|
|
100
|
-
interface CronJob {
|
|
128
|
+
interface CronJobDetailsOutput {
|
|
129
|
+
buildPlan: string;
|
|
101
130
|
/**
|
|
102
|
-
*
|
|
131
|
+
* Environment (runtime)
|
|
103
132
|
*/
|
|
104
|
-
|
|
133
|
+
env: enums.services.CronJobDetailsOutputEnv;
|
|
134
|
+
envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
135
|
+
lastSuccessfulRunAt?: string;
|
|
105
136
|
/**
|
|
106
|
-
*
|
|
137
|
+
* 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.
|
|
107
138
|
*/
|
|
139
|
+
plan: enums.services.CronJobDetailsOutputPlan;
|
|
140
|
+
region: enums.services.CronJobDetailsOutputRegion;
|
|
141
|
+
schedule: string;
|
|
142
|
+
}
|
|
143
|
+
interface CronJobOutput {
|
|
144
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
108
145
|
branch?: string;
|
|
109
|
-
|
|
110
|
-
|
|
146
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
147
|
+
createdAt: string;
|
|
148
|
+
id: string;
|
|
149
|
+
imagePath?: string;
|
|
111
150
|
name: string;
|
|
112
|
-
|
|
113
|
-
* The notification setting for this service upon deployment failure.
|
|
114
|
-
*/
|
|
115
|
-
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
116
|
-
/**
|
|
117
|
-
* The id of the owner (user/team).
|
|
118
|
-
*/
|
|
151
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
119
152
|
ownerId: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
slug?: string;
|
|
127
|
-
suspended?: enums.services.ServiceSuspended;
|
|
128
|
-
suspenders?: string[];
|
|
153
|
+
repo?: string;
|
|
154
|
+
rootDir: string;
|
|
155
|
+
serviceDetails?: outputs.services.CronJobDetailsOutput;
|
|
156
|
+
slug: string;
|
|
157
|
+
suspended: enums.services.ServiceSuspended;
|
|
158
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
129
159
|
type?: string;
|
|
130
|
-
updatedAt
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* cronJobProvideDefaults sets the appropriate defaults for CronJob
|
|
134
|
-
*/
|
|
135
|
-
function cronJobProvideDefaults(val: CronJob): CronJob;
|
|
136
|
-
interface CronJobServiceDetails {
|
|
137
|
-
env: enums.services.CronJobServiceDetailsEnv;
|
|
138
|
-
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
139
|
-
lastSuccessfulRunAt?: string;
|
|
140
|
-
plan?: enums.services.CronJobServiceDetailsPlan;
|
|
141
|
-
region?: enums.services.CronJobServiceDetailsRegion;
|
|
142
|
-
schedule: string;
|
|
160
|
+
updatedAt: string;
|
|
143
161
|
}
|
|
144
162
|
/**
|
|
145
|
-
*
|
|
163
|
+
* cronJobOutputProvideDefaults sets the appropriate defaults for CronJobOutput
|
|
146
164
|
*/
|
|
147
|
-
function
|
|
165
|
+
function cronJobOutputProvideDefaults(val: CronJobOutput): CronJobOutput;
|
|
148
166
|
interface CustomDomain {
|
|
149
|
-
createdAt
|
|
167
|
+
createdAt: string;
|
|
150
168
|
domainType: enums.services.CustomDomainDomainType;
|
|
169
|
+
id: string;
|
|
151
170
|
name: string;
|
|
152
|
-
publicSuffix
|
|
171
|
+
publicSuffix: string;
|
|
153
172
|
redirectForName: string;
|
|
154
|
-
server
|
|
173
|
+
server?: outputs.services.CustomDomainServerProperties;
|
|
155
174
|
verificationStatus: enums.services.CustomDomainVerificationStatus;
|
|
156
175
|
}
|
|
157
176
|
interface CustomDomainServerProperties {
|
|
@@ -159,481 +178,447 @@ export declare namespace services {
|
|
|
159
178
|
name?: string;
|
|
160
179
|
}
|
|
161
180
|
interface Deploy {
|
|
162
|
-
|
|
163
|
-
|
|
181
|
+
commit?: outputs.services.DeployCommitProperties;
|
|
182
|
+
createdAt?: string;
|
|
183
|
+
finishedAt?: string;
|
|
184
|
+
id: string;
|
|
185
|
+
/**
|
|
186
|
+
* Image information used when creating the deploy. Not present for Git-backed deploys
|
|
187
|
+
*/
|
|
188
|
+
image?: outputs.services.DeployImageProperties;
|
|
189
|
+
status?: enums.services.DeployStatus;
|
|
190
|
+
trigger?: enums.services.DeployTrigger;
|
|
191
|
+
updatedAt?: string;
|
|
192
|
+
}
|
|
193
|
+
interface DeployCommitProperties {
|
|
194
|
+
createdAt?: string;
|
|
195
|
+
id?: string;
|
|
196
|
+
message?: string;
|
|
164
197
|
}
|
|
165
198
|
/**
|
|
166
|
-
*
|
|
199
|
+
* Image information used when creating the deploy. Not present for Git-backed deploys
|
|
167
200
|
*/
|
|
168
|
-
|
|
201
|
+
interface DeployImageProperties {
|
|
202
|
+
/**
|
|
203
|
+
* Image reference used when creating the deploy
|
|
204
|
+
*/
|
|
205
|
+
ref?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Name of credential used to pull the image, if provided
|
|
208
|
+
*/
|
|
209
|
+
registryCredential?: string;
|
|
210
|
+
/**
|
|
211
|
+
* SHA that the image reference was resolved to when creating the deploy
|
|
212
|
+
*/
|
|
213
|
+
sha?: string;
|
|
214
|
+
}
|
|
169
215
|
interface Disk {
|
|
216
|
+
id: string;
|
|
170
217
|
mountPath: string;
|
|
171
218
|
name: string;
|
|
172
|
-
sizeGB
|
|
219
|
+
sizeGB: number;
|
|
173
220
|
}
|
|
174
|
-
/**
|
|
175
|
-
* diskProvideDefaults sets the appropriate defaults for Disk
|
|
176
|
-
*/
|
|
177
|
-
function diskProvideDefaults(val: Disk): Disk;
|
|
178
221
|
interface DockerDetails {
|
|
179
222
|
dockerCommand: string;
|
|
180
223
|
dockerContext: string;
|
|
181
|
-
dockerfilePath
|
|
224
|
+
dockerfilePath: string;
|
|
225
|
+
preDeployCommand?: string;
|
|
226
|
+
registryCredential?: outputs.services.RegistryCredential;
|
|
227
|
+
}
|
|
228
|
+
interface EnvVar {
|
|
229
|
+
key: string;
|
|
230
|
+
value: string;
|
|
231
|
+
}
|
|
232
|
+
interface EnvVarKeyGenerateValue {
|
|
233
|
+
generateValue: boolean;
|
|
234
|
+
key: string;
|
|
182
235
|
}
|
|
183
236
|
interface EnvVarKeyValue {
|
|
184
|
-
generateValue?: enums.services.EnvVarKeyValueGenerateValue;
|
|
185
237
|
key: string;
|
|
186
|
-
value
|
|
238
|
+
value: string;
|
|
239
|
+
}
|
|
240
|
+
interface EnvVarWithCursor {
|
|
241
|
+
cursor: string;
|
|
242
|
+
envVar: outputs.services.EnvVar;
|
|
187
243
|
}
|
|
188
|
-
/**
|
|
189
|
-
* A background worker service
|
|
190
|
-
*/
|
|
191
244
|
interface GetBackgroundWorker {
|
|
192
|
-
|
|
193
|
-
* Whether to auto deploy the service or not upon git push.
|
|
194
|
-
*/
|
|
195
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
196
|
-
/**
|
|
197
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
198
|
-
*/
|
|
245
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
199
246
|
branch?: string;
|
|
200
|
-
|
|
201
|
-
|
|
247
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
248
|
+
createdAt: string;
|
|
249
|
+
id: string;
|
|
250
|
+
imagePath?: string;
|
|
202
251
|
name: string;
|
|
203
|
-
|
|
204
|
-
* The notification setting for this service upon deployment failure.
|
|
205
|
-
*/
|
|
206
|
-
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
207
|
-
/**
|
|
208
|
-
* The id of the owner (user/team).
|
|
209
|
-
*/
|
|
252
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
210
253
|
ownerId: string;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
slug?: string;
|
|
218
|
-
suspended?: enums.services.ServiceSuspended;
|
|
219
|
-
suspenders?: string[];
|
|
254
|
+
repo?: string;
|
|
255
|
+
rootDir: string;
|
|
256
|
+
serviceDetails?: outputs.services.BackgroundWorkerDetailsOutput;
|
|
257
|
+
slug: string;
|
|
258
|
+
suspended: enums.services.ServiceSuspended;
|
|
259
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
220
260
|
type?: string;
|
|
221
|
-
updatedAt
|
|
261
|
+
updatedAt: string;
|
|
222
262
|
}
|
|
223
263
|
/**
|
|
224
264
|
* getBackgroundWorkerProvideDefaults sets the appropriate defaults for GetBackgroundWorker
|
|
225
265
|
*/
|
|
226
266
|
function getBackgroundWorkerProvideDefaults(val: GetBackgroundWorker): GetBackgroundWorker;
|
|
227
|
-
/**
|
|
228
|
-
* A cron job
|
|
229
|
-
*/
|
|
230
267
|
interface GetCronJob {
|
|
231
|
-
|
|
232
|
-
* Whether to auto deploy the service or not upon git push.
|
|
233
|
-
*/
|
|
234
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
235
|
-
/**
|
|
236
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
237
|
-
*/
|
|
268
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
238
269
|
branch?: string;
|
|
239
|
-
|
|
240
|
-
|
|
270
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
271
|
+
createdAt: string;
|
|
272
|
+
id: string;
|
|
273
|
+
imagePath?: string;
|
|
241
274
|
name: string;
|
|
242
|
-
|
|
243
|
-
* The notification setting for this service upon deployment failure.
|
|
244
|
-
*/
|
|
245
|
-
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
246
|
-
/**
|
|
247
|
-
* The id of the owner (user/team).
|
|
248
|
-
*/
|
|
275
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
249
276
|
ownerId: string;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
slug?: string;
|
|
257
|
-
suspended?: enums.services.ServiceSuspended;
|
|
258
|
-
suspenders?: string[];
|
|
277
|
+
repo?: string;
|
|
278
|
+
rootDir: string;
|
|
279
|
+
serviceDetails?: outputs.services.CronJobDetailsOutput;
|
|
280
|
+
slug: string;
|
|
281
|
+
suspended: enums.services.ServiceSuspended;
|
|
282
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
259
283
|
type?: string;
|
|
260
|
-
updatedAt
|
|
284
|
+
updatedAt: string;
|
|
261
285
|
}
|
|
262
286
|
/**
|
|
263
287
|
* getCronJobProvideDefaults sets the appropriate defaults for GetCronJob
|
|
264
288
|
*/
|
|
265
289
|
function getCronJobProvideDefaults(val: GetCronJob): GetCronJob;
|
|
266
|
-
/**
|
|
267
|
-
* A private service
|
|
268
|
-
*/
|
|
269
290
|
interface GetPrivateService {
|
|
270
|
-
|
|
271
|
-
* Whether to auto deploy the service or not upon git push.
|
|
272
|
-
*/
|
|
273
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
274
|
-
/**
|
|
275
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
276
|
-
*/
|
|
291
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
277
292
|
branch?: string;
|
|
278
|
-
|
|
279
|
-
|
|
293
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
294
|
+
createdAt: string;
|
|
295
|
+
id: string;
|
|
296
|
+
imagePath?: string;
|
|
280
297
|
name: string;
|
|
281
|
-
|
|
282
|
-
* The notification setting for this service upon deployment failure.
|
|
283
|
-
*/
|
|
284
|
-
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
285
|
-
/**
|
|
286
|
-
* The id of the owner (user/team).
|
|
287
|
-
*/
|
|
298
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
288
299
|
ownerId: string;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
slug?: string;
|
|
296
|
-
suspended?: enums.services.ServiceSuspended;
|
|
297
|
-
suspenders?: string[];
|
|
300
|
+
repo?: string;
|
|
301
|
+
rootDir: string;
|
|
302
|
+
serviceDetails?: outputs.services.PrivateServiceDetailsOutput;
|
|
303
|
+
slug: string;
|
|
304
|
+
suspended: enums.services.ServiceSuspended;
|
|
305
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
298
306
|
type?: string;
|
|
299
|
-
updatedAt
|
|
307
|
+
updatedAt: string;
|
|
300
308
|
}
|
|
301
309
|
/**
|
|
302
310
|
* getPrivateServiceProvideDefaults sets the appropriate defaults for GetPrivateService
|
|
303
311
|
*/
|
|
304
312
|
function getPrivateServiceProvideDefaults(val: GetPrivateService): GetPrivateService;
|
|
305
|
-
/**
|
|
306
|
-
* A static website service
|
|
307
|
-
*/
|
|
308
313
|
interface GetStaticSite {
|
|
309
|
-
|
|
310
|
-
* Whether to auto deploy the service or not upon git push.
|
|
311
|
-
*/
|
|
312
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
313
|
-
/**
|
|
314
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
315
|
-
*/
|
|
314
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
316
315
|
branch?: string;
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
317
|
+
createdAt: string;
|
|
318
|
+
id: string;
|
|
319
|
+
imagePath?: string;
|
|
319
320
|
name: string;
|
|
320
|
-
|
|
321
|
-
* The notification setting for this service upon deployment failure.
|
|
322
|
-
*/
|
|
323
|
-
notifyOnFail?: enums.services.ServiceNotifyOnFail;
|
|
324
|
-
/**
|
|
325
|
-
* The id of the owner (user/team).
|
|
326
|
-
*/
|
|
321
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
327
322
|
ownerId: string;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
slug?: string;
|
|
335
|
-
suspended?: enums.services.ServiceSuspended;
|
|
336
|
-
suspenders?: string[];
|
|
323
|
+
repo?: string;
|
|
324
|
+
rootDir: string;
|
|
325
|
+
serviceDetails?: outputs.services.StaticSiteDetailsOutput;
|
|
326
|
+
slug: string;
|
|
327
|
+
suspended: enums.services.ServiceSuspended;
|
|
328
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
337
329
|
type?: string;
|
|
338
|
-
updatedAt
|
|
330
|
+
updatedAt: string;
|
|
339
331
|
}
|
|
340
332
|
/**
|
|
341
333
|
* getStaticSiteProvideDefaults sets the appropriate defaults for GetStaticSite
|
|
342
334
|
*/
|
|
343
335
|
function getStaticSiteProvideDefaults(val: GetStaticSite): GetStaticSite;
|
|
344
|
-
/**
|
|
345
|
-
* A web service
|
|
346
|
-
*/
|
|
347
336
|
interface GetWebService {
|
|
348
|
-
|
|
349
|
-
* Whether to auto deploy the service or not upon git push.
|
|
350
|
-
*/
|
|
351
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
352
|
-
/**
|
|
353
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
354
|
-
*/
|
|
337
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
355
338
|
branch?: string;
|
|
356
|
-
|
|
357
|
-
|
|
339
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
340
|
+
createdAt: string;
|
|
341
|
+
id: string;
|
|
342
|
+
imagePath?: string;
|
|
358
343
|
name: string;
|
|
344
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
345
|
+
ownerId: string;
|
|
346
|
+
repo?: string;
|
|
347
|
+
rootDir: string;
|
|
348
|
+
serviceDetails?: outputs.services.WebServiceDetailsOutput;
|
|
349
|
+
slug: string;
|
|
350
|
+
suspended: enums.services.ServiceSuspended;
|
|
351
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
352
|
+
type?: string;
|
|
353
|
+
updatedAt: string;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* getWebServiceProvideDefaults sets the appropriate defaults for GetWebService
|
|
357
|
+
*/
|
|
358
|
+
function getWebServiceProvideDefaults(val: GetWebService): GetWebService;
|
|
359
|
+
interface Header {
|
|
360
|
+
id: string;
|
|
361
|
+
name: string;
|
|
362
|
+
path: string;
|
|
363
|
+
value: string;
|
|
364
|
+
}
|
|
365
|
+
interface Image {
|
|
359
366
|
/**
|
|
360
|
-
*
|
|
367
|
+
* Path to the image used for this server (e.g docker.io/library/nginx:latest).
|
|
361
368
|
*/
|
|
362
|
-
|
|
369
|
+
imagePath: string;
|
|
363
370
|
/**
|
|
364
|
-
* The
|
|
371
|
+
* The ID of the owner for this image. This should match the owner of the service as well as the owner of any specified registry credential.
|
|
365
372
|
*/
|
|
366
373
|
ownerId: string;
|
|
367
374
|
/**
|
|
368
|
-
*
|
|
375
|
+
* Optional reference to the registry credential passed to the image repository to retrieve this image.
|
|
369
376
|
*/
|
|
370
|
-
|
|
371
|
-
secretFiles?: outputs.services.SecretFile[];
|
|
372
|
-
serviceDetails?: outputs.services.WebServiceServiceDetails;
|
|
373
|
-
slug?: string;
|
|
374
|
-
suspended?: enums.services.ServiceSuspended;
|
|
375
|
-
suspenders?: string[];
|
|
376
|
-
type?: string;
|
|
377
|
-
updatedAt?: string;
|
|
377
|
+
registryCredentialId?: string;
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Image information used when creating the deploy. Not present for Git-backed deploys
|
|
381
381
|
*/
|
|
382
|
-
|
|
382
|
+
interface ImageProperties {
|
|
383
|
+
/**
|
|
384
|
+
* Image reference used when creating the deploy
|
|
385
|
+
*/
|
|
386
|
+
ref?: string;
|
|
387
|
+
/**
|
|
388
|
+
* Name of credential used to pull the image, if provided
|
|
389
|
+
*/
|
|
390
|
+
registryCredential?: string;
|
|
391
|
+
/**
|
|
392
|
+
* SHA that the image reference was resolved to when creating the deploy
|
|
393
|
+
*/
|
|
394
|
+
sha?: string;
|
|
395
|
+
}
|
|
383
396
|
interface Job {
|
|
384
|
-
createdAt
|
|
397
|
+
createdAt: string;
|
|
385
398
|
finishedAt?: string;
|
|
399
|
+
id: string;
|
|
386
400
|
planId: string;
|
|
401
|
+
serviceId: string;
|
|
387
402
|
startCommand: string;
|
|
388
403
|
startedAt?: string;
|
|
389
404
|
status?: string;
|
|
390
405
|
}
|
|
391
|
-
interface
|
|
406
|
+
interface ListCustomDomainsItemProperties {
|
|
392
407
|
cursor?: string;
|
|
393
408
|
customDomain?: outputs.services.CustomDomain;
|
|
394
409
|
}
|
|
395
|
-
interface
|
|
396
|
-
cursor?: string;
|
|
397
|
-
customDomain?: outputs.services.Deploy;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* listDeploysResponseProvideDefaults sets the appropriate defaults for ListDeploysResponse
|
|
401
|
-
*/
|
|
402
|
-
function listDeploysResponseProvideDefaults(val: ListDeploysResponse): ListDeploysResponse;
|
|
403
|
-
interface ListEnvVarsResponse {
|
|
410
|
+
interface ListDeploysItemProperties {
|
|
404
411
|
cursor?: string;
|
|
405
|
-
|
|
412
|
+
deploy?: outputs.services.Deploy;
|
|
406
413
|
}
|
|
407
|
-
interface
|
|
414
|
+
interface ListJobItemProperties {
|
|
408
415
|
cursor?: string;
|
|
409
416
|
job?: outputs.services.Job;
|
|
410
417
|
}
|
|
411
|
-
interface
|
|
418
|
+
interface ListRetrieveHeadersItemProperties {
|
|
412
419
|
cursor?: string;
|
|
413
|
-
|
|
414
|
-
* A service header object
|
|
415
|
-
*/
|
|
416
|
-
header?: outputs.services.ServiceHeader;
|
|
420
|
+
headers?: outputs.services.Header;
|
|
417
421
|
}
|
|
418
|
-
interface
|
|
422
|
+
interface ListRetrieveRoutesItemProperties {
|
|
419
423
|
cursor?: string;
|
|
420
|
-
|
|
424
|
+
routes?: outputs.services.Route;
|
|
421
425
|
}
|
|
422
|
-
interface
|
|
426
|
+
interface ListServicesResponse {
|
|
423
427
|
cursor?: string;
|
|
424
|
-
|
|
425
|
-
* A route object for a static site
|
|
426
|
-
*/
|
|
427
|
-
route?: outputs.services.StaticSiteRoute;
|
|
428
|
+
service?: outputs.services.BackgroundWorkerOutput | outputs.services.CronJobOutput | outputs.services.PrivateServiceOutput | outputs.services.StaticSiteOutput | outputs.services.WebServiceOutput;
|
|
428
429
|
}
|
|
429
430
|
interface NativeEnvironmentDetails {
|
|
430
431
|
buildCommand: string;
|
|
432
|
+
preDeployCommand?: string;
|
|
431
433
|
startCommand: string;
|
|
432
434
|
}
|
|
433
|
-
interface
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* A private service
|
|
439
|
-
*/
|
|
440
|
-
interface PrivateService {
|
|
441
|
-
/**
|
|
442
|
-
* Whether to auto deploy the service or not upon git push.
|
|
443
|
-
*/
|
|
444
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
445
|
-
/**
|
|
446
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
447
|
-
*/
|
|
448
|
-
branch?: string;
|
|
449
|
-
createdAt?: string;
|
|
450
|
-
envVars?: outputs.services.EnvVarKeyValue[];
|
|
451
|
-
name: string;
|
|
435
|
+
interface PrivateServiceDetailsOutput {
|
|
436
|
+
autoscaling?: outputs.services.AutoscalingConfig;
|
|
437
|
+
buildPlan: string;
|
|
438
|
+
disk?: outputs.services.Disk;
|
|
452
439
|
/**
|
|
453
|
-
*
|
|
440
|
+
* Environment (runtime)
|
|
454
441
|
*/
|
|
455
|
-
|
|
442
|
+
env: enums.services.PrivateServiceDetailsOutputEnv;
|
|
443
|
+
envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
456
444
|
/**
|
|
457
|
-
*
|
|
445
|
+
* 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.
|
|
458
446
|
*/
|
|
459
|
-
|
|
447
|
+
numInstances: number;
|
|
448
|
+
openPorts: outputs.services.ServerPort[];
|
|
449
|
+
parentServer?: outputs.services.Resource;
|
|
460
450
|
/**
|
|
461
|
-
*
|
|
451
|
+
* 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.
|
|
462
452
|
*/
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
suspended?: enums.services.ServiceSuspended;
|
|
468
|
-
suspenders?: string[];
|
|
469
|
-
type?: string;
|
|
470
|
-
updatedAt?: string;
|
|
471
|
-
}
|
|
472
|
-
/**
|
|
473
|
-
* privateServiceProvideDefaults sets the appropriate defaults for PrivateService
|
|
474
|
-
*/
|
|
475
|
-
function privateServiceProvideDefaults(val: PrivateService): PrivateService;
|
|
476
|
-
interface PrivateServiceDetails {
|
|
477
|
-
disk?: outputs.services.Disk;
|
|
478
|
-
env: enums.services.PrivateServiceDetailsEnv;
|
|
479
|
-
envSpecificDetails?: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
480
|
-
numInstances?: number;
|
|
481
|
-
openPorts?: outputs.services.OpenPorts[];
|
|
482
|
-
parentServer?: outputs.services.PrivateServiceDetailsParentServerProperties;
|
|
483
|
-
plan?: enums.services.PrivateServiceDetailsPlan;
|
|
484
|
-
pullRequestPreviewsEnabled?: enums.services.PrivateServiceDetailsPullRequestPreviewsEnabled;
|
|
485
|
-
region?: enums.services.PrivateServiceDetailsRegion;
|
|
486
|
-
url?: string;
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* privateServiceDetailsProvideDefaults sets the appropriate defaults for PrivateServiceDetails
|
|
490
|
-
*/
|
|
491
|
-
function privateServiceDetailsProvideDefaults(val: PrivateServiceDetails): PrivateServiceDetails;
|
|
492
|
-
interface PrivateServiceDetailsParentServerProperties {
|
|
493
|
-
id?: string;
|
|
494
|
-
name?: string;
|
|
495
|
-
}
|
|
496
|
-
interface SecretFile {
|
|
497
|
-
contents: string;
|
|
498
|
-
name: string;
|
|
499
|
-
}
|
|
500
|
-
interface ServerProperties {
|
|
501
|
-
id?: string;
|
|
502
|
-
name?: string;
|
|
453
|
+
plan: enums.services.PrivateServiceDetailsOutputPlan;
|
|
454
|
+
pullRequestPreviewsEnabled: enums.services.PrivateServiceDetailsOutputPullRequestPreviewsEnabled;
|
|
455
|
+
region: enums.services.PrivateServiceDetailsOutputRegion;
|
|
456
|
+
url: string;
|
|
503
457
|
}
|
|
504
458
|
/**
|
|
505
|
-
*
|
|
459
|
+
* privateServiceDetailsOutputProvideDefaults sets the appropriate defaults for PrivateServiceDetailsOutput
|
|
506
460
|
*/
|
|
507
|
-
|
|
461
|
+
function privateServiceDetailsOutputProvideDefaults(val: PrivateServiceDetailsOutput): PrivateServiceDetailsOutput;
|
|
462
|
+
interface PrivateServiceOutput {
|
|
463
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
464
|
+
branch?: string;
|
|
465
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
466
|
+
createdAt: string;
|
|
467
|
+
id: string;
|
|
468
|
+
imagePath?: string;
|
|
508
469
|
name: string;
|
|
509
|
-
|
|
510
|
-
|
|
470
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
471
|
+
ownerId: string;
|
|
472
|
+
repo?: string;
|
|
473
|
+
rootDir: string;
|
|
474
|
+
serviceDetails?: outputs.services.PrivateServiceDetailsOutput;
|
|
475
|
+
slug: string;
|
|
476
|
+
suspended: enums.services.ServiceSuspended;
|
|
477
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
478
|
+
type?: string;
|
|
479
|
+
updatedAt: string;
|
|
511
480
|
}
|
|
512
481
|
/**
|
|
513
|
-
*
|
|
482
|
+
* privateServiceOutputProvideDefaults sets the appropriate defaults for PrivateServiceOutput
|
|
514
483
|
*/
|
|
515
|
-
|
|
484
|
+
function privateServiceOutputProvideDefaults(val: PrivateServiceOutput): PrivateServiceOutput;
|
|
485
|
+
interface RegistryCredential {
|
|
516
486
|
/**
|
|
517
|
-
*
|
|
487
|
+
* Unique identifier for this credential
|
|
518
488
|
*/
|
|
519
|
-
|
|
489
|
+
id: string;
|
|
520
490
|
/**
|
|
521
|
-
*
|
|
491
|
+
* Descriptive name for this credential
|
|
522
492
|
*/
|
|
523
|
-
branch?: string;
|
|
524
|
-
createdAt?: string;
|
|
525
|
-
envVars?: outputs.services.EnvVarKeyValue[];
|
|
526
493
|
name: string;
|
|
527
494
|
/**
|
|
528
|
-
* The
|
|
495
|
+
* The registry to use this credential with
|
|
529
496
|
*/
|
|
530
|
-
|
|
497
|
+
registry: enums.services.RegistryCredentialRegistry;
|
|
531
498
|
/**
|
|
532
|
-
* The
|
|
499
|
+
* The username associated with the credential
|
|
533
500
|
*/
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
537
|
-
*/
|
|
538
|
-
repo: string;
|
|
539
|
-
secretFiles?: outputs.services.SecretFile[];
|
|
540
|
-
serviceDetails?: outputs.services.StaticSiteServiceDetails;
|
|
541
|
-
slug?: string;
|
|
542
|
-
suspended?: enums.services.ServiceSuspended;
|
|
543
|
-
suspenders?: string[];
|
|
544
|
-
type?: string;
|
|
545
|
-
updatedAt?: string;
|
|
501
|
+
username: string;
|
|
546
502
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
function staticSiteProvideDefaults(val: StaticSite): StaticSite;
|
|
551
|
-
/**
|
|
552
|
-
* A route object for a static site
|
|
553
|
-
*/
|
|
554
|
-
interface StaticSiteRoute {
|
|
555
|
-
destination: string;
|
|
556
|
-
source: string;
|
|
557
|
-
type: enums.services.StaticSiteRouteType;
|
|
503
|
+
interface Resource {
|
|
504
|
+
id: string;
|
|
505
|
+
name: string;
|
|
558
506
|
}
|
|
559
|
-
interface
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
parentServer?: outputs.services.StaticSiteServiceDetailsParentServerProperties;
|
|
563
|
-
publishPath?: string;
|
|
564
|
-
pullRequestPreviewsEnabled?: enums.services.StaticSiteServiceDetailsPullRequestPreviewsEnabled;
|
|
565
|
-
routes?: outputs.services.StaticSiteRoute[];
|
|
507
|
+
interface Route {
|
|
508
|
+
destination: string;
|
|
509
|
+
id: string;
|
|
566
510
|
/**
|
|
567
|
-
*
|
|
511
|
+
* Redirect and Rewrite Rules are applied in priority order starting at 0
|
|
568
512
|
*/
|
|
569
|
-
|
|
513
|
+
priority: number;
|
|
514
|
+
source: string;
|
|
515
|
+
type: enums.services.RouteType;
|
|
570
516
|
}
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
function staticSiteServiceDetailsProvideDefaults(val: StaticSiteServiceDetails): StaticSiteServiceDetails;
|
|
575
|
-
interface StaticSiteServiceDetailsParentServerProperties {
|
|
576
|
-
id?: string;
|
|
577
|
-
name?: string;
|
|
517
|
+
interface SecretFile {
|
|
518
|
+
id: string;
|
|
519
|
+
name: string;
|
|
578
520
|
}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
*/
|
|
586
|
-
autoDeploy?: enums.services.ServiceAutoDeploy;
|
|
587
|
-
/**
|
|
588
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
589
|
-
*/
|
|
521
|
+
interface ServerPort {
|
|
522
|
+
port: number;
|
|
523
|
+
protocol: enums.services.ServerPortProtocol;
|
|
524
|
+
}
|
|
525
|
+
interface Service {
|
|
526
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
590
527
|
branch?: string;
|
|
591
|
-
|
|
592
|
-
|
|
528
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
529
|
+
createdAt: string;
|
|
530
|
+
id: string;
|
|
531
|
+
imagePath?: string;
|
|
532
|
+
name: string;
|
|
533
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
534
|
+
ownerId: string;
|
|
535
|
+
repo?: string;
|
|
536
|
+
rootDir: string;
|
|
537
|
+
slug: string;
|
|
538
|
+
suspended: enums.services.ServiceSuspended;
|
|
539
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
540
|
+
updatedAt: string;
|
|
541
|
+
}
|
|
542
|
+
interface StaticSiteDetailsOutput {
|
|
543
|
+
buildCommand: string;
|
|
544
|
+
buildPlan: string;
|
|
545
|
+
parentServer?: outputs.services.Resource;
|
|
546
|
+
publishPath: string;
|
|
547
|
+
pullRequestPreviewsEnabled: enums.services.StaticSiteDetailsOutputPullRequestPreviewsEnabled;
|
|
548
|
+
url: string;
|
|
549
|
+
}
|
|
550
|
+
interface StaticSiteOutput {
|
|
551
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
552
|
+
branch?: string;
|
|
553
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
554
|
+
createdAt: string;
|
|
555
|
+
id: string;
|
|
556
|
+
imagePath?: string;
|
|
593
557
|
name: string;
|
|
558
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
559
|
+
ownerId: string;
|
|
560
|
+
repo?: string;
|
|
561
|
+
rootDir: string;
|
|
562
|
+
serviceDetails?: outputs.services.StaticSiteDetailsOutput;
|
|
563
|
+
slug: string;
|
|
564
|
+
suspended: enums.services.ServiceSuspended;
|
|
565
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
566
|
+
type?: string;
|
|
567
|
+
updatedAt: string;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* staticSiteOutputProvideDefaults sets the appropriate defaults for StaticSiteOutput
|
|
571
|
+
*/
|
|
572
|
+
function staticSiteOutputProvideDefaults(val: StaticSiteOutput): StaticSiteOutput;
|
|
573
|
+
interface WebServiceDetailsOutput {
|
|
574
|
+
autoscaling?: outputs.services.AutoscalingConfig;
|
|
575
|
+
buildPlan: string;
|
|
576
|
+
disk?: outputs.services.Disk;
|
|
594
577
|
/**
|
|
595
|
-
*
|
|
578
|
+
* Environment (runtime)
|
|
596
579
|
*/
|
|
597
|
-
|
|
580
|
+
env: enums.services.WebServiceDetailsOutputEnv;
|
|
581
|
+
envSpecificDetails: outputs.services.DockerDetails | outputs.services.NativeEnvironmentDetails;
|
|
582
|
+
healthCheckPath: string;
|
|
598
583
|
/**
|
|
599
|
-
*
|
|
584
|
+
* 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.
|
|
600
585
|
*/
|
|
601
|
-
|
|
586
|
+
numInstances: number;
|
|
587
|
+
openPorts: outputs.services.ServerPort[];
|
|
588
|
+
parentServer?: outputs.services.Resource;
|
|
602
589
|
/**
|
|
603
|
-
*
|
|
590
|
+
* 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.
|
|
604
591
|
*/
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
suspended?: enums.services.ServiceSuspended;
|
|
610
|
-
suspenders?: string[];
|
|
611
|
-
type?: string;
|
|
612
|
-
updatedAt?: string;
|
|
592
|
+
plan: enums.services.WebServiceDetailsOutputPlan;
|
|
593
|
+
pullRequestPreviewsEnabled: enums.services.WebServiceDetailsOutputPullRequestPreviewsEnabled;
|
|
594
|
+
region: enums.services.WebServiceDetailsOutputRegion;
|
|
595
|
+
url: string;
|
|
613
596
|
}
|
|
614
597
|
/**
|
|
615
|
-
*
|
|
598
|
+
* webServiceDetailsOutputProvideDefaults sets the appropriate defaults for WebServiceDetailsOutput
|
|
616
599
|
*/
|
|
617
|
-
function
|
|
618
|
-
interface
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
600
|
+
function webServiceDetailsOutputProvideDefaults(val: WebServiceDetailsOutput): WebServiceDetailsOutput;
|
|
601
|
+
interface WebServiceOutput {
|
|
602
|
+
autoDeploy: enums.services.ServiceAutoDeploy;
|
|
603
|
+
branch?: string;
|
|
604
|
+
buildFilter?: outputs.services.BuildFilter;
|
|
605
|
+
createdAt: string;
|
|
606
|
+
id: string;
|
|
607
|
+
imagePath?: string;
|
|
608
|
+
name: string;
|
|
609
|
+
notifyOnFail: enums.services.ServiceNotifyOnFail;
|
|
610
|
+
ownerId: string;
|
|
611
|
+
repo?: string;
|
|
612
|
+
rootDir: string;
|
|
613
|
+
serviceDetails?: outputs.services.WebServiceDetailsOutput;
|
|
614
|
+
slug: string;
|
|
615
|
+
suspended: enums.services.ServiceSuspended;
|
|
616
|
+
suspenders: enums.services.ServiceSuspendersItem[];
|
|
617
|
+
type?: string;
|
|
618
|
+
updatedAt: string;
|
|
630
619
|
}
|
|
631
620
|
/**
|
|
632
|
-
*
|
|
621
|
+
* webServiceOutputProvideDefaults sets the appropriate defaults for WebServiceOutput
|
|
633
622
|
*/
|
|
634
|
-
function
|
|
635
|
-
interface WebServiceServiceDetailsParentServerProperties {
|
|
636
|
-
id?: string;
|
|
637
|
-
name?: string;
|
|
638
|
-
}
|
|
623
|
+
function webServiceOutputProvideDefaults(val: WebServiceOutput): WebServiceOutput;
|
|
639
624
|
}
|