@pulumi/confluentcloud 2.58.0-alpha.1770612844 → 2.58.0-alpha.1770696552

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.
@@ -12,13 +12,24 @@ import * as outputs from "./types/output";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as confluentcloud from "@pulumi/confluentcloud";
14
14
  *
15
- * const main = confluentcloud.getCertificatePool({
16
- * id: "pool-def456",
17
- * certificateAuthority: {
18
- * id: "op-abc123",
19
- * },
20
- * });
21
- * export const certificatePool = main;
15
+ * export = async () => {
16
+ * const main = await confluentcloud.getCertificatePool({
17
+ * id: "pool-def456",
18
+ * certificateAuthority: {
19
+ * id: "op-abc123",
20
+ * },
21
+ * });
22
+ * const exampleUsingName = await confluentcloud.getCertificatePool({
23
+ * displayName: "My Certificate Pool",
24
+ * certificateAuthority: {
25
+ * id: "op-abc123",
26
+ * },
27
+ * });
28
+ * return {
29
+ * certificatePool: main,
30
+ * exampleUsingName: exampleUsingName,
31
+ * };
32
+ * }
22
33
  * ```
23
34
  */
24
35
  export declare function getCertificatePool(args: GetCertificatePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificatePoolResult>;
@@ -27,10 +38,16 @@ export declare function getCertificatePool(args: GetCertificatePoolArgs, opts?:
27
38
  */
28
39
  export interface GetCertificatePoolArgs {
29
40
  certificateAuthority: inputs.GetCertificatePoolCertificateAuthority;
41
+ /**
42
+ * A human-readable name for the Certificate Pool.
43
+ *
44
+ * > **Note:** Exactly one from the `id` and `displayName` attributes must be specified.
45
+ */
46
+ displayName?: string;
30
47
  /**
31
48
  * The ID of the Certificate Pool, for example, `pool-abc123`.
32
49
  */
33
- id: string;
50
+ id?: string;
34
51
  }
35
52
  /**
36
53
  * A collection of values returned by getCertificatePool.
@@ -41,9 +58,6 @@ export interface GetCertificatePoolResult {
41
58
  * (Required String) A description of the Certificate Pool.
42
59
  */
43
60
  readonly description: string;
44
- /**
45
- * (Required String) A human-readable name for the Certificate Pool.
46
- */
47
61
  readonly displayName: string;
48
62
  /**
49
63
  * (Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, `UID`.
@@ -66,13 +80,24 @@ export interface GetCertificatePoolResult {
66
80
  * import * as pulumi from "@pulumi/pulumi";
67
81
  * import * as confluentcloud from "@pulumi/confluentcloud";
68
82
  *
69
- * const main = confluentcloud.getCertificatePool({
70
- * id: "pool-def456",
71
- * certificateAuthority: {
72
- * id: "op-abc123",
73
- * },
74
- * });
75
- * export const certificatePool = main;
83
+ * export = async () => {
84
+ * const main = await confluentcloud.getCertificatePool({
85
+ * id: "pool-def456",
86
+ * certificateAuthority: {
87
+ * id: "op-abc123",
88
+ * },
89
+ * });
90
+ * const exampleUsingName = await confluentcloud.getCertificatePool({
91
+ * displayName: "My Certificate Pool",
92
+ * certificateAuthority: {
93
+ * id: "op-abc123",
94
+ * },
95
+ * });
96
+ * return {
97
+ * certificatePool: main,
98
+ * exampleUsingName: exampleUsingName,
99
+ * };
100
+ * }
76
101
  * ```
77
102
  */
78
103
  export declare function getCertificatePoolOutput(args: GetCertificatePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificatePoolResult>;
@@ -81,8 +106,14 @@ export declare function getCertificatePoolOutput(args: GetCertificatePoolOutputA
81
106
  */
82
107
  export interface GetCertificatePoolOutputArgs {
83
108
  certificateAuthority: pulumi.Input<inputs.GetCertificatePoolCertificateAuthorityArgs>;
109
+ /**
110
+ * A human-readable name for the Certificate Pool.
111
+ *
112
+ * > **Note:** Exactly one from the `id` and `displayName` attributes must be specified.
113
+ */
114
+ displayName?: pulumi.Input<string>;
84
115
  /**
85
116
  * The ID of the Certificate Pool, for example, `pool-abc123`.
86
117
  */
87
- id: pulumi.Input<string>;
118
+ id?: pulumi.Input<string>;
88
119
  }
@@ -16,19 +16,31 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as confluentcloud from "@pulumi/confluentcloud";
18
18
  *
19
- * const main = confluentcloud.getCertificatePool({
20
- * id: "pool-def456",
21
- * certificateAuthority: {
22
- * id: "op-abc123",
23
- * },
24
- * });
25
- * export const certificatePool = main;
19
+ * export = async () => {
20
+ * const main = await confluentcloud.getCertificatePool({
21
+ * id: "pool-def456",
22
+ * certificateAuthority: {
23
+ * id: "op-abc123",
24
+ * },
25
+ * });
26
+ * const exampleUsingName = await confluentcloud.getCertificatePool({
27
+ * displayName: "My Certificate Pool",
28
+ * certificateAuthority: {
29
+ * id: "op-abc123",
30
+ * },
31
+ * });
32
+ * return {
33
+ * certificatePool: main,
34
+ * exampleUsingName: exampleUsingName,
35
+ * };
36
+ * }
26
37
  * ```
27
38
  */
28
39
  function getCertificatePool(args, opts) {
29
40
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
41
  return pulumi.runtime.invoke("confluentcloud:index/getCertificatePool:getCertificatePool", {
31
42
  "certificateAuthority": args.certificateAuthority,
43
+ "displayName": args.displayName,
32
44
  "id": args.id,
33
45
  }, opts);
34
46
  }
@@ -44,19 +56,31 @@ exports.getCertificatePool = getCertificatePool;
44
56
  * import * as pulumi from "@pulumi/pulumi";
45
57
  * import * as confluentcloud from "@pulumi/confluentcloud";
46
58
  *
47
- * const main = confluentcloud.getCertificatePool({
48
- * id: "pool-def456",
49
- * certificateAuthority: {
50
- * id: "op-abc123",
51
- * },
52
- * });
53
- * export const certificatePool = main;
59
+ * export = async () => {
60
+ * const main = await confluentcloud.getCertificatePool({
61
+ * id: "pool-def456",
62
+ * certificateAuthority: {
63
+ * id: "op-abc123",
64
+ * },
65
+ * });
66
+ * const exampleUsingName = await confluentcloud.getCertificatePool({
67
+ * displayName: "My Certificate Pool",
68
+ * certificateAuthority: {
69
+ * id: "op-abc123",
70
+ * },
71
+ * });
72
+ * return {
73
+ * certificatePool: main,
74
+ * exampleUsingName: exampleUsingName,
75
+ * };
76
+ * }
54
77
  * ```
55
78
  */
56
79
  function getCertificatePoolOutput(args, opts) {
57
80
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
58
81
  return pulumi.runtime.invokeOutput("confluentcloud:index/getCertificatePool:getCertificatePool", {
59
82
  "certificateAuthority": args.certificateAuthority,
83
+ "displayName": args.displayName,
60
84
  "id": args.id,
61
85
  }, opts);
62
86
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getCertificatePool.js","sourceRoot":"","sources":["../getCertificatePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAoCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC"}
1
+ {"version":3,"file":"getCertificatePool.js","sourceRoot":"","sources":["../getCertificatePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/confluentcloud",
3
- "version": "2.58.0-alpha.1770612844",
3
+ "version": "2.58.0-alpha.1770696552",
4
4
  "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "confluentcloud",
27
- "version": "2.58.0-alpha.1770612844"
27
+ "version": "2.58.0-alpha.1770696552"
28
28
  }
29
29
  }