@cloudyskysoftware/pulumi-render 0.0.33 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/owners/getOwner.d.ts +19 -0
- package/owners/getOwner.js +22 -0
- package/owners/getOwner.js.map +1 -0
- package/owners/index.d.ts +3 -0
- package/owners/index.js +24 -0
- package/owners/index.js.map +1 -0
- package/owners/listOwners.d.ts +8 -0
- package/owners/listOwners.js +17 -0
- package/owners/listOwners.js.map +1 -0
- package/package.json +3 -3
- package/services/backgroundWorker.d.ts +90 -0
- package/services/backgroundWorker.js +91 -0
- package/services/backgroundWorker.js.map +1 -0
- package/services/cronJob.d.ts +90 -0
- package/services/cronJob.js +91 -0
- package/services/cronJob.js.map +1 -0
- package/services/customDomain.d.ts +6 -2
- package/services/customDomain.js +1 -0
- package/services/customDomain.js.map +1 -1
- package/services/deploy.d.ts +7 -3
- package/services/deploy.js +1 -0
- package/services/deploy.js.map +1 -1
- package/services/getBackgroundWorker.d.ts +19 -0
- package/services/getBackgroundWorker.js +22 -0
- package/services/getBackgroundWorker.js.map +1 -0
- package/services/getCronJob.d.ts +19 -0
- package/services/getCronJob.js +22 -0
- package/services/getCronJob.js.map +1 -0
- package/services/getCustomDomain.d.ts +27 -0
- package/services/getCustomDomain.js +23 -0
- package/services/getCustomDomain.js.map +1 -0
- package/services/getDeploy.d.ts +27 -0
- package/services/getDeploy.js +23 -0
- package/services/getDeploy.js.map +1 -0
- package/services/getPrivateService.d.ts +19 -0
- package/services/getPrivateService.js +22 -0
- package/services/getPrivateService.js.map +1 -0
- package/services/getStaticSite.d.ts +19 -0
- package/services/getStaticSite.js +22 -0
- package/services/getStaticSite.js.map +1 -0
- package/services/getWebService.d.ts +19 -0
- package/services/getWebService.js +22 -0
- package/services/getWebService.js.map +1 -0
- package/services/index.d.ts +16 -0
- package/services/index.js +25 -0
- package/services/index.js.map +1 -1
- package/services/listCustomDomains.d.ts +19 -0
- package/services/listCustomDomains.js +22 -0
- package/services/listCustomDomains.js.map +1 -0
- package/services/listDeploys.d.ts +19 -0
- package/services/listDeploys.js +22 -0
- package/services/listDeploys.js.map +1 -0
- package/services/listEnvVars.d.ts +19 -0
- package/services/listEnvVars.js +22 -0
- package/services/listEnvVars.js.map +1 -0
- package/services/listServiceHeaders.d.ts +19 -0
- package/services/listServiceHeaders.js +22 -0
- package/services/listServiceHeaders.js.map +1 -0
- package/services/listServices.d.ts +8 -0
- package/services/listServices.js +17 -0
- package/services/listServices.js.map +1 -0
- package/services/listStaticSiteRoutes.d.ts +19 -0
- package/services/listStaticSiteRoutes.js +22 -0
- package/services/listStaticSiteRoutes.js.map +1 -0
- package/services/privateService.d.ts +90 -0
- package/services/privateService.js +91 -0
- package/services/privateService.js.map +1 -0
- package/services/scale.d.ts +4 -0
- package/services/scale.js +1 -0
- package/services/scale.js.map +1 -1
- package/services/staticSite.d.ts +8 -8
- package/services/staticSite.js +1 -1
- package/services/staticSite.js.map +1 -1
- package/services/suspend.d.ts +4 -0
- package/services/suspend.js +1 -0
- package/services/suspend.js.map +1 -1
- package/services/webService.d.ts +8 -8
- package/services/webService.js +1 -1
- package/services/webService.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/owners/index.d.ts +8 -0
- package/types/enums/owners/index.js +10 -0
- package/types/enums/owners/index.js.map +1 -0
- package/types/enums/services/index.d.ts +125 -39
- package/types/enums/services/index.js +102 -22
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +106 -42
- package/types/input.js +38 -14
- package/types/input.js.map +1 -1
- package/types/output.d.ts +559 -38
- package/types/output.js +133 -14
- package/types/output.js.map +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.types = exports.services = exports.config = void 0;
|
|
19
|
+
exports.types = exports.services = exports.owners = exports.config = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
// Export members:
|
|
@@ -24,6 +24,8 @@ __exportStar(require("./provider"), exports);
|
|
|
24
24
|
// Export sub-modules:
|
|
25
25
|
const config = require("./config");
|
|
26
26
|
exports.config = config;
|
|
27
|
+
const owners = require("./owners");
|
|
28
|
+
exports.owners = owners;
|
|
27
29
|
const services = require("./services");
|
|
28
30
|
exports.services = services;
|
|
29
31
|
const types = require("./types");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAE3B,sBAAsB;AACtB,mCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAE3B,sBAAsB;AACtB,mCAAmC;AAM/B,wBAAM;AALV,mCAAmC;AAM/B,wBAAM;AALV,uCAAuC;AAMnC,4BAAQ;AALZ,iCAAiC;AAM7B,sBAAK;AAGT,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
export declare function getOwner(args: GetOwnerArgs, opts?: pulumi.InvokeOptions): Promise<GetOwnerResult>;
|
|
4
|
+
export interface GetOwnerArgs {
|
|
5
|
+
/**
|
|
6
|
+
* (Required) The ID of the user or team
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetOwnerResult {
|
|
11
|
+
readonly items: outputs.owners.Owner;
|
|
12
|
+
}
|
|
13
|
+
export declare function getOwnerOutput(args: GetOwnerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOwnerResult>;
|
|
14
|
+
export interface GetOwnerOutputArgs {
|
|
15
|
+
/**
|
|
16
|
+
* (Required) The ID of the user or team
|
|
17
|
+
*/
|
|
18
|
+
id: pulumi.Input<string>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.getOwnerOutput = exports.getOwner = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getOwner(args, opts) {
|
|
9
|
+
if (!opts) {
|
|
10
|
+
opts = {};
|
|
11
|
+
}
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
13
|
+
return pulumi.runtime.invoke("render:owners:getOwner", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getOwner = getOwner;
|
|
18
|
+
function getOwnerOutput(args, opts) {
|
|
19
|
+
return pulumi.output(args).apply(a => getOwner(a, opts));
|
|
20
|
+
}
|
|
21
|
+
exports.getOwnerOutput = getOwnerOutput;
|
|
22
|
+
//# sourceMappingURL=getOwner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOwner.js","sourceRoot":"","sources":["../../owners/getOwner.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAaD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/owners/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./getOwner"), exports);
|
|
21
|
+
__exportStar(require("./listOwners"), exports);
|
|
22
|
+
// Export enums:
|
|
23
|
+
__exportStar(require("../types/enums/owners"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../owners/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,6CAA2B;AAC3B,+CAA6B;AAE7B,gBAAgB;AAChB,wDAAsC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
export declare function listOwners(args?: ListOwnersArgs, opts?: pulumi.InvokeOptions): Promise<ListOwnersResult>;
|
|
4
|
+
export interface ListOwnersArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListOwnersResult {
|
|
7
|
+
readonly items: outputs.owners.ListOwnersResponse[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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.listOwners = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listOwners(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
if (!opts) {
|
|
11
|
+
opts = {};
|
|
12
|
+
}
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
14
|
+
return pulumi.runtime.invoke("render:owners:listOwners", {}, opts);
|
|
15
|
+
}
|
|
16
|
+
exports.listOwners = listOwners;
|
|
17
|
+
//# sourceMappingURL=listOwners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOwners.js","sourceRoot":"","sources":["../../owners/listOwners.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,EACxD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudyskysoftware/pulumi-render",
|
|
3
|
-
"version": "v0.0.
|
|
3
|
+
"version": "v0.0.36",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"render",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource render v0.0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource render v0.0.36"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"pulumi": {
|
|
34
34
|
"resource": true,
|
|
35
35
|
"name": "render",
|
|
36
|
-
"server": "https://github.com/cloudy-sky-software/pulumi-render/releases/download/v0.0.
|
|
36
|
+
"server": "https://github.com/cloudy-sky-software/pulumi-render/releases/download/v0.0.36"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -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 background worker service
|
|
5
|
+
*/
|
|
6
|
+
export declare class BackgroundWorker extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing BackgroundWorker 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): BackgroundWorker;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of BackgroundWorker. 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 BackgroundWorker;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to auto deploy the service or not upon git push.
|
|
23
|
+
*/
|
|
24
|
+
readonly autoDeploy: pulumi.Output<enums.services.ServiceAutoDeploy | 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.ServiceNotifyOnFail | 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.BackgroundWorkerServiceDetails | undefined>;
|
|
44
|
+
readonly slug: pulumi.Output<string | undefined>;
|
|
45
|
+
readonly suspended: pulumi.Output<enums.services.ServiceSuspended | 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 BackgroundWorker 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: BackgroundWorkerArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a BackgroundWorker resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface BackgroundWorkerArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Whether to auto deploy the service or not upon git push.
|
|
64
|
+
*/
|
|
65
|
+
autoDeploy?: pulumi.Input<enums.services.ServiceAutoDeploy>;
|
|
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.ServiceNotifyOnFail>;
|
|
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.BackgroundWorkerServiceDetailsArgs>;
|
|
85
|
+
slug?: pulumi.Input<string>;
|
|
86
|
+
suspended?: pulumi.Input<enums.services.ServiceSuspended>;
|
|
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.BackgroundWorker = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const types_1 = require("../types");
|
|
8
|
+
const utilities = require("../utilities");
|
|
9
|
+
/**
|
|
10
|
+
* A background worker service
|
|
11
|
+
*/
|
|
12
|
+
class BackgroundWorker extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Create a BackgroundWorker 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.backgroundWorkerServiceDetailsArgsProvideDefaults) : 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 : "background_worker";
|
|
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(BackgroundWorker.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing BackgroundWorker 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 BackgroundWorker(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of BackgroundWorker. 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'] === BackgroundWorker.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.BackgroundWorker = BackgroundWorker;
|
|
89
|
+
/** @internal */
|
|
90
|
+
BackgroundWorker.__pulumiType = 'render:services:BackgroundWorker';
|
|
91
|
+
//# sourceMappingURL=backgroundWorker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backgroundWorker.js","sourceRoot":"","sources":["../../services/backgroundWorker.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,oCAAqE;AACrE,0CAA0C;AAE1C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAwDvD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD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,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAzGD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AAzBL,4CA2GC;AA9FG,gBAAgB;AACO,6BAAY,GAAG,kCAAkC,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 cron job
|
|
5
|
+
*/
|
|
6
|
+
export declare class CronJob extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing CronJob 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): CronJob;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of CronJob. 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 CronJob;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to auto deploy the service or not upon git push.
|
|
23
|
+
*/
|
|
24
|
+
readonly autoDeploy: pulumi.Output<enums.services.ServiceAutoDeploy | 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.ServiceNotifyOnFail | 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.CronJobServiceDetails | undefined>;
|
|
44
|
+
readonly slug: pulumi.Output<string | undefined>;
|
|
45
|
+
readonly suspended: pulumi.Output<enums.services.ServiceSuspended | 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 CronJob 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: CronJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a CronJob resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface CronJobArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Whether to auto deploy the service or not upon git push.
|
|
64
|
+
*/
|
|
65
|
+
autoDeploy?: pulumi.Input<enums.services.ServiceAutoDeploy>;
|
|
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.ServiceNotifyOnFail>;
|
|
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.CronJobServiceDetailsArgs>;
|
|
85
|
+
slug?: pulumi.Input<string>;
|
|
86
|
+
suspended?: pulumi.Input<enums.services.ServiceSuspended>;
|
|
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.CronJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const types_1 = require("../types");
|
|
8
|
+
const utilities = require("../utilities");
|
|
9
|
+
/**
|
|
10
|
+
* A cron job
|
|
11
|
+
*/
|
|
12
|
+
class CronJob extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Create a CronJob 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.cronJobServiceDetailsArgsProvideDefaults) : 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 : "cron_job";
|
|
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(CronJob.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing CronJob 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 CronJob(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of CronJob. 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'] === CronJob.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.CronJob = CronJob;
|
|
89
|
+
/** @internal */
|
|
90
|
+
CronJob.__pulumiType = 'render:services:CronJob';
|
|
91
|
+
//# sourceMappingURL=cronJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cronJob.js","sourceRoot":"","sources":["../../services/cronJob.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,oCAAqE;AACrE,0CAA0C;AAE1C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAwD9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,CAAC,CAA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C,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;IAzGD;;;;;;;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,0BA2GC;AA9FG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -16,12 +16,12 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
16
16
|
*/
|
|
17
17
|
static isInstance(obj: any): obj is CustomDomain;
|
|
18
18
|
readonly createdAt: pulumi.Output<string | undefined>;
|
|
19
|
-
readonly domainType: pulumi.Output<enums.services.
|
|
19
|
+
readonly domainType: pulumi.Output<enums.services.DomainType>;
|
|
20
20
|
readonly name: pulumi.Output<string>;
|
|
21
21
|
readonly publicSuffix: pulumi.Output<string | undefined>;
|
|
22
22
|
readonly redirectForName: pulumi.Output<string>;
|
|
23
23
|
readonly server: pulumi.Output<outputs.services.ServerProperties>;
|
|
24
|
-
readonly verificationStatus: pulumi.Output<enums.services.
|
|
24
|
+
readonly verificationStatus: pulumi.Output<enums.services.VerificationStatus>;
|
|
25
25
|
/**
|
|
26
26
|
* Create a CustomDomain resource with the given unique name, arguments, and options.
|
|
27
27
|
*
|
|
@@ -35,6 +35,10 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
35
35
|
* The set of arguments for constructing a CustomDomain resource.
|
|
36
36
|
*/
|
|
37
37
|
export interface CustomDomainArgs {
|
|
38
|
+
/**
|
|
39
|
+
* (Required) The ID of the service
|
|
40
|
+
*/
|
|
41
|
+
id?: pulumi.Input<string>;
|
|
38
42
|
name: pulumi.Input<string>;
|
|
39
43
|
server: pulumi.Input<inputs.services.ServerPropertiesArgs>;
|
|
40
44
|
}
|
package/services/customDomain.js
CHANGED
|
@@ -23,6 +23,7 @@ class CustomDomain extends pulumi.CustomResource {
|
|
|
23
23
|
if ((!args || args.server === undefined) && !opts.urn) {
|
|
24
24
|
throw new Error("Missing required property 'server'");
|
|
25
25
|
}
|
|
26
|
+
resourceInputs["id"] = args ? args.id : undefined;
|
|
26
27
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
27
28
|
resourceInputs["server"] = args ? args.server : undefined;
|
|
28
29
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../../services/customDomain.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAmCnD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,IAAI,cAAc,GAAkB,EAAE,CAAC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AE,EAAE,EAAE,IAAG,CAAC;IACzE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AAzBL,oCAwEC;AA3DG,gBAAgB;AACO,yBAAY,GAAG,8BAA8B,CAAC"}
|
package/services/deploy.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ export declare class Deploy extends pulumi.CustomResource {
|
|
|
15
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
16
|
*/
|
|
17
17
|
static isInstance(obj: any): obj is Deploy;
|
|
18
|
-
readonly clearCache: pulumi.Output<enums.services.
|
|
19
|
-
readonly commit: pulumi.Output<outputs.services.
|
|
18
|
+
readonly clearCache: pulumi.Output<enums.services.ClearCache | undefined>;
|
|
19
|
+
readonly commit: pulumi.Output<outputs.services.Commit | undefined>;
|
|
20
20
|
/**
|
|
21
21
|
* Create a Deploy resource with the given unique name, arguments, and options.
|
|
22
22
|
*
|
|
@@ -30,5 +30,9 @@ export declare class Deploy extends pulumi.CustomResource {
|
|
|
30
30
|
* The set of arguments for constructing a Deploy resource.
|
|
31
31
|
*/
|
|
32
32
|
export interface DeployArgs {
|
|
33
|
-
clearCache?: pulumi.Input<enums.services.
|
|
33
|
+
clearCache?: pulumi.Input<enums.services.ClearCache>;
|
|
34
|
+
/**
|
|
35
|
+
* (Required) The ID of the service
|
|
36
|
+
*/
|
|
37
|
+
id?: pulumi.Input<string>;
|
|
34
38
|
}
|
package/services/deploy.js
CHANGED
|
@@ -19,6 +19,7 @@ class Deploy extends pulumi.CustomResource {
|
|
|
19
19
|
opts = opts || {};
|
|
20
20
|
if (!opts.id) {
|
|
21
21
|
resourceInputs["clearCache"] = (_a = (args ? args.clearCache : undefined)) !== null && _a !== void 0 ? _a : "do_not_clear";
|
|
22
|
+
resourceInputs["id"] = args ? args.id : undefined;
|
|
22
23
|
resourceInputs["commit"] = undefined /*out*/;
|
|
23
24
|
}
|
|
24
25
|
else {
|