@cloudyskysoftware/pulumi-render 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/owners/getOwner.d.ts +4 -4
- package/owners/getOwner.js +1 -1
- package/owners/getOwner.js.map +1 -1
- package/owners/listOwners.d.ts +1 -1
- package/package.json +1 -1
- package/registrycredentials/getRegistryCredential.d.ts +13 -3
- package/registrycredentials/getRegistryCredential.js +5 -4
- package/registrycredentials/getRegistryCredential.js.map +1 -1
- package/registrycredentials/index.d.ts +2 -1
- package/registrycredentials/index.js +16 -0
- package/registrycredentials/index.js.map +1 -1
- package/registrycredentials/listRegistryCredentials.d.ts +1 -1
- package/registrycredentials/registryCredential.d.ts +20 -10
- package/registrycredentials/registryCredential.js +12 -0
- package/registrycredentials/registryCredential.js.map +1 -1
- package/services/{autoScaling.d.ts → autoscaleService.d.ts} +18 -18
- package/services/{autoScaling.js → autoscaleService.js} +27 -13
- package/services/autoscaleService.js.map +1 -0
- package/services/backgroundWorker.d.ts +16 -39
- package/services/backgroundWorker.js +16 -14
- package/services/backgroundWorker.js.map +1 -1
- package/services/cancelDeploy.d.ts +50 -0
- package/services/cancelDeploy.js +67 -0
- package/services/cancelDeploy.js.map +1 -0
- package/services/cancelJob.d.ts +45 -0
- package/services/cancelJob.js +66 -0
- package/services/cancelJob.js.map +1 -0
- package/services/cronJob.d.ts +16 -39
- package/services/cronJob.js +16 -15
- package/services/cronJob.js.map +1 -1
- package/services/customDomain.d.ts +36 -0
- package/services/{deploys.js → customDomain.js} +13 -16
- package/services/customDomain.js.map +1 -0
- package/services/deploy.d.ts +70 -0
- package/services/deploy.js +73 -0
- package/services/deploy.js.map +1 -0
- package/services/{envVars.d.ts → envVarsForService.d.ts} +12 -12
- package/services/{envVars.js → envVarsForService.js} +11 -11
- package/services/envVarsForService.js.map +1 -0
- package/services/getBackgroundWorker.d.ts +4 -4
- package/services/getBackgroundWorker.js +1 -1
- package/services/getBackgroundWorker.js.map +1 -1
- package/services/getCronJob.d.ts +4 -4
- package/services/getCronJob.js +1 -1
- package/services/getCronJob.js.map +1 -1
- package/services/getCustomDomain.d.ts +6 -6
- package/services/getCustomDomain.js +1 -1
- package/services/getCustomDomain.js.map +1 -1
- package/services/getDeploy.d.ts +6 -6
- package/services/getDeploy.js +1 -1
- package/services/getDeploy.js.map +1 -1
- package/services/getJob.d.ts +6 -6
- package/services/getJob.js +1 -1
- package/services/getJob.js.map +1 -1
- package/services/getPrivateService.d.ts +4 -4
- package/services/getPrivateService.js +1 -1
- package/services/getPrivateService.js.map +1 -1
- package/services/getStaticSite.d.ts +4 -4
- package/services/getStaticSite.js +1 -1
- package/services/getStaticSite.js.map +1 -1
- package/services/getWebService.d.ts +4 -4
- package/services/getWebService.js +1 -1
- package/services/getWebService.js.map +1 -1
- package/services/index.d.ts +51 -33
- package/services/index.js +65 -41
- package/services/index.js.map +1 -1
- package/services/{jobs.d.ts → job.d.ts} +13 -12
- package/services/{jobs.js → job.js} +12 -14
- package/services/job.js.map +1 -0
- package/services/listCustomDomains.d.ts +3 -3
- package/services/listDeploys.d.ts +3 -3
- package/services/listEnvVarsForService.d.ts +19 -0
- package/services/listEnvVarsForService.js +19 -0
- package/services/listEnvVarsForService.js.map +1 -0
- package/services/listJob.d.ts +19 -0
- package/services/{listJobs.js → listJob.js} +8 -8
- package/services/listJob.js.map +1 -0
- package/services/listRetrieveHeaders.d.ts +19 -0
- package/services/listRetrieveHeaders.js +19 -0
- package/services/listRetrieveHeaders.js.map +1 -0
- package/services/listRetrieveRoutes.d.ts +19 -0
- package/services/listRetrieveRoutes.js +19 -0
- package/services/listRetrieveRoutes.js.map +1 -0
- package/services/listServices.d.ts +1 -1
- package/services/previewService.d.ts +62 -0
- package/services/{customDomains.js → previewService.js} +22 -23
- package/services/previewService.js.map +1 -0
- package/services/privateService.d.ts +16 -39
- package/services/privateService.js +16 -14
- package/services/privateService.js.map +1 -1
- package/services/refreshCustomDomain.d.ts +38 -0
- package/services/refreshCustomDomain.js +53 -0
- package/services/refreshCustomDomain.js.map +1 -0
- package/services/restartServer.d.ts +34 -0
- package/services/restartServer.js +52 -0
- package/services/restartServer.js.map +1 -0
- package/services/rollbackDeploy.d.ts +54 -0
- package/services/rollbackDeploy.js +71 -0
- package/services/rollbackDeploy.js.map +1 -0
- package/services/{scale.d.ts → scaleService.d.ts} +10 -10
- package/services/{scale.js → scaleService.js} +11 -11
- package/services/scaleService.js.map +1 -0
- package/services/staticSite.d.ts +16 -38
- package/services/staticSite.js +16 -13
- package/services/staticSite.js.map +1 -1
- package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
- package/services/{suspend.js → suspendService.js} +11 -11
- package/services/suspendService.js.map +1 -0
- package/services/webService.d.ts +16 -39
- package/services/webService.js +16 -14
- package/services/webService.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/owners/index.d.ts +0 -3
- package/types/enums/registrycredentials/index.d.ts +15 -0
- package/types/enums/registrycredentials/index.js +16 -0
- package/types/enums/registrycredentials/index.js.map +1 -0
- package/types/enums/services/index.d.ts +330 -64
- package/types/enums/services/index.js +230 -38
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +169 -98
- package/types/input.js +29 -30
- package/types/input.js.map +1 -1
- package/types/output.d.ts +425 -465
- package/types/output.js +59 -78
- package/types/output.js.map +1 -1
- package/services/autoScaling.js.map +0 -1
- package/services/customDomains.d.ts +0 -44
- package/services/customDomains.js.map +0 -1
- package/services/deploys.d.ts +0 -39
- package/services/deploys.js.map +0 -1
- package/services/envVars.js.map +0 -1
- package/services/jobs.js.map +0 -1
- package/services/listEnvVars.d.ts +0 -19
- package/services/listEnvVars.js +0 -19
- package/services/listEnvVars.js.map +0 -1
- package/services/listHeaders.d.ts +0 -19
- package/services/listHeaders.js +0 -19
- package/services/listHeaders.js.map +0 -1
- package/services/listJobs.d.ts +0 -19
- package/services/listJobs.js.map +0 -1
- package/services/listRoutes.d.ts +0 -19
- package/services/listRoutes.js +0 -19
- package/services/listRoutes.js.map +0 -1
- package/services/scale.js.map +0 -1
- package/services/suspend.js.map +0 -1
|
@@ -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,CAA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pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CancelJob extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CancelJob resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CancelJob;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of CancelJob. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is CancelJob;
|
|
17
|
+
readonly createdAt: pulumi.Output<string>;
|
|
18
|
+
readonly finishedAt: pulumi.Output<string | undefined>;
|
|
19
|
+
readonly planId: pulumi.Output<string>;
|
|
20
|
+
readonly serviceId: pulumi.Output<string>;
|
|
21
|
+
readonly startCommand: pulumi.Output<string>;
|
|
22
|
+
readonly startedAt: pulumi.Output<string | undefined>;
|
|
23
|
+
readonly status: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Create a CancelJob resource with the given unique name, arguments, and options.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resource.
|
|
28
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
29
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
30
|
+
*/
|
|
31
|
+
constructor(name: string, args?: CancelJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The set of arguments for constructing a CancelJob resource.
|
|
35
|
+
*/
|
|
36
|
+
export interface CancelJobArgs {
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the job
|
|
39
|
+
*/
|
|
40
|
+
jobId?: pulumi.Input<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the service
|
|
43
|
+
*/
|
|
44
|
+
serviceId?: pulumi.Input<string>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CancelJob = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class CancelJob extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CancelJob 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 CancelJob(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of CancelJob. 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'] === CancelJob.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a CancelJob 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["jobId"] = args ? args.jobId : undefined;
|
|
42
|
+
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
43
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["finishedAt"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["planId"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["startCommand"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["startedAt"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["finishedAt"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["planId"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["serviceId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["startCommand"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["startedAt"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(CancelJob.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.CancelJob = CancelJob;
|
|
64
|
+
/** @internal */
|
|
65
|
+
CancelJob.__pulumiType = 'render:services:CancelJob';
|
|
66
|
+
//# sourceMappingURL=cancelJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancelJob.js","sourceRoot":"","sources":["../../services/cancelJob.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;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CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjEL,8BAkEC;AArDG,gBAAgB;AACO,sBAAY,GAAG,2BAA2B,CAAC"}
|
package/services/cronJob.d.ts
CHANGED
|
@@ -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 cron job
|
|
7
|
-
*/
|
|
8
5
|
export declare class CronJob extends pulumi.CustomResource {
|
|
9
6
|
/**
|
|
10
7
|
* Get an existing CronJob resource's state with the given name, ID, and optional extra
|
|
@@ -20,34 +17,23 @@ export declare class CronJob 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 CronJob;
|
|
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.CronJobDetailsOutput | 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 CronJob extends pulumi.CustomResource {
|
|
|
64
50
|
*/
|
|
65
51
|
export interface CronJobArgs {
|
|
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.CronJobDetailsCreateArgs>;
|
|
94
72
|
type?: pulumi.Input<string>;
|
|
95
|
-
updatedAt?: pulumi.Input<string>;
|
|
96
73
|
}
|
package/services/cronJob.js
CHANGED
|
@@ -4,11 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.CronJob = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const inputs = require("../types/input");
|
|
8
7
|
const utilities = require("../utilities");
|
|
9
|
-
/**
|
|
10
|
-
* A cron job
|
|
11
|
-
*/
|
|
12
8
|
class CronJob extends pulumi.CustomResource {
|
|
13
9
|
/**
|
|
14
10
|
* Get an existing CronJob resource's state with the given name, ID, and optional extra
|
|
@@ -49,34 +45,39 @@ class CronJob extends pulumi.CustomResource {
|
|
|
49
45
|
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
50
46
|
throw new Error("Missing required property 'ownerId'");
|
|
51
47
|
}
|
|
52
|
-
|
|
53
|
-
throw new Error("Missing required property 'repo'");
|
|
54
|
-
}
|
|
55
|
-
resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "no";
|
|
48
|
+
resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "yes";
|
|
56
49
|
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
57
|
-
resourceInputs["
|
|
50
|
+
resourceInputs["buildFilter"] = args ? args.buildFilter : undefined;
|
|
58
51
|
resourceInputs["envVars"] = args ? args.envVars : undefined;
|
|
52
|
+
resourceInputs["image"] = args ? args.image : undefined;
|
|
59
53
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
60
|
-
resourceInputs["notifyOnFail"] = args ? args.notifyOnFail : undefined;
|
|
61
54
|
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
62
55
|
resourceInputs["repo"] = args ? args.repo : undefined;
|
|
56
|
+
resourceInputs["rootDir"] = args ? args.rootDir : undefined;
|
|
63
57
|
resourceInputs["secretFiles"] = args ? args.secretFiles : undefined;
|
|
64
|
-
resourceInputs["serviceDetails"] = args ?
|
|
65
|
-
resourceInputs["slug"] = args ? args.slug : undefined;
|
|
66
|
-
resourceInputs["suspended"] = args ? args.suspended : undefined;
|
|
67
|
-
resourceInputs["suspenders"] = args ? args.suspenders : undefined;
|
|
58
|
+
resourceInputs["serviceDetails"] = args ? args.serviceDetails : undefined;
|
|
68
59
|
resourceInputs["type"] = (_b = (args ? args.type : undefined)) !== null && _b !== void 0 ? _b : "cron_job";
|
|
69
|
-
resourceInputs["
|
|
60
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["imagePath"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["slug"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["suspended"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["suspenders"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
70
67
|
}
|
|
71
68
|
else {
|
|
72
69
|
resourceInputs["autoDeploy"] = undefined /*out*/;
|
|
73
70
|
resourceInputs["branch"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["buildFilter"] = undefined /*out*/;
|
|
74
72
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
75
73
|
resourceInputs["envVars"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["image"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["imagePath"] = undefined /*out*/;
|
|
76
76
|
resourceInputs["name"] = undefined /*out*/;
|
|
77
77
|
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
78
78
|
resourceInputs["ownerId"] = undefined /*out*/;
|
|
79
79
|
resourceInputs["repo"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["rootDir"] = undefined /*out*/;
|
|
80
81
|
resourceInputs["secretFiles"] = undefined /*out*/;
|
|
81
82
|
resourceInputs["serviceDetails"] = undefined /*out*/;
|
|
82
83
|
resourceInputs["slug"] = undefined /*out*/;
|
package/services/cronJob.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cronJob.js","sourceRoot":"","sources":["../../services/cronJob.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"cronJob.js","sourceRoot":"","sources":["../../services/cronJob.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;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;IAsBD;;;;;;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,CAA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AC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,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;;AA1GL,0BA2GC;AA9FG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CustomDomain extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CustomDomain resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomDomain;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of CustomDomain. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is CustomDomain;
|
|
17
|
+
readonly name: pulumi.Output<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a CustomDomain resource with the given unique name, arguments, and options.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resource.
|
|
22
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
23
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
24
|
+
*/
|
|
25
|
+
constructor(name: string, args?: CustomDomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The set of arguments for constructing a CustomDomain resource.
|
|
29
|
+
*/
|
|
30
|
+
export interface CustomDomainArgs {
|
|
31
|
+
name?: pulumi.Input<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the service
|
|
34
|
+
*/
|
|
35
|
+
serviceId?: pulumi.Input<string>;
|
|
36
|
+
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.CustomDomain = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
class
|
|
8
|
+
class CustomDomain extends pulumi.CustomResource {
|
|
9
9
|
/**
|
|
10
|
-
* Get an existing
|
|
10
|
+
* Get an existing CustomDomain resource's state with the given name, ID, and optional extra
|
|
11
11
|
* properties used to qualify the lookup.
|
|
12
12
|
*
|
|
13
13
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -15,43 +15,40 @@ class Deploys extends pulumi.CustomResource {
|
|
|
15
15
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
16
|
*/
|
|
17
17
|
static get(name, id, opts) {
|
|
18
|
-
return new
|
|
18
|
+
return new CustomDomain(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Returns true if the given object is an instance of
|
|
21
|
+
* Returns true if the given object is an instance of CustomDomain. This is designed to work even
|
|
22
22
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
23
|
*/
|
|
24
24
|
static isInstance(obj) {
|
|
25
25
|
if (obj === undefined || obj === null) {
|
|
26
26
|
return false;
|
|
27
27
|
}
|
|
28
|
-
return obj['__pulumiType'] ===
|
|
28
|
+
return obj['__pulumiType'] === CustomDomain.__pulumiType;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Create a
|
|
31
|
+
* Create a CustomDomain resource with the given unique name, arguments, and options.
|
|
32
32
|
*
|
|
33
33
|
* @param name The _unique_ name of the resource.
|
|
34
34
|
* @param args The arguments to use to populate this resource's properties.
|
|
35
35
|
* @param opts A bag of options that control this resource's behavior.
|
|
36
36
|
*/
|
|
37
37
|
constructor(name, args, opts) {
|
|
38
|
-
var _a;
|
|
39
38
|
let resourceInputs = {};
|
|
40
39
|
opts = opts || {};
|
|
41
40
|
if (!opts.id) {
|
|
42
|
-
resourceInputs["
|
|
41
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
43
42
|
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
44
|
-
resourceInputs["commit"] = undefined /*out*/;
|
|
45
43
|
}
|
|
46
44
|
else {
|
|
47
|
-
resourceInputs["
|
|
48
|
-
resourceInputs["commit"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
49
46
|
}
|
|
50
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
-
super(
|
|
48
|
+
super(CustomDomain.__pulumiType, name, resourceInputs, opts);
|
|
52
49
|
}
|
|
53
50
|
}
|
|
54
|
-
exports.
|
|
51
|
+
exports.CustomDomain = CustomDomain;
|
|
55
52
|
/** @internal */
|
|
56
|
-
|
|
57
|
-
//# sourceMappingURL=
|
|
53
|
+
CustomDomain.__pulumiType = 'render:services:CustomDomain';
|
|
54
|
+
//# sourceMappingURL=customDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../../services/customDomain.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,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;IAID;;;;;;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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA/CL,oCAgDC;AAnCG,gBAAgB;AACO,yBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 Deploy extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing Deploy 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): Deploy;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Deploy. 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 Deploy;
|
|
19
|
+
/**
|
|
20
|
+
* Defaults to "do_not_clear"
|
|
21
|
+
*/
|
|
22
|
+
readonly clearCache: pulumi.Output<enums.services.ClearCache | undefined>;
|
|
23
|
+
readonly commit: pulumi.Output<outputs.services.CommitProperties | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Specific ID of commit to deploy for a web service, defaults to latest commit. Not supported for Cron Job deploys.
|
|
26
|
+
*/
|
|
27
|
+
readonly commitId: pulumi.Output<string | undefined>;
|
|
28
|
+
readonly createdAt: pulumi.Output<string | undefined>;
|
|
29
|
+
readonly finishedAt: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Image information used when creating the deploy. Not present for Git-backed deploys
|
|
32
|
+
*/
|
|
33
|
+
readonly image: pulumi.Output<outputs.services.ImageProperties | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* URL of the image to deploy for an image-backed service. The host, repository, and image name must match the currently configured image for the service.
|
|
36
|
+
*/
|
|
37
|
+
readonly imageUrl: pulumi.Output<string | undefined>;
|
|
38
|
+
readonly status: pulumi.Output<enums.services.Status | undefined>;
|
|
39
|
+
readonly trigger: pulumi.Output<enums.services.Trigger | undefined>;
|
|
40
|
+
readonly updatedAt: pulumi.Output<string | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a Deploy resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args?: DeployArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a Deploy resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface DeployArgs {
|
|
54
|
+
/**
|
|
55
|
+
* Defaults to "do_not_clear"
|
|
56
|
+
*/
|
|
57
|
+
clearCache?: pulumi.Input<enums.services.ClearCache>;
|
|
58
|
+
/**
|
|
59
|
+
* Specific ID of commit to deploy for a web service, defaults to latest commit. Not supported for Cron Job deploys.
|
|
60
|
+
*/
|
|
61
|
+
commitId?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* URL of the image to deploy for an image-backed service. The host, repository, and image name must match the currently configured image for the service.
|
|
64
|
+
*/
|
|
65
|
+
imageUrl?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the service
|
|
68
|
+
*/
|
|
69
|
+
serviceId?: pulumi.Input<string>;
|
|
70
|
+
}
|