@pulumi/consul 3.11.2 → 3.11.3

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 (133) hide show
  1. package/aclAuthMethod.d.ts +2 -4
  2. package/aclAuthMethod.js +2 -4
  3. package/aclAuthMethod.js.map +1 -1
  4. package/aclBindingRule.d.ts +1 -2
  5. package/aclBindingRule.js +1 -2
  6. package/aclBindingRule.js.map +1 -1
  7. package/aclPolicy.d.ts +1 -3
  8. package/aclPolicy.js +1 -3
  9. package/aclPolicy.js.map +1 -1
  10. package/aclRole.d.ts +5 -5
  11. package/aclRole.js +2 -2
  12. package/aclRolePolicyAttachment.d.ts +4 -5
  13. package/aclRolePolicyAttachment.js +4 -5
  14. package/aclRolePolicyAttachment.js.map +1 -1
  15. package/aclToken.d.ts +9 -8
  16. package/aclToken.js +9 -8
  17. package/aclToken.js.map +1 -1
  18. package/adminPartition.d.ts +4 -3
  19. package/adminPartition.js +4 -3
  20. package/adminPartition.js.map +1 -1
  21. package/agentService.d.ts +1 -2
  22. package/agentService.js +1 -2
  23. package/agentService.js.map +1 -1
  24. package/autopilotConfig.d.ts +0 -2
  25. package/autopilotConfig.js +0 -2
  26. package/autopilotConfig.js.map +1 -1
  27. package/catalogEntry.d.ts +0 -24
  28. package/catalogEntry.js +0 -24
  29. package/catalogEntry.js.map +1 -1
  30. package/certificateAuthority.d.ts +0 -21
  31. package/certificateAuthority.js.map +1 -1
  32. package/configEntry.d.ts +26 -23
  33. package/configEntry.js +26 -23
  34. package/configEntry.js.map +1 -1
  35. package/configEntryServiceDefaults.d.ts +9 -9
  36. package/configEntryServiceIntentions.d.ts +12 -12
  37. package/configEntryServiceIntentions.js +3 -3
  38. package/configEntryServiceResolver.d.ts +25 -26
  39. package/configEntryServiceResolver.js +16 -17
  40. package/configEntryServiceResolver.js.map +1 -1
  41. package/configEntryServiceRouter.d.ts +9 -29
  42. package/configEntryServiceRouter.js +0 -20
  43. package/configEntryServiceRouter.js.map +1 -1
  44. package/configEntryServiceSplitter.d.ts +11 -10
  45. package/configEntryServiceSplitter.js +5 -4
  46. package/configEntryServiceSplitter.js.map +1 -1
  47. package/getAclAuthMethod.d.ts +0 -4
  48. package/getAclAuthMethod.js +0 -4
  49. package/getAclAuthMethod.js.map +1 -1
  50. package/getAclPolicy.d.ts +0 -4
  51. package/getAclPolicy.js +0 -4
  52. package/getAclPolicy.js.map +1 -1
  53. package/getAclRole.d.ts +6 -4
  54. package/getAclRole.js +0 -4
  55. package/getAclRole.js.map +1 -1
  56. package/getAclToken.d.ts +0 -4
  57. package/getAclToken.js +0 -4
  58. package/getAclToken.js.map +1 -1
  59. package/getAclTokenSecretId.d.ts +8 -10
  60. package/getAclTokenSecretId.js +8 -10
  61. package/getAclTokenSecretId.js.map +1 -1
  62. package/getAgentConfig.d.ts +0 -4
  63. package/getAgentConfig.js +0 -4
  64. package/getAgentConfig.js.map +1 -1
  65. package/getAutopilotHealth.d.ts +0 -4
  66. package/getAutopilotHealth.js +0 -4
  67. package/getAutopilotHealth.js.map +1 -1
  68. package/getCatalogService.d.ts +38 -8
  69. package/getCatalogService.js +38 -0
  70. package/getCatalogService.js.map +1 -1
  71. package/getCatalogServices.d.ts +40 -0
  72. package/getCatalogServices.js +40 -0
  73. package/getCatalogServices.js.map +1 -1
  74. package/getKeyPrefix.d.ts +14 -22
  75. package/getKeyPrefix.js +14 -22
  76. package/getKeyPrefix.js.map +1 -1
  77. package/getKeys.d.ts +4 -10
  78. package/getKeys.js +4 -10
  79. package/getKeys.js.map +1 -1
  80. package/getNetworkAreaMembers.d.ts +6 -10
  81. package/getNetworkAreaMembers.js +6 -10
  82. package/getNetworkAreaMembers.js.map +1 -1
  83. package/getNetworkSegments.d.ts +12 -8
  84. package/getNetworkSegments.js +12 -8
  85. package/getNetworkSegments.js.map +1 -1
  86. package/getPeering.d.ts +0 -4
  87. package/getPeering.js +0 -4
  88. package/getPeering.js.map +1 -1
  89. package/getPeerings.d.ts +0 -4
  90. package/getPeerings.js +0 -4
  91. package/getPeerings.js.map +1 -1
  92. package/getService.d.ts +38 -8
  93. package/getService.js +38 -0
  94. package/getService.js.map +1 -1
  95. package/getServices.d.ts +40 -0
  96. package/getServices.js +40 -0
  97. package/getServices.js.map +1 -1
  98. package/intention.d.ts +4 -8
  99. package/intention.js +4 -8
  100. package/intention.js.map +1 -1
  101. package/keyPrefix.d.ts +12 -14
  102. package/keyPrefix.js +12 -14
  103. package/keyPrefix.js.map +1 -1
  104. package/keys.d.ts +2 -4
  105. package/keys.js +2 -4
  106. package/keys.js.map +1 -1
  107. package/license.d.ts +4 -4
  108. package/license.js +4 -4
  109. package/namespace.d.ts +1 -2
  110. package/namespace.js +1 -2
  111. package/namespace.js.map +1 -1
  112. package/networkArea.d.ts +0 -2
  113. package/networkArea.js +0 -2
  114. package/networkArea.js.map +1 -1
  115. package/node.d.ts +4 -3
  116. package/node.js +4 -3
  117. package/node.js.map +1 -1
  118. package/package.json +3 -2
  119. package/peering.d.ts +3 -12
  120. package/peering.js +3 -12
  121. package/peering.js.map +1 -1
  122. package/peeringToken.d.ts +0 -2
  123. package/peeringToken.js +0 -2
  124. package/peeringToken.js.map +1 -1
  125. package/preparedQuery.d.ts +30 -30
  126. package/preparedQuery.js +27 -27
  127. package/provider.d.ts +8 -8
  128. package/service.d.ts +41 -8
  129. package/service.js +38 -5
  130. package/service.js.map +1 -1
  131. package/types/input.d.ts +11 -11
  132. package/types/output.d.ts +11 -11
  133. package/package.json.bak +0 -27
@@ -4,12 +4,12 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Example Usage
6
6
  *
7
- * <!--Start PulumiCodeChooser -->
8
7
  * ```typescript
9
8
  * import * as pulumi from "@pulumi/pulumi";
10
9
  * import * as consul from "@pulumi/consul";
11
10
  *
12
- * const jwtProvider = new consul.ConfigEntry("jwtProvider", {
11
+ * const jwtProvider = new consul.ConfigEntry("jwt_provider", {
12
+ * name: "okta",
13
13
  * kind: "jwt-provider",
14
14
  * configJson: JSON.stringify({
15
15
  * ClockSkewSeconds: 30,
@@ -23,6 +23,7 @@ import * as outputs from "./types/output";
23
23
  * }),
24
24
  * });
25
25
  * const web = new consul.ConfigEntryServiceIntentions("web", {
26
+ * name: "web",
26
27
  * jwts: [{
27
28
  * providers: [{
28
29
  * name: jwtProvider.name,
@@ -49,7 +50,6 @@ import * as outputs from "./types/output";
49
50
  * ],
50
51
  * });
51
52
  * ```
52
- * <!--End PulumiCodeChooser -->
53
53
  */
54
54
  export declare class ConfigEntryServiceIntentions extends pulumi.CustomResource {
55
55
  /**
@@ -78,15 +78,15 @@ export declare class ConfigEntryServiceIntentions extends pulumi.CustomResource
78
78
  [key: string]: string;
79
79
  } | undefined>;
80
80
  /**
81
- * Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
81
+ * Specifies a name of the destination service for all intentions defined in the configuration entry.
82
82
  */
83
83
  readonly name: pulumi.Output<string>;
84
84
  /**
85
- * Specifies the traffic source namespace that the intention allows or denies traffic from.
85
+ * Specifies the namespace to apply the configuration entry.
86
86
  */
87
87
  readonly namespace: pulumi.Output<string | undefined>;
88
88
  /**
89
- * Specifies the name of an admin partition that the intention allows or denies traffic from.
89
+ * Specifies the admin partition to apply the configuration entry.
90
90
  */
91
91
  readonly partition: pulumi.Output<string | undefined>;
92
92
  /**
@@ -117,15 +117,15 @@ export interface ConfigEntryServiceIntentionsState {
117
117
  [key: string]: pulumi.Input<string>;
118
118
  }>;
119
119
  /**
120
- * Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
120
+ * Specifies a name of the destination service for all intentions defined in the configuration entry.
121
121
  */
122
122
  name?: pulumi.Input<string>;
123
123
  /**
124
- * Specifies the traffic source namespace that the intention allows or denies traffic from.
124
+ * Specifies the namespace to apply the configuration entry.
125
125
  */
126
126
  namespace?: pulumi.Input<string>;
127
127
  /**
128
- * Specifies the name of an admin partition that the intention allows or denies traffic from.
128
+ * Specifies the admin partition to apply the configuration entry.
129
129
  */
130
130
  partition?: pulumi.Input<string>;
131
131
  /**
@@ -148,15 +148,15 @@ export interface ConfigEntryServiceIntentionsArgs {
148
148
  [key: string]: pulumi.Input<string>;
149
149
  }>;
150
150
  /**
151
- * Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
151
+ * Specifies a name of the destination service for all intentions defined in the configuration entry.
152
152
  */
153
153
  name?: pulumi.Input<string>;
154
154
  /**
155
- * Specifies the traffic source namespace that the intention allows or denies traffic from.
155
+ * Specifies the namespace to apply the configuration entry.
156
156
  */
157
157
  namespace?: pulumi.Input<string>;
158
158
  /**
159
- * Specifies the name of an admin partition that the intention allows or denies traffic from.
159
+ * Specifies the admin partition to apply the configuration entry.
160
160
  */
161
161
  partition?: pulumi.Input<string>;
162
162
  /**
@@ -8,12 +8,12 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as consul from "@pulumi/consul";
15
14
  *
16
- * const jwtProvider = new consul.ConfigEntry("jwtProvider", {
15
+ * const jwtProvider = new consul.ConfigEntry("jwt_provider", {
16
+ * name: "okta",
17
17
  * kind: "jwt-provider",
18
18
  * configJson: JSON.stringify({
19
19
  * ClockSkewSeconds: 30,
@@ -27,6 +27,7 @@ const utilities = require("./utilities");
27
27
  * }),
28
28
  * });
29
29
  * const web = new consul.ConfigEntryServiceIntentions("web", {
30
+ * name: "web",
30
31
  * jwts: [{
31
32
  * providers: [{
32
33
  * name: jwtProvider.name,
@@ -53,7 +54,6 @@ const utilities = require("./utilities");
53
54
  * ],
54
55
  * });
55
56
  * ```
56
- * <!--End PulumiCodeChooser -->
57
57
  */
58
58
  class ConfigEntryServiceIntentions extends pulumi.CustomResource {
59
59
  /**
@@ -4,44 +4,43 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Example Usage
6
6
  *
7
- * <!--Start PulumiCodeChooser -->
8
7
  * ```typescript
9
8
  * import * as pulumi from "@pulumi/pulumi";
10
9
  * import * as consul from "@pulumi/consul";
11
10
  *
12
11
  * const web = new consul.ConfigEntryServiceResolver("web", {
13
- * connectTimeout: "15s",
12
+ * name: "web",
14
13
  * defaultSubset: "v1",
15
- * failovers: [
14
+ * connectTimeout: "15s",
15
+ * subsets: [
16
16
  * {
17
- * datacenters: ["dc2"],
18
- * subsetName: "v2",
17
+ * name: "v1",
18
+ * filter: "Service.Meta.version == v1",
19
19
  * },
20
20
  * {
21
- * datacenters: [
22
- * "dc3",
23
- * "dc4",
24
- * ],
25
- * subsetName: "*",
21
+ * name: "v2",
22
+ * filter: "Service.Meta.version == v2",
26
23
  * },
27
24
  * ],
28
25
  * redirects: [{
29
- * datacenter: "dc2",
30
26
  * service: "web",
27
+ * datacenter: "dc2",
31
28
  * }],
32
- * subsets: [
29
+ * failovers: [
33
30
  * {
34
- * filter: "Service.Meta.version == v1",
35
- * name: "v1",
31
+ * subsetName: "v2",
32
+ * datacenters: ["dc2"],
36
33
  * },
37
34
  * {
38
- * Filter: "Service.Meta.version == v2",
39
- * name: "v2",
35
+ * subsetName: "*",
36
+ * datacenters: [
37
+ * "dc3",
38
+ * "dc4",
39
+ * ],
40
40
  * },
41
41
  * ],
42
42
  * });
43
43
  * ```
44
- * <!--End PulumiCodeChooser -->
45
44
  */
46
45
  export declare class ConfigEntryServiceResolver extends pulumi.CustomResource {
47
46
  /**
@@ -82,15 +81,15 @@ export declare class ConfigEntryServiceResolver extends pulumi.CustomResource {
82
81
  [key: string]: string;
83
82
  } | undefined>;
84
83
  /**
85
- * Name of subset.
84
+ * Specifies a name for the configuration entry.
86
85
  */
87
86
  readonly name: pulumi.Output<string>;
88
87
  /**
89
- * Specifies the namespace at the failover location where the failover services are deployed.
88
+ * Specifies the namespace that the service resolver applies to.
90
89
  */
91
90
  readonly namespace: pulumi.Output<string | undefined>;
92
91
  /**
93
- * Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
92
+ * Specifies the admin partition that the service resolver applies to.
94
93
  */
95
94
  readonly partition: pulumi.Output<string | undefined>;
96
95
  /**
@@ -141,15 +140,15 @@ export interface ConfigEntryServiceResolverState {
141
140
  [key: string]: pulumi.Input<string>;
142
141
  }>;
143
142
  /**
144
- * Name of subset.
143
+ * Specifies a name for the configuration entry.
145
144
  */
146
145
  name?: pulumi.Input<string>;
147
146
  /**
148
- * Specifies the namespace at the failover location where the failover services are deployed.
147
+ * Specifies the namespace that the service resolver applies to.
149
148
  */
150
149
  namespace?: pulumi.Input<string>;
151
150
  /**
152
- * Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
151
+ * Specifies the admin partition that the service resolver applies to.
153
152
  */
154
153
  partition?: pulumi.Input<string>;
155
154
  /**
@@ -192,15 +191,15 @@ export interface ConfigEntryServiceResolverArgs {
192
191
  [key: string]: pulumi.Input<string>;
193
192
  }>;
194
193
  /**
195
- * Name of subset.
194
+ * Specifies a name for the configuration entry.
196
195
  */
197
196
  name?: pulumi.Input<string>;
198
197
  /**
199
- * Specifies the namespace at the failover location where the failover services are deployed.
198
+ * Specifies the namespace that the service resolver applies to.
200
199
  */
201
200
  namespace?: pulumi.Input<string>;
202
201
  /**
203
- * Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
202
+ * Specifies the admin partition that the service resolver applies to.
204
203
  */
205
204
  partition?: pulumi.Input<string>;
206
205
  /**
@@ -8,44 +8,43 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as consul from "@pulumi/consul";
15
14
  *
16
15
  * const web = new consul.ConfigEntryServiceResolver("web", {
17
- * connectTimeout: "15s",
16
+ * name: "web",
18
17
  * defaultSubset: "v1",
19
- * failovers: [
18
+ * connectTimeout: "15s",
19
+ * subsets: [
20
20
  * {
21
- * datacenters: ["dc2"],
22
- * subsetName: "v2",
21
+ * name: "v1",
22
+ * filter: "Service.Meta.version == v1",
23
23
  * },
24
24
  * {
25
- * datacenters: [
26
- * "dc3",
27
- * "dc4",
28
- * ],
29
- * subsetName: "*",
25
+ * name: "v2",
26
+ * filter: "Service.Meta.version == v2",
30
27
  * },
31
28
  * ],
32
29
  * redirects: [{
33
- * datacenter: "dc2",
34
30
  * service: "web",
31
+ * datacenter: "dc2",
35
32
  * }],
36
- * subsets: [
33
+ * failovers: [
37
34
  * {
38
- * filter: "Service.Meta.version == v1",
39
- * name: "v1",
35
+ * subsetName: "v2",
36
+ * datacenters: ["dc2"],
40
37
  * },
41
38
  * {
42
- * Filter: "Service.Meta.version == v2",
43
- * name: "v2",
39
+ * subsetName: "*",
40
+ * datacenters: [
41
+ * "dc3",
42
+ * "dc4",
43
+ * ],
44
44
  * },
45
45
  * ],
46
46
  * });
47
47
  * ```
48
- * <!--End PulumiCodeChooser -->
49
48
  */
50
49
  class ConfigEntryServiceResolver extends pulumi.CustomResource {
51
50
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"configEntryServiceResolver.js","sourceRoot":"","sources":["../configEntryServiceResolver.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OA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AAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAjHL,gEAkHC;AApGG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
@@ -3,26 +3,6 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Example Usage
6
- *
7
- * <!--Start PulumiCodeChooser -->
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as consul from "@pulumi/consul";
11
- *
12
- * const adminServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
13
- * const adminServiceDefaultsIndex_configEntryServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
14
- * const foo = new consul.ConfigEntryServiceRouter("foo", {routes: [{
15
- * match: {
16
- * http: {
17
- * pathPrefix: "/admin",
18
- * },
19
- * },
20
- * destination: {
21
- * service: consul_config_entry.admin_service.name,
22
- * },
23
- * }]});
24
- * ```
25
- * <!--End PulumiCodeChooser -->
26
6
  */
27
7
  export declare class ConfigEntryServiceRouter extends pulumi.CustomResource {
28
8
  /**
@@ -47,15 +27,15 @@ export declare class ConfigEntryServiceRouter extends pulumi.CustomResource {
47
27
  [key: string]: string;
48
28
  } | undefined>;
49
29
  /**
50
- * Specifies the name of the HTTP header to match.
30
+ * Specifies a name for the configuration entry.
51
31
  */
52
32
  readonly name: pulumi.Output<string>;
53
33
  /**
54
- * Specifies the Consul namespace to resolve the service from instead of the current namespace.
34
+ * Specifies the namespace to apply the configuration entry.
55
35
  */
56
36
  readonly namespace: pulumi.Output<string | undefined>;
57
37
  /**
58
- * Specifies the Consul admin partition to resolve the service from instead of the current partition.
38
+ * Specifies the admin partition to apply the configuration entry.
59
39
  */
60
40
  readonly partition: pulumi.Output<string | undefined>;
61
41
  /**
@@ -82,15 +62,15 @@ export interface ConfigEntryServiceRouterState {
82
62
  [key: string]: pulumi.Input<string>;
83
63
  }>;
84
64
  /**
85
- * Specifies the name of the HTTP header to match.
65
+ * Specifies a name for the configuration entry.
86
66
  */
87
67
  name?: pulumi.Input<string>;
88
68
  /**
89
- * Specifies the Consul namespace to resolve the service from instead of the current namespace.
69
+ * Specifies the namespace to apply the configuration entry.
90
70
  */
91
71
  namespace?: pulumi.Input<string>;
92
72
  /**
93
- * Specifies the Consul admin partition to resolve the service from instead of the current partition.
73
+ * Specifies the admin partition to apply the configuration entry.
94
74
  */
95
75
  partition?: pulumi.Input<string>;
96
76
  /**
@@ -109,15 +89,15 @@ export interface ConfigEntryServiceRouterArgs {
109
89
  [key: string]: pulumi.Input<string>;
110
90
  }>;
111
91
  /**
112
- * Specifies the name of the HTTP header to match.
92
+ * Specifies a name for the configuration entry.
113
93
  */
114
94
  name?: pulumi.Input<string>;
115
95
  /**
116
- * Specifies the Consul namespace to resolve the service from instead of the current namespace.
96
+ * Specifies the namespace to apply the configuration entry.
117
97
  */
118
98
  namespace?: pulumi.Input<string>;
119
99
  /**
120
- * Specifies the Consul admin partition to resolve the service from instead of the current partition.
100
+ * Specifies the admin partition to apply the configuration entry.
121
101
  */
122
102
  partition?: pulumi.Input<string>;
123
103
  /**
@@ -7,26 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
- *
11
- * <!--Start PulumiCodeChooser -->
12
- * ```typescript
13
- * import * as pulumi from "@pulumi/pulumi";
14
- * import * as consul from "@pulumi/consul";
15
- *
16
- * const adminServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
17
- * const adminServiceDefaultsIndex_configEntryServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
18
- * const foo = new consul.ConfigEntryServiceRouter("foo", {routes: [{
19
- * match: {
20
- * http: {
21
- * pathPrefix: "/admin",
22
- * },
23
- * },
24
- * destination: {
25
- * service: consul_config_entry.admin_service.name,
26
- * },
27
- * }]});
28
- * ```
29
- * <!--End PulumiCodeChooser -->
30
10
  */
31
11
  class ConfigEntryServiceRouter extends pulumi.CustomResource {
32
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"configEntryServiceRouter.js","sourceRoot":"","sources":["../configEntryServiceRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,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,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACz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CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA7EL,4DA8EC;AAhEG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
@@ -4,12 +4,12 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Example Usage
6
6
  *
7
- * <!--Start PulumiCodeChooser -->
8
7
  * ```typescript
9
8
  * import * as pulumi from "@pulumi/pulumi";
10
9
  * import * as consul from "@pulumi/consul";
11
10
  *
12
11
  * const web = new consul.ConfigEntry("web", {
12
+ * name: "web",
13
13
  * kind: "service-defaults",
14
14
  * configJson: JSON.stringify({
15
15
  * Protocol: "http",
@@ -18,7 +18,8 @@ import * as outputs from "./types/output";
18
18
  * TransparentProxy: {},
19
19
  * }),
20
20
  * });
21
- * const serviceResolver = new consul.ConfigEntryServiceResolver("serviceResolver", {
21
+ * const serviceResolver = new consul.ConfigEntryServiceResolver("service_resolver", {
22
+ * name: "service-resolver",
22
23
  * defaultSubset: "v1",
23
24
  * subsets: [
24
25
  * {
@@ -27,11 +28,12 @@ import * as outputs from "./types/output";
27
28
  * },
28
29
  * {
29
30
  * name: "v2",
30
- * Filter: "Service.Meta.version == v2",
31
+ * filter: "Service.Meta.version == v2",
31
32
  * },
32
33
  * ],
33
34
  * });
34
35
  * const foo = new consul.ConfigEntryServiceSplitter("foo", {
36
+ * name: serviceResolver.name,
35
37
  * meta: {
36
38
  * key: "value",
37
39
  * },
@@ -74,7 +76,6 @@ import * as outputs from "./types/output";
74
76
  * ],
75
77
  * });
76
78
  * ```
77
- * <!--End PulumiCodeChooser -->
78
79
  *
79
80
  * ## Import
80
81
  *
@@ -109,11 +110,11 @@ export declare class ConfigEntryServiceSplitter extends pulumi.CustomResource {
109
110
  */
110
111
  readonly name: pulumi.Output<string>;
111
112
  /**
112
- * Specifies the namespace to use in the FQDN when resolving the service.
113
+ * Specifies the namespace to apply the configuration entry.
113
114
  */
114
115
  readonly namespace: pulumi.Output<string | undefined>;
115
116
  /**
116
- * Specifies the admin partition to use in the FQDN when resolving the service.
117
+ * Specifies the admin partition to apply the configuration entry.
117
118
  */
118
119
  readonly partition: pulumi.Output<string | undefined>;
119
120
  /**
@@ -144,11 +145,11 @@ export interface ConfigEntryServiceSplitterState {
144
145
  */
145
146
  name?: pulumi.Input<string>;
146
147
  /**
147
- * Specifies the namespace to use in the FQDN when resolving the service.
148
+ * Specifies the namespace to apply the configuration entry.
148
149
  */
149
150
  namespace?: pulumi.Input<string>;
150
151
  /**
151
- * Specifies the admin partition to use in the FQDN when resolving the service.
152
+ * Specifies the admin partition to apply the configuration entry.
152
153
  */
153
154
  partition?: pulumi.Input<string>;
154
155
  /**
@@ -171,11 +172,11 @@ export interface ConfigEntryServiceSplitterArgs {
171
172
  */
172
173
  name?: pulumi.Input<string>;
173
174
  /**
174
- * Specifies the namespace to use in the FQDN when resolving the service.
175
+ * Specifies the namespace to apply the configuration entry.
175
176
  */
176
177
  namespace?: pulumi.Input<string>;
177
178
  /**
178
- * Specifies the admin partition to use in the FQDN when resolving the service.
179
+ * Specifies the admin partition to apply the configuration entry.
179
180
  */
180
181
  partition?: pulumi.Input<string>;
181
182
  /**
@@ -8,12 +8,12 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as consul from "@pulumi/consul";
15
14
  *
16
15
  * const web = new consul.ConfigEntry("web", {
16
+ * name: "web",
17
17
  * kind: "service-defaults",
18
18
  * configJson: JSON.stringify({
19
19
  * Protocol: "http",
@@ -22,7 +22,8 @@ const utilities = require("./utilities");
22
22
  * TransparentProxy: {},
23
23
  * }),
24
24
  * });
25
- * const serviceResolver = new consul.ConfigEntryServiceResolver("serviceResolver", {
25
+ * const serviceResolver = new consul.ConfigEntryServiceResolver("service_resolver", {
26
+ * name: "service-resolver",
26
27
  * defaultSubset: "v1",
27
28
  * subsets: [
28
29
  * {
@@ -31,11 +32,12 @@ const utilities = require("./utilities");
31
32
  * },
32
33
  * {
33
34
  * name: "v2",
34
- * Filter: "Service.Meta.version == v2",
35
+ * filter: "Service.Meta.version == v2",
35
36
  * },
36
37
  * ],
37
38
  * });
38
39
  * const foo = new consul.ConfigEntryServiceSplitter("foo", {
40
+ * name: serviceResolver.name,
39
41
  * meta: {
40
42
  * key: "value",
41
43
  * },
@@ -78,7 +80,6 @@ const utilities = require("./utilities");
78
80
  * ],
79
81
  * });
80
82
  * ```
81
- * <!--End PulumiCodeChooser -->
82
83
  *
83
84
  * ## Import
84
85
  *
@@ -1 +1 @@
1
- {"version":3,"file":"configEntryServiceSplitter.js","sourceRoot":"","sources":["../configEntryServiceSplitter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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C,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAhFL,gEAiFC;AAnEG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
@@ -6,7 +6,6 @@ import * as outputs from "./types/output";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
- * <!--Start PulumiCodeChooser -->
10
9
  * ```typescript
11
10
  * import * as pulumi from "@pulumi/pulumi";
12
11
  * import * as consul from "@pulumi/consul";
@@ -16,7 +15,6 @@ import * as outputs from "./types/output";
16
15
  * });
17
16
  * export const consulAclAuthMethod = test.then(test => test.config);
18
17
  * ```
19
- * <!--End PulumiCodeChooser -->
20
18
  */
21
19
  export declare function getAclAuthMethod(args: GetAclAuthMethodArgs, opts?: pulumi.InvokeOptions): Promise<GetAclAuthMethodResult>;
22
20
  /**
@@ -96,7 +94,6 @@ export interface GetAclAuthMethodResult {
96
94
  *
97
95
  * ## Example Usage
98
96
  *
99
- * <!--Start PulumiCodeChooser -->
100
97
  * ```typescript
101
98
  * import * as pulumi from "@pulumi/pulumi";
102
99
  * import * as consul from "@pulumi/consul";
@@ -106,7 +103,6 @@ export interface GetAclAuthMethodResult {
106
103
  * });
107
104
  * export const consulAclAuthMethod = test.then(test => test.config);
108
105
  * ```
109
- * <!--End PulumiCodeChooser -->
110
106
  */
111
107
  export declare function getAclAuthMethodOutput(args: GetAclAuthMethodOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAclAuthMethodResult>;
112
108
  /**
@@ -11,7 +11,6 @@ const utilities = require("./utilities");
11
11
  *
12
12
  * ## Example Usage
13
13
  *
14
- * <!--Start PulumiCodeChooser -->
15
14
  * ```typescript
16
15
  * import * as pulumi from "@pulumi/pulumi";
17
16
  * import * as consul from "@pulumi/consul";
@@ -21,7 +20,6 @@ const utilities = require("./utilities");
21
20
  * });
22
21
  * export const consulAclAuthMethod = test.then(test => test.config);
23
22
  * ```
24
- * <!--End PulumiCodeChooser -->
25
23
  */
26
24
  function getAclAuthMethod(args, opts) {
27
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -38,7 +36,6 @@ exports.getAclAuthMethod = getAclAuthMethod;
38
36
  *
39
37
  * ## Example Usage
40
38
  *
41
- * <!--Start PulumiCodeChooser -->
42
39
  * ```typescript
43
40
  * import * as pulumi from "@pulumi/pulumi";
44
41
  * import * as consul from "@pulumi/consul";
@@ -48,7 +45,6 @@ exports.getAclAuthMethod = getAclAuthMethod;
48
45
  * });
49
46
  * export const consulAclAuthMethod = test.then(test => test.config);
50
47
  * ```
51
- * <!--End PulumiCodeChooser -->
52
48
  */
53
49
  function getAclAuthMethodOutput(args, opts) {
54
50
  return pulumi.output(args).apply((a) => getAclAuthMethod(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getAclAuthMethod.js","sourceRoot":"","sources":["../getAclAuthMethod.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,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