@pulumi/confluentcloud 2.90.0-alpha.1793852439 → 2.90.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.
Files changed (37) hide show
  1. package/getNotificationType.d.ts +106 -0
  2. package/getNotificationType.d.ts.map +1 -0
  3. package/getNotificationType.js +87 -0
  4. package/getNotificationType.js.map +1 -0
  5. package/getNotificationsResourcePreference.d.ts +94 -0
  6. package/getNotificationsResourcePreference.d.ts.map +1 -0
  7. package/getNotificationsResourcePreference.js +87 -0
  8. package/getNotificationsResourcePreference.js.map +1 -0
  9. package/getNotificationsResourceSubscription.d.ts +106 -0
  10. package/getNotificationsResourceSubscription.d.ts.map +1 -0
  11. package/getNotificationsResourceSubscription.js +87 -0
  12. package/getNotificationsResourceSubscription.js.map +1 -0
  13. package/getNotificationsSubscription.d.ts +98 -0
  14. package/getNotificationsSubscription.d.ts.map +1 -0
  15. package/getNotificationsSubscription.js +87 -0
  16. package/getNotificationsSubscription.js.map +1 -0
  17. package/index.d.ts +21 -0
  18. package/index.d.ts.map +1 -1
  19. package/index.js +31 -4
  20. package/index.js.map +1 -1
  21. package/notificationsResourcePreference.d.ts +140 -0
  22. package/notificationsResourcePreference.d.ts.map +1 -0
  23. package/notificationsResourcePreference.js +133 -0
  24. package/notificationsResourcePreference.js.map +1 -0
  25. package/notificationsResourceSubscription.d.ts +169 -0
  26. package/notificationsResourceSubscription.d.ts.map +1 -0
  27. package/notificationsResourceSubscription.js +146 -0
  28. package/notificationsResourceSubscription.js.map +1 -0
  29. package/notificationsSubscription.d.ts +143 -0
  30. package/notificationsSubscription.d.ts.map +1 -0
  31. package/notificationsSubscription.js +134 -0
  32. package/notificationsSubscription.js.map +1 -0
  33. package/package.json +2 -2
  34. package/types/input.d.ts +12 -0
  35. package/types/input.d.ts.map +1 -1
  36. package/types/output.d.ts +24 -0
  37. package/types/output.d.ts.map +1 -1
@@ -0,0 +1,140 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
4
+ *
5
+ * `confluentcloud.NotificationsResourcePreference` provides a Resource Preference resource that enables creating, editing, and deleting Resource Preferences on Confluent Cloud.
6
+ *
7
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental resource preference deletion. This setting rejects plans that would destroy or recreate the resource preference, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as confluentcloud from "@pulumi/confluentcloud";
14
+ *
15
+ * const example = new confluentcloud.Environment("example", {displayName: "example"});
16
+ * const exampleNotificationsResourcePreference = new confluentcloud.NotificationsResourcePreference("example", {
17
+ * resource: example.resourceName,
18
+ * resourceType: "ENVIRONMENT",
19
+ * currentState: "DISABLED",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Resource Preference.
26
+ *
27
+ * You can import a Resource Preference by using Resource Preference ID, for example:
28
+ *
29
+ * ```sh
30
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
31
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
32
+ * $ pulumi import confluentcloud:index/notificationsResourcePreference:NotificationsResourcePreference example res-abc123
33
+ * ```
34
+ *
35
+ * > **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
36
+ */
37
+ export declare class NotificationsResourcePreference extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing NotificationsResourcePreference resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationsResourcePreferenceState, opts?: pulumi.CustomResourceOptions): NotificationsResourcePreference;
48
+ /**
49
+ * Check whether an existing NotificationsResourcePreference resource with the given ID exists.
50
+ *
51
+ * @param id The _unique_ provider ID of the resource to check.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static exists(id: pulumi.Input<string>, state?: NotificationsResourcePreferenceState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
56
+ /**
57
+ * Returns true if the given object is an instance of NotificationsResourcePreference. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is NotificationsResourcePreference;
61
+ /**
62
+ * (Required String) API Version defines the schema version of this representation of a resource.
63
+ */
64
+ readonly apiVersion: pulumi.Output<string>;
65
+ /**
66
+ * Denotes the state of the resource preference. When the resource preference is ENABLED, the user will receive notifications for the Confluent Cloud resource. If the resource preference is DISABLED, the user will not receive any notification for the resource. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
67
+ */
68
+ readonly currentState: pulumi.Output<string>;
69
+ /**
70
+ * (Required String) Kind defines the object this REST resource represents.
71
+ */
72
+ readonly kind: pulumi.Output<string>;
73
+ /**
74
+ * Denotes the Confluent Cloud resource definition.
75
+ */
76
+ readonly resource: pulumi.Output<string>;
77
+ /**
78
+ * (Required String) The Confluent Resource Name of the Resource Preference.
79
+ */
80
+ readonly resourceName: pulumi.Output<string>;
81
+ /**
82
+ * Denotes the Confluent Cloud resource type.
83
+ */
84
+ readonly resourceType: pulumi.Output<string>;
85
+ /**
86
+ * Create a NotificationsResourcePreference resource with the given unique name, arguments, and options.
87
+ *
88
+ * @param name The _unique_ name of the resource.
89
+ * @param args The arguments to use to populate this resource's properties.
90
+ * @param opts A bag of options that control this resource's behavior.
91
+ */
92
+ constructor(name: string, args: NotificationsResourcePreferenceArgs, opts?: pulumi.CustomResourceOptions);
93
+ }
94
+ /**
95
+ * Input properties used for looking up and filtering NotificationsResourcePreference resources.
96
+ */
97
+ export interface NotificationsResourcePreferenceState {
98
+ /**
99
+ * (Required String) API Version defines the schema version of this representation of a resource.
100
+ */
101
+ apiVersion?: pulumi.Input<string | undefined>;
102
+ /**
103
+ * Denotes the state of the resource preference. When the resource preference is ENABLED, the user will receive notifications for the Confluent Cloud resource. If the resource preference is DISABLED, the user will not receive any notification for the resource. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
104
+ */
105
+ currentState?: pulumi.Input<string | undefined>;
106
+ /**
107
+ * (Required String) Kind defines the object this REST resource represents.
108
+ */
109
+ kind?: pulumi.Input<string | undefined>;
110
+ /**
111
+ * Denotes the Confluent Cloud resource definition.
112
+ */
113
+ resource?: pulumi.Input<string | undefined>;
114
+ /**
115
+ * (Required String) The Confluent Resource Name of the Resource Preference.
116
+ */
117
+ resourceName?: pulumi.Input<string | undefined>;
118
+ /**
119
+ * Denotes the Confluent Cloud resource type.
120
+ */
121
+ resourceType?: pulumi.Input<string | undefined>;
122
+ }
123
+ /**
124
+ * The set of arguments for constructing a NotificationsResourcePreference resource.
125
+ */
126
+ export interface NotificationsResourcePreferenceArgs {
127
+ /**
128
+ * Denotes the state of the resource preference. When the resource preference is ENABLED, the user will receive notifications for the Confluent Cloud resource. If the resource preference is DISABLED, the user will not receive any notification for the resource. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
129
+ */
130
+ currentState?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Denotes the Confluent Cloud resource definition.
133
+ */
134
+ resource: pulumi.Input<string>;
135
+ /**
136
+ * Denotes the Confluent Cloud resource type.
137
+ */
138
+ resourceType: pulumi.Input<string>;
139
+ }
140
+ //# sourceMappingURL=notificationsResourcePreference.d.ts.map
@@ -0,0 +1 @@
1
+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AAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA8B3G;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NotificationsResourcePreference = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * `confluentcloud.NotificationsResourcePreference` provides a Resource Preference resource that enables creating, editing, and deleting Resource Preferences on Confluent Cloud.
35
+ *
36
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental resource preference deletion. This setting rejects plans that would destroy or recreate the resource preference, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as confluentcloud from "@pulumi/confluentcloud";
43
+ *
44
+ * const example = new confluentcloud.Environment("example", {displayName: "example"});
45
+ * const exampleNotificationsResourcePreference = new confluentcloud.NotificationsResourcePreference("example", {
46
+ * resource: example.resourceName,
47
+ * resourceType: "ENVIRONMENT",
48
+ * currentState: "DISABLED",
49
+ * });
50
+ * ```
51
+ *
52
+ * ## Import
53
+ *
54
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Resource Preference.
55
+ *
56
+ * You can import a Resource Preference by using Resource Preference ID, for example:
57
+ *
58
+ * ```sh
59
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
60
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
61
+ * $ pulumi import confluentcloud:index/notificationsResourcePreference:NotificationsResourcePreference example res-abc123
62
+ * ```
63
+ *
64
+ * > **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
65
+ */
66
+ class NotificationsResourcePreference extends pulumi.CustomResource {
67
+ /**
68
+ * Get an existing NotificationsResourcePreference resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name, id, state, opts) {
77
+ return new NotificationsResourcePreference(name, state, { ...opts, id: id });
78
+ }
79
+ /**
80
+ * Check whether an existing NotificationsResourcePreference resource with the given ID exists.
81
+ *
82
+ * @param id The _unique_ provider ID of the resource to check.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static exists(id, state, opts) {
87
+ return pulumi.runtime.existsResource("confluentcloud:index/notificationsResourcePreference:NotificationsResourcePreference", id, state || {}, { ...opts }, undefined);
88
+ }
89
+ /** @internal */
90
+ static __pulumiType = 'confluentcloud:index/notificationsResourcePreference:NotificationsResourcePreference';
91
+ /**
92
+ * Returns true if the given object is an instance of NotificationsResourcePreference. This is designed to work even
93
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
+ */
95
+ static isInstance(obj) {
96
+ if (obj === undefined || obj === null) {
97
+ return false;
98
+ }
99
+ return obj['__pulumiType'] === NotificationsResourcePreference.__pulumiType;
100
+ }
101
+ constructor(name, argsOrState, opts) {
102
+ let resourceInputs = {};
103
+ opts = opts || {};
104
+ if (opts.id) {
105
+ const state = argsOrState;
106
+ resourceInputs["apiVersion"] = state?.apiVersion;
107
+ resourceInputs["currentState"] = state?.currentState;
108
+ resourceInputs["kind"] = state?.kind;
109
+ resourceInputs["resource"] = state?.resource;
110
+ resourceInputs["resourceName"] = state?.resourceName;
111
+ resourceInputs["resourceType"] = state?.resourceType;
112
+ }
113
+ else {
114
+ const args = argsOrState;
115
+ if (args?.resource === undefined && !opts.urn) {
116
+ throw new Error("Missing required property 'resource'");
117
+ }
118
+ if (args?.resourceType === undefined && !opts.urn) {
119
+ throw new Error("Missing required property 'resourceType'");
120
+ }
121
+ resourceInputs["currentState"] = args?.currentState;
122
+ resourceInputs["resource"] = args?.resource;
123
+ resourceInputs["resourceType"] = args?.resourceType;
124
+ resourceInputs["apiVersion"] = undefined /*out*/;
125
+ resourceInputs["kind"] = undefined /*out*/;
126
+ resourceInputs["resourceName"] = undefined /*out*/;
127
+ }
128
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
129
+ super(NotificationsResourcePreference.__pulumiType, name, resourceInputs, opts);
130
+ }
131
+ }
132
+ exports.NotificationsResourcePreference = NotificationsResourcePreference;
133
+ //# sourceMappingURL=notificationsResourcePreference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationsResourcePreference.js","sourceRoot":"","sources":["../notificationsResourcePreference.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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ACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAA8D,CAAC;YAC5E,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AApGL,0EAqGC"}
@@ -0,0 +1,169 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.NotificationsResourceSubscription` provides a Resource Subscription resource that enables creating, editing, and deleting Resource Subscriptions on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental resource subscription deletion. This setting rejects plans that would destroy or recreate the resource subscription, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as confluentcloud from "@pulumi/confluentcloud";
16
+ *
17
+ * const example = new confluentcloud.NotificationsResourceSubscription("example", {
18
+ * resource: `${exampleConfluentKafkaCluster.rbacCrn}/connector=${exampleConfluentConnector.configNonsensitive.name}`,
19
+ * resourceType: "CONNECTOR",
20
+ * notificationType: {
21
+ * id: "nt-Bp3ab",
22
+ * },
23
+ * integrations: [exampleConfluentNotificationsIntegration.id],
24
+ * currentState: "ENABLED",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Resource Subscription.
31
+ *
32
+ * You can import a Resource Subscription by using Resource Subscription ID, for example:
33
+ *
34
+ * ```sh
35
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
36
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
37
+ * $ pulumi import confluentcloud:index/notificationsResourceSubscription:NotificationsResourceSubscription example res-abc123
38
+ * ```
39
+ *
40
+ * > **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
41
+ */
42
+ export declare class NotificationsResourceSubscription extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing NotificationsResourceSubscription resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationsResourceSubscriptionState, opts?: pulumi.CustomResourceOptions): NotificationsResourceSubscription;
53
+ /**
54
+ * Check whether an existing NotificationsResourceSubscription resource with the given ID exists.
55
+ *
56
+ * @param id The _unique_ provider ID of the resource to check.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static exists(id: pulumi.Input<string>, state?: NotificationsResourceSubscriptionState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
61
+ /**
62
+ * Returns true if the given object is an instance of NotificationsResourceSubscription. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj: any): obj is NotificationsResourceSubscription;
66
+ /**
67
+ * (Required String) API Version defines the schema version of this representation of a resource.
68
+ */
69
+ readonly apiVersion: pulumi.Output<string>;
70
+ /**
71
+ * Denotes the state of the resource subscription. When the resource subscription is ENABLED, the user will receive notifications of the configured notification type for the Confluent Cloud resource. If the resource subscription is DISABLED, the user will not receive them. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
72
+ */
73
+ readonly currentState: pulumi.Output<string>;
74
+ /**
75
+ * Integrations to which notifications are to be sent.
76
+ */
77
+ readonly integrations: pulumi.Output<string[]>;
78
+ /**
79
+ * (Required String) Kind defines the object this REST resource represents.
80
+ */
81
+ readonly kind: pulumi.Output<string>;
82
+ /**
83
+ * The type of notification to subscribe to. Supports the following:
84
+ */
85
+ readonly notificationType: pulumi.Output<outputs.NotificationsResourceSubscriptionNotificationType>;
86
+ /**
87
+ * Denotes the Confluent Cloud resource definition.
88
+ */
89
+ readonly resource: pulumi.Output<string>;
90
+ /**
91
+ * (Required String) The Confluent Resource Name of the Resource Subscription.
92
+ */
93
+ readonly resourceName: pulumi.Output<string>;
94
+ /**
95
+ * Denotes the Confluent Cloud resource type.
96
+ */
97
+ readonly resourceType: pulumi.Output<string>;
98
+ /**
99
+ * Create a NotificationsResourceSubscription resource with the given unique name, arguments, and options.
100
+ *
101
+ * @param name The _unique_ name of the resource.
102
+ * @param args The arguments to use to populate this resource's properties.
103
+ * @param opts A bag of options that control this resource's behavior.
104
+ */
105
+ constructor(name: string, args: NotificationsResourceSubscriptionArgs, opts?: pulumi.CustomResourceOptions);
106
+ }
107
+ /**
108
+ * Input properties used for looking up and filtering NotificationsResourceSubscription resources.
109
+ */
110
+ export interface NotificationsResourceSubscriptionState {
111
+ /**
112
+ * (Required String) API Version defines the schema version of this representation of a resource.
113
+ */
114
+ apiVersion?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Denotes the state of the resource subscription. When the resource subscription is ENABLED, the user will receive notifications of the configured notification type for the Confluent Cloud resource. If the resource subscription is DISABLED, the user will not receive them. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
117
+ */
118
+ currentState?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Integrations to which notifications are to be sent.
121
+ */
122
+ integrations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
123
+ /**
124
+ * (Required String) Kind defines the object this REST resource represents.
125
+ */
126
+ kind?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * The type of notification to subscribe to. Supports the following:
129
+ */
130
+ notificationType?: pulumi.Input<inputs.NotificationsResourceSubscriptionNotificationType | undefined>;
131
+ /**
132
+ * Denotes the Confluent Cloud resource definition.
133
+ */
134
+ resource?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * (Required String) The Confluent Resource Name of the Resource Subscription.
137
+ */
138
+ resourceName?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * Denotes the Confluent Cloud resource type.
141
+ */
142
+ resourceType?: pulumi.Input<string | undefined>;
143
+ }
144
+ /**
145
+ * The set of arguments for constructing a NotificationsResourceSubscription resource.
146
+ */
147
+ export interface NotificationsResourceSubscriptionArgs {
148
+ /**
149
+ * Denotes the state of the resource subscription. When the resource subscription is ENABLED, the user will receive notifications of the configured notification type for the Confluent Cloud resource. If the resource subscription is DISABLED, the user will not receive them. Note that, you will still receive notifications for `REQUIRED` notification type even when it is DISABLED.
150
+ */
151
+ currentState?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Integrations to which notifications are to be sent.
154
+ */
155
+ integrations: pulumi.Input<pulumi.Input<string>[]>;
156
+ /**
157
+ * The type of notification to subscribe to. Supports the following:
158
+ */
159
+ notificationType: pulumi.Input<inputs.NotificationsResourceSubscriptionNotificationType>;
160
+ /**
161
+ * Denotes the Confluent Cloud resource definition.
162
+ */
163
+ resource: pulumi.Input<string>;
164
+ /**
165
+ * Denotes the Confluent Cloud resource type.
166
+ */
167
+ resourceType: pulumi.Input<string>;
168
+ }
169
+ //# sourceMappingURL=notificationsResourceSubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationsResourceSubscription.d.ts","sourceRoot":"","sources":["../notificationsResourceSubscription.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iCAAiC;IAIpL;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAO3J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iCAAiC;IAO5E;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,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iDAAiD,GAAG,SAAS,CAAC,CAAC;IACtG;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACnD;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iDAAiD,CAAC,CAAC;IACzF;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NotificationsResourceSubscription = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * `confluentcloud.NotificationsResourceSubscription` provides a Resource Subscription resource that enables creating, editing, and deleting Resource Subscriptions on Confluent Cloud.
35
+ *
36
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental resource subscription deletion. This setting rejects plans that would destroy or recreate the resource subscription, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as confluentcloud from "@pulumi/confluentcloud";
43
+ *
44
+ * const example = new confluentcloud.NotificationsResourceSubscription("example", {
45
+ * resource: `${exampleConfluentKafkaCluster.rbacCrn}/connector=${exampleConfluentConnector.configNonsensitive.name}`,
46
+ * resourceType: "CONNECTOR",
47
+ * notificationType: {
48
+ * id: "nt-Bp3ab",
49
+ * },
50
+ * integrations: [exampleConfluentNotificationsIntegration.id],
51
+ * currentState: "ENABLED",
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Resource Subscription.
58
+ *
59
+ * You can import a Resource Subscription by using Resource Subscription ID, for example:
60
+ *
61
+ * ```sh
62
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
63
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
64
+ * $ pulumi import confluentcloud:index/notificationsResourceSubscription:NotificationsResourceSubscription example res-abc123
65
+ * ```
66
+ *
67
+ * > **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
68
+ */
69
+ class NotificationsResourceSubscription extends pulumi.CustomResource {
70
+ /**
71
+ * Get an existing NotificationsResourceSubscription resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new NotificationsResourceSubscription(name, state, { ...opts, id: id });
81
+ }
82
+ /**
83
+ * Check whether an existing NotificationsResourceSubscription resource with the given ID exists.
84
+ *
85
+ * @param id The _unique_ provider ID of the resource to check.
86
+ * @param state Any extra arguments used during the lookup.
87
+ * @param opts Optional settings to control the behavior of the CustomResource.
88
+ */
89
+ static exists(id, state, opts) {
90
+ return pulumi.runtime.existsResource("confluentcloud:index/notificationsResourceSubscription:NotificationsResourceSubscription", id, state || {}, { ...opts }, undefined);
91
+ }
92
+ /** @internal */
93
+ static __pulumiType = 'confluentcloud:index/notificationsResourceSubscription:NotificationsResourceSubscription';
94
+ /**
95
+ * Returns true if the given object is an instance of NotificationsResourceSubscription. This is designed to work even
96
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
+ */
98
+ static isInstance(obj) {
99
+ if (obj === undefined || obj === null) {
100
+ return false;
101
+ }
102
+ return obj['__pulumiType'] === NotificationsResourceSubscription.__pulumiType;
103
+ }
104
+ constructor(name, argsOrState, opts) {
105
+ let resourceInputs = {};
106
+ opts = opts || {};
107
+ if (opts.id) {
108
+ const state = argsOrState;
109
+ resourceInputs["apiVersion"] = state?.apiVersion;
110
+ resourceInputs["currentState"] = state?.currentState;
111
+ resourceInputs["integrations"] = state?.integrations;
112
+ resourceInputs["kind"] = state?.kind;
113
+ resourceInputs["notificationType"] = state?.notificationType;
114
+ resourceInputs["resource"] = state?.resource;
115
+ resourceInputs["resourceName"] = state?.resourceName;
116
+ resourceInputs["resourceType"] = state?.resourceType;
117
+ }
118
+ else {
119
+ const args = argsOrState;
120
+ if (args?.integrations === undefined && !opts.urn) {
121
+ throw new Error("Missing required property 'integrations'");
122
+ }
123
+ if (args?.notificationType === undefined && !opts.urn) {
124
+ throw new Error("Missing required property 'notificationType'");
125
+ }
126
+ if (args?.resource === undefined && !opts.urn) {
127
+ throw new Error("Missing required property 'resource'");
128
+ }
129
+ if (args?.resourceType === undefined && !opts.urn) {
130
+ throw new Error("Missing required property 'resourceType'");
131
+ }
132
+ resourceInputs["currentState"] = args?.currentState;
133
+ resourceInputs["integrations"] = args?.integrations;
134
+ resourceInputs["notificationType"] = args?.notificationType;
135
+ resourceInputs["resource"] = args?.resource;
136
+ resourceInputs["resourceType"] = args?.resourceType;
137
+ resourceInputs["apiVersion"] = undefined /*out*/;
138
+ resourceInputs["kind"] = undefined /*out*/;
139
+ resourceInputs["resourceName"] = undefined /*out*/;
140
+ }
141
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
142
+ super(NotificationsResourceSubscription.__pulumiType, name, resourceInputs, opts);
143
+ }
144
+ }
145
+ exports.NotificationsResourceSubscription = NotificationsResourceSubscription;
146
+ //# sourceMappingURL=notificationsResourceSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationsResourceSubscription.js","sourceRoot":"","sources":["../notificationsResourceSubscription.ts"],"names":[],"mappings":";AA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