@cloudyskysoftware/pulumi-render 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/owners/getOwner.d.ts +4 -4
- package/owners/getOwner.js +1 -1
- package/owners/getOwner.js.map +1 -1
- package/owners/listOwners.d.ts +1 -1
- package/package.json +1 -1
- package/registrycredentials/getRegistryCredential.d.ts +13 -3
- package/registrycredentials/getRegistryCredential.js +5 -4
- package/registrycredentials/getRegistryCredential.js.map +1 -1
- package/registrycredentials/index.d.ts +2 -1
- package/registrycredentials/index.js +16 -0
- package/registrycredentials/index.js.map +1 -1
- package/registrycredentials/listRegistryCredentials.d.ts +1 -1
- package/registrycredentials/registryCredential.d.ts +20 -10
- package/registrycredentials/registryCredential.js +12 -0
- package/registrycredentials/registryCredential.js.map +1 -1
- package/services/{autoScaling.d.ts → autoscaleService.d.ts} +18 -18
- package/services/{autoScaling.js → autoscaleService.js} +27 -13
- package/services/autoscaleService.js.map +1 -0
- package/services/backgroundWorker.d.ts +16 -39
- package/services/backgroundWorker.js +16 -14
- package/services/backgroundWorker.js.map +1 -1
- package/services/cancelDeploy.d.ts +50 -0
- package/services/cancelDeploy.js +67 -0
- package/services/cancelDeploy.js.map +1 -0
- package/services/cancelJob.d.ts +45 -0
- package/services/cancelJob.js +66 -0
- package/services/cancelJob.js.map +1 -0
- package/services/cronJob.d.ts +16 -39
- package/services/cronJob.js +16 -15
- package/services/cronJob.js.map +1 -1
- package/services/customDomain.d.ts +36 -0
- package/services/{deploys.js → customDomain.js} +13 -16
- package/services/customDomain.js.map +1 -0
- package/services/deploy.d.ts +70 -0
- package/services/deploy.js +73 -0
- package/services/deploy.js.map +1 -0
- package/services/{envVars.d.ts → envVarsForService.d.ts} +12 -12
- package/services/{envVars.js → envVarsForService.js} +11 -11
- package/services/envVarsForService.js.map +1 -0
- package/services/getBackgroundWorker.d.ts +4 -4
- package/services/getBackgroundWorker.js +1 -1
- package/services/getBackgroundWorker.js.map +1 -1
- package/services/getCronJob.d.ts +4 -4
- package/services/getCronJob.js +1 -1
- package/services/getCronJob.js.map +1 -1
- package/services/getCustomDomain.d.ts +6 -6
- package/services/getCustomDomain.js +1 -1
- package/services/getCustomDomain.js.map +1 -1
- package/services/getDeploy.d.ts +6 -6
- package/services/getDeploy.js +1 -1
- package/services/getDeploy.js.map +1 -1
- package/services/getJob.d.ts +6 -6
- package/services/getJob.js +1 -1
- package/services/getJob.js.map +1 -1
- package/services/getPrivateService.d.ts +4 -4
- package/services/getPrivateService.js +1 -1
- package/services/getPrivateService.js.map +1 -1
- package/services/getStaticSite.d.ts +4 -4
- package/services/getStaticSite.js +1 -1
- package/services/getStaticSite.js.map +1 -1
- package/services/getWebService.d.ts +4 -4
- package/services/getWebService.js +1 -1
- package/services/getWebService.js.map +1 -1
- package/services/index.d.ts +51 -33
- package/services/index.js +65 -41
- package/services/index.js.map +1 -1
- package/services/{jobs.d.ts → job.d.ts} +13 -12
- package/services/{jobs.js → job.js} +12 -14
- package/services/job.js.map +1 -0
- package/services/listCustomDomains.d.ts +3 -3
- package/services/listDeploys.d.ts +3 -3
- package/services/listEnvVarsForService.d.ts +19 -0
- package/services/listEnvVarsForService.js +19 -0
- package/services/listEnvVarsForService.js.map +1 -0
- package/services/listJob.d.ts +19 -0
- package/services/{listJobs.js → listJob.js} +8 -8
- package/services/listJob.js.map +1 -0
- package/services/listRetrieveHeaders.d.ts +19 -0
- package/services/listRetrieveHeaders.js +19 -0
- package/services/listRetrieveHeaders.js.map +1 -0
- package/services/listRetrieveRoutes.d.ts +19 -0
- package/services/listRetrieveRoutes.js +19 -0
- package/services/listRetrieveRoutes.js.map +1 -0
- package/services/listServices.d.ts +1 -1
- package/services/previewService.d.ts +62 -0
- package/services/{customDomains.js → previewService.js} +22 -23
- package/services/previewService.js.map +1 -0
- package/services/privateService.d.ts +16 -39
- package/services/privateService.js +16 -14
- package/services/privateService.js.map +1 -1
- package/services/refreshCustomDomain.d.ts +38 -0
- package/services/refreshCustomDomain.js +53 -0
- package/services/refreshCustomDomain.js.map +1 -0
- package/services/restartServer.d.ts +34 -0
- package/services/restartServer.js +52 -0
- package/services/restartServer.js.map +1 -0
- package/services/rollbackDeploy.d.ts +54 -0
- package/services/rollbackDeploy.js +71 -0
- package/services/rollbackDeploy.js.map +1 -0
- package/services/{scale.d.ts → scaleService.d.ts} +10 -10
- package/services/{scale.js → scaleService.js} +11 -11
- package/services/scaleService.js.map +1 -0
- package/services/staticSite.d.ts +16 -38
- package/services/staticSite.js +16 -13
- package/services/staticSite.js.map +1 -1
- package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
- package/services/{suspend.js → suspendService.js} +11 -11
- package/services/suspendService.js.map +1 -0
- package/services/webService.d.ts +16 -39
- package/services/webService.js +16 -14
- package/services/webService.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/owners/index.d.ts +0 -3
- package/types/enums/registrycredentials/index.d.ts +15 -0
- package/types/enums/registrycredentials/index.js +16 -0
- package/types/enums/registrycredentials/index.js.map +1 -0
- package/types/enums/services/index.d.ts +330 -64
- package/types/enums/services/index.js +230 -38
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +169 -98
- package/types/input.js +29 -30
- package/types/input.js.map +1 -1
- package/types/output.d.ts +425 -465
- package/types/output.js +59 -78
- package/types/output.js.map +1 -1
- package/services/autoScaling.js.map +0 -1
- package/services/customDomains.d.ts +0 -44
- package/services/customDomains.js.map +0 -1
- package/services/deploys.d.ts +0 -39
- package/services/deploys.js.map +0 -1
- package/services/envVars.js.map +0 -1
- package/services/jobs.js.map +0 -1
- package/services/listEnvVars.d.ts +0 -19
- package/services/listEnvVars.js +0 -19
- package/services/listEnvVars.js.map +0 -1
- package/services/listHeaders.d.ts +0 -19
- package/services/listHeaders.js +0 -19
- package/services/listHeaders.js.map +0 -1
- package/services/listJobs.d.ts +0 -19
- package/services/listJobs.js.map +0 -1
- package/services/listRoutes.d.ts +0 -19
- package/services/listRoutes.js +0 -19
- package/services/listRoutes.js.map +0 -1
- package/services/scale.js.map +0 -1
- package/services/suspend.js.map +0 -1
package/config/vars.d.ts
CHANGED
|
@@ -6,4 +6,4 @@ export declare const apiKey: string | undefined;
|
|
|
6
6
|
/**
|
|
7
7
|
* When a service is updated, a deployment is automatically triggered. This variable controls whether or not the service cache should be cleared upon deployment.
|
|
8
8
|
*/
|
|
9
|
-
export declare const clearCacheOnServiceUpdateDeployments: enums.services.
|
|
9
|
+
export declare const clearCacheOnServiceUpdateDeployments: enums.services.ClearCache | undefined;
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;AAEjF,yCAAyC;AAOzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,sCAAsC,EAAE;IACnE,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;AAEjF,yCAAyC;AAOzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,sCAAsC,EAAE;IACnE,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA4B,sCAAsC,CAAC,CAAC;IACjG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/owners/getOwner.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
export declare function getOwner(args: GetOwnerArgs, opts?: pulumi.InvokeOptions): Promise<GetOwnerResult>;
|
|
4
4
|
export interface GetOwnerArgs {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* The ID of the user or team
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
ownerId: string;
|
|
9
9
|
}
|
|
10
10
|
export interface GetOwnerResult {
|
|
11
11
|
readonly items: outputs.owners.Owner;
|
|
@@ -13,7 +13,7 @@ export interface GetOwnerResult {
|
|
|
13
13
|
export declare function getOwnerOutput(args: GetOwnerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOwnerResult>;
|
|
14
14
|
export interface GetOwnerOutputArgs {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* The ID of the user or team
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
ownerId: pulumi.Input<string>;
|
|
19
19
|
}
|
package/owners/getOwner.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
function getOwner(args, opts) {
|
|
9
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
10
|
return pulumi.runtime.invoke("render:owners:getOwner", {
|
|
11
|
-
"
|
|
11
|
+
"ownerId": args.ownerId,
|
|
12
12
|
}, opts);
|
|
13
13
|
}
|
|
14
14
|
exports.getOwner = getOwner;
|
package/owners/getOwner.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOwner.js","sourceRoot":"","sources":["../../owners/getOwner.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,
|
|
1
|
+
{"version":3,"file":"getOwner.js","sourceRoot":"","sources":["../../owners/getOwner.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAYD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/owners/listOwners.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export declare function listOwners(args?: ListOwnersArgs, opts?: pulumi.InvokeOp
|
|
|
4
4
|
export interface ListOwnersArgs {
|
|
5
5
|
}
|
|
6
6
|
export interface ListOwnersResult {
|
|
7
|
-
readonly items: outputs.owners.
|
|
7
|
+
readonly items: outputs.owners.ListOwnersItemProperties[];
|
|
8
8
|
}
|
|
9
9
|
export declare function listOwnersOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListOwnersResult>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
|
-
export declare function getRegistryCredential(args
|
|
3
|
+
export declare function getRegistryCredential(args: GetRegistryCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryCredentialResult>;
|
|
4
4
|
export interface GetRegistryCredentialArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The ID of the registry credential
|
|
7
|
+
*/
|
|
8
|
+
registryCredentialId: string;
|
|
5
9
|
}
|
|
6
10
|
export interface GetRegistryCredentialResult {
|
|
7
|
-
readonly items: outputs.registrycredentials.
|
|
11
|
+
readonly items: outputs.registrycredentials.RegistryCredential;
|
|
12
|
+
}
|
|
13
|
+
export declare function getRegistryCredentialOutput(args: GetRegistryCredentialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRegistryCredentialResult>;
|
|
14
|
+
export interface GetRegistryCredentialOutputArgs {
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the registry credential
|
|
17
|
+
*/
|
|
18
|
+
registryCredentialId: pulumi.Input<string>;
|
|
8
19
|
}
|
|
9
|
-
export declare function getRegistryCredentialOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetRegistryCredentialResult>;
|
|
@@ -6,13 +6,14 @@ exports.getRegistryCredentialOutput = exports.getRegistryCredential = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getRegistryCredential(args, opts) {
|
|
9
|
-
args = args || {};
|
|
10
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
-
return pulumi.runtime.invoke("render:registrycredentials:getRegistryCredential", {
|
|
10
|
+
return pulumi.runtime.invoke("render:registrycredentials:getRegistryCredential", {
|
|
11
|
+
"registryCredentialId": args.registryCredentialId,
|
|
12
|
+
}, opts);
|
|
12
13
|
}
|
|
13
14
|
exports.getRegistryCredential = getRegistryCredential;
|
|
14
|
-
function getRegistryCredentialOutput(opts) {
|
|
15
|
-
return pulumi.output(getRegistryCredential(opts));
|
|
15
|
+
function getRegistryCredentialOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getRegistryCredential(a, opts));
|
|
16
17
|
}
|
|
17
18
|
exports.getRegistryCredentialOutput = getRegistryCredentialOutput;
|
|
18
19
|
//# sourceMappingURL=getRegistryCredential.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRegistryCredential.js","sourceRoot":"","sources":["../../registrycredentials/getRegistryCredential.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,qBAAqB,CAAC,
|
|
1
|
+
{"version":3,"file":"getRegistryCredential.js","sourceRoot":"","sources":["../../registrycredentials/getRegistryCredential.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAYD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GetRegistryCredentialArgs, GetRegistryCredentialResult } from "./getRegistryCredential";
|
|
1
|
+
export { GetRegistryCredentialArgs, GetRegistryCredentialResult, GetRegistryCredentialOutputArgs } from "./getRegistryCredential";
|
|
2
2
|
export declare const getRegistryCredential: typeof import("./getRegistryCredential").getRegistryCredential;
|
|
3
3
|
export declare const getRegistryCredentialOutput: typeof import("./getRegistryCredential").getRegistryCredentialOutput;
|
|
4
4
|
export { ListRegistryCredentialsArgs, ListRegistryCredentialsResult } from "./listRegistryCredentials";
|
|
@@ -7,3 +7,4 @@ export declare const listRegistryCredentialsOutput: typeof import("./listRegistr
|
|
|
7
7
|
export { RegistryCredentialArgs } from "./registryCredential";
|
|
8
8
|
export type RegistryCredential = import("./registryCredential").RegistryCredential;
|
|
9
9
|
export declare const RegistryCredential: typeof import("./registryCredential").RegistryCredential;
|
|
10
|
+
export * from "../types/enums/registrycredentials";
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
+
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
|
+
};
|
|
4
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
19
|
exports.RegistryCredential = exports.listRegistryCredentialsOutput = exports.listRegistryCredentials = exports.getRegistryCredentialOutput = exports.getRegistryCredential = void 0;
|
|
6
20
|
const pulumi = require("@pulumi/pulumi");
|
|
@@ -13,6 +27,8 @@ exports.listRegistryCredentialsOutput = null;
|
|
|
13
27
|
utilities.lazyLoad(exports, ["listRegistryCredentials", "listRegistryCredentialsOutput"], () => require("./listRegistryCredentials"));
|
|
14
28
|
exports.RegistryCredential = null;
|
|
15
29
|
utilities.lazyLoad(exports, ["RegistryCredential"], () => require("./registryCredential"));
|
|
30
|
+
// Export enums:
|
|
31
|
+
__exportStar(require("../types/enums/registrycredentials"), exports);
|
|
16
32
|
const _module = {
|
|
17
33
|
version: utilities.getVersion(),
|
|
18
34
|
construct: (name, type, urn) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../registrycredentials/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../registrycredentials/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGlH,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,EAAC,+BAA+B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxH,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAG3F,gBAAgB;AAChB,qEAAmD;AAEnD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+CAA+C;gBAChD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -4,6 +4,6 @@ export declare function listRegistryCredentials(args?: ListRegistryCredentialsAr
|
|
|
4
4
|
export interface ListRegistryCredentialsArgs {
|
|
5
5
|
}
|
|
6
6
|
export interface ListRegistryCredentialsResult {
|
|
7
|
-
readonly items: outputs.registrycredentials.
|
|
7
|
+
readonly items: outputs.registrycredentials.RegistryCredential[];
|
|
8
8
|
}
|
|
9
9
|
export declare function listRegistryCredentialsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListRegistryCredentialsResult>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "../types/enums";
|
|
2
3
|
export declare class RegistryCredential extends pulumi.CustomResource {
|
|
3
4
|
/**
|
|
4
5
|
* Get an existing RegistryCredential resource's state with the given name, ID, and optional extra
|
|
@@ -14,11 +15,20 @@ export declare class RegistryCredential extends pulumi.CustomResource {
|
|
|
14
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
16
|
*/
|
|
16
17
|
static isInstance(obj: any): obj is RegistryCredential;
|
|
17
|
-
readonly authToken: pulumi.Output<string
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly
|
|
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>;
|
|
22
32
|
/**
|
|
23
33
|
* Create a RegistryCredential resource with the given unique name, arguments, and options.
|
|
24
34
|
*
|
|
@@ -26,15 +36,15 @@ export declare class RegistryCredential extends pulumi.CustomResource {
|
|
|
26
36
|
* @param args The arguments to use to populate this resource's properties.
|
|
27
37
|
* @param opts A bag of options that control this resource's behavior.
|
|
28
38
|
*/
|
|
29
|
-
constructor(name: string, args
|
|
39
|
+
constructor(name: string, args: RegistryCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
30
40
|
}
|
|
31
41
|
/**
|
|
32
42
|
* The set of arguments for constructing a RegistryCredential resource.
|
|
33
43
|
*/
|
|
34
44
|
export interface RegistryCredentialArgs {
|
|
35
|
-
authToken
|
|
45
|
+
authToken: pulumi.Input<string>;
|
|
36
46
|
name?: pulumi.Input<string>;
|
|
37
|
-
ownerId
|
|
38
|
-
registry
|
|
39
|
-
username
|
|
47
|
+
ownerId: pulumi.Input<string>;
|
|
48
|
+
registry: pulumi.Input<enums.registrycredentials.Registry>;
|
|
49
|
+
username: pulumi.Input<string>;
|
|
40
50
|
}
|
|
@@ -38,6 +38,18 @@ class RegistryCredential extends pulumi.CustomResource {
|
|
|
38
38
|
let resourceInputs = {};
|
|
39
39
|
opts = opts || {};
|
|
40
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
|
+
}
|
|
41
53
|
resourceInputs["authToken"] = args ? args.authToken : undefined;
|
|
42
54
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
43
55
|
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryCredential.js","sourceRoot":"","sources":["../../registrycredentials/registryCredential.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;
|
|
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,IAA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,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,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"}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class AutoscaleService extends pulumi.CustomResource {
|
|
5
5
|
/**
|
|
6
|
-
* Get an existing
|
|
6
|
+
* Get an existing AutoscaleService resource's state with the given name, ID, and optional extra
|
|
7
7
|
* properties used to qualify the lookup.
|
|
8
8
|
*
|
|
9
9
|
* @param name The _unique_ name of the resulting resource.
|
|
10
10
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
11
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
12
|
*/
|
|
13
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AutoscaleService;
|
|
14
14
|
/**
|
|
15
|
-
* Returns true if the given object is an instance of
|
|
15
|
+
* Returns true if the given object is an instance of AutoscaleService. This is designed to work even
|
|
16
16
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
17
|
*/
|
|
18
|
-
static isInstance(obj: any): obj is
|
|
19
|
-
readonly criteria: pulumi.Output<outputs.services.
|
|
20
|
-
readonly enabled: pulumi.Output<boolean
|
|
18
|
+
static isInstance(obj: any): obj is AutoscaleService;
|
|
19
|
+
readonly criteria: pulumi.Output<outputs.services.AutoscalingCriteria>;
|
|
20
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
21
21
|
/**
|
|
22
22
|
* The maximum number of instances for the service
|
|
23
23
|
*/
|
|
24
|
-
readonly max: pulumi.Output<number
|
|
24
|
+
readonly max: pulumi.Output<number>;
|
|
25
25
|
/**
|
|
26
26
|
* The minimum number of instances for the service
|
|
27
27
|
*/
|
|
28
|
-
readonly min: pulumi.Output<number
|
|
28
|
+
readonly min: pulumi.Output<number>;
|
|
29
29
|
/**
|
|
30
|
-
* Create a
|
|
30
|
+
* Create a AutoscaleService resource with the given unique name, arguments, and options.
|
|
31
31
|
*
|
|
32
32
|
* @param name The _unique_ name of the resource.
|
|
33
33
|
* @param args The arguments to use to populate this resource's properties.
|
|
34
34
|
* @param opts A bag of options that control this resource's behavior.
|
|
35
35
|
*/
|
|
36
|
-
constructor(name: string, args
|
|
36
|
+
constructor(name: string, args: AutoscaleServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* The set of arguments for constructing a
|
|
39
|
+
* The set of arguments for constructing a AutoscaleService resource.
|
|
40
40
|
*/
|
|
41
|
-
export interface
|
|
42
|
-
criteria
|
|
43
|
-
enabled
|
|
41
|
+
export interface AutoscaleServiceArgs {
|
|
42
|
+
criteria: pulumi.Input<inputs.services.AutoscalingCriteriaArgs>;
|
|
43
|
+
enabled: pulumi.Input<boolean>;
|
|
44
44
|
/**
|
|
45
45
|
* The maximum number of instances for the service
|
|
46
46
|
*/
|
|
47
|
-
max
|
|
47
|
+
max: pulumi.Input<number>;
|
|
48
48
|
/**
|
|
49
49
|
* The minimum number of instances for the service
|
|
50
50
|
*/
|
|
51
|
-
min
|
|
51
|
+
min: pulumi.Input<number>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* The ID of the service
|
|
54
54
|
*/
|
|
55
55
|
serviceId?: pulumi.Input<string>;
|
|
56
56
|
}
|
|
@@ -2,12 +2,13 @@
|
|
|
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.AutoscaleService = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const inputs = require("../types/input");
|
|
7
8
|
const utilities = require("../utilities");
|
|
8
|
-
class
|
|
9
|
+
class AutoscaleService extends pulumi.CustomResource {
|
|
9
10
|
/**
|
|
10
|
-
* Get an existing
|
|
11
|
+
* Get an existing AutoscaleService resource's state with the given name, ID, and optional extra
|
|
11
12
|
* properties used to qualify the lookup.
|
|
12
13
|
*
|
|
13
14
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -15,31 +16,44 @@ class AutoScaling extends pulumi.CustomResource {
|
|
|
15
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
17
|
*/
|
|
17
18
|
static get(name, id, opts) {
|
|
18
|
-
return new
|
|
19
|
+
return new AutoscaleService(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
|
-
* Returns true if the given object is an instance of
|
|
22
|
+
* Returns true if the given object is an instance of AutoscaleService. This is designed to work even
|
|
22
23
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
24
|
*/
|
|
24
25
|
static isInstance(obj) {
|
|
25
26
|
if (obj === undefined || obj === null) {
|
|
26
27
|
return false;
|
|
27
28
|
}
|
|
28
|
-
return obj['__pulumiType'] ===
|
|
29
|
+
return obj['__pulumiType'] === AutoscaleService.__pulumiType;
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
|
-
* Create a
|
|
32
|
+
* Create a AutoscaleService resource with the given unique name, arguments, and options.
|
|
32
33
|
*
|
|
33
34
|
* @param name The _unique_ name of the resource.
|
|
34
35
|
* @param args The arguments to use to populate this resource's properties.
|
|
35
36
|
* @param opts A bag of options that control this resource's behavior.
|
|
36
37
|
*/
|
|
37
38
|
constructor(name, args, opts) {
|
|
39
|
+
var _a;
|
|
38
40
|
let resourceInputs = {};
|
|
39
41
|
opts = opts || {};
|
|
40
42
|
if (!opts.id) {
|
|
41
|
-
|
|
42
|
-
|
|
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;
|
|
43
57
|
resourceInputs["max"] = args ? args.max : undefined;
|
|
44
58
|
resourceInputs["min"] = args ? args.min : undefined;
|
|
45
59
|
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
@@ -51,10 +65,10 @@ class AutoScaling extends pulumi.CustomResource {
|
|
|
51
65
|
resourceInputs["min"] = undefined /*out*/;
|
|
52
66
|
}
|
|
53
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
-
super(
|
|
68
|
+
super(AutoscaleService.__pulumiType, name, resourceInputs, opts);
|
|
55
69
|
}
|
|
56
70
|
}
|
|
57
|
-
exports.
|
|
71
|
+
exports.AutoscaleService = AutoscaleService;
|
|
58
72
|
/** @internal */
|
|
59
|
-
|
|
60
|
-
//# sourceMappingURL=
|
|
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;IAC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,QAAQ,CAAC,sCAAsC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzK,cAAc,CAAC,SAAS,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,KAAK,CAAC;YACvE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;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,9 +6,6 @@ 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 {
|
|
13
10
|
/**
|
|
14
11
|
* Get an existing BackgroundWorker resource's state with the given name, ID, and optional extra
|
|
@@ -49,34 +46,39 @@ class BackgroundWorker extends pulumi.CustomResource {
|
|
|
49
46
|
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
50
47
|
throw new Error("Missing required property 'ownerId'");
|
|
51
48
|
}
|
|
52
|
-
|
|
53
|
-
throw new Error("Missing required property 'repo'");
|
|
54
|
-
}
|
|
55
|
-
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";
|
|
56
50
|
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
57
|
-
resourceInputs["
|
|
51
|
+
resourceInputs["buildFilter"] = args ? args.buildFilter : undefined;
|
|
58
52
|
resourceInputs["envVars"] = args ? args.envVars : undefined;
|
|
53
|
+
resourceInputs["image"] = args ? args.image : undefined;
|
|
59
54
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
60
|
-
resourceInputs["notifyOnFail"] = args ? args.notifyOnFail : undefined;
|
|
61
55
|
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
62
56
|
resourceInputs["repo"] = args ? args.repo : undefined;
|
|
57
|
+
resourceInputs["rootDir"] = args ? args.rootDir : undefined;
|
|
63
58
|
resourceInputs["secretFiles"] = args ? args.secretFiles : undefined;
|
|
64
|
-
resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.
|
|
65
|
-
resourceInputs["slug"] = args ? args.slug : undefined;
|
|
66
|
-
resourceInputs["suspended"] = args ? args.suspended : undefined;
|
|
67
|
-
resourceInputs["suspenders"] = args ? args.suspenders : undefined;
|
|
59
|
+
resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.backgroundWorkerDetailsCreateArgsProvideDefaults) : undefined) : undefined;
|
|
68
60
|
resourceInputs["type"] = (_b = (args ? args.type : undefined)) !== null && _b !== void 0 ? _b : "background_worker";
|
|
69
|
-
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*/;
|
|
70
68
|
}
|
|
71
69
|
else {
|
|
72
70
|
resourceInputs["autoDeploy"] = undefined /*out*/;
|
|
73
71
|
resourceInputs["branch"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["buildFilter"] = undefined /*out*/;
|
|
74
73
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
75
74
|
resourceInputs["envVars"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["image"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["imagePath"] = undefined /*out*/;
|
|
76
77
|
resourceInputs["name"] = undefined /*out*/;
|
|
77
78
|
resourceInputs["notifyOnFail"] = undefined /*out*/;
|
|
78
79
|
resourceInputs["ownerId"] = undefined /*out*/;
|
|
79
80
|
resourceInputs["repo"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["rootDir"] = undefined /*out*/;
|
|
80
82
|
resourceInputs["secretFiles"] = undefined /*out*/;
|
|
81
83
|
resourceInputs["serviceDetails"] = undefined /*out*/;
|
|
82
84
|
resourceInputs["slug"] = undefined /*out*/;
|
|
@@ -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,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