@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.
Files changed (149) hide show
  1. package/config/vars.d.ts +1 -1
  2. package/config/vars.js.map +1 -1
  3. package/owners/getOwner.d.ts +4 -4
  4. package/owners/getOwner.js +1 -1
  5. package/owners/getOwner.js.map +1 -1
  6. package/owners/listOwners.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/registrycredentials/getRegistryCredential.d.ts +13 -3
  9. package/registrycredentials/getRegistryCredential.js +5 -4
  10. package/registrycredentials/getRegistryCredential.js.map +1 -1
  11. package/registrycredentials/index.d.ts +2 -1
  12. package/registrycredentials/index.js +16 -0
  13. package/registrycredentials/index.js.map +1 -1
  14. package/registrycredentials/listRegistryCredentials.d.ts +1 -1
  15. package/registrycredentials/registryCredential.d.ts +20 -10
  16. package/registrycredentials/registryCredential.js +12 -0
  17. package/registrycredentials/registryCredential.js.map +1 -1
  18. package/services/{autoScaling.d.ts → autoscaleService.d.ts} +18 -18
  19. package/services/{autoScaling.js → autoscaleService.js} +27 -13
  20. package/services/autoscaleService.js.map +1 -0
  21. package/services/backgroundWorker.d.ts +16 -39
  22. package/services/backgroundWorker.js +16 -14
  23. package/services/backgroundWorker.js.map +1 -1
  24. package/services/cancelDeploy.d.ts +50 -0
  25. package/services/cancelDeploy.js +67 -0
  26. package/services/cancelDeploy.js.map +1 -0
  27. package/services/cancelJob.d.ts +45 -0
  28. package/services/cancelJob.js +66 -0
  29. package/services/cancelJob.js.map +1 -0
  30. package/services/cronJob.d.ts +16 -39
  31. package/services/cronJob.js +16 -15
  32. package/services/cronJob.js.map +1 -1
  33. package/services/customDomain.d.ts +36 -0
  34. package/services/{deploys.js → customDomain.js} +13 -16
  35. package/services/customDomain.js.map +1 -0
  36. package/services/deploy.d.ts +70 -0
  37. package/services/deploy.js +73 -0
  38. package/services/deploy.js.map +1 -0
  39. package/services/{envVars.d.ts → envVarsForService.d.ts} +12 -12
  40. package/services/{envVars.js → envVarsForService.js} +11 -11
  41. package/services/envVarsForService.js.map +1 -0
  42. package/services/getBackgroundWorker.d.ts +4 -4
  43. package/services/getBackgroundWorker.js +1 -1
  44. package/services/getBackgroundWorker.js.map +1 -1
  45. package/services/getCronJob.d.ts +4 -4
  46. package/services/getCronJob.js +1 -1
  47. package/services/getCronJob.js.map +1 -1
  48. package/services/getCustomDomain.d.ts +6 -6
  49. package/services/getCustomDomain.js +1 -1
  50. package/services/getCustomDomain.js.map +1 -1
  51. package/services/getDeploy.d.ts +6 -6
  52. package/services/getDeploy.js +1 -1
  53. package/services/getDeploy.js.map +1 -1
  54. package/services/getJob.d.ts +6 -6
  55. package/services/getJob.js +1 -1
  56. package/services/getJob.js.map +1 -1
  57. package/services/getPrivateService.d.ts +4 -4
  58. package/services/getPrivateService.js +1 -1
  59. package/services/getPrivateService.js.map +1 -1
  60. package/services/getStaticSite.d.ts +4 -4
  61. package/services/getStaticSite.js +1 -1
  62. package/services/getStaticSite.js.map +1 -1
  63. package/services/getWebService.d.ts +4 -4
  64. package/services/getWebService.js +1 -1
  65. package/services/getWebService.js.map +1 -1
  66. package/services/index.d.ts +51 -33
  67. package/services/index.js +65 -41
  68. package/services/index.js.map +1 -1
  69. package/services/{jobs.d.ts → job.d.ts} +13 -12
  70. package/services/{jobs.js → job.js} +12 -14
  71. package/services/job.js.map +1 -0
  72. package/services/listCustomDomains.d.ts +3 -3
  73. package/services/listDeploys.d.ts +3 -3
  74. package/services/listEnvVarsForService.d.ts +19 -0
  75. package/services/listEnvVarsForService.js +19 -0
  76. package/services/listEnvVarsForService.js.map +1 -0
  77. package/services/listJob.d.ts +19 -0
  78. package/services/{listJobs.js → listJob.js} +8 -8
  79. package/services/listJob.js.map +1 -0
  80. package/services/listRetrieveHeaders.d.ts +19 -0
  81. package/services/listRetrieveHeaders.js +19 -0
  82. package/services/listRetrieveHeaders.js.map +1 -0
  83. package/services/listRetrieveRoutes.d.ts +19 -0
  84. package/services/listRetrieveRoutes.js +19 -0
  85. package/services/listRetrieveRoutes.js.map +1 -0
  86. package/services/listServices.d.ts +1 -1
  87. package/services/previewService.d.ts +62 -0
  88. package/services/{customDomains.js → previewService.js} +22 -23
  89. package/services/previewService.js.map +1 -0
  90. package/services/privateService.d.ts +16 -39
  91. package/services/privateService.js +16 -14
  92. package/services/privateService.js.map +1 -1
  93. package/services/refreshCustomDomain.d.ts +38 -0
  94. package/services/refreshCustomDomain.js +53 -0
  95. package/services/refreshCustomDomain.js.map +1 -0
  96. package/services/restartServer.d.ts +34 -0
  97. package/services/restartServer.js +52 -0
  98. package/services/restartServer.js.map +1 -0
  99. package/services/rollbackDeploy.d.ts +54 -0
  100. package/services/rollbackDeploy.js +71 -0
  101. package/services/rollbackDeploy.js.map +1 -0
  102. package/services/{scale.d.ts → scaleService.d.ts} +10 -10
  103. package/services/{scale.js → scaleService.js} +11 -11
  104. package/services/scaleService.js.map +1 -0
  105. package/services/staticSite.d.ts +16 -38
  106. package/services/staticSite.js +16 -13
  107. package/services/staticSite.js.map +1 -1
  108. package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
  109. package/services/{suspend.js → suspendService.js} +11 -11
  110. package/services/suspendService.js.map +1 -0
  111. package/services/webService.d.ts +16 -39
  112. package/services/webService.js +16 -14
  113. package/services/webService.js.map +1 -1
  114. package/types/enums/index.d.ts +2 -1
  115. package/types/enums/index.js +3 -1
  116. package/types/enums/index.js.map +1 -1
  117. package/types/enums/owners/index.d.ts +0 -3
  118. package/types/enums/registrycredentials/index.d.ts +15 -0
  119. package/types/enums/registrycredentials/index.js +16 -0
  120. package/types/enums/registrycredentials/index.js.map +1 -0
  121. package/types/enums/services/index.d.ts +330 -64
  122. package/types/enums/services/index.js +230 -38
  123. package/types/enums/services/index.js.map +1 -1
  124. package/types/input.d.ts +169 -98
  125. package/types/input.js +29 -30
  126. package/types/input.js.map +1 -1
  127. package/types/output.d.ts +425 -465
  128. package/types/output.js +59 -78
  129. package/types/output.js.map +1 -1
  130. package/services/autoScaling.js.map +0 -1
  131. package/services/customDomains.d.ts +0 -44
  132. package/services/customDomains.js.map +0 -1
  133. package/services/deploys.d.ts +0 -39
  134. package/services/deploys.js.map +0 -1
  135. package/services/envVars.js.map +0 -1
  136. package/services/jobs.js.map +0 -1
  137. package/services/listEnvVars.d.ts +0 -19
  138. package/services/listEnvVars.js +0 -19
  139. package/services/listEnvVars.js.map +0 -1
  140. package/services/listHeaders.d.ts +0 -19
  141. package/services/listHeaders.js +0 -19
  142. package/services/listHeaders.js.map +0 -1
  143. package/services/listJobs.d.ts +0 -19
  144. package/services/listJobs.js.map +0 -1
  145. package/services/listRoutes.d.ts +0 -19
  146. package/services/listRoutes.js +0 -19
  147. package/services/listRoutes.js.map +0 -1
  148. package/services/scale.js.map +0 -1
  149. 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.DeployClearCache | undefined;
9
+ export declare const clearCacheOnServiceUpdateDeployments: enums.services.ClearCache | undefined;
@@ -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,CAAkC,sCAAsC,CAAC,CAAC;IACvG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
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"}
@@ -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
- * (Required) The ID of the user or team
6
+ * The ID of the user or team
7
7
  */
8
- id: string;
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
- * (Required) The ID of the user or team
16
+ * The ID of the user or team
17
17
  */
18
- id: pulumi.Input<string>;
18
+ ownerId: pulumi.Input<string>;
19
19
  }
@@ -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
- "id": args.id,
11
+ "ownerId": args.ownerId,
12
12
  }, opts);
13
13
  }
14
14
  exports.getOwner = getOwner;
@@ -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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,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"}
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"}
@@ -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.ListOwnersResponse[];
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudyskysoftware/pulumi-render",
3
- "version": "v0.1.1",
3
+ "version": "v0.2.0",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "render",
@@ -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?: GetRegistryCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryCredentialResult>;
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.GetRegistryCredentialProperties;
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", {}, opts);
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,IAAgC,EAAE,IAA2B;IAC/F,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,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAQD,SAAgB,2BAA2B,CAAC,IAA2B;IACnE,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAA;AACrD,CAAC;AAFD,kEAEC"}
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;;;AAEjF,yCAAyC;AACzC,0CAA0C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BAAqB,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.ListRegistryCredentialsItemProperties[];
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 | undefined>;
18
- readonly name: pulumi.Output<string | undefined>;
19
- readonly ownerId: pulumi.Output<string | undefined>;
20
- readonly registry: pulumi.Output<string | undefined>;
21
- readonly username: pulumi.Output<string | undefined>;
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?: RegistryCredentialArgs, opts?: pulumi.CustomResourceOptions);
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?: pulumi.Input<string>;
45
+ authToken: pulumi.Input<string>;
36
46
  name?: pulumi.Input<string>;
37
- ownerId?: pulumi.Input<string>;
38
- registry?: pulumi.Input<string>;
39
- username?: pulumi.Input<string>;
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;AACzC,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,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CA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AC,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 AutoScaling extends pulumi.CustomResource {
4
+ export declare class AutoscaleService extends pulumi.CustomResource {
5
5
  /**
6
- * Get an existing AutoScaling resource's state with the given name, ID, and optional extra
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): AutoScaling;
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 AutoScaling. This is designed to work even
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 AutoScaling;
19
- readonly criteria: pulumi.Output<outputs.services.AutoScalingCriteria | undefined>;
20
- readonly enabled: pulumi.Output<boolean | undefined>;
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 | undefined>;
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 | undefined>;
28
+ readonly min: pulumi.Output<number>;
29
29
  /**
30
- * Create a AutoScaling resource with the given unique name, arguments, and options.
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?: AutoScalingArgs, opts?: pulumi.CustomResourceOptions);
36
+ constructor(name: string, args: AutoscaleServiceArgs, opts?: pulumi.CustomResourceOptions);
37
37
  }
38
38
  /**
39
- * The set of arguments for constructing a AutoScaling resource.
39
+ * The set of arguments for constructing a AutoscaleService resource.
40
40
  */
41
- export interface AutoScalingArgs {
42
- criteria?: pulumi.Input<inputs.services.AutoScalingCriteriaArgs>;
43
- enabled?: pulumi.Input<boolean>;
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?: pulumi.Input<number>;
47
+ max: pulumi.Input<number>;
48
48
  /**
49
49
  * The minimum number of instances for the service
50
50
  */
51
- min?: pulumi.Input<number>;
51
+ min: pulumi.Input<number>;
52
52
  /**
53
- * (Required) The ID of the service
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.AutoScaling = void 0;
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 AutoScaling extends pulumi.CustomResource {
9
+ class AutoscaleService extends pulumi.CustomResource {
9
10
  /**
10
- * Get an existing AutoScaling resource's state with the given name, ID, and optional extra
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 AutoScaling(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
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 AutoScaling. This is designed to work even
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'] === AutoScaling.__pulumiType;
29
+ return obj['__pulumiType'] === AutoscaleService.__pulumiType;
29
30
  }
30
31
  /**
31
- * Create a AutoScaling resource with the given unique name, arguments, and options.
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
- resourceInputs["criteria"] = args ? args.criteria : undefined;
42
- resourceInputs["enabled"] = args ? args.enabled : undefined;
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(AutoScaling.__pulumiType, name, resourceInputs, opts);
68
+ super(AutoscaleService.__pulumiType, name, resourceInputs, opts);
55
69
  }
56
70
  }
57
- exports.AutoScaling = AutoScaling;
71
+ exports.AutoscaleService = AutoscaleService;
58
72
  /** @internal */
59
- AutoScaling.__pulumiType = 'render:services:AutoScaling';
60
- //# sourceMappingURL=autoScaling.js.map
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,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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.BackgroundWorkerServiceDetails | undefined>;
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<string[] | undefined>;
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
- * Whether to auto deploy the service or not upon git push.
53
+ * Defaults to "yes"
68
54
  */
69
- autoDeploy?: pulumi.Input<enums.services.ServiceAutoDeploy>;
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
- createdAt?: pulumi.Input<string>;
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: pulumi.Input<string>;
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.BackgroundWorkerServiceDetailsArgs>;
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
- if ((!args || args.repo === undefined) && !opts.urn) {
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["createdAt"] = args ? args.createdAt : undefined;
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.backgroundWorkerServiceDetailsArgsProvideDefaults) : undefined) : undefined;
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["updatedAt"] = args ? args.updatedAt : undefined;
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":";AAA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