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