@cloudyskysoftware/pulumi-render 0.0.47 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -181
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/index.d.ts +3 -2
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/owners/getOwner.d.ts +4 -4
- package/owners/getOwner.js +3 -6
- package/owners/getOwner.js.map +1 -1
- package/owners/index.d.ts +1 -0
- package/owners/index.js +3 -2
- package/owners/index.js.map +1 -1
- package/owners/listOwners.d.ts +2 -1
- package/owners/listOwners.js +6 -5
- package/owners/listOwners.js.map +1 -1
- package/package.json +4 -14
- package/package.json.bak +28 -0
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/registrycredentials/getRegistryCredential.d.ts +19 -0
- package/registrycredentials/getRegistryCredential.js +19 -0
- package/registrycredentials/getRegistryCredential.js.map +1 -0
- package/registrycredentials/index.d.ts +10 -0
- package/registrycredentials/index.js +44 -0
- package/registrycredentials/index.js.map +1 -0
- package/registrycredentials/listRegistryCredentials.d.ts +9 -0
- package/registrycredentials/listRegistryCredentials.js +18 -0
- package/registrycredentials/listRegistryCredentials.js.map +1 -0
- package/registrycredentials/registryCredential.d.ts +50 -0
- package/registrycredentials/registryCredential.js +73 -0
- package/registrycredentials/registryCredential.js.map +1 -0
- package/services/autoscaleService.d.ts +56 -0
- package/services/autoscaleService.js +74 -0
- package/services/autoscaleService.js.map +1 -0
- package/services/backgroundWorker.d.ts +16 -39
- package/services/backgroundWorker.js +37 -35
- package/services/backgroundWorker.js.map +1 -1
- package/services/cancelDeploy.d.ts +50 -0
- package/services/cancelDeploy.js +67 -0
- package/services/cancelDeploy.js.map +1 -0
- package/services/cancelJob.d.ts +45 -0
- package/services/cancelJob.js +66 -0
- package/services/cancelJob.js.map +1 -0
- package/services/cronJob.d.ts +16 -39
- package/services/cronJob.js +37 -36
- package/services/cronJob.js.map +1 -1
- package/services/customDomain.d.ts +1 -9
- package/services/customDomain.js +20 -32
- package/services/customDomain.js.map +1 -1
- package/services/deploy.d.ts +33 -2
- package/services/deploy.js +37 -21
- package/services/deploy.js.map +1 -1
- package/services/{envVar.d.ts → envVarsForService.d.ts} +12 -12
- package/services/{envVar.js → envVarsForService.js} +28 -28
- package/services/envVarsForService.js.map +1 -0
- package/services/getBackgroundWorker.d.ts +4 -4
- package/services/getBackgroundWorker.js +3 -6
- package/services/getBackgroundWorker.js.map +1 -1
- package/services/getCronJob.d.ts +4 -4
- package/services/getCronJob.js +3 -6
- package/services/getCronJob.js.map +1 -1
- package/services/getCustomDomain.d.ts +6 -6
- package/services/getCustomDomain.js +3 -6
- package/services/getCustomDomain.js.map +1 -1
- package/services/getDeploy.d.ts +6 -6
- package/services/getDeploy.js +3 -6
- package/services/getDeploy.js.map +1 -1
- package/services/getJob.d.ts +6 -6
- package/services/getJob.js +3 -6
- package/services/getJob.js.map +1 -1
- package/services/getPrivateService.d.ts +4 -4
- package/services/getPrivateService.js +3 -6
- package/services/getPrivateService.js.map +1 -1
- package/services/getStaticSite.d.ts +4 -4
- package/services/getStaticSite.js +3 -6
- package/services/getStaticSite.js.map +1 -1
- package/services/getWebService.d.ts +4 -4
- package/services/getWebService.js +3 -6
- package/services/getWebService.js.map +1 -1
- package/services/index.d.ts +51 -29
- package/services/index.js +55 -26
- package/services/index.js.map +1 -1
- package/services/job.d.ts +4 -3
- package/services/job.js +22 -24
- package/services/job.js.map +1 -1
- package/services/listCustomDomains.d.ts +3 -3
- package/services/listCustomDomains.js +2 -5
- package/services/listCustomDomains.js.map +1 -1
- package/services/listDeploys.d.ts +3 -3
- package/services/listDeploys.js +2 -5
- package/services/listDeploys.js.map +1 -1
- package/services/listEnvVarsForService.d.ts +19 -0
- package/services/listEnvVarsForService.js +19 -0
- package/services/listEnvVarsForService.js.map +1 -0
- package/services/listJob.d.ts +19 -0
- package/services/{listJobs.js → listJob.js} +9 -12
- package/services/listJob.js.map +1 -0
- package/services/listRetrieveHeaders.d.ts +19 -0
- package/services/listRetrieveHeaders.js +19 -0
- package/services/listRetrieveHeaders.js.map +1 -0
- package/services/listRetrieveRoutes.d.ts +19 -0
- package/services/listRetrieveRoutes.js +19 -0
- package/services/listRetrieveRoutes.js.map +1 -0
- package/services/listServices.d.ts +2 -1
- package/services/listServices.js +6 -5
- package/services/listServices.js.map +1 -1
- package/services/previewService.d.ts +62 -0
- package/services/previewService.js +65 -0
- package/services/previewService.js.map +1 -0
- package/services/privateService.d.ts +16 -39
- package/services/privateService.js +37 -35
- package/services/privateService.js.map +1 -1
- package/services/refreshCustomDomain.d.ts +38 -0
- package/services/refreshCustomDomain.js +53 -0
- package/services/refreshCustomDomain.js.map +1 -0
- package/services/restartServer.d.ts +34 -0
- package/services/restartServer.js +52 -0
- package/services/restartServer.js.map +1 -0
- package/services/rollbackDeploy.d.ts +54 -0
- package/services/rollbackDeploy.js +71 -0
- package/services/rollbackDeploy.js.map +1 -0
- package/services/{scale.d.ts → scaleService.d.ts} +10 -10
- package/services/{scale.js → scaleService.js} +28 -28
- package/services/scaleService.js.map +1 -0
- package/services/staticSite.d.ts +16 -38
- package/services/staticSite.js +37 -34
- package/services/staticSite.js.map +1 -1
- package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
- package/services/{suspend.js → suspendService.js} +27 -27
- package/services/suspendService.js.map +1 -0
- package/services/webService.d.ts +16 -39
- package/services/webService.js +37 -35
- package/services/webService.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/owners/index.d.ts +1 -4
- package/types/enums/registrycredentials/index.d.ts +15 -0
- package/types/enums/registrycredentials/index.js +16 -0
- package/types/enums/registrycredentials/index.js.map +1 -0
- package/types/enums/services/index.d.ts +335 -69
- package/types/enums/services/index.js +230 -38
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +174 -90
- package/types/input.js +29 -30
- package/types/input.js.map +1 -1
- package/types/output.d.ts +428 -443
- package/types/output.js +59 -78
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -26
- package/services/envVar.js.map +0 -1
- package/services/listEnvVars.d.ts +0 -19
- package/services/listEnvVars.js +0 -22
- package/services/listEnvVars.js.map +0 -1
- package/services/listJobs.d.ts +0 -19
- package/services/listJobs.js.map +0 -1
- package/services/listServiceHeaders.d.ts +0 -19
- package/services/listServiceHeaders.js +0 -22
- package/services/listServiceHeaders.js.map +0 -1
- package/services/listStaticSiteRoutes.d.ts +0 -19
- package/services/listStaticSiteRoutes.js +0 -22
- package/services/listStaticSiteRoutes.js.map +0 -1
- package/services/scale.js.map +0 -1
- package/services/suspend.js.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
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.listRegistryCredentialsOutput = exports.listRegistryCredentials = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listRegistryCredentials(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:registrycredentials:listRegistryCredentials", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listRegistryCredentials = listRegistryCredentials;
|
|
14
|
+
function listRegistryCredentialsOutput(opts) {
|
|
15
|
+
return pulumi.output(listRegistryCredentials(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listRegistryCredentialsOutput = listRegistryCredentialsOutput;
|
|
18
|
+
//# sourceMappingURL=listRegistryCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listRegistryCredentials.js","sourceRoot":"","sources":["../../registrycredentials/listRegistryCredentials.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAQD,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,OAAO,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAA;AACvD,CAAC;AAFD,sEAEC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "../types/enums";
|
|
3
|
+
export declare class RegistryCredential extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing RegistryCredential resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RegistryCredential;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of RegistryCredential. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is RegistryCredential;
|
|
18
|
+
readonly authToken: pulumi.Output<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Descriptive name for this credential
|
|
21
|
+
*/
|
|
22
|
+
readonly name: pulumi.Output<string>;
|
|
23
|
+
readonly ownerId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The registry to use this credential with
|
|
26
|
+
*/
|
|
27
|
+
readonly registry: pulumi.Output<enums.registrycredentials.Registry>;
|
|
28
|
+
/**
|
|
29
|
+
* The username associated with the credential
|
|
30
|
+
*/
|
|
31
|
+
readonly username: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Create a RegistryCredential resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: RegistryCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a RegistryCredential resource.
|
|
43
|
+
*/
|
|
44
|
+
export interface RegistryCredentialArgs {
|
|
45
|
+
authToken: pulumi.Input<string>;
|
|
46
|
+
name?: pulumi.Input<string>;
|
|
47
|
+
ownerId: pulumi.Input<string>;
|
|
48
|
+
registry: pulumi.Input<enums.registrycredentials.Registry>;
|
|
49
|
+
username: pulumi.Input<string>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.RegistryCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class RegistryCredential extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing RegistryCredential resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name, id, opts) {
|
|
18
|
+
return new RegistryCredential(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of RegistryCredential. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj) {
|
|
25
|
+
if (obj === undefined || obj === null) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return obj['__pulumiType'] === RegistryCredential.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a RegistryCredential resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (!opts.id) {
|
|
41
|
+
if ((!args || args.authToken === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'authToken'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'ownerId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.registry === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'registry'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.username === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'username'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["authToken"] = args ? args.authToken : undefined;
|
|
54
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
55
|
+
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
56
|
+
resourceInputs["registry"] = args ? args.registry : undefined;
|
|
57
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["authToken"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["registry"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(RegistryCredential.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.RegistryCredential = RegistryCredential;
|
|
71
|
+
/** @internal */
|
|
72
|
+
RegistryCredential.__pulumiType = 'render:registrycredentials:RegistryCredential';
|
|
73
|
+
//# sourceMappingURL=registryCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registryCredential.js","sourceRoot":"","sources":["../../registrycredentials/registryCredential.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,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Ac,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/EL,gDAgFC;AAnEG,gBAAgB;AACO,+BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
export declare class AutoscaleService extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing AutoscaleService resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AutoscaleService;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of AutoscaleService. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is AutoscaleService;
|
|
19
|
+
readonly criteria: pulumi.Output<outputs.services.AutoscalingCriteria>;
|
|
20
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* The maximum number of instances for the service
|
|
23
|
+
*/
|
|
24
|
+
readonly max: pulumi.Output<number>;
|
|
25
|
+
/**
|
|
26
|
+
* The minimum number of instances for the service
|
|
27
|
+
*/
|
|
28
|
+
readonly min: pulumi.Output<number>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a AutoscaleService resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args: AutoscaleServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The set of arguments for constructing a AutoscaleService resource.
|
|
40
|
+
*/
|
|
41
|
+
export interface AutoscaleServiceArgs {
|
|
42
|
+
criteria: pulumi.Input<inputs.services.AutoscalingCriteriaArgs>;
|
|
43
|
+
enabled: pulumi.Input<boolean>;
|
|
44
|
+
/**
|
|
45
|
+
* The maximum number of instances for the service
|
|
46
|
+
*/
|
|
47
|
+
max: pulumi.Input<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The minimum number of instances for the service
|
|
50
|
+
*/
|
|
51
|
+
min: pulumi.Input<number>;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the service
|
|
54
|
+
*/
|
|
55
|
+
serviceId?: pulumi.Input<string>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.AutoscaleService = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const inputs = require("../types/input");
|
|
8
|
+
const utilities = require("../utilities");
|
|
9
|
+
class AutoscaleService extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing AutoscaleService resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, opts) {
|
|
19
|
+
return new AutoscaleService(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of AutoscaleService. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === AutoscaleService.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Create a AutoscaleService resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name, args, opts) {
|
|
39
|
+
var _a;
|
|
40
|
+
let resourceInputs = {};
|
|
41
|
+
opts = opts || {};
|
|
42
|
+
if (!opts.id) {
|
|
43
|
+
if ((!args || args.criteria === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'criteria'");
|
|
45
|
+
}
|
|
46
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'enabled'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.max === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'max'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.min === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'min'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["criteria"] = args ? (args.criteria ? pulumi.output(args.criteria).apply(inputs.services.autoscalingCriteriaArgsProvideDefaults) : undefined) : undefined;
|
|
56
|
+
resourceInputs["enabled"] = (_a = (args ? args.enabled : undefined)) !== null && _a !== void 0 ? _a : false;
|
|
57
|
+
resourceInputs["max"] = args ? args.max : undefined;
|
|
58
|
+
resourceInputs["min"] = args ? args.min : undefined;
|
|
59
|
+
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
resourceInputs["criteria"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["max"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["min"] = undefined /*out*/;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(AutoscaleService.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.AutoscaleService = AutoscaleService;
|
|
72
|
+
/** @internal */
|
|
73
|
+
AutoscaleService.__pulumiType = 'render:services:AutoscaleService';
|
|
74
|
+
//# sourceMappingURL=autoscaleService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoscaleService.js","sourceRoot":"","sources":["../../services/autoscaleService.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;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;IAaD;;;;;;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,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;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,IAAI,CAAC,CAA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AAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;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;;AA1EL,4CA2EC;AA9DG,gBAAgB;AACO,6BAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -2,9 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
import * as enums from "../types/enums";
|
|
5
|
-
/**
|
|
6
|
-
* A background worker service
|
|
7
|
-
*/
|
|
8
5
|
export declare class BackgroundWorker extends pulumi.CustomResource {
|
|
9
6
|
/**
|
|
10
7
|
* Get an existing BackgroundWorker resource's state with the given name, ID, and optional extra
|
|
@@ -20,34 +17,23 @@ export declare class BackgroundWorker extends pulumi.CustomResource {
|
|
|
20
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
18
|
*/
|
|
22
19
|
static isInstance(obj: any): obj is BackgroundWorker;
|
|
23
|
-
/**
|
|
24
|
-
* Whether to auto deploy the service or not upon git push.
|
|
25
|
-
*/
|
|
26
20
|
readonly autoDeploy: pulumi.Output<enums.services.ServiceAutoDeploy | undefined>;
|
|
27
|
-
/**
|
|
28
|
-
* If left empty, this will fall back to the default branch of the repository.
|
|
29
|
-
*/
|
|
30
21
|
readonly branch: pulumi.Output<string | undefined>;
|
|
22
|
+
readonly buildFilter: pulumi.Output<outputs.services.BuildFilter | undefined>;
|
|
31
23
|
readonly createdAt: pulumi.Output<string | undefined>;
|
|
32
|
-
readonly envVars: pulumi.Output<outputs.services.EnvVarKeyValue[] | undefined>;
|
|
24
|
+
readonly envVars: pulumi.Output<(outputs.services.EnvVarKeyValue | outputs.services.EnvVarKeyGenerateValue)[] | undefined>;
|
|
25
|
+
readonly image: pulumi.Output<outputs.services.Image | undefined>;
|
|
26
|
+
readonly imagePath: pulumi.Output<string | undefined>;
|
|
33
27
|
readonly name: pulumi.Output<string | undefined>;
|
|
34
|
-
/**
|
|
35
|
-
* The notification setting for this service upon deployment failure.
|
|
36
|
-
*/
|
|
37
28
|
readonly notifyOnFail: pulumi.Output<enums.services.ServiceNotifyOnFail | undefined>;
|
|
38
|
-
/**
|
|
39
|
-
* The id of the owner (user/team).
|
|
40
|
-
*/
|
|
41
29
|
readonly ownerId: pulumi.Output<string | undefined>;
|
|
42
|
-
/**
|
|
43
|
-
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
44
|
-
*/
|
|
45
30
|
readonly repo: pulumi.Output<string | undefined>;
|
|
31
|
+
readonly rootDir: pulumi.Output<string | undefined>;
|
|
46
32
|
readonly secretFiles: pulumi.Output<outputs.services.SecretFile[] | undefined>;
|
|
47
|
-
readonly serviceDetails: pulumi.Output<outputs.services.
|
|
33
|
+
readonly serviceDetails: pulumi.Output<outputs.services.BackgroundWorkerDetailsOutput | undefined>;
|
|
48
34
|
readonly slug: pulumi.Output<string | undefined>;
|
|
49
35
|
readonly suspended: pulumi.Output<enums.services.ServiceSuspended | undefined>;
|
|
50
|
-
readonly suspenders: pulumi.Output<
|
|
36
|
+
readonly suspenders: pulumi.Output<enums.services.ServiceSuspendersItem[] | undefined>;
|
|
51
37
|
readonly type: pulumi.Output<string | undefined>;
|
|
52
38
|
readonly updatedAt: pulumi.Output<string | undefined>;
|
|
53
39
|
/**
|
|
@@ -64,33 +50,24 @@ export declare class BackgroundWorker extends pulumi.CustomResource {
|
|
|
64
50
|
*/
|
|
65
51
|
export interface BackgroundWorkerArgs {
|
|
66
52
|
/**
|
|
67
|
-
*
|
|
53
|
+
* Defaults to "yes"
|
|
68
54
|
*/
|
|
69
|
-
autoDeploy?: pulumi.Input<enums.services.
|
|
55
|
+
autoDeploy?: pulumi.Input<enums.services.ServiceCreateAutoDeploy>;
|
|
70
56
|
/**
|
|
71
|
-
* If left empty, this will fall back to the default branch of the repository
|
|
57
|
+
* If left empty, this will fall back to the default branch of the repository
|
|
72
58
|
*/
|
|
73
59
|
branch?: pulumi.Input<string>;
|
|
74
|
-
|
|
75
|
-
envVars?: pulumi.Input<pulumi.Input<inputs.services.EnvVarKeyValueArgs>[]>;
|
|
60
|
+
buildFilter?: pulumi.Input<inputs.services.BuildFilterArgs>;
|
|
61
|
+
envVars?: pulumi.Input<pulumi.Input<inputs.services.EnvVarKeyValueArgs | inputs.services.EnvVarKeyGenerateValueArgs>[]>;
|
|
62
|
+
image?: pulumi.Input<inputs.services.ImageArgs>;
|
|
76
63
|
name: pulumi.Input<string>;
|
|
77
|
-
/**
|
|
78
|
-
* The notification setting for this service upon deployment failure.
|
|
79
|
-
*/
|
|
80
|
-
notifyOnFail?: pulumi.Input<enums.services.ServiceNotifyOnFail>;
|
|
81
|
-
/**
|
|
82
|
-
* The id of the owner (user/team).
|
|
83
|
-
*/
|
|
84
64
|
ownerId: pulumi.Input<string>;
|
|
85
65
|
/**
|
|
86
66
|
* Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
|
|
87
67
|
*/
|
|
88
|
-
repo
|
|
68
|
+
repo?: pulumi.Input<string>;
|
|
69
|
+
rootDir?: pulumi.Input<string>;
|
|
89
70
|
secretFiles?: pulumi.Input<pulumi.Input<inputs.services.SecretFileArgs>[]>;
|
|
90
|
-
serviceDetails?: pulumi.Input<inputs.services.
|
|
91
|
-
slug?: pulumi.Input<string>;
|
|
92
|
-
suspended?: pulumi.Input<enums.services.ServiceSuspended>;
|
|
93
|
-
suspenders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
|
+
serviceDetails?: pulumi.Input<inputs.services.BackgroundWorkerDetailsCreateArgs>;
|
|
94
72
|
type?: pulumi.Input<string>;
|
|
95
|
-
updatedAt?: pulumi.Input<string>;
|
|
96
73
|
}
|
|
@@ -6,10 +6,28 @@ exports.BackgroundWorker = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const inputs = require("../types/input");
|
|
8
8
|
const utilities = require("../utilities");
|
|
9
|
-
/**
|
|
10
|
-
* A background worker service
|
|
11
|
-
*/
|
|
12
9
|
class BackgroundWorker extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing BackgroundWorker resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, opts) {
|
|
19
|
+
return new BackgroundWorker(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of BackgroundWorker. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === BackgroundWorker.__pulumiType;
|
|
30
|
+
}
|
|
13
31
|
/**
|
|
14
32
|
* Create a BackgroundWorker resource with the given unique name, arguments, and options.
|
|
15
33
|
*
|
|
@@ -28,34 +46,39 @@ class BackgroundWorker extends pulumi.CustomResource {
|
|
|
28
46
|
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
29
47
|
throw new Error("Missing required property 'ownerId'");
|
|
30
48
|
}
|
|
31
|
-
|
|
32
|
-
throw new Error("Missing required property 'repo'");
|
|
33
|
-
}
|
|
34
|
-
resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "no";
|
|
49
|
+
resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "yes";
|
|
35
50
|
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
36
|
-
resourceInputs["
|
|
51
|
+
resourceInputs["buildFilter"] = args ? args.buildFilter : undefined;
|
|
37
52
|
resourceInputs["envVars"] = args ? args.envVars : undefined;
|
|
53
|
+
resourceInputs["image"] = args ? args.image : undefined;
|
|
38
54
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
39
|
-
resourceInputs["notifyOnFail"] = args ? args.notifyOnFail : undefined;
|
|
40
55
|
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
41
56
|
resourceInputs["repo"] = args ? args.repo : undefined;
|
|
57
|
+
resourceInputs["rootDir"] = args ? args.rootDir : undefined;
|
|
42
58
|
resourceInputs["secretFiles"] = args ? args.secretFiles : undefined;
|
|
43
|
-
resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.
|
|
44
|
-
resourceInputs["slug"] = args ? args.slug : undefined;
|
|
45
|
-
resourceInputs["suspended"] = args ? args.suspended : undefined;
|
|
46
|
-
resourceInputs["suspenders"] = args ? args.suspenders : undefined;
|
|
59
|
+
resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.backgroundWorkerDetailsCreateArgsProvideDefaults) : undefined) : undefined;
|
|
47
60
|
resourceInputs["type"] = (_b = (args ? args.type : undefined)) !== null && _b !== void 0 ? _b : "background_worker";
|
|
48
|
-
resourceInputs["
|
|
61
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["imagePath"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["slug"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["suspended"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["suspenders"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
49
68
|
}
|
|
50
69
|
else {
|
|
51
70
|
resourceInputs["autoDeploy"] = undefined /*out*/;
|
|
52
71
|
resourceInputs["branch"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["buildFilter"] = undefined /*out*/;
|
|
53
73
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
54
74
|
resourceInputs["envVars"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["image"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["imagePath"] = undefined /*out*/;
|
|
55
77
|
resourceInputs["name"] = undefined /*out*/;
|
|
56
78
|
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
57
79
|
resourceInputs["ownerId"] = undefined /*out*/;
|
|
58
80
|
resourceInputs["repo"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["rootDir"] = undefined /*out*/;
|
|
59
82
|
resourceInputs["secretFiles"] = undefined /*out*/;
|
|
60
83
|
resourceInputs["serviceDetails"] = undefined /*out*/;
|
|
61
84
|
resourceInputs["slug"] = undefined /*out*/;
|
|
@@ -67,27 +90,6 @@ class BackgroundWorker extends pulumi.CustomResource {
|
|
|
67
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
91
|
super(BackgroundWorker.__pulumiType, name, resourceInputs, opts);
|
|
69
92
|
}
|
|
70
|
-
/**
|
|
71
|
-
* Get an existing BackgroundWorker resource's state with the given name, ID, and optional extra
|
|
72
|
-
* properties used to qualify the lookup.
|
|
73
|
-
*
|
|
74
|
-
* @param name The _unique_ name of the resulting resource.
|
|
75
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
-
*/
|
|
78
|
-
static get(name, id, opts) {
|
|
79
|
-
return new BackgroundWorker(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Returns true if the given object is an instance of BackgroundWorker. This is designed to work even
|
|
83
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
|
-
*/
|
|
85
|
-
static isInstance(obj) {
|
|
86
|
-
if (obj === undefined || obj === null) {
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
return obj['__pulumiType'] === BackgroundWorker.__pulumiType;
|
|
90
|
-
}
|
|
91
93
|
}
|
|
92
94
|
exports.BackgroundWorker = BackgroundWorker;
|
|
93
95
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backgroundWorker.js","sourceRoot":"","sources":["../../services/backgroundWorker.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backgroundWorker.js","sourceRoot":"","sources":["../../services/backgroundWorker.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;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;IAsBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,I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E,IAAI,CAAC,CAAC;IACrE,CAAC;;AA1GL,4CA2GC;AA9FG,gBAAgB;AACO,6BAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
export declare class CancelDeploy extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing CancelDeploy resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CancelDeploy;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of CancelDeploy. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is CancelDeploy;
|
|
19
|
+
readonly commit: pulumi.Output<outputs.services.CommitProperties | undefined>;
|
|
20
|
+
readonly createdAt: pulumi.Output<string | undefined>;
|
|
21
|
+
readonly finishedAt: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Image information used when creating the deploy. Not present for Git-backed deploys
|
|
24
|
+
*/
|
|
25
|
+
readonly image: pulumi.Output<outputs.services.ImageProperties | undefined>;
|
|
26
|
+
readonly status: pulumi.Output<enums.services.Status | undefined>;
|
|
27
|
+
readonly trigger: pulumi.Output<enums.services.Trigger | undefined>;
|
|
28
|
+
readonly updatedAt: pulumi.Output<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a CancelDeploy resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args?: CancelDeployArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The set of arguments for constructing a CancelDeploy resource.
|
|
40
|
+
*/
|
|
41
|
+
export interface CancelDeployArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the deploy
|
|
44
|
+
*/
|
|
45
|
+
deployId?: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the service
|
|
48
|
+
*/
|
|
49
|
+
serviceId?: pulumi.Input<string>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.CancelDeploy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class CancelDeploy extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CancelDeploy resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name, id, opts) {
|
|
18
|
+
return new CancelDeploy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of CancelDeploy. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj) {
|
|
25
|
+
if (obj === undefined || obj === null) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return obj['__pulumiType'] === CancelDeploy.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a CancelDeploy resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (!opts.id) {
|
|
41
|
+
resourceInputs["deployId"] = args ? args.deployId : undefined;
|
|
42
|
+
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
43
|
+
resourceInputs["commit"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["finishedAt"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["image"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["trigger"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["commit"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["finishedAt"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["image"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["trigger"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(CancelDeploy.__pulumiType, name, resourceInputs, opts);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.CancelDeploy = CancelDeploy;
|
|
65
|
+
/** @internal */
|
|
66
|
+
CancelDeploy.__pulumiType = 'render:services:CancelDeploy';
|
|
67
|
+
//# sourceMappingURL=cancelDeploy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancelDeploy.js","sourceRoot":"","sources":["../../services/cancelDeploy.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,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;IAaD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QAClF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YA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