@pulumi/cloudinit 1.5.0-alpha.1708494411 → 1.5.0-alpha.1708612396

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/cloudinit",
3
- "version": "v1.5.0-alpha.1708494411+472049ac",
3
+ "version": "v1.5.0-alpha.1708612396+48039e57",
4
4
  "description": "A Pulumi package for creating and managing cloudinit cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/input.d.ts CHANGED
@@ -35,6 +35,10 @@ export interface GetConfigPart {
35
35
  */
36
36
  mergeType?: string;
37
37
  }
38
+ /**
39
+ * getConfigPartProvideDefaults sets the appropriate defaults for GetConfigPart
40
+ */
41
+ export declare function getConfigPartProvideDefaults(val: GetConfigPart): GetConfigPart;
38
42
  export interface GetConfigPartArgs {
39
43
  /**
40
44
  * Body content for the part.
@@ -53,3 +57,7 @@ export interface GetConfigPartArgs {
53
57
  */
54
58
  mergeType?: pulumi.Input<string>;
55
59
  }
60
+ /**
61
+ * getConfigPartArgsProvideDefaults sets the appropriate defaults for GetConfigPartArgs
62
+ */
63
+ export declare function getConfigPartArgsProvideDefaults(val: GetConfigPartArgs): GetConfigPartArgs;
package/types/input.js CHANGED
@@ -2,4 +2,21 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getConfigPartArgsProvideDefaults = exports.getConfigPartProvideDefaults = void 0;
6
+ /**
7
+ * getConfigPartProvideDefaults sets the appropriate defaults for GetConfigPart
8
+ */
9
+ function getConfigPartProvideDefaults(val) {
10
+ var _a;
11
+ return Object.assign(Object.assign({}, val), { contentType: (_a = (val.contentType)) !== null && _a !== void 0 ? _a : "text/plain" });
12
+ }
13
+ exports.getConfigPartProvideDefaults = getConfigPartProvideDefaults;
14
+ /**
15
+ * getConfigPartArgsProvideDefaults sets the appropriate defaults for GetConfigPartArgs
16
+ */
17
+ function getConfigPartArgsProvideDefaults(val) {
18
+ var _a;
19
+ return Object.assign(Object.assign({}, val), { contentType: (_a = (val.contentType)) !== null && _a !== void 0 ? _a : "text/plain" });
20
+ }
21
+ exports.getConfigPartArgsProvideDefaults = getConfigPartArgsProvideDefaults;
5
22
  //# sourceMappingURL=input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AA6CjF;;GAEG;AACH,SAAgB,4BAA4B,CAAC,GAAkB;;IAC3D,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,YAAY,IAChD;AACN,CAAC;AALD,oEAKC;AAoBD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,GAAsB;;IACnE,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,YAAY,IAChD;AACN,CAAC;AALD,4EAKC"}
package/types/output.d.ts CHANGED
@@ -24,7 +24,7 @@ export interface GetConfigPart {
24
24
  /**
25
25
  * A MIME-style content type to report in the header for the part. Defaults to `text/plain`
26
26
  */
27
- contentType: string;
27
+ contentType?: string;
28
28
  /**
29
29
  * A filename to report in the header for the part.
30
30
  */
@@ -34,3 +34,7 @@ export interface GetConfigPart {
34
34
  */
35
35
  mergeType?: string;
36
36
  }
37
+ /**
38
+ * getConfigPartProvideDefaults sets the appropriate defaults for GetConfigPart
39
+ */
40
+ export declare function getConfigPartProvideDefaults(val: GetConfigPart): GetConfigPart;
package/types/output.js CHANGED
@@ -2,4 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getConfigPartProvideDefaults = void 0;
6
+ /**
7
+ * getConfigPartProvideDefaults sets the appropriate defaults for GetConfigPart
8
+ */
9
+ function getConfigPartProvideDefaults(val) {
10
+ var _a;
11
+ return Object.assign(Object.assign({}, val), { contentType: (_a = (val.contentType)) !== null && _a !== void 0 ? _a : "text/plain" });
12
+ }
13
+ exports.getConfigPartProvideDefaults = getConfigPartProvideDefaults;
5
14
  //# sourceMappingURL=output.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AA6CjF;;GAEG;AACH,SAAgB,4BAA4B,CAAC,GAAkB;;IAC3D,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,YAAY,IAChD;AACN,CAAC;AALD,oEAKC"}