@cloudyskysoftware/pulumi-render 0.0.31
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/LICENSE +202 -0
- package/README.md +197 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +9 -0
- package/config/vars.js +19 -0
- package/config/vars.js.map +1 -0
- package/index.d.ts +5 -0
- package/index.js +41 -0
- package/index.js.map +1 -0
- package/package.json +38 -0
- package/provider.d.ts +28 -0
- package/provider.js +43 -0
- package/provider.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +26 -0
- package/services/customDomain.d.ts +40 -0
- package/services/customDomain.js +71 -0
- package/services/customDomain.js.map +1 -0
- package/services/deploy.d.ts +34 -0
- package/services/deploy.js +56 -0
- package/services/deploy.js.map +1 -0
- package/services/index.d.ts +7 -0
- package/services/index.js +59 -0
- package/services/index.js.map +1 -0
- package/services/scale.d.ts +32 -0
- package/services/scale.js +56 -0
- package/services/scale.js.map +1 -0
- package/services/staticSite.d.ts +101 -0
- package/services/staticSite.js +102 -0
- package/services/staticSite.js.map +1 -0
- package/services/suspend.d.ts +30 -0
- package/services/suspend.js +51 -0
- package/services/suspend.js.map +1 -0
- package/services/webService.d.ts +90 -0
- package/services/webService.js +91 -0
- package/services/webService.js.map +1 -0
- package/types/enums/index.d.ts +2 -0
- package/types/enums/index.js +9 -0
- package/types/enums/index.js.map +1 -0
- package/types/enums/services/index.d.ts +100 -0
- package/types/enums/services/index.js +79 -0
- package/types/enums/services/index.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +13 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +80 -0
- package/types/input.js +43 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +84 -0
- package/types/output.js +42 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Suspend = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Suspend extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Create a Suspend resource with the given unique name, arguments, and options.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resource.
|
|
13
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
14
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name, args, opts) {
|
|
17
|
+
let resourceInputs = {};
|
|
18
|
+
opts = opts || {};
|
|
19
|
+
if (!opts.id) {
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
}
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
24
|
+
super(Suspend.__pulumiType, name, resourceInputs, opts);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Suspend resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name, id, opts) {
|
|
35
|
+
return new Suspend(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Suspend. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj) {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === Suspend.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Suspend = Suspend;
|
|
49
|
+
/** @internal */
|
|
50
|
+
Suspend.__pulumiType = 'render:services:Suspend';
|
|
51
|
+
//# sourceMappingURL=suspend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suspend.js","sourceRoot":"","sources":["../../services/suspend.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA4B9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;SACb;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA1CD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BA4CC;AA/BG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* A web service
|
|
5
|
+
*/
|
|
6
|
+
export declare class WebService extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing WebService resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): WebService;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of WebService. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is WebService;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to auto deploy the service or not upon git push.
|
|
23
|
+
*/
|
|
24
|
+
readonly autoDeploy: pulumi.Output<enums.services.WebServiceServiceAutoDeploy | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
27
|
+
*/
|
|
28
|
+
readonly branch: pulumi.Output<string | undefined>;
|
|
29
|
+
readonly createdAt: pulumi.Output<string | undefined>;
|
|
30
|
+
readonly name: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The notification setting for this service upon deployment failure.
|
|
33
|
+
*/
|
|
34
|
+
readonly notifyOnFail: pulumi.Output<enums.services.WebServiceServiceNotifyOnFail | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The id of the owner (user/team).
|
|
37
|
+
*/
|
|
38
|
+
readonly ownerId: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
41
|
+
*/
|
|
42
|
+
readonly repo: pulumi.Output<string | undefined>;
|
|
43
|
+
readonly serviceDetails: pulumi.Output<outputs.services.WebServiceWebServiceServiceDetails | undefined>;
|
|
44
|
+
readonly slug: pulumi.Output<string | undefined>;
|
|
45
|
+
readonly suspended: pulumi.Output<enums.services.WebServiceServiceSuspended | undefined>;
|
|
46
|
+
readonly suspenders: pulumi.Output<string[] | undefined>;
|
|
47
|
+
readonly type: pulumi.Output<string | undefined>;
|
|
48
|
+
readonly updatedAt: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a WebService resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: WebServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a WebService resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface WebServiceArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Whether to auto deploy the service or not upon git push.
|
|
64
|
+
*/
|
|
65
|
+
autoDeploy?: pulumi.Input<enums.services.WebServiceServiceAutoDeploy>;
|
|
66
|
+
/**
|
|
67
|
+
* If left empty, this will fall back to the default branch of the repository.
|
|
68
|
+
*/
|
|
69
|
+
branch?: pulumi.Input<string>;
|
|
70
|
+
createdAt?: pulumi.Input<string>;
|
|
71
|
+
name: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The notification setting for this service upon deployment failure.
|
|
74
|
+
*/
|
|
75
|
+
notifyOnFail?: pulumi.Input<enums.services.WebServiceServiceNotifyOnFail>;
|
|
76
|
+
/**
|
|
77
|
+
* The id of the owner (user/team).
|
|
78
|
+
*/
|
|
79
|
+
ownerId: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
82
|
+
*/
|
|
83
|
+
repo: pulumi.Input<string>;
|
|
84
|
+
serviceDetails?: pulumi.Input<inputs.services.WebServiceWebServiceServiceDetailsArgs>;
|
|
85
|
+
slug?: pulumi.Input<string>;
|
|
86
|
+
suspended?: pulumi.Input<enums.services.WebServiceServiceSuspended>;
|
|
87
|
+
suspenders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
88
|
+
type?: pulumi.Input<string>;
|
|
89
|
+
updatedAt?: pulumi.Input<string>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.WebService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const types_1 = require("../types");
|
|
8
|
+
const utilities = require("../utilities");
|
|
9
|
+
/**
|
|
10
|
+
* A web service
|
|
11
|
+
*/
|
|
12
|
+
class WebService extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Create a WebService resource with the given unique name, arguments, and options.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resource.
|
|
17
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
18
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
19
|
+
*/
|
|
20
|
+
constructor(name, args, opts) {
|
|
21
|
+
var _a, _b;
|
|
22
|
+
let resourceInputs = {};
|
|
23
|
+
opts = opts || {};
|
|
24
|
+
if (!opts.id) {
|
|
25
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
26
|
+
throw new Error("Missing required property 'name'");
|
|
27
|
+
}
|
|
28
|
+
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'ownerId'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.repo === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'repo'");
|
|
33
|
+
}
|
|
34
|
+
resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "no";
|
|
35
|
+
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
36
|
+
resourceInputs["createdAt"] = args ? args.createdAt : undefined;
|
|
37
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
38
|
+
resourceInputs["notifyOnFail"] = args ? args.notifyOnFail : undefined;
|
|
39
|
+
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
40
|
+
resourceInputs["repo"] = args ? args.repo : undefined;
|
|
41
|
+
resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(types_1.input.services.webServiceWebServiceServiceDetailsArgsProvideDefaults) : undefined) : undefined;
|
|
42
|
+
resourceInputs["slug"] = args ? args.slug : undefined;
|
|
43
|
+
resourceInputs["suspended"] = args ? args.suspended : undefined;
|
|
44
|
+
resourceInputs["suspenders"] = args ? args.suspenders : undefined;
|
|
45
|
+
resourceInputs["type"] = (_b = (args ? args.type : undefined)) !== null && _b !== void 0 ? _b : "web_service";
|
|
46
|
+
resourceInputs["updatedAt"] = args ? args.updatedAt : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
resourceInputs["autoDeploy"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["branch"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["repo"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["serviceDetails"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["slug"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["suspended"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["suspenders"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(WebService.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing WebService resource's state with the given name, ID, and optional extra
|
|
68
|
+
* properties used to qualify the lookup.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resulting resource.
|
|
71
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name, id, opts) {
|
|
75
|
+
return new WebService(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of WebService. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj) {
|
|
82
|
+
if (obj === undefined || obj === null) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return obj['__pulumiType'] === WebService.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.WebService = WebService;
|
|
89
|
+
/** @internal */
|
|
90
|
+
WebService.__pulumiType = 'render:services:WebService';
|
|
91
|
+
//# sourceMappingURL=webService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webService.js","sourceRoot":"","sources":["../../services/webService.ts"],"names":[],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GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AAzBL,gCA2GC;AA9FG,gBAAgB;AACO,uBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.services = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const services = require("./services");
|
|
8
|
+
exports.services = services;
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/enums/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,sBAAsB;AACtB,uCAAuC;AAGnC,4BAAQ"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const CustomDomainDomainType: {
|
|
2
|
+
readonly Apex: "apex";
|
|
3
|
+
readonly Subdomain: "subdomain";
|
|
4
|
+
};
|
|
5
|
+
export declare type CustomDomainDomainType = (typeof CustomDomainDomainType)[keyof typeof CustomDomainDomainType];
|
|
6
|
+
export declare const CustomDomainVerificationStatus: {
|
|
7
|
+
readonly Verified: "verified";
|
|
8
|
+
readonly Unverified: "unverified";
|
|
9
|
+
};
|
|
10
|
+
export declare type CustomDomainVerificationStatus = (typeof CustomDomainVerificationStatus)[keyof typeof CustomDomainVerificationStatus];
|
|
11
|
+
export declare const DeployClearCache: {
|
|
12
|
+
readonly DoNotClear: "do_not_clear";
|
|
13
|
+
readonly Clear: "clear";
|
|
14
|
+
};
|
|
15
|
+
export declare type DeployClearCache = (typeof DeployClearCache)[keyof typeof DeployClearCache];
|
|
16
|
+
export declare const StaticSiteServiceAutoDeploy: {
|
|
17
|
+
readonly Yes: "yes";
|
|
18
|
+
readonly No: "no";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Whether to auto deploy the service or not upon git push.
|
|
22
|
+
*/
|
|
23
|
+
export declare type StaticSiteServiceAutoDeploy = (typeof StaticSiteServiceAutoDeploy)[keyof typeof StaticSiteServiceAutoDeploy];
|
|
24
|
+
export declare const StaticSiteServiceNotifyOnFail: {
|
|
25
|
+
readonly Default: "default";
|
|
26
|
+
readonly Notify: "notify";
|
|
27
|
+
readonly Ignore: "ignore";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The notification setting for this service upon deployment failure.
|
|
31
|
+
*/
|
|
32
|
+
export declare type StaticSiteServiceNotifyOnFail = (typeof StaticSiteServiceNotifyOnFail)[keyof typeof StaticSiteServiceNotifyOnFail];
|
|
33
|
+
export declare const StaticSiteServiceSuspended: {
|
|
34
|
+
readonly Suspended: "suspended";
|
|
35
|
+
readonly NotSuspended: "not_suspended";
|
|
36
|
+
};
|
|
37
|
+
export declare type StaticSiteServiceSuspended = (typeof StaticSiteServiceSuspended)[keyof typeof StaticSiteServiceSuspended];
|
|
38
|
+
export declare const StaticSiteStaticSiteRouteType: {
|
|
39
|
+
readonly Redirect: "redirect";
|
|
40
|
+
readonly Rewrite: "rewrite";
|
|
41
|
+
};
|
|
42
|
+
export declare type StaticSiteStaticSiteRouteType = (typeof StaticSiteStaticSiteRouteType)[keyof typeof StaticSiteStaticSiteRouteType];
|
|
43
|
+
export declare const StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled: {
|
|
44
|
+
readonly Yes: "yes";
|
|
45
|
+
readonly No: "no";
|
|
46
|
+
};
|
|
47
|
+
export declare type StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled = (typeof StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled)[keyof typeof StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled];
|
|
48
|
+
export declare const WebServiceServiceAutoDeploy: {
|
|
49
|
+
readonly Yes: "yes";
|
|
50
|
+
readonly No: "no";
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Whether to auto deploy the service or not upon git push.
|
|
54
|
+
*/
|
|
55
|
+
export declare type WebServiceServiceAutoDeploy = (typeof WebServiceServiceAutoDeploy)[keyof typeof WebServiceServiceAutoDeploy];
|
|
56
|
+
export declare const WebServiceServiceNotifyOnFail: {
|
|
57
|
+
readonly Default: "default";
|
|
58
|
+
readonly Notify: "notify";
|
|
59
|
+
readonly Ignore: "ignore";
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The notification setting for this service upon deployment failure.
|
|
63
|
+
*/
|
|
64
|
+
export declare type WebServiceServiceNotifyOnFail = (typeof WebServiceServiceNotifyOnFail)[keyof typeof WebServiceServiceNotifyOnFail];
|
|
65
|
+
export declare const WebServiceServiceSuspended: {
|
|
66
|
+
readonly Suspended: "suspended";
|
|
67
|
+
readonly NotSuspended: "not_suspended";
|
|
68
|
+
};
|
|
69
|
+
export declare type WebServiceServiceSuspended = (typeof WebServiceServiceSuspended)[keyof typeof WebServiceServiceSuspended];
|
|
70
|
+
export declare const WebServiceWebServiceServiceDetailsEnv: {
|
|
71
|
+
readonly Docker: "docker";
|
|
72
|
+
readonly Elixir: "elixir";
|
|
73
|
+
readonly Go: "go";
|
|
74
|
+
readonly Node: "node";
|
|
75
|
+
readonly Python: "python";
|
|
76
|
+
readonly Ruby: "ruby";
|
|
77
|
+
readonly Rust: "rust";
|
|
78
|
+
};
|
|
79
|
+
export declare type WebServiceWebServiceServiceDetailsEnv = (typeof WebServiceWebServiceServiceDetailsEnv)[keyof typeof WebServiceWebServiceServiceDetailsEnv];
|
|
80
|
+
export declare const WebServiceWebServiceServiceDetailsPlan: {
|
|
81
|
+
readonly Starter: "starter";
|
|
82
|
+
readonly StarterPlus: "starter_plus";
|
|
83
|
+
readonly Standard: "standard";
|
|
84
|
+
readonly StandardPlus: "standard_plus";
|
|
85
|
+
readonly Pro: "pro";
|
|
86
|
+
readonly ProPlus: "pro_plus";
|
|
87
|
+
readonly ProMax: "pro_max";
|
|
88
|
+
readonly ProUltra: "pro_ultra";
|
|
89
|
+
};
|
|
90
|
+
export declare type WebServiceWebServiceServiceDetailsPlan = (typeof WebServiceWebServiceServiceDetailsPlan)[keyof typeof WebServiceWebServiceServiceDetailsPlan];
|
|
91
|
+
export declare const WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled: {
|
|
92
|
+
readonly Yes: "yes";
|
|
93
|
+
readonly No: "no";
|
|
94
|
+
};
|
|
95
|
+
export declare type WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled = (typeof WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled)[keyof typeof WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled];
|
|
96
|
+
export declare const WebServiceWebServiceServiceDetailsRegion: {
|
|
97
|
+
readonly Oregon: "oregon";
|
|
98
|
+
readonly Frankfurt: "frankfurt";
|
|
99
|
+
};
|
|
100
|
+
export declare type WebServiceWebServiceServiceDetailsRegion = (typeof WebServiceWebServiceServiceDetailsRegion)[keyof typeof WebServiceWebServiceServiceDetailsRegion];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.WebServiceWebServiceServiceDetailsRegion = exports.WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled = exports.WebServiceWebServiceServiceDetailsPlan = exports.WebServiceWebServiceServiceDetailsEnv = exports.WebServiceServiceSuspended = exports.WebServiceServiceNotifyOnFail = exports.WebServiceServiceAutoDeploy = exports.StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled = exports.StaticSiteStaticSiteRouteType = exports.StaticSiteServiceSuspended = exports.StaticSiteServiceNotifyOnFail = exports.StaticSiteServiceAutoDeploy = exports.DeployClearCache = exports.CustomDomainVerificationStatus = exports.CustomDomainDomainType = void 0;
|
|
6
|
+
exports.CustomDomainDomainType = {
|
|
7
|
+
Apex: "apex",
|
|
8
|
+
Subdomain: "subdomain",
|
|
9
|
+
};
|
|
10
|
+
exports.CustomDomainVerificationStatus = {
|
|
11
|
+
Verified: "verified",
|
|
12
|
+
Unverified: "unverified",
|
|
13
|
+
};
|
|
14
|
+
exports.DeployClearCache = {
|
|
15
|
+
DoNotClear: "do_not_clear",
|
|
16
|
+
Clear: "clear",
|
|
17
|
+
};
|
|
18
|
+
exports.StaticSiteServiceAutoDeploy = {
|
|
19
|
+
Yes: "yes",
|
|
20
|
+
No: "no",
|
|
21
|
+
};
|
|
22
|
+
exports.StaticSiteServiceNotifyOnFail = {
|
|
23
|
+
Default: "default",
|
|
24
|
+
Notify: "notify",
|
|
25
|
+
Ignore: "ignore",
|
|
26
|
+
};
|
|
27
|
+
exports.StaticSiteServiceSuspended = {
|
|
28
|
+
Suspended: "suspended",
|
|
29
|
+
NotSuspended: "not_suspended",
|
|
30
|
+
};
|
|
31
|
+
exports.StaticSiteStaticSiteRouteType = {
|
|
32
|
+
Redirect: "redirect",
|
|
33
|
+
Rewrite: "rewrite",
|
|
34
|
+
};
|
|
35
|
+
exports.StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled = {
|
|
36
|
+
Yes: "yes",
|
|
37
|
+
No: "no",
|
|
38
|
+
};
|
|
39
|
+
exports.WebServiceServiceAutoDeploy = {
|
|
40
|
+
Yes: "yes",
|
|
41
|
+
No: "no",
|
|
42
|
+
};
|
|
43
|
+
exports.WebServiceServiceNotifyOnFail = {
|
|
44
|
+
Default: "default",
|
|
45
|
+
Notify: "notify",
|
|
46
|
+
Ignore: "ignore",
|
|
47
|
+
};
|
|
48
|
+
exports.WebServiceServiceSuspended = {
|
|
49
|
+
Suspended: "suspended",
|
|
50
|
+
NotSuspended: "not_suspended",
|
|
51
|
+
};
|
|
52
|
+
exports.WebServiceWebServiceServiceDetailsEnv = {
|
|
53
|
+
Docker: "docker",
|
|
54
|
+
Elixir: "elixir",
|
|
55
|
+
Go: "go",
|
|
56
|
+
Node: "node",
|
|
57
|
+
Python: "python",
|
|
58
|
+
Ruby: "ruby",
|
|
59
|
+
Rust: "rust",
|
|
60
|
+
};
|
|
61
|
+
exports.WebServiceWebServiceServiceDetailsPlan = {
|
|
62
|
+
Starter: "starter",
|
|
63
|
+
StarterPlus: "starter_plus",
|
|
64
|
+
Standard: "standard",
|
|
65
|
+
StandardPlus: "standard_plus",
|
|
66
|
+
Pro: "pro",
|
|
67
|
+
ProPlus: "pro_plus",
|
|
68
|
+
ProMax: "pro_max",
|
|
69
|
+
ProUltra: "pro_ultra",
|
|
70
|
+
};
|
|
71
|
+
exports.WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled = {
|
|
72
|
+
Yes: "yes",
|
|
73
|
+
No: "no",
|
|
74
|
+
};
|
|
75
|
+
exports.WebServiceWebServiceServiceDetailsRegion = {
|
|
76
|
+
Oregon: "oregon",
|
|
77
|
+
Frankfurt: "frankfurt",
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/services/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAGpE,QAAA,sBAAsB,GAAG;IAClC,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CAChB,CAAC;AAIE,QAAA,8BAA8B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;CAClB,CAAC;AAIE,QAAA,gBAAgB,GAAG;IAC5B,UAAU,EAAE,cAAc;IAC1B,KAAK,EAAE,OAAO;CACR,CAAC;AAIE,QAAA,2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,IAAI;CACF,CAAC;AAIE,QAAA,wCAAwC,GAAG;IACpD,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CAChB,CAAC"}
|
package/types/index.d.ts
ADDED
package/types/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = exports.enums = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const enums = require("./enums");
|
|
8
|
+
exports.enums = enums;
|
|
9
|
+
const input = require("./input");
|
|
10
|
+
exports.input = input;
|
|
11
|
+
const output = require("./output");
|
|
12
|
+
exports.output = output;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAK7B,sBAAK;AAJT,iCAAiC;AAK7B,sBAAK;AAJT,mCAAmC;AAK/B,wBAAM"}
|
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, enums } from "../types";
|
|
3
|
+
export declare namespace services {
|
|
4
|
+
interface ServerPropertiesArgs {
|
|
5
|
+
id?: pulumi.Input<string>;
|
|
6
|
+
name?: pulumi.Input<string>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A service header object
|
|
10
|
+
*/
|
|
11
|
+
interface StaticSiteServiceHeaderArgs {
|
|
12
|
+
name: pulumi.Input<string>;
|
|
13
|
+
path: pulumi.Input<string>;
|
|
14
|
+
value: pulumi.Input<string>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A route object for a static site
|
|
18
|
+
*/
|
|
19
|
+
interface StaticSiteStaticSiteRouteArgs {
|
|
20
|
+
destination: pulumi.Input<string>;
|
|
21
|
+
source: pulumi.Input<string>;
|
|
22
|
+
type: pulumi.Input<enums.services.StaticSiteStaticSiteRouteType>;
|
|
23
|
+
}
|
|
24
|
+
interface StaticSiteStaticSiteServiceDetailsArgs {
|
|
25
|
+
buildCommand?: pulumi.Input<string>;
|
|
26
|
+
headers?: pulumi.Input<pulumi.Input<inputs.services.StaticSiteServiceHeaderArgs>[]>;
|
|
27
|
+
parentServer?: pulumi.Input<inputs.services.StaticSiteStaticSiteServiceDetailsParentServerPropertiesArgs>;
|
|
28
|
+
publishPath?: pulumi.Input<string>;
|
|
29
|
+
pullRequestPreviewsEnabled?: pulumi.Input<enums.services.StaticSiteStaticSiteServiceDetailsPullRequestPreviewsEnabled>;
|
|
30
|
+
routes?: pulumi.Input<pulumi.Input<inputs.services.StaticSiteStaticSiteRouteArgs>[]>;
|
|
31
|
+
/**
|
|
32
|
+
* The HTTPS service URL. A subdomain of onrender.com, by default.
|
|
33
|
+
*/
|
|
34
|
+
url?: pulumi.Input<string>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* staticSiteStaticSiteServiceDetailsArgsProvideDefaults sets the appropriate defaults for StaticSiteStaticSiteServiceDetailsArgs
|
|
38
|
+
*/
|
|
39
|
+
function staticSiteStaticSiteServiceDetailsArgsProvideDefaults(val: StaticSiteStaticSiteServiceDetailsArgs): StaticSiteStaticSiteServiceDetailsArgs;
|
|
40
|
+
interface StaticSiteStaticSiteServiceDetailsParentServerPropertiesArgs {
|
|
41
|
+
id?: pulumi.Input<string>;
|
|
42
|
+
name?: pulumi.Input<string>;
|
|
43
|
+
}
|
|
44
|
+
interface WebServiceDiskArgs {
|
|
45
|
+
mountPath: pulumi.Input<string>;
|
|
46
|
+
name: pulumi.Input<string>;
|
|
47
|
+
sizeGB?: pulumi.Input<number>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* webServiceDiskArgsProvideDefaults sets the appropriate defaults for WebServiceDiskArgs
|
|
51
|
+
*/
|
|
52
|
+
function webServiceDiskArgsProvideDefaults(val: WebServiceDiskArgs): WebServiceDiskArgs;
|
|
53
|
+
interface WebServiceDockerDetailsArgs {
|
|
54
|
+
dockerCommand?: pulumi.Input<string>;
|
|
55
|
+
dockerContext?: pulumi.Input<string>;
|
|
56
|
+
dockerfilePath?: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* webServiceDockerDetailsArgsProvideDefaults sets the appropriate defaults for WebServiceDockerDetailsArgs
|
|
60
|
+
*/
|
|
61
|
+
function webServiceDockerDetailsArgsProvideDefaults(val: WebServiceDockerDetailsArgs): WebServiceDockerDetailsArgs;
|
|
62
|
+
interface WebServiceNativeEnvironmentDetailsArgs {
|
|
63
|
+
buildCommand: pulumi.Input<string>;
|
|
64
|
+
startCommand: pulumi.Input<string>;
|
|
65
|
+
}
|
|
66
|
+
interface WebServiceWebServiceServiceDetailsArgs {
|
|
67
|
+
disk?: pulumi.Input<inputs.services.WebServiceDiskArgs>;
|
|
68
|
+
env: pulumi.Input<enums.services.WebServiceWebServiceServiceDetailsEnv>;
|
|
69
|
+
envSpecificDetails?: pulumi.Input<inputs.services.WebServiceDockerDetailsArgs | inputs.services.WebServiceNativeEnvironmentDetailsArgs>;
|
|
70
|
+
healthCheckPath?: pulumi.Input<string>;
|
|
71
|
+
numInstances?: pulumi.Input<number>;
|
|
72
|
+
plan?: pulumi.Input<enums.services.WebServiceWebServiceServiceDetailsPlan>;
|
|
73
|
+
pullRequestPreviewsEnabled?: pulumi.Input<enums.services.WebServiceWebServiceServiceDetailsPullRequestPreviewsEnabled>;
|
|
74
|
+
region?: pulumi.Input<enums.services.WebServiceWebServiceServiceDetailsRegion>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* webServiceWebServiceServiceDetailsArgsProvideDefaults sets the appropriate defaults for WebServiceWebServiceServiceDetailsArgs
|
|
78
|
+
*/
|
|
79
|
+
function webServiceWebServiceServiceDetailsArgsProvideDefaults(val: WebServiceWebServiceServiceDetailsArgs): WebServiceWebServiceServiceDetailsArgs;
|
|
80
|
+
}
|
package/types/input.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.services = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const types_1 = require("../types");
|
|
8
|
+
var services;
|
|
9
|
+
(function (services) {
|
|
10
|
+
/**
|
|
11
|
+
* staticSiteStaticSiteServiceDetailsArgsProvideDefaults sets the appropriate defaults for StaticSiteStaticSiteServiceDetailsArgs
|
|
12
|
+
*/
|
|
13
|
+
function staticSiteStaticSiteServiceDetailsArgsProvideDefaults(val) {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
return Object.assign(Object.assign({}, val), { publishPath: (_a = (val.publishPath)) !== null && _a !== void 0 ? _a : "public", pullRequestPreviewsEnabled: (_b = (val.pullRequestPreviewsEnabled)) !== null && _b !== void 0 ? _b : "no" });
|
|
16
|
+
}
|
|
17
|
+
services.staticSiteStaticSiteServiceDetailsArgsProvideDefaults = staticSiteStaticSiteServiceDetailsArgsProvideDefaults;
|
|
18
|
+
/**
|
|
19
|
+
* webServiceDiskArgsProvideDefaults sets the appropriate defaults for WebServiceDiskArgs
|
|
20
|
+
*/
|
|
21
|
+
function webServiceDiskArgsProvideDefaults(val) {
|
|
22
|
+
var _a;
|
|
23
|
+
return Object.assign(Object.assign({}, val), { sizeGB: (_a = (val.sizeGB)) !== null && _a !== void 0 ? _a : 1 });
|
|
24
|
+
}
|
|
25
|
+
services.webServiceDiskArgsProvideDefaults = webServiceDiskArgsProvideDefaults;
|
|
26
|
+
/**
|
|
27
|
+
* webServiceDockerDetailsArgsProvideDefaults sets the appropriate defaults for WebServiceDockerDetailsArgs
|
|
28
|
+
*/
|
|
29
|
+
function webServiceDockerDetailsArgsProvideDefaults(val) {
|
|
30
|
+
var _a;
|
|
31
|
+
return Object.assign(Object.assign({}, val), { dockerfilePath: (_a = (val.dockerfilePath)) !== null && _a !== void 0 ? _a : "./Dockerfile" });
|
|
32
|
+
}
|
|
33
|
+
services.webServiceDockerDetailsArgsProvideDefaults = webServiceDockerDetailsArgsProvideDefaults;
|
|
34
|
+
/**
|
|
35
|
+
* webServiceWebServiceServiceDetailsArgsProvideDefaults sets the appropriate defaults for WebServiceWebServiceServiceDetailsArgs
|
|
36
|
+
*/
|
|
37
|
+
function webServiceWebServiceServiceDetailsArgsProvideDefaults(val) {
|
|
38
|
+
var _a, _b, _c, _d;
|
|
39
|
+
return Object.assign(Object.assign({}, val), { disk: (val.disk ? pulumi.output(val.disk).apply(types_1.input.services.webServiceDiskArgsProvideDefaults) : undefined), numInstances: (_a = (val.numInstances)) !== null && _a !== void 0 ? _a : 1, plan: (_b = (val.plan)) !== null && _b !== void 0 ? _b : "starter", pullRequestPreviewsEnabled: (_c = (val.pullRequestPreviewsEnabled)) !== null && _c !== void 0 ? _c : "no", region: (_d = (val.region)) !== null && _d !== void 0 ? _d : "oregon" });
|
|
40
|
+
}
|
|
41
|
+
services.webServiceWebServiceServiceDetailsArgsProvideDefaults = webServiceWebServiceServiceDetailsArgsProvideDefaults;
|
|
42
|
+
})(services = exports.services || (exports.services = {}));
|
|
43
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,oCAAqE;AAIrE,IAAiB,QAAQ,CA8GxB;AA9GD,WAAiB,QAAQ;IAoCrB;;OAEG;IACH,SAAgB,qDA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