@pulumi/consul 3.7.0-alpha.1654089228 → 3.7.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.
@@ -35,6 +35,10 @@ export interface GetAclTokenSecretIdArgs {
35
35
  * The namespace to lookup the token.
36
36
  */
37
37
  namespace?: string;
38
+ /**
39
+ * The partition to lookup the token.
40
+ */
41
+ partition?: string;
38
42
  pgpKey?: string;
39
43
  }
40
44
  /**
@@ -48,6 +52,7 @@ export interface GetAclTokenSecretIdResult {
48
52
  */
49
53
  readonly id: string;
50
54
  readonly namespace?: string;
55
+ readonly partition?: string;
51
56
  readonly pgpKey?: string;
52
57
  /**
53
58
  * The secret ID of the ACL token if `pgpKey` has not been set.
@@ -67,5 +72,9 @@ export interface GetAclTokenSecretIdOutputArgs {
67
72
  * The namespace to lookup the token.
68
73
  */
69
74
  namespace?: pulumi.Input<string>;
75
+ /**
76
+ * The partition to lookup the token.
77
+ */
78
+ partition?: pulumi.Input<string>;
70
79
  pgpKey?: pulumi.Input<string>;
71
80
  }
@@ -36,6 +36,7 @@ function getAclTokenSecretId(args, opts) {
36
36
  return pulumi.runtime.invoke("consul:index/getAclTokenSecretId:getAclTokenSecretId", {
37
37
  "accessorId": args.accessorId,
38
38
  "namespace": args.namespace,
39
+ "partition": args.partition,
39
40
  "pgpKey": args.pgpKey,
40
41
  }, opts);
41
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getAclTokenSecretId.js","sourceRoot":"","sources":["../getAclTokenSecretId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC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AC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/consul",
3
- "version": "v3.7.0-alpha.1654089228+9dbeea84",
3
+ "version": "v3.7.0",
4
4
  "description": "A Pulumi package for creating and managing consul resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource consul v3.7.0-alpha.1654089228+9dbeea84"
14
+ "install": "node scripts/install-pulumi-plugin.js resource consul v3.7.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/consul",
3
- "version": "v3.7.0-alpha.1654089228+9dbeea84",
3
+ "version": "v3.7.0",
4
4
  "description": "A Pulumi package for creating and managing consul resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource consul v3.7.0-alpha.1654089228+9dbeea84"
14
+ "install": "node scripts/install-pulumi-plugin.js resource consul v3.7.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/types/input.d.ts CHANGED
@@ -103,20 +103,6 @@ export interface GetCatalogNodesQueryOption {
103
103
  waitIndex?: number;
104
104
  waitTime?: string;
105
105
  }
106
- export interface GetCatalogServiceQueryOptionArgs {
107
- allowStale?: pulumi.Input<boolean>;
108
- datacenter?: pulumi.Input<string>;
109
- namespace?: pulumi.Input<string>;
110
- near?: pulumi.Input<string>;
111
- nodeMeta?: pulumi.Input<{
112
- [key: string]: pulumi.Input<string>;
113
- }>;
114
- partition?: pulumi.Input<string>;
115
- requireConsistent?: pulumi.Input<boolean>;
116
- token?: pulumi.Input<string>;
117
- waitIndex?: pulumi.Input<number>;
118
- waitTime?: pulumi.Input<string>;
119
- }
120
106
  export interface GetCatalogServiceQueryOption {
121
107
  allowStale?: boolean;
122
108
  datacenter?: string;
@@ -131,19 +117,19 @@ export interface GetCatalogServiceQueryOption {
131
117
  waitIndex?: number;
132
118
  waitTime?: string;
133
119
  }
134
- export interface GetCatalogServicesQueryOption {
135
- allowStale?: boolean;
136
- datacenter?: string;
137
- namespace?: string;
138
- near?: string;
139
- nodeMeta?: {
140
- [key: string]: string;
141
- };
142
- partition?: string;
143
- requireConsistent?: boolean;
144
- token?: string;
145
- waitIndex?: number;
146
- waitTime?: string;
120
+ export interface GetCatalogServiceQueryOptionArgs {
121
+ allowStale?: pulumi.Input<boolean>;
122
+ datacenter?: pulumi.Input<string>;
123
+ namespace?: pulumi.Input<string>;
124
+ near?: pulumi.Input<string>;
125
+ nodeMeta?: pulumi.Input<{
126
+ [key: string]: pulumi.Input<string>;
127
+ }>;
128
+ partition?: pulumi.Input<string>;
129
+ requireConsistent?: pulumi.Input<boolean>;
130
+ token?: pulumi.Input<string>;
131
+ waitIndex?: pulumi.Input<number>;
132
+ waitTime?: pulumi.Input<string>;
147
133
  }
148
134
  export interface GetCatalogServicesQueryOptionArgs {
149
135
  allowStale?: pulumi.Input<boolean>;
@@ -159,6 +145,20 @@ export interface GetCatalogServicesQueryOptionArgs {
159
145
  waitIndex?: pulumi.Input<number>;
160
146
  waitTime?: pulumi.Input<string>;
161
147
  }
148
+ export interface GetCatalogServicesQueryOption {
149
+ allowStale?: boolean;
150
+ datacenter?: string;
151
+ namespace?: string;
152
+ near?: string;
153
+ nodeMeta?: {
154
+ [key: string]: string;
155
+ };
156
+ partition?: string;
157
+ requireConsistent?: boolean;
158
+ token?: string;
159
+ waitIndex?: number;
160
+ waitTime?: string;
161
+ }
162
162
  export interface GetKeyPrefixSubkeyCollectionArgs {
163
163
  /**
164
164
  * This is the default value to set for `var.<name>`
@@ -313,93 +313,93 @@ export interface GetNodesQueryOption {
313
313
  */
314
314
  waitTime?: string;
315
315
  }
316
- export interface GetServiceQueryOption {
316
+ export interface GetServiceQueryOptionArgs {
317
317
  /**
318
318
  * When `true`, the default, allow responses from
319
319
  * Consul servers that are followers.
320
320
  */
321
- allowStale?: boolean;
321
+ allowStale?: pulumi.Input<boolean>;
322
322
  /**
323
323
  * The Consul datacenter to query. Defaults to the
324
324
  * same value found in `queryOptions` parameter specified below, or if that is
325
325
  * empty, the `datacenter` value found in the Consul agent that this provider is
326
326
  * configured to talk to.
327
327
  */
328
- datacenter?: string;
328
+ datacenter?: pulumi.Input<string>;
329
329
  /**
330
330
  * The namespace to lookup the service.
331
331
  */
332
- namespace?: string;
333
- near?: string;
334
- nodeMeta?: {
335
- [key: string]: string;
336
- };
337
- partition?: string;
332
+ namespace?: pulumi.Input<string>;
333
+ near?: pulumi.Input<string>;
334
+ nodeMeta?: pulumi.Input<{
335
+ [key: string]: pulumi.Input<string>;
336
+ }>;
337
+ partition?: pulumi.Input<string>;
338
338
  /**
339
339
  * When `true` force the client to perform a
340
340
  * read on at least quorum servers and verify the result is the same. Defaults
341
341
  * to `false`.
342
342
  */
343
- requireConsistent?: boolean;
343
+ requireConsistent?: pulumi.Input<boolean>;
344
344
  /**
345
345
  * Specify the Consul ACL token to use when performing the
346
346
  * request. This defaults to the same API token configured by the `consul`
347
347
  * provider but may be overridden if necessary.
348
348
  */
349
- token?: string;
349
+ token?: pulumi.Input<string>;
350
350
  /**
351
351
  * Index number used to enable blocking queries.
352
352
  */
353
- waitIndex?: number;
353
+ waitIndex?: pulumi.Input<number>;
354
354
  /**
355
355
  * Max time the client should wait for a blocking query
356
356
  * to return.
357
357
  */
358
- waitTime?: string;
358
+ waitTime?: pulumi.Input<string>;
359
359
  }
360
- export interface GetServiceQueryOptionArgs {
360
+ export interface GetServiceQueryOption {
361
361
  /**
362
362
  * When `true`, the default, allow responses from
363
363
  * Consul servers that are followers.
364
364
  */
365
- allowStale?: pulumi.Input<boolean>;
365
+ allowStale?: boolean;
366
366
  /**
367
367
  * The Consul datacenter to query. Defaults to the
368
368
  * same value found in `queryOptions` parameter specified below, or if that is
369
369
  * empty, the `datacenter` value found in the Consul agent that this provider is
370
370
  * configured to talk to.
371
371
  */
372
- datacenter?: pulumi.Input<string>;
372
+ datacenter?: string;
373
373
  /**
374
374
  * The namespace to lookup the service.
375
375
  */
376
- namespace?: pulumi.Input<string>;
377
- near?: pulumi.Input<string>;
378
- nodeMeta?: pulumi.Input<{
379
- [key: string]: pulumi.Input<string>;
380
- }>;
381
- partition?: pulumi.Input<string>;
376
+ namespace?: string;
377
+ near?: string;
378
+ nodeMeta?: {
379
+ [key: string]: string;
380
+ };
381
+ partition?: string;
382
382
  /**
383
383
  * When `true` force the client to perform a
384
384
  * read on at least quorum servers and verify the result is the same. Defaults
385
385
  * to `false`.
386
386
  */
387
- requireConsistent?: pulumi.Input<boolean>;
387
+ requireConsistent?: boolean;
388
388
  /**
389
389
  * Specify the Consul ACL token to use when performing the
390
390
  * request. This defaults to the same API token configured by the `consul`
391
391
  * provider but may be overridden if necessary.
392
392
  */
393
- token?: pulumi.Input<string>;
393
+ token?: string;
394
394
  /**
395
395
  * Index number used to enable blocking queries.
396
396
  */
397
- waitIndex?: pulumi.Input<number>;
397
+ waitIndex?: number;
398
398
  /**
399
399
  * Max time the client should wait for a blocking query
400
400
  * to return.
401
401
  */
402
- waitTime?: pulumi.Input<string>;
402
+ waitTime?: string;
403
403
  }
404
404
  export interface GetServicesQueryOptionArgs {
405
405
  /**