@pulumi/consul 3.9.0-alpha.1687054376 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aclAuthMethod.d.ts +2 -1
- package/aclAuthMethod.js.map +1 -1
- package/aclBindingRule.d.ts +1 -0
- package/aclBindingRule.js +1 -0
- package/aclBindingRule.js.map +1 -1
- package/aclPolicy.d.ts +1 -0
- package/aclPolicy.js +1 -0
- package/aclPolicy.js.map +1 -1
- package/aclRole.d.ts +2 -1
- package/aclRole.js.map +1 -1
- package/aclToken.d.ts +5 -5
- package/aclToken.js +3 -4
- package/aclToken.js.map +1 -1
- package/adminPartition.d.ts +1 -3
- package/adminPartition.js +1 -3
- package/adminPartition.js.map +1 -1
- package/catalogEntry.d.ts +2 -1
- package/catalogEntry.js +3 -1
- package/catalogEntry.js.map +1 -1
- package/certificateAuthority.d.ts +24 -55
- package/certificateAuthority.js +3 -53
- package/certificateAuthority.js.map +1 -1
- package/config/vars.d.ts +50 -2
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/configEntry.d.ts +45 -2
- package/configEntry.js +45 -2
- package/configEntry.js.map +1 -1
- package/getAclAuthMethod.d.ts +17 -1
- package/getAclAuthMethod.js +18 -5
- package/getAclAuthMethod.js.map +1 -1
- package/getAclPolicy.d.ts +16 -0
- package/getAclPolicy.js +18 -5
- package/getAclPolicy.js.map +1 -1
- package/getAclRole.d.ts +17 -1
- package/getAclRole.js +18 -5
- package/getAclRole.js.map +1 -1
- package/getAclToken.d.ts +23 -5
- package/getAclToken.js +24 -9
- package/getAclToken.js.map +1 -1
- package/getAclTokenSecretId.d.ts +23 -0
- package/getAclTokenSecretId.js +25 -5
- package/getAclTokenSecretId.js.map +1 -1
- package/getAgentConfig.d.ts +2 -3
- package/getAgentConfig.js +3 -7
- package/getAgentConfig.js.map +1 -1
- package/getAgentSelf.d.ts +25 -9
- package/getAgentSelf.js +1 -4
- package/getAgentSelf.js.map +1 -1
- package/getAutopilotHealth.d.ts +18 -4
- package/getAutopilotHealth.js +19 -8
- package/getAutopilotHealth.js.map +1 -1
- package/getCatalogNodes.d.ts +35 -1
- package/getCatalogNodes.js +17 -5
- package/getCatalogNodes.js.map +1 -1
- package/getCatalogService.d.ts +78 -1
- package/getCatalogService.js +25 -5
- package/getCatalogService.js.map +1 -1
- package/getCatalogServices.d.ts +37 -1
- package/getCatalogServices.js +23 -5
- package/getCatalogServices.js.map +1 -1
- package/getConfigEntry.d.ts +39 -0
- package/getConfigEntry.js +2 -5
- package/getConfigEntry.js.map +1 -1
- package/getDatacenters.js +1 -4
- package/getDatacenters.js.map +1 -1
- package/getKeyPrefix.d.ts +45 -15
- package/getKeyPrefix.js +45 -19
- package/getKeyPrefix.js.map +1 -1
- package/getKeys.d.ts +30 -8
- package/getKeys.js +30 -12
- package/getKeys.js.map +1 -1
- package/getNetworkAreaMembers.d.ts +24 -1
- package/getNetworkAreaMembers.js +25 -5
- package/getNetworkAreaMembers.js.map +1 -1
- package/getNetworkSegments.d.ts +16 -0
- package/getNetworkSegments.js +18 -5
- package/getNetworkSegments.js.map +1 -1
- package/getNodes.d.ts +8 -1
- package/getNodes.js +8 -5
- package/getNodes.js.map +1 -1
- package/getPeering.d.ts +14 -2
- package/getPeering.js +16 -7
- package/getPeering.js.map +1 -1
- package/getPeerings.d.ts +12 -2
- package/getPeerings.js +13 -6
- package/getPeerings.js.map +1 -1
- package/getService.d.ts +12 -1
- package/getService.js +12 -5
- package/getService.js.map +1 -1
- package/getServiceHealth.d.ts +10 -14
- package/getServiceHealth.js +11 -18
- package/getServiceHealth.js.map +1 -1
- package/getServices.d.ts +11 -1
- package/getServices.js +11 -5
- package/getServices.js.map +1 -1
- package/index.d.ts +147 -50
- package/index.js +149 -121
- package/index.js.map +1 -1
- package/intention.d.ts +3 -3
- package/intention.js +3 -3
- package/keyPrefix.d.ts +10 -10
- package/keyPrefix.js +11 -10
- package/keyPrefix.js.map +1 -1
- package/keys.d.ts +3 -3
- package/keys.js +4 -3
- package/keys.js.map +1 -1
- package/license.d.ts +1 -1
- package/license.js +4 -2
- package/license.js.map +1 -1
- package/networkArea.js +3 -1
- package/networkArea.js.map +1 -1
- package/node.d.ts +1 -3
- package/node.js +4 -4
- package/node.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/peering.d.ts +6 -12
- package/peering.js +3 -1
- package/peering.js.map +1 -1
- package/peeringToken.d.ts +7 -15
- package/peeringToken.js +3 -3
- package/peeringToken.js.map +1 -1
- package/preparedQuery.d.ts +47 -132
- package/preparedQuery.js +3 -3
- package/preparedQuery.js.map +1 -1
- package/provider.d.ts +89 -2
- package/provider.js +6 -3
- package/provider.js.map +1 -1
- package/service.d.ts +11 -67
- package/service.js +0 -63
- package/service.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +294 -100
- package/types/output.d.ts +156 -7
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/getPeerings.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@ import { output as outputs } from "./types";
|
|
|
7
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
8
|
* import * as consul from "@pulumi/consul";
|
|
9
9
|
*
|
|
10
|
-
* const peers =
|
|
10
|
+
* const peers = consul.getPeerings({});
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare function getPeerings(args?: GetPeeringsArgs, opts?: pulumi.InvokeOptions): Promise<GetPeeringsResult>;
|
|
@@ -28,6 +28,16 @@ export interface GetPeeringsResult {
|
|
|
28
28
|
readonly partition?: string;
|
|
29
29
|
readonly peers: outputs.GetPeeringsPeer[];
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as consul from "@pulumi/consul";
|
|
37
|
+
*
|
|
38
|
+
* const peers = consul.getPeerings({});
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
31
41
|
export declare function getPeeringsOutput(args?: GetPeeringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPeeringsResult>;
|
|
32
42
|
/**
|
|
33
43
|
* A collection of arguments for invoking getPeerings.
|
package/getPeerings.js
CHANGED
|
@@ -12,22 +12,29 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as consul from "@pulumi/consul";
|
|
14
14
|
*
|
|
15
|
-
* const peers =
|
|
15
|
+
* const peers = consul.getPeerings({});
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
function getPeerings(args, opts) {
|
|
19
19
|
args = args || {};
|
|
20
|
-
|
|
21
|
-
opts = {};
|
|
22
|
-
}
|
|
23
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
21
|
return pulumi.runtime.invoke("consul:index/getPeerings:getPeerings", {
|
|
25
22
|
"partition": args.partition,
|
|
26
23
|
}, opts);
|
|
27
24
|
}
|
|
28
25
|
exports.getPeerings = getPeerings;
|
|
26
|
+
/**
|
|
27
|
+
* ## Example Usage
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as consul from "@pulumi/consul";
|
|
32
|
+
*
|
|
33
|
+
* const peers = consul.getPeerings({});
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
29
36
|
function getPeeringsOutput(args, opts) {
|
|
30
|
-
return pulumi.output(args).apply(a => getPeerings(a, opts));
|
|
37
|
+
return pulumi.output(args).apply((a) => getPeerings(a, opts));
|
|
31
38
|
}
|
|
32
39
|
exports.getPeeringsOutput = getPeeringsOutput;
|
|
33
40
|
//# sourceMappingURL=getPeerings.js.map
|
package/getPeerings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPeerings.js","sourceRoot":"","sources":["../getPeerings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getPeerings.js","sourceRoot":"","sources":["../getPeerings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,sCAAsC,EAAE;QACjE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAoBD;;;;;;;;;GASG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/getService.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* `consul.Service` provides details about a specific Consul service in a
|
|
5
6
|
* given datacenter. The results include a list of nodes advertising the specified
|
|
@@ -70,6 +71,16 @@ export interface GetServiceResult {
|
|
|
70
71
|
*/
|
|
71
72
|
readonly tag?: string;
|
|
72
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* `consul.Service` provides details about a specific Consul service in a
|
|
76
|
+
* given datacenter. The results include a list of nodes advertising the specified
|
|
77
|
+
* service, the node's IP address, port number, node ID, etc. By specifying a
|
|
78
|
+
* different datacenter in the `queryOptions` it is possible to retrieve a list of
|
|
79
|
+
* services from a different WAN-attached Consul datacenter.
|
|
80
|
+
*
|
|
81
|
+
* This data source is different from the `consul.getServices` (plural) data
|
|
82
|
+
* source, which provides a summary of the current Consul services.
|
|
83
|
+
*/
|
|
73
84
|
export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
|
|
74
85
|
/**
|
|
75
86
|
* A collection of arguments for invoking getService.
|
package/getService.js
CHANGED
|
@@ -16,10 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* source, which provides a summary of the current Consul services.
|
|
17
17
|
*/
|
|
18
18
|
function getService(args, opts) {
|
|
19
|
-
|
|
20
|
-
opts = {};
|
|
21
|
-
}
|
|
22
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
19
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
20
|
return pulumi.runtime.invoke("consul:index/getService:getService", {
|
|
24
21
|
"datacenter": args.datacenter,
|
|
25
22
|
"filter": args.filter,
|
|
@@ -29,8 +26,18 @@ function getService(args, opts) {
|
|
|
29
26
|
}, opts);
|
|
30
27
|
}
|
|
31
28
|
exports.getService = getService;
|
|
29
|
+
/**
|
|
30
|
+
* `consul.Service` provides details about a specific Consul service in a
|
|
31
|
+
* given datacenter. The results include a list of nodes advertising the specified
|
|
32
|
+
* service, the node's IP address, port number, node ID, etc. By specifying a
|
|
33
|
+
* different datacenter in the `queryOptions` it is possible to retrieve a list of
|
|
34
|
+
* services from a different WAN-attached Consul datacenter.
|
|
35
|
+
*
|
|
36
|
+
* This data source is different from the `consul.getServices` (plural) data
|
|
37
|
+
* source, which provides a summary of the current Consul services.
|
|
38
|
+
*/
|
|
32
39
|
function getServiceOutput(args, opts) {
|
|
33
|
-
return pulumi.output(args).apply(a => getService(a, opts));
|
|
40
|
+
return pulumi.output(args).apply((a) => getService(a, opts));
|
|
34
41
|
}
|
|
35
42
|
exports.getServiceOutput = getServiceOutput;
|
|
36
43
|
//# 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;
|
|
1
|
+
{"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAVD,gCAUC;AA8DD;;;;;;;;;GASG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getServiceHealth.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* `consul.getServiceHealth` can be used to get the list of the instances that
|
|
5
5
|
* are currently healthy, according to their associated health-checks.
|
|
@@ -8,19 +8,6 @@ import { output as outputs } from "./types";
|
|
|
8
8
|
*
|
|
9
9
|
* This resource is likely to change as frequently as the health-checks are being
|
|
10
10
|
* updated, you should expect different results in a frequent basis.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as consul from "@pulumi/consul";
|
|
17
|
-
* import * as vault from "@pulumi/vault";
|
|
18
|
-
*
|
|
19
|
-
* const vaultServiceHealth = pulumi.output(consul.getServiceHealth({
|
|
20
|
-
* passing: true,
|
|
21
|
-
* service: "vault",
|
|
22
|
-
* }));
|
|
23
|
-
* ```
|
|
24
11
|
*/
|
|
25
12
|
export declare function getServiceHealth(args: GetServiceHealthArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceHealthResult>;
|
|
26
13
|
/**
|
|
@@ -110,6 +97,15 @@ export interface GetServiceHealthResult {
|
|
|
110
97
|
readonly tag?: string;
|
|
111
98
|
readonly waitFor?: string;
|
|
112
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* `consul.getServiceHealth` can be used to get the list of the instances that
|
|
102
|
+
* are currently healthy, according to their associated health-checks.
|
|
103
|
+
* The result includes the list of service instances, the node associated to each
|
|
104
|
+
* instance and its health-checks.
|
|
105
|
+
*
|
|
106
|
+
* This resource is likely to change as frequently as the health-checks are being
|
|
107
|
+
* updated, you should expect different results in a frequent basis.
|
|
108
|
+
*/
|
|
113
109
|
export declare function getServiceHealthOutput(args: GetServiceHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceHealthResult>;
|
|
114
110
|
/**
|
|
115
111
|
* A collection of arguments for invoking getServiceHealth.
|
package/getServiceHealth.js
CHANGED
|
@@ -13,25 +13,9 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* This resource is likely to change as frequently as the health-checks are being
|
|
15
15
|
* updated, you should expect different results in a frequent basis.
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as consul from "@pulumi/consul";
|
|
22
|
-
* import * as vault from "@pulumi/vault";
|
|
23
|
-
*
|
|
24
|
-
* const vaultServiceHealth = pulumi.output(consul.getServiceHealth({
|
|
25
|
-
* passing: true,
|
|
26
|
-
* service: "vault",
|
|
27
|
-
* }));
|
|
28
|
-
* ```
|
|
29
16
|
*/
|
|
30
17
|
function getServiceHealth(args, opts) {
|
|
31
|
-
|
|
32
|
-
opts = {};
|
|
33
|
-
}
|
|
34
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
19
|
return pulumi.runtime.invoke("consul:index/getServiceHealth:getServiceHealth", {
|
|
36
20
|
"datacenter": args.datacenter,
|
|
37
21
|
"filter": args.filter,
|
|
@@ -44,8 +28,17 @@ function getServiceHealth(args, opts) {
|
|
|
44
28
|
}, opts);
|
|
45
29
|
}
|
|
46
30
|
exports.getServiceHealth = getServiceHealth;
|
|
31
|
+
/**
|
|
32
|
+
* `consul.getServiceHealth` can be used to get the list of the instances that
|
|
33
|
+
* are currently healthy, according to their associated health-checks.
|
|
34
|
+
* The result includes the list of service instances, the node associated to each
|
|
35
|
+
* instance and its health-checks.
|
|
36
|
+
*
|
|
37
|
+
* This resource is likely to change as frequently as the health-checks are being
|
|
38
|
+
* updated, you should expect different results in a frequent basis.
|
|
39
|
+
*/
|
|
47
40
|
function getServiceHealthOutput(args, opts) {
|
|
48
|
-
return pulumi.output(args).apply(a => getServiceHealth(a, opts));
|
|
41
|
+
return pulumi.output(args).apply((a) => getServiceHealth(a, opts));
|
|
49
42
|
}
|
|
50
43
|
exports.getServiceHealthOutput = getServiceHealthOutput;
|
|
51
44
|
//# sourceMappingURL=getServiceHealth.js.map
|
package/getServiceHealth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServiceHealth.js","sourceRoot":"","sources":["../getServiceHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getServiceHealth.js","sourceRoot":"","sources":["../getServiceHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4CAaC;AAsFD;;;;;;;;GAQG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getServices.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* The `consul.getServices` data source returns a list of Consul services that
|
|
5
6
|
* have been registered with the Consul cluster in a given datacenter. By
|
|
@@ -46,6 +47,15 @@ export interface GetServicesResult {
|
|
|
46
47
|
[key: string]: string;
|
|
47
48
|
};
|
|
48
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* The `consul.getServices` data source returns a list of Consul services that
|
|
52
|
+
* have been registered with the Consul cluster in a given datacenter. By
|
|
53
|
+
* specifying a different datacenter in the `queryOptions` it is possible to
|
|
54
|
+
* retrieve a list of services from a different WAN-attached Consul datacenter.
|
|
55
|
+
*
|
|
56
|
+
* This data source is different from the `consul.Service` (singular) data
|
|
57
|
+
* source, which provides a detailed response about a specific Consul service.
|
|
58
|
+
*/
|
|
49
59
|
export declare function getServicesOutput(args?: GetServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServicesResult>;
|
|
50
60
|
/**
|
|
51
61
|
* A collection of arguments for invoking getServices.
|
package/getServices.js
CHANGED
|
@@ -16,17 +16,23 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*/
|
|
17
17
|
function getServices(args, opts) {
|
|
18
18
|
args = args || {};
|
|
19
|
-
|
|
20
|
-
opts = {};
|
|
21
|
-
}
|
|
22
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
19
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
20
|
return pulumi.runtime.invoke("consul:index/getServices:getServices", {
|
|
24
21
|
"queryOptions": args.queryOptions,
|
|
25
22
|
}, opts);
|
|
26
23
|
}
|
|
27
24
|
exports.getServices = getServices;
|
|
25
|
+
/**
|
|
26
|
+
* The `consul.getServices` data source returns a list of Consul services that
|
|
27
|
+
* have been registered with the Consul cluster in a given datacenter. By
|
|
28
|
+
* specifying a different datacenter in the `queryOptions` it is possible to
|
|
29
|
+
* retrieve a list of services from a different WAN-attached Consul datacenter.
|
|
30
|
+
*
|
|
31
|
+
* This data source is different from the `consul.Service` (singular) data
|
|
32
|
+
* source, which provides a detailed response about a specific Consul service.
|
|
33
|
+
*/
|
|
28
34
|
function getServicesOutput(args, opts) {
|
|
29
|
-
return pulumi.output(args).apply(a => getServices(a, opts));
|
|
35
|
+
return pulumi.output(args).apply((a) => getServices(a, opts));
|
|
30
36
|
}
|
|
31
37
|
exports.getServicesOutput = getServicesOutput;
|
|
32
38
|
//# sourceMappingURL=getServices.js.map
|
package/getServices.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServices.js","sourceRoot":"","sources":["../getServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getServices.js","sourceRoot":"","sources":["../getServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,sCAAsC,EAAE;QACjE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAmCD;;;;;;;;GAQG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/index.d.ts
CHANGED
|
@@ -1,53 +1,150 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
1
|
+
export { AclAuthMethodArgs, AclAuthMethodState } from "./aclAuthMethod";
|
|
2
|
+
export type AclAuthMethod = import("./aclAuthMethod").AclAuthMethod;
|
|
3
|
+
export declare const AclAuthMethod: typeof import("./aclAuthMethod").AclAuthMethod;
|
|
4
|
+
export { AclBindingRuleArgs, AclBindingRuleState } from "./aclBindingRule";
|
|
5
|
+
export type AclBindingRule = import("./aclBindingRule").AclBindingRule;
|
|
6
|
+
export declare const AclBindingRule: typeof import("./aclBindingRule").AclBindingRule;
|
|
7
|
+
export { AclPolicyArgs, AclPolicyState } from "./aclPolicy";
|
|
8
|
+
export type AclPolicy = import("./aclPolicy").AclPolicy;
|
|
9
|
+
export declare const AclPolicy: typeof import("./aclPolicy").AclPolicy;
|
|
10
|
+
export { AclRoleArgs, AclRoleState } from "./aclRole";
|
|
11
|
+
export type AclRole = import("./aclRole").AclRole;
|
|
12
|
+
export declare const AclRole: typeof import("./aclRole").AclRole;
|
|
13
|
+
export { AclTokenArgs, AclTokenState } from "./aclToken";
|
|
14
|
+
export type AclToken = import("./aclToken").AclToken;
|
|
15
|
+
export declare const AclToken: typeof import("./aclToken").AclToken;
|
|
16
|
+
export { AclTokenPolicyAttachmentArgs, AclTokenPolicyAttachmentState } from "./aclTokenPolicyAttachment";
|
|
17
|
+
export type AclTokenPolicyAttachment = import("./aclTokenPolicyAttachment").AclTokenPolicyAttachment;
|
|
18
|
+
export declare const AclTokenPolicyAttachment: typeof import("./aclTokenPolicyAttachment").AclTokenPolicyAttachment;
|
|
19
|
+
export { AclTokenRoleAttachmentArgs, AclTokenRoleAttachmentState } from "./aclTokenRoleAttachment";
|
|
20
|
+
export type AclTokenRoleAttachment = import("./aclTokenRoleAttachment").AclTokenRoleAttachment;
|
|
21
|
+
export declare const AclTokenRoleAttachment: typeof import("./aclTokenRoleAttachment").AclTokenRoleAttachment;
|
|
22
|
+
export { AdminPartitionArgs, AdminPartitionState } from "./adminPartition";
|
|
23
|
+
export type AdminPartition = import("./adminPartition").AdminPartition;
|
|
24
|
+
export declare const AdminPartition: typeof import("./adminPartition").AdminPartition;
|
|
25
|
+
export { AgentServiceArgs, AgentServiceState } from "./agentService";
|
|
26
|
+
export type AgentService = import("./agentService").AgentService;
|
|
27
|
+
export declare const AgentService: typeof import("./agentService").AgentService;
|
|
28
|
+
export { AutopilotConfigArgs, AutopilotConfigState } from "./autopilotConfig";
|
|
29
|
+
export type AutopilotConfig = import("./autopilotConfig").AutopilotConfig;
|
|
30
|
+
export declare const AutopilotConfig: typeof import("./autopilotConfig").AutopilotConfig;
|
|
31
|
+
export { CatalogEntryArgs, CatalogEntryState } from "./catalogEntry";
|
|
32
|
+
export type CatalogEntry = import("./catalogEntry").CatalogEntry;
|
|
33
|
+
export declare const CatalogEntry: typeof import("./catalogEntry").CatalogEntry;
|
|
34
|
+
export { CertificateAuthorityArgs, CertificateAuthorityState } from "./certificateAuthority";
|
|
35
|
+
export type CertificateAuthority = import("./certificateAuthority").CertificateAuthority;
|
|
36
|
+
export declare const CertificateAuthority: typeof import("./certificateAuthority").CertificateAuthority;
|
|
37
|
+
export { ConfigEntryArgs, ConfigEntryState } from "./configEntry";
|
|
38
|
+
export type ConfigEntry = import("./configEntry").ConfigEntry;
|
|
39
|
+
export declare const ConfigEntry: typeof import("./configEntry").ConfigEntry;
|
|
40
|
+
export { GetAclAuthMethodArgs, GetAclAuthMethodResult, GetAclAuthMethodOutputArgs } from "./getAclAuthMethod";
|
|
41
|
+
export declare const getAclAuthMethod: typeof import("./getAclAuthMethod").getAclAuthMethod;
|
|
42
|
+
export declare const getAclAuthMethodOutput: typeof import("./getAclAuthMethod").getAclAuthMethodOutput;
|
|
43
|
+
export { GetAclPolicyArgs, GetAclPolicyResult, GetAclPolicyOutputArgs } from "./getAclPolicy";
|
|
44
|
+
export declare const getAclPolicy: typeof import("./getAclPolicy").getAclPolicy;
|
|
45
|
+
export declare const getAclPolicyOutput: typeof import("./getAclPolicy").getAclPolicyOutput;
|
|
46
|
+
export { GetAclRoleArgs, GetAclRoleResult, GetAclRoleOutputArgs } from "./getAclRole";
|
|
47
|
+
export declare const getAclRole: typeof import("./getAclRole").getAclRole;
|
|
48
|
+
export declare const getAclRoleOutput: typeof import("./getAclRole").getAclRoleOutput;
|
|
49
|
+
export { GetAclTokenArgs, GetAclTokenResult, GetAclTokenOutputArgs } from "./getAclToken";
|
|
50
|
+
export declare const getAclToken: typeof import("./getAclToken").getAclToken;
|
|
51
|
+
export declare const getAclTokenOutput: typeof import("./getAclToken").getAclTokenOutput;
|
|
52
|
+
export { GetAclTokenSecretIdArgs, GetAclTokenSecretIdResult, GetAclTokenSecretIdOutputArgs } from "./getAclTokenSecretId";
|
|
53
|
+
export declare const getAclTokenSecretId: typeof import("./getAclTokenSecretId").getAclTokenSecretId;
|
|
54
|
+
export declare const getAclTokenSecretIdOutput: typeof import("./getAclTokenSecretId").getAclTokenSecretIdOutput;
|
|
55
|
+
export { GetAgentConfigResult } from "./getAgentConfig";
|
|
56
|
+
export declare const getAgentConfig: typeof import("./getAgentConfig").getAgentConfig;
|
|
57
|
+
export { GetAgentSelfResult } from "./getAgentSelf";
|
|
58
|
+
export declare const getAgentSelf: typeof import("./getAgentSelf").getAgentSelf;
|
|
59
|
+
export { GetAutopilotHealthArgs, GetAutopilotHealthResult, GetAutopilotHealthOutputArgs } from "./getAutopilotHealth";
|
|
60
|
+
export declare const getAutopilotHealth: typeof import("./getAutopilotHealth").getAutopilotHealth;
|
|
61
|
+
export declare const getAutopilotHealthOutput: typeof import("./getAutopilotHealth").getAutopilotHealthOutput;
|
|
62
|
+
export { GetCatalogNodesArgs, GetCatalogNodesResult, GetCatalogNodesOutputArgs } from "./getCatalogNodes";
|
|
63
|
+
export declare const getCatalogNodes: typeof import("./getCatalogNodes").getCatalogNodes;
|
|
64
|
+
export declare const getCatalogNodesOutput: typeof import("./getCatalogNodes").getCatalogNodesOutput;
|
|
65
|
+
export { GetCatalogServiceArgs, GetCatalogServiceResult, GetCatalogServiceOutputArgs } from "./getCatalogService";
|
|
66
|
+
export declare const getCatalogService: typeof import("./getCatalogService").getCatalogService;
|
|
67
|
+
export declare const getCatalogServiceOutput: typeof import("./getCatalogService").getCatalogServiceOutput;
|
|
68
|
+
export { GetCatalogServicesArgs, GetCatalogServicesResult, GetCatalogServicesOutputArgs } from "./getCatalogServices";
|
|
69
|
+
export declare const getCatalogServices: typeof import("./getCatalogServices").getCatalogServices;
|
|
70
|
+
export declare const getCatalogServicesOutput: typeof import("./getCatalogServices").getCatalogServicesOutput;
|
|
71
|
+
export { GetConfigEntryArgs, GetConfigEntryResult, GetConfigEntryOutputArgs } from "./getConfigEntry";
|
|
72
|
+
export declare const getConfigEntry: typeof import("./getConfigEntry").getConfigEntry;
|
|
73
|
+
export declare const getConfigEntryOutput: typeof import("./getConfigEntry").getConfigEntryOutput;
|
|
74
|
+
export { GetDatacentersResult } from "./getDatacenters";
|
|
75
|
+
export declare const getDatacenters: typeof import("./getDatacenters").getDatacenters;
|
|
76
|
+
export { GetKeyPrefixArgs, GetKeyPrefixResult, GetKeyPrefixOutputArgs } from "./getKeyPrefix";
|
|
77
|
+
export declare const getKeyPrefix: typeof import("./getKeyPrefix").getKeyPrefix;
|
|
78
|
+
export declare const getKeyPrefixOutput: typeof import("./getKeyPrefix").getKeyPrefixOutput;
|
|
79
|
+
export { GetKeysArgs, GetKeysResult, GetKeysOutputArgs } from "./getKeys";
|
|
80
|
+
export declare const getKeys: typeof import("./getKeys").getKeys;
|
|
81
|
+
export declare const getKeysOutput: typeof import("./getKeys").getKeysOutput;
|
|
82
|
+
export { GetNetworkAreaMembersArgs, GetNetworkAreaMembersResult, GetNetworkAreaMembersOutputArgs } from "./getNetworkAreaMembers";
|
|
83
|
+
export declare const getNetworkAreaMembers: typeof import("./getNetworkAreaMembers").getNetworkAreaMembers;
|
|
84
|
+
export declare const getNetworkAreaMembersOutput: typeof import("./getNetworkAreaMembers").getNetworkAreaMembersOutput;
|
|
85
|
+
export { GetNetworkSegmentsArgs, GetNetworkSegmentsResult, GetNetworkSegmentsOutputArgs } from "./getNetworkSegments";
|
|
86
|
+
export declare const getNetworkSegments: typeof import("./getNetworkSegments").getNetworkSegments;
|
|
87
|
+
export declare const getNetworkSegmentsOutput: typeof import("./getNetworkSegments").getNetworkSegmentsOutput;
|
|
88
|
+
export { GetNodesArgs, GetNodesResult, GetNodesOutputArgs } from "./getNodes";
|
|
89
|
+
export declare const getNodes: typeof import("./getNodes").getNodes;
|
|
90
|
+
export declare const getNodesOutput: typeof import("./getNodes").getNodesOutput;
|
|
91
|
+
export { GetPeeringArgs, GetPeeringResult, GetPeeringOutputArgs } from "./getPeering";
|
|
92
|
+
export declare const getPeering: typeof import("./getPeering").getPeering;
|
|
93
|
+
export declare const getPeeringOutput: typeof import("./getPeering").getPeeringOutput;
|
|
94
|
+
export { GetPeeringsArgs, GetPeeringsResult, GetPeeringsOutputArgs } from "./getPeerings";
|
|
95
|
+
export declare const getPeerings: typeof import("./getPeerings").getPeerings;
|
|
96
|
+
export declare const getPeeringsOutput: typeof import("./getPeerings").getPeeringsOutput;
|
|
97
|
+
export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService";
|
|
98
|
+
export declare const getService: typeof import("./getService").getService;
|
|
99
|
+
export declare const getServiceOutput: typeof import("./getService").getServiceOutput;
|
|
100
|
+
export { GetServiceHealthArgs, GetServiceHealthResult, GetServiceHealthOutputArgs } from "./getServiceHealth";
|
|
101
|
+
export declare const getServiceHealth: typeof import("./getServiceHealth").getServiceHealth;
|
|
102
|
+
export declare const getServiceHealthOutput: typeof import("./getServiceHealth").getServiceHealthOutput;
|
|
103
|
+
export { GetServicesArgs, GetServicesResult, GetServicesOutputArgs } from "./getServices";
|
|
104
|
+
export declare const getServices: typeof import("./getServices").getServices;
|
|
105
|
+
export declare const getServicesOutput: typeof import("./getServices").getServicesOutput;
|
|
106
|
+
export { IntentionArgs, IntentionState } from "./intention";
|
|
107
|
+
export type Intention = import("./intention").Intention;
|
|
108
|
+
export declare const Intention: typeof import("./intention").Intention;
|
|
109
|
+
export { KeyPrefixArgs, KeyPrefixState } from "./keyPrefix";
|
|
110
|
+
export type KeyPrefix = import("./keyPrefix").KeyPrefix;
|
|
111
|
+
export declare const KeyPrefix: typeof import("./keyPrefix").KeyPrefix;
|
|
112
|
+
export { KeysArgs, KeysState } from "./keys";
|
|
113
|
+
export type Keys = import("./keys").Keys;
|
|
114
|
+
export declare const Keys: typeof import("./keys").Keys;
|
|
115
|
+
export { LicenseArgs, LicenseState } from "./license";
|
|
116
|
+
export type License = import("./license").License;
|
|
117
|
+
export declare const License: typeof import("./license").License;
|
|
118
|
+
export { NamespaceArgs, NamespaceState } from "./namespace";
|
|
119
|
+
export type Namespace = import("./namespace").Namespace;
|
|
120
|
+
export declare const Namespace: typeof import("./namespace").Namespace;
|
|
121
|
+
export { NamespacePolicyAttachmentArgs, NamespacePolicyAttachmentState } from "./namespacePolicyAttachment";
|
|
122
|
+
export type NamespacePolicyAttachment = import("./namespacePolicyAttachment").NamespacePolicyAttachment;
|
|
123
|
+
export declare const NamespacePolicyAttachment: typeof import("./namespacePolicyAttachment").NamespacePolicyAttachment;
|
|
124
|
+
export { NamespaceRoleAttachmentArgs, NamespaceRoleAttachmentState } from "./namespaceRoleAttachment";
|
|
125
|
+
export type NamespaceRoleAttachment = import("./namespaceRoleAttachment").NamespaceRoleAttachment;
|
|
126
|
+
export declare const NamespaceRoleAttachment: typeof import("./namespaceRoleAttachment").NamespaceRoleAttachment;
|
|
127
|
+
export { NetworkAreaArgs, NetworkAreaState } from "./networkArea";
|
|
128
|
+
export type NetworkArea = import("./networkArea").NetworkArea;
|
|
129
|
+
export declare const NetworkArea: typeof import("./networkArea").NetworkArea;
|
|
130
|
+
export { NodeArgs, NodeState } from "./node";
|
|
131
|
+
export type Node = import("./node").Node;
|
|
132
|
+
export declare const Node: typeof import("./node").Node;
|
|
133
|
+
export { PeeringArgs, PeeringState } from "./peering";
|
|
134
|
+
export type Peering = import("./peering").Peering;
|
|
135
|
+
export declare const Peering: typeof import("./peering").Peering;
|
|
136
|
+
export { PeeringTokenArgs, PeeringTokenState } from "./peeringToken";
|
|
137
|
+
export type PeeringToken = import("./peeringToken").PeeringToken;
|
|
138
|
+
export declare const PeeringToken: typeof import("./peeringToken").PeeringToken;
|
|
139
|
+
export { PreparedQueryArgs, PreparedQueryState } from "./preparedQuery";
|
|
140
|
+
export type PreparedQuery = import("./preparedQuery").PreparedQuery;
|
|
141
|
+
export declare const PreparedQuery: typeof import("./preparedQuery").PreparedQuery;
|
|
142
|
+
export { ProviderArgs } from "./provider";
|
|
143
|
+
export type Provider = import("./provider").Provider;
|
|
144
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
145
|
+
export { ServiceArgs, ServiceState } from "./service";
|
|
146
|
+
export type Service = import("./service").Service;
|
|
147
|
+
export declare const Service: typeof import("./service").Service;
|
|
51
148
|
import * as config from "./config";
|
|
52
149
|
import * as types from "./types";
|
|
53
150
|
export { config, types, };
|