@pulumi/consul 3.4.0 → 3.6.0-alpha.1641516994

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 (120) hide show
  1. package/README.md +1 -1
  2. package/aclAuthMethod.js +23 -22
  3. package/aclAuthMethod.js.map +1 -1
  4. package/aclBindingRule.js +15 -14
  5. package/aclBindingRule.js.map +1 -1
  6. package/aclPolicy.js +13 -12
  7. package/aclPolicy.js.map +1 -1
  8. package/aclRole.js +15 -14
  9. package/aclRole.js.map +1 -1
  10. package/aclToken.js +21 -20
  11. package/aclToken.js.map +1 -1
  12. package/aclTokenPolicyAttachment.js +7 -6
  13. package/aclTokenPolicyAttachment.js.map +1 -1
  14. package/aclTokenRoleAttachment.js +7 -6
  15. package/aclTokenRoleAttachment.js.map +1 -1
  16. package/agentService.js +11 -10
  17. package/agentService.js.map +1 -1
  18. package/autopilotConfig.js +19 -18
  19. package/autopilotConfig.js.map +1 -1
  20. package/catalogEntry.js +13 -12
  21. package/catalogEntry.js.map +1 -1
  22. package/certificateAuthority.js +7 -6
  23. package/certificateAuthority.js.map +1 -1
  24. package/config/index.js +11 -4
  25. package/config/index.js.map +1 -1
  26. package/config/vars.d.ts +15 -15
  27. package/config/vars.js +91 -19
  28. package/config/vars.js.map +1 -1
  29. package/configEntry.js +11 -10
  30. package/configEntry.js.map +1 -1
  31. package/getAclAuthMethod.d.ts +14 -0
  32. package/getAclAuthMethod.js +5 -0
  33. package/getAclAuthMethod.js.map +1 -1
  34. package/getAclPolicy.d.ts +26 -0
  35. package/getAclPolicy.js +5 -0
  36. package/getAclPolicy.js.map +1 -1
  37. package/getAclRole.d.ts +14 -0
  38. package/getAclRole.js +5 -0
  39. package/getAclRole.js.map +1 -1
  40. package/getAclToken.d.ts +14 -0
  41. package/getAclToken.js +5 -0
  42. package/getAclToken.js.map +1 -1
  43. package/getAclTokenSecretId.d.ts +15 -0
  44. package/getAclTokenSecretId.js +5 -0
  45. package/getAclTokenSecretId.js.map +1 -1
  46. package/getAgentConfig.js +1 -0
  47. package/getAgentConfig.js.map +1 -1
  48. package/getAgentSelf.js +1 -0
  49. package/getAgentSelf.js.map +1 -1
  50. package/getAutopilotHealth.d.ts +11 -0
  51. package/getAutopilotHealth.js +5 -0
  52. package/getAutopilotHealth.js.map +1 -1
  53. package/getCatalogNodes.d.ts +7 -0
  54. package/getCatalogNodes.js +5 -0
  55. package/getCatalogNodes.js.map +1 -1
  56. package/getCatalogService.d.ts +11 -0
  57. package/getCatalogService.js +5 -0
  58. package/getCatalogService.js.map +1 -1
  59. package/getCatalogServices.d.ts +7 -0
  60. package/getCatalogServices.js +5 -0
  61. package/getCatalogServices.js.map +1 -1
  62. package/getKeyPrefix.d.ts +31 -0
  63. package/getKeyPrefix.js +5 -0
  64. package/getKeyPrefix.js.map +1 -1
  65. package/getKeys.d.ts +25 -0
  66. package/getKeys.js +5 -0
  67. package/getKeys.js.map +1 -1
  68. package/getNetworkAreaMembers.d.ts +24 -4
  69. package/getNetworkAreaMembers.js +9 -4
  70. package/getNetworkAreaMembers.js.map +1 -1
  71. package/getNetworkSegments.d.ts +16 -0
  72. package/getNetworkSegments.js +5 -0
  73. package/getNetworkSegments.js.map +1 -1
  74. package/getNodes.d.ts +10 -0
  75. package/getNodes.js +5 -0
  76. package/getNodes.js.map +1 -1
  77. package/getService.d.ts +31 -0
  78. package/getService.js +5 -0
  79. package/getService.js.map +1 -1
  80. package/getServiceHealth.d.ts +42 -0
  81. package/getServiceHealth.js +5 -0
  82. package/getServiceHealth.js.map +1 -1
  83. package/getServices.d.ts +10 -0
  84. package/getServices.js +5 -0
  85. package/getServices.js.map +1 -1
  86. package/index.js +54 -46
  87. package/index.js.map +1 -1
  88. package/intention.js +19 -18
  89. package/intention.js.map +1 -1
  90. package/keyPrefix.js +15 -14
  91. package/keyPrefix.js.map +1 -1
  92. package/keys.js +13 -12
  93. package/keys.js.map +1 -1
  94. package/license.js +27 -26
  95. package/license.js.map +1 -1
  96. package/namespace.js +13 -12
  97. package/namespace.js.map +1 -1
  98. package/namespacePolicyAttachment.js +7 -6
  99. package/namespacePolicyAttachment.js.map +1 -1
  100. package/namespaceRoleAttachment.js +7 -6
  101. package/namespaceRoleAttachment.js.map +1 -1
  102. package/networkArea.js +13 -12
  103. package/networkArea.js.map +1 -1
  104. package/node.js +13 -12
  105. package/node.js.map +1 -1
  106. package/package.json +4 -3
  107. package/package.json.bak +3 -2
  108. package/package.json.dev +4 -3
  109. package/preparedQuery.js +35 -34
  110. package/preparedQuery.js.map +1 -1
  111. package/provider.js +18 -17
  112. package/provider.js.map +1 -1
  113. package/service.js +27 -26
  114. package/service.js.map +1 -1
  115. package/types/index.js +1 -0
  116. package/types/index.js.map +1 -1
  117. package/types/input.d.ts +200 -0
  118. package/types/output.d.ts +0 -4
  119. package/utilities.js +1 -0
  120. package/utilities.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"getAclToken.js","sourceRoot":"","sources":["../getAclToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC"}
1
+ {"version":3,"file":"getAclToken.js","sourceRoot":"","sources":["../getAclToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC;AAwDD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -31,3 +31,18 @@ export interface GetAclTokenSecretIdResult {
31
31
  */
32
32
  readonly secretId: string;
33
33
  }
34
+ export declare function getAclTokenSecretIdOutput(args: GetAclTokenSecretIdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAclTokenSecretIdResult>;
35
+ /**
36
+ * A collection of arguments for invoking getAclTokenSecretId.
37
+ */
38
+ export interface GetAclTokenSecretIdOutputArgs {
39
+ /**
40
+ * The accessor ID of the ACL token.
41
+ */
42
+ accessorId: pulumi.Input<string>;
43
+ /**
44
+ * The namespace to lookup the token.
45
+ */
46
+ namespace?: pulumi.Input<string>;
47
+ pgpKey?: pulumi.Input<string>;
48
+ }
@@ -2,6 +2,7 @@
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.getAclTokenSecretIdOutput = exports.getAclTokenSecretId = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  function getAclTokenSecretId(args, opts) {
@@ -18,4 +19,8 @@ function getAclTokenSecretId(args, opts) {
18
19
  }, opts);
19
20
  }
20
21
  exports.getAclTokenSecretId = getAclTokenSecretId;
22
+ function getAclTokenSecretIdOutput(args, opts) {
23
+ return pulumi.output(args).apply(a => getAclTokenSecretId(a, opts));
24
+ }
25
+ exports.getAclTokenSecretIdOutput = getAclTokenSecretIdOutput;
21
26
  //# sourceMappingURL=getAclTokenSecretId.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAclTokenSecretId.js","sourceRoot":"","sources":["../getAclTokenSecretId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kDAaC"}
1
+ {"version":3,"file":"getAclTokenSecretId.js","sourceRoot":"","sources":["../getAclTokenSecretId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kDAaC;AAmCD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
package/getAgentConfig.js CHANGED
@@ -2,6 +2,7 @@
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.getAgentConfig = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getAgentConfig.js","sourceRoot":"","sources":["../getAgentConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
1
+ {"version":3,"file":"getAgentConfig.js","sourceRoot":"","sources":["../getAgentConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
package/getAgentSelf.js CHANGED
@@ -2,6 +2,7 @@
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.getAgentSelf = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getAgentSelf.js","sourceRoot":"","sources":["../getAgentSelf.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC"}
1
+ {"version":3,"file":"getAgentSelf.js","sourceRoot":"","sources":["../getAgentSelf.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC"}
@@ -52,3 +52,14 @@ export interface GetAutopilotHealthResult {
52
52
  */
53
53
  readonly servers: outputs.GetAutopilotHealthServer[];
54
54
  }
55
+ export declare function getAutopilotHealthOutput(args?: GetAutopilotHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAutopilotHealthResult>;
56
+ /**
57
+ * A collection of arguments for invoking getAutopilotHealth.
58
+ */
59
+ export interface GetAutopilotHealthOutputArgs {
60
+ /**
61
+ * The datacenter to use. This overrides the agent's
62
+ * default datacenter and the datacenter in the provider setup.
63
+ */
64
+ datacenter?: pulumi.Input<string>;
65
+ }
@@ -2,6 +2,7 @@
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.getAutopilotHealthOutput = exports.getAutopilotHealth = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -33,4 +34,8 @@ function getAutopilotHealth(args, opts) {
33
34
  }, opts);
34
35
  }
35
36
  exports.getAutopilotHealth = getAutopilotHealth;
37
+ function getAutopilotHealthOutput(args, opts) {
38
+ return pulumi.output(args).apply(a => getAutopilotHealth(a, opts));
39
+ }
40
+ exports.getAutopilotHealthOutput = getAutopilotHealthOutput;
36
41
  //# sourceMappingURL=getAutopilotHealth.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAutopilotHealth.js","sourceRoot":"","sources":["../getAutopilotHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC"}
1
+ {"version":3,"file":"getAutopilotHealth.js","sourceRoot":"","sources":["../getAutopilotHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC;AAuCD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
@@ -21,3 +21,10 @@ export interface GetCatalogNodesResult {
21
21
  readonly nodes: outputs.GetCatalogNodesNode[];
22
22
  readonly queryOptions?: outputs.GetCatalogNodesQueryOption[];
23
23
  }
24
+ export declare function getCatalogNodesOutput(args?: GetCatalogNodesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCatalogNodesResult>;
25
+ /**
26
+ * A collection of arguments for invoking getCatalogNodes.
27
+ */
28
+ export interface GetCatalogNodesOutputArgs {
29
+ queryOptions?: pulumi.Input<pulumi.Input<inputs.GetCatalogNodesQueryOptionArgs>[]>;
30
+ }
@@ -2,6 +2,7 @@
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.getCatalogNodesOutput = exports.getCatalogNodes = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  function getCatalogNodes(args, opts) {
@@ -17,4 +18,8 @@ function getCatalogNodes(args, opts) {
17
18
  }, opts);
18
19
  }
19
20
  exports.getCatalogNodes = getCatalogNodes;
21
+ function getCatalogNodesOutput(args, opts) {
22
+ return pulumi.output(args).apply(a => getCatalogNodes(a, opts));
23
+ }
24
+ exports.getCatalogNodesOutput = getCatalogNodesOutput;
20
25
  //# sourceMappingURL=getCatalogNodes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCatalogNodes.js","sourceRoot":"","sources":["../getCatalogNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC"}
1
+ {"version":3,"file":"getCatalogNodes.js","sourceRoot":"","sources":["../getCatalogNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC;AAwBD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
@@ -26,3 +26,14 @@ export interface GetCatalogServiceResult {
26
26
  readonly services: outputs.GetCatalogServiceService[];
27
27
  readonly tag?: string;
28
28
  }
29
+ export declare function getCatalogServiceOutput(args: GetCatalogServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCatalogServiceResult>;
30
+ /**
31
+ * A collection of arguments for invoking getCatalogService.
32
+ */
33
+ export interface GetCatalogServiceOutputArgs {
34
+ datacenter?: pulumi.Input<string>;
35
+ filter?: pulumi.Input<string>;
36
+ name: pulumi.Input<string>;
37
+ queryOptions?: pulumi.Input<pulumi.Input<inputs.GetCatalogServiceQueryOptionArgs>[]>;
38
+ tag?: pulumi.Input<string>;
39
+ }
@@ -2,6 +2,7 @@
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.getCatalogServiceOutput = exports.getCatalogService = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  function getCatalogService(args, opts) {
@@ -20,4 +21,8 @@ function getCatalogService(args, opts) {
20
21
  }, opts);
21
22
  }
22
23
  exports.getCatalogService = getCatalogService;
24
+ function getCatalogServiceOutput(args, opts) {
25
+ return pulumi.output(args).apply(a => getCatalogService(a, opts));
26
+ }
27
+ exports.getCatalogServiceOutput = getCatalogServiceOutput;
23
28
  //# sourceMappingURL=getCatalogService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCatalogService.js","sourceRoot":"","sources":["../getCatalogService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8CAeC"}
1
+ {"version":3,"file":"getCatalogService.js","sourceRoot":"","sources":["../getCatalogService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8CAeC;AA6BD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
@@ -25,3 +25,10 @@ export interface GetCatalogServicesResult {
25
25
  [key: string]: string;
26
26
  };
27
27
  }
28
+ export declare function getCatalogServicesOutput(args?: GetCatalogServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCatalogServicesResult>;
29
+ /**
30
+ * A collection of arguments for invoking getCatalogServices.
31
+ */
32
+ export interface GetCatalogServicesOutputArgs {
33
+ queryOptions?: pulumi.Input<pulumi.Input<inputs.GetCatalogServicesQueryOptionArgs>[]>;
34
+ }
@@ -2,6 +2,7 @@
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.getCatalogServicesOutput = exports.getCatalogServices = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  function getCatalogServices(args, opts) {
@@ -17,4 +18,8 @@ function getCatalogServices(args, opts) {
17
18
  }, opts);
18
19
  }
19
20
  exports.getCatalogServices = getCatalogServices;
21
+ function getCatalogServicesOutput(args, opts) {
22
+ return pulumi.output(args).apply(a => getCatalogServices(a, opts));
23
+ }
24
+ exports.getCatalogServicesOutput = getCatalogServicesOutput;
20
25
  //# sourceMappingURL=getCatalogServices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCatalogServices.js","sourceRoot":"","sources":["../getCatalogServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC"}
1
+ {"version":3,"file":"getCatalogServices.js","sourceRoot":"","sources":["../getCatalogServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC;AAwBD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
package/getKeyPrefix.d.ts CHANGED
@@ -63,3 +63,34 @@ export interface GetKeyPrefixResult {
63
63
  [key: string]: string;
64
64
  };
65
65
  }
66
+ export declare function getKeyPrefixOutput(args: GetKeyPrefixOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKeyPrefixResult>;
67
+ /**
68
+ * A collection of arguments for invoking getKeyPrefix.
69
+ */
70
+ export interface GetKeyPrefixOutputArgs {
71
+ /**
72
+ * The datacenter to use. This overrides the
73
+ * agent's default datacenter and the datacenter in the provider setup.
74
+ */
75
+ datacenter?: pulumi.Input<string>;
76
+ /**
77
+ * The namespace to create the keys within.
78
+ */
79
+ namespace?: pulumi.Input<string>;
80
+ /**
81
+ * Specifies the common prefix shared by all keys
82
+ * that will be read by this data source instance. In most cases, this will
83
+ * end with a slash to read a "folder" of subkeys.
84
+ */
85
+ pathPrefix: pulumi.Input<string>;
86
+ /**
87
+ * Specifies a subkey in Consul to be read. Supported
88
+ * values documented below. Multiple blocks supported.
89
+ */
90
+ subkeyCollection?: pulumi.Input<pulumi.Input<inputs.GetKeyPrefixSubkeyCollectionArgs>[]>;
91
+ /**
92
+ * The ACL token to use. This overrides the
93
+ * token that the agent provides by default.
94
+ */
95
+ token?: pulumi.Input<string>;
96
+ }
package/getKeyPrefix.js CHANGED
@@ -2,6 +2,7 @@
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.getKeyPrefixOutput = exports.getKeyPrefix = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  function getKeyPrefix(args, opts) {
@@ -20,4 +21,8 @@ function getKeyPrefix(args, opts) {
20
21
  }, opts);
21
22
  }
22
23
  exports.getKeyPrefix = getKeyPrefix;
24
+ function getKeyPrefixOutput(args, opts) {
25
+ return pulumi.output(args).apply(a => getKeyPrefix(a, opts));
26
+ }
27
+ exports.getKeyPrefixOutput = getKeyPrefixOutput;
23
28
  //# sourceMappingURL=getKeyPrefix.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getKeyPrefix.js","sourceRoot":"","sources":["../getKeyPrefix.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,oCAeC"}
1
+ {"version":3,"file":"getKeyPrefix.js","sourceRoot":"","sources":["../getKeyPrefix.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,oCAeC;AA8DD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
package/getKeys.d.ts CHANGED
@@ -73,3 +73,28 @@ export interface GetKeysResult {
73
73
  [key: string]: string;
74
74
  };
75
75
  }
76
+ export declare function getKeysOutput(args?: GetKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKeysResult>;
77
+ /**
78
+ * A collection of arguments for invoking getKeys.
79
+ */
80
+ export interface GetKeysOutputArgs {
81
+ /**
82
+ * The datacenter to use. This overrides the
83
+ * agent's default datacenter and the datacenter in the provider setup.
84
+ */
85
+ datacenter?: pulumi.Input<string>;
86
+ /**
87
+ * Specifies a key in Consul to be read. Supported
88
+ * values documented below. Multiple blocks supported.
89
+ */
90
+ keys?: pulumi.Input<pulumi.Input<inputs.GetKeysKeyArgs>[]>;
91
+ /**
92
+ * The namespace to lookup the keys.
93
+ */
94
+ namespace?: pulumi.Input<string>;
95
+ /**
96
+ * The ACL token to use. This overrides the
97
+ * token that the agent provides by default.
98
+ */
99
+ token?: pulumi.Input<string>;
100
+ }
package/getKeys.js CHANGED
@@ -2,6 +2,7 @@
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.getKeysOutput = exports.getKeys = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -47,4 +48,8 @@ function getKeys(args, opts) {
47
48
  }, opts);
48
49
  }
49
50
  exports.getKeys = getKeys;
51
+ function getKeysOutput(args, opts) {
52
+ return pulumi.output(args).apply(a => getKeys(a, opts));
53
+ }
54
+ exports.getKeysOutput = getKeysOutput;
50
55
  //# sourceMappingURL=getKeys.js.map
package/getKeys.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getKeys.js","sourceRoot":"","sources":["../getKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,0BAeC"}
1
+ {"version":3,"file":"getKeys.js","sourceRoot":"","sources":["../getKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,0BAeC;AA+CD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
@@ -17,10 +17,10 @@ import { output as outputs } from "./types";
17
17
  * retryJoins: ["1.2.3.4"],
18
18
  * useTls: true,
19
19
  * });
20
- * const dc2NetworkAreaMembers = dc2NetworkArea.id.apply(id => consul.getNetworkAreaMembers({
21
- * uuid: id,
22
- * }));
23
- * export const members = dc2NetworkAreaMembers.members;
20
+ * const dc2NetworkAreaMembers = consul.getNetworkAreaMembersOutput({
21
+ * uuid: dc2NetworkArea.id,
22
+ * });
23
+ * export const members = dc2NetworkAreaMembers.apply(dc2NetworkAreaMembers => dc2NetworkAreaMembers.members);
24
24
  * ```
25
25
  */
26
26
  export declare function getNetworkAreaMembers(args: GetNetworkAreaMembersArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAreaMembersResult>;
@@ -65,3 +65,23 @@ export interface GetNetworkAreaMembersResult {
65
65
  */
66
66
  readonly uuid: string;
67
67
  }
68
+ export declare function getNetworkAreaMembersOutput(args: GetNetworkAreaMembersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkAreaMembersResult>;
69
+ /**
70
+ * A collection of arguments for invoking getNetworkAreaMembers.
71
+ */
72
+ export interface GetNetworkAreaMembersOutputArgs {
73
+ /**
74
+ * The datacenter to use. This overrides the
75
+ * agent's default datacenter and the datacenter in the provider setup.
76
+ */
77
+ datacenter?: pulumi.Input<string>;
78
+ /**
79
+ * The ACL token to use. This overrides the
80
+ * token that the agent provides by default.
81
+ */
82
+ token?: pulumi.Input<string>;
83
+ /**
84
+ * The UUID of the area to list.
85
+ */
86
+ uuid: pulumi.Input<string>;
87
+ }
@@ -2,6 +2,7 @@
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.getNetworkAreaMembersOutput = exports.getNetworkAreaMembers = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -21,10 +22,10 @@ const utilities = require("./utilities");
21
22
  * retryJoins: ["1.2.3.4"],
22
23
  * useTls: true,
23
24
  * });
24
- * const dc2NetworkAreaMembers = dc2NetworkArea.id.apply(id => consul.getNetworkAreaMembers({
25
- * uuid: id,
26
- * }));
27
- * export const members = dc2NetworkAreaMembers.members;
25
+ * const dc2NetworkAreaMembers = consul.getNetworkAreaMembersOutput({
26
+ * uuid: dc2NetworkArea.id,
27
+ * });
28
+ * export const members = dc2NetworkAreaMembers.apply(dc2NetworkAreaMembers => dc2NetworkAreaMembers.members);
28
29
  * ```
29
30
  */
30
31
  function getNetworkAreaMembers(args, opts) {
@@ -41,4 +42,8 @@ function getNetworkAreaMembers(args, opts) {
41
42
  }, opts);
42
43
  }
43
44
  exports.getNetworkAreaMembers = getNetworkAreaMembers;
45
+ function getNetworkAreaMembersOutput(args, opts) {
46
+ return pulumi.output(args).apply(a => getNetworkAreaMembers(a, opts));
47
+ }
48
+ exports.getNetworkAreaMembersOutput = getNetworkAreaMembersOutput;
44
49
  //# sourceMappingURL=getNetworkAreaMembers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkAreaMembers.js","sourceRoot":"","sources":["../getNetworkAreaMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,sDAaC"}
1
+ {"version":3,"file":"getNetworkAreaMembers.js","sourceRoot":"","sources":["../getNetworkAreaMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,sDAaC;AA6CD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
@@ -49,3 +49,19 @@ export interface GetNetworkSegmentsResult {
49
49
  readonly segments: string[];
50
50
  readonly token?: string;
51
51
  }
52
+ export declare function getNetworkSegmentsOutput(args?: GetNetworkSegmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkSegmentsResult>;
53
+ /**
54
+ * A collection of arguments for invoking getNetworkSegments.
55
+ */
56
+ export interface GetNetworkSegmentsOutputArgs {
57
+ /**
58
+ * The datacenter to use. This overrides the
59
+ * agent's default datacenter and the datacenter in the provider setup.
60
+ */
61
+ datacenter?: pulumi.Input<string>;
62
+ /**
63
+ * The ACL token to use. This overrides the
64
+ * token that the agent provides by default.
65
+ */
66
+ token?: pulumi.Input<string>;
67
+ }
@@ -2,6 +2,7 @@
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.getNetworkSegmentsOutput = exports.getNetworkSegments = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -34,4 +35,8 @@ function getNetworkSegments(args, opts) {
34
35
  }, opts);
35
36
  }
36
37
  exports.getNetworkSegments = getNetworkSegments;
38
+ function getNetworkSegmentsOutput(args, opts) {
39
+ return pulumi.output(args).apply(a => getNetworkSegments(a, opts));
40
+ }
41
+ exports.getNetworkSegmentsOutput = getNetworkSegmentsOutput;
37
42
  //# sourceMappingURL=getNetworkSegments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkSegments.js","sourceRoot":"","sources":["../getNetworkSegments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gDAaC"}
1
+ {"version":3,"file":"getNetworkSegments.js","sourceRoot":"","sources":["../getNetworkSegments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gDAaC;AAqCD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
package/getNodes.d.ts CHANGED
@@ -43,3 +43,13 @@ export interface GetNodesResult {
43
43
  readonly nodes: outputs.GetNodesNode[];
44
44
  readonly queryOptions?: outputs.GetNodesQueryOption[];
45
45
  }
46
+ export declare function getNodesOutput(args?: GetNodesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodesResult>;
47
+ /**
48
+ * A collection of arguments for invoking getNodes.
49
+ */
50
+ export interface GetNodesOutputArgs {
51
+ /**
52
+ * See below.
53
+ */
54
+ queryOptions?: pulumi.Input<pulumi.Input<inputs.GetNodesQueryOptionArgs>[]>;
55
+ }
package/getNodes.js CHANGED
@@ -2,6 +2,7 @@
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.getNodesOutput = exports.getNodes = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -23,4 +24,8 @@ function getNodes(args, opts) {
23
24
  }, opts);
24
25
  }
25
26
  exports.getNodes = getNodes;
27
+ function getNodesOutput(args, opts) {
28
+ return pulumi.output(args).apply(a => getNodes(a, opts));
29
+ }
30
+ exports.getNodesOutput = getNodesOutput;
26
31
  //# sourceMappingURL=getNodes.js.map
package/getNodes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../getNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC"}
1
+ {"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../getNodes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AAwCD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
package/getService.d.ts CHANGED
@@ -70,3 +70,34 @@ export interface GetServiceResult {
70
70
  */
71
71
  readonly tag?: string;
72
72
  }
73
+ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
74
+ /**
75
+ * A collection of arguments for invoking getService.
76
+ */
77
+ export interface GetServiceOutputArgs {
78
+ /**
79
+ * The Consul datacenter to query. Defaults to the
80
+ * same value found in `queryOptions` parameter specified below, or if that is
81
+ * empty, the `datacenter` value found in the Consul agent that this provider is
82
+ * configured to talk to.
83
+ */
84
+ datacenter?: pulumi.Input<string>;
85
+ /**
86
+ * A filter expression to refine the query, see https://www.consul.io/api-docs/features/filtering
87
+ * and https://www.consul.io/api-docs/catalog#filtering-1.
88
+ */
89
+ filter?: pulumi.Input<string>;
90
+ /**
91
+ * The service name to select.
92
+ */
93
+ name: pulumi.Input<string>;
94
+ /**
95
+ * See below.
96
+ */
97
+ queryOptions?: pulumi.Input<pulumi.Input<inputs.GetServiceQueryOptionArgs>[]>;
98
+ /**
99
+ * A single tag that can be used to filter the list of nodes
100
+ * to return based on a single matching tag..
101
+ */
102
+ tag?: pulumi.Input<string>;
103
+ }
package/getService.js CHANGED
@@ -2,6 +2,7 @@
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.getServiceOutput = exports.getService = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -30,4 +31,8 @@ function getService(args, opts) {
30
31
  }, opts);
31
32
  }
32
33
  exports.getService = getService;
34
+ function getServiceOutput(args, opts) {
35
+ return pulumi.output(args).apply(a => getService(a, opts));
36
+ }
37
+ exports.getServiceOutput = getServiceOutput;
33
38
  //# sourceMappingURL=getService.js.map
package/getService.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,gCAeC"}
1
+ {"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,gCAeC;AA+DD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
@@ -110,3 +110,45 @@ export interface GetServiceHealthResult {
110
110
  readonly tag?: string;
111
111
  readonly waitFor?: string;
112
112
  }
113
+ export declare function getServiceHealthOutput(args: GetServiceHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceHealthResult>;
114
+ /**
115
+ * A collection of arguments for invoking getServiceHealth.
116
+ */
117
+ export interface GetServiceHealthOutputArgs {
118
+ /**
119
+ * The Consul datacenter to query.
120
+ */
121
+ datacenter?: pulumi.Input<string>;
122
+ /**
123
+ * A filter expression to refine the list of results, see
124
+ * https://www.consul.io/api-docs/features/filtering and https://www.consul.io/api-docs/health#filtering-2.
125
+ */
126
+ filter?: pulumi.Input<string>;
127
+ /**
128
+ * The service name to select.
129
+ */
130
+ name: pulumi.Input<string>;
131
+ /**
132
+ * Specifies a node name to sort the node list in ascending order
133
+ * based on the estimated round trip time from that node.
134
+ */
135
+ near?: pulumi.Input<string>;
136
+ /**
137
+ * Filter the results to nodes with the specified key/value
138
+ * pairs.
139
+ */
140
+ nodeMeta?: pulumi.Input<{
141
+ [key: string]: pulumi.Input<string>;
142
+ }>;
143
+ /**
144
+ * Whether to return only nodes with all checks in the
145
+ * passing state. Defaults to `true`.
146
+ */
147
+ passing?: pulumi.Input<boolean>;
148
+ /**
149
+ * A single tag that can be used to filter the list to return
150
+ * based on a single matching tag.
151
+ */
152
+ tag?: pulumi.Input<string>;
153
+ waitFor?: pulumi.Input<string>;
154
+ }
@@ -2,6 +2,7 @@
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.getServiceHealthOutput = exports.getServiceHealth = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -45,4 +46,8 @@ function getServiceHealth(args, opts) {
45
46
  }, opts);
46
47
  }
47
48
  exports.getServiceHealth = getServiceHealth;
49
+ function getServiceHealthOutput(args, opts) {
50
+ return pulumi.output(args).apply(a => getServiceHealth(a, opts));
51
+ }
52
+ exports.getServiceHealthOutput = getServiceHealthOutput;
48
53
  //# sourceMappingURL=getServiceHealth.js.map