@pulumi/confluentcloud 2.90.0-alpha.1793852439 → 2.90.0-alpha.1794021552
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/getNotificationType.d.ts +106 -0
- package/getNotificationType.d.ts.map +1 -0
- package/getNotificationType.js +87 -0
- package/getNotificationType.js.map +1 -0
- package/getNotificationsResourcePreference.d.ts +94 -0
- package/getNotificationsResourcePreference.d.ts.map +1 -0
- package/getNotificationsResourcePreference.js +87 -0
- package/getNotificationsResourcePreference.js.map +1 -0
- package/getNotificationsResourceSubscription.d.ts +106 -0
- package/getNotificationsResourceSubscription.d.ts.map +1 -0
- package/getNotificationsResourceSubscription.js +87 -0
- package/getNotificationsResourceSubscription.js.map +1 -0
- package/getNotificationsSubscription.d.ts +98 -0
- package/getNotificationsSubscription.d.ts.map +1 -0
- package/getNotificationsSubscription.js +87 -0
- package/getNotificationsSubscription.js.map +1 -0
- package/index.d.ts +21 -0
- package/index.d.ts.map +1 -1
- package/index.js +31 -4
- package/index.js.map +1 -1
- package/notificationsResourcePreference.d.ts +140 -0
- package/notificationsResourcePreference.d.ts.map +1 -0
- package/notificationsResourcePreference.js +133 -0
- package/notificationsResourcePreference.js.map +1 -0
- package/notificationsResourceSubscription.d.ts +169 -0
- package/notificationsResourceSubscription.d.ts.map +1 -0
- package/notificationsResourceSubscription.js +146 -0
- package/notificationsResourceSubscription.js.map +1 -0
- package/notificationsSubscription.d.ts +143 -0
- package/notificationsSubscription.d.ts.map +1 -0
- package/notificationsSubscription.js +134 -0
- package/notificationsSubscription.js.map +1 -0
- package/package.json +2 -2
- package/types/input.d.ts +12 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +24 -0
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
4
|
+
*
|
|
5
|
+
* `confluentcloud.getNotificationType` describes a Notification Type data source.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
12
|
+
*
|
|
13
|
+
* export = async () => {
|
|
14
|
+
* const example = await confluentcloud.getNotificationType({
|
|
15
|
+
* id: "not-abc123",
|
|
16
|
+
* });
|
|
17
|
+
* return {
|
|
18
|
+
* example: example,
|
|
19
|
+
* };
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getNotificationType(args: GetNotificationTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationTypeResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getNotificationType.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetNotificationTypeArgs {
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the Notification Type, for example, `not-abc123`.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getNotificationType.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetNotificationTypeResult {
|
|
37
|
+
/**
|
|
38
|
+
* (String) API Version defines the schema version of this representation of a resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly apiVersion: string;
|
|
41
|
+
/**
|
|
42
|
+
* (String) Represents the group with which the notification is associated. Notifications are grouped under certain categories for better organization. - BILLING_LICENSING: All billing, payments or licensing related notifications are grouped here. - SECURITY: All Confluent Cloud and Platform security related notifications are grouped here. - SERVICE: All Confluent services (eg. Kafka, Schema Registry, Connect etc.) related notifications are grouped here. - ACCOUNT: All Confluent account related notifications are grouped here. For example: Billing, payment or license related notifications are grouped in BILLING_LICENSING category.
|
|
43
|
+
*/
|
|
44
|
+
readonly category: string;
|
|
45
|
+
/**
|
|
46
|
+
* (String) Human readable description of the notification type
|
|
47
|
+
*/
|
|
48
|
+
readonly description: string;
|
|
49
|
+
/**
|
|
50
|
+
* (String) Human readable display name of the notification type
|
|
51
|
+
*/
|
|
52
|
+
readonly displayName: string;
|
|
53
|
+
readonly id: string;
|
|
54
|
+
/**
|
|
55
|
+
* (Bool) Whether this notification is available to subscribe or not as per the user's current billing plan.
|
|
56
|
+
*/
|
|
57
|
+
readonly isIncludedInPlan: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* (String) Kind defines the object this REST resource represents.
|
|
60
|
+
*/
|
|
61
|
+
readonly kind: string;
|
|
62
|
+
/**
|
|
63
|
+
* (String) The Confluent Resource Name of the Notification Type.
|
|
64
|
+
*/
|
|
65
|
+
readonly resourceName: string;
|
|
66
|
+
/**
|
|
67
|
+
* (String) Severity indicates the impact of this notification. - CRITICAL: a high impact notification which needs immediate attention. - WARN: a warning notification which can be addressed now or later. - INFO: an informational notification.
|
|
68
|
+
*/
|
|
69
|
+
readonly severity: string;
|
|
70
|
+
/**
|
|
71
|
+
* (String) Indicates whether the notification is auto-subscribed and if the user can opt-out. - REQUIRED: the user is auto-subscribed to this notification and can't opt-out. - RECOMMENDED: the user is auto-subscribed to this notification and can opt-out. - OPTIONAL: the user is not auto-subscribed to this notification but can explicitly subscribe to it.
|
|
72
|
+
*/
|
|
73
|
+
readonly subscriptionPriority: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
77
|
+
*
|
|
78
|
+
* `confluentcloud.getNotificationType` describes a Notification Type data source.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
85
|
+
*
|
|
86
|
+
* export = async () => {
|
|
87
|
+
* const example = await confluentcloud.getNotificationType({
|
|
88
|
+
* id: "not-abc123",
|
|
89
|
+
* });
|
|
90
|
+
* return {
|
|
91
|
+
* example: example,
|
|
92
|
+
* };
|
|
93
|
+
* }
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function getNotificationTypeOutput(args: GetNotificationTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationTypeResult>;
|
|
97
|
+
/**
|
|
98
|
+
* A collection of arguments for invoking getNotificationType.
|
|
99
|
+
*/
|
|
100
|
+
export interface GetNotificationTypeOutputArgs {
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the Notification Type, for example, `not-abc123`.
|
|
103
|
+
*/
|
|
104
|
+
id: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=getNotificationType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationType.d.ts","sourceRoot":"","sources":["../getNotificationType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAKlI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;CACzC;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAK1J;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.getNotificationTypeOutput = exports.getNotificationType = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
33
|
+
*
|
|
34
|
+
* `confluentcloud.getNotificationType` describes a Notification Type data source.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
41
|
+
*
|
|
42
|
+
* export = async () => {
|
|
43
|
+
* const example = await confluentcloud.getNotificationType({
|
|
44
|
+
* id: "not-abc123",
|
|
45
|
+
* });
|
|
46
|
+
* return {
|
|
47
|
+
* example: example,
|
|
48
|
+
* };
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getNotificationType(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("confluentcloud:index/getNotificationType:getNotificationType", {
|
|
55
|
+
"id": args.id,
|
|
56
|
+
}, opts);
|
|
57
|
+
}
|
|
58
|
+
exports.getNotificationType = getNotificationType;
|
|
59
|
+
/**
|
|
60
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
61
|
+
*
|
|
62
|
+
* `confluentcloud.getNotificationType` describes a Notification Type data source.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
69
|
+
*
|
|
70
|
+
* export = async () => {
|
|
71
|
+
* const example = await confluentcloud.getNotificationType({
|
|
72
|
+
* id: "not-abc123",
|
|
73
|
+
* });
|
|
74
|
+
* return {
|
|
75
|
+
* example: example,
|
|
76
|
+
* };
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getNotificationTypeOutput(args, opts) {
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
82
|
+
return pulumi.runtime.invokeOutput("confluentcloud:index/getNotificationType:getNotificationType", {
|
|
83
|
+
"id": args.id,
|
|
84
|
+
}, opts);
|
|
85
|
+
}
|
|
86
|
+
exports.getNotificationTypeOutput = getNotificationTypeOutput;
|
|
87
|
+
//# sourceMappingURL=getNotificationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationType.js","sourceRoot":"","sources":["../getNotificationType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAsDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
4
|
+
*
|
|
5
|
+
* `confluentcloud.NotificationsResourcePreference` describes a Resource Preference data source.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
12
|
+
*
|
|
13
|
+
* export = async () => {
|
|
14
|
+
* const example = await confluentcloud.getNotificationsResourcePreference({
|
|
15
|
+
* id: "res-abc123",
|
|
16
|
+
* });
|
|
17
|
+
* return {
|
|
18
|
+
* example: example,
|
|
19
|
+
* };
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getNotificationsResourcePreference(args: GetNotificationsResourcePreferenceArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationsResourcePreferenceResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getNotificationsResourcePreference.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetNotificationsResourcePreferenceArgs {
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the Resource Preference, for example, `res-abc123`.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getNotificationsResourcePreference.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetNotificationsResourcePreferenceResult {
|
|
37
|
+
/**
|
|
38
|
+
* (String) API Version defines the schema version of this representation of a resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly apiVersion: string;
|
|
41
|
+
/**
|
|
42
|
+
* (String) 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.
|
|
43
|
+
*/
|
|
44
|
+
readonly currentState: string;
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* (String) Kind defines the object this REST resource represents.
|
|
48
|
+
*/
|
|
49
|
+
readonly kind: string;
|
|
50
|
+
/**
|
|
51
|
+
* (String) Denotes the Confluent Cloud resource definition.
|
|
52
|
+
*/
|
|
53
|
+
readonly resource: string;
|
|
54
|
+
/**
|
|
55
|
+
* (String) The Confluent Resource Name of the Resource Preference.
|
|
56
|
+
*/
|
|
57
|
+
readonly resourceName: string;
|
|
58
|
+
/**
|
|
59
|
+
* (String) Denotes the Confluent Cloud resource type.
|
|
60
|
+
*/
|
|
61
|
+
readonly resourceType: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
65
|
+
*
|
|
66
|
+
* `confluentcloud.NotificationsResourcePreference` describes a Resource Preference data source.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
73
|
+
*
|
|
74
|
+
* export = async () => {
|
|
75
|
+
* const example = await confluentcloud.getNotificationsResourcePreference({
|
|
76
|
+
* id: "res-abc123",
|
|
77
|
+
* });
|
|
78
|
+
* return {
|
|
79
|
+
* example: example,
|
|
80
|
+
* };
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare function getNotificationsResourcePreferenceOutput(args: GetNotificationsResourcePreferenceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationsResourcePreferenceResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getNotificationsResourcePreference.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetNotificationsResourcePreferenceOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the Resource Preference, for example, `res-abc123`.
|
|
91
|
+
*/
|
|
92
|
+
id: pulumi.Input<string>;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=getNotificationsResourcePreference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationsResourcePreference.d.ts","sourceRoot":"","sources":["../getNotificationsResourcePreference.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAK/K;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAKvM;AAED;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.getNotificationsResourcePreferenceOutput = exports.getNotificationsResourcePreference = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
33
|
+
*
|
|
34
|
+
* `confluentcloud.NotificationsResourcePreference` describes a Resource Preference data source.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
41
|
+
*
|
|
42
|
+
* export = async () => {
|
|
43
|
+
* const example = await confluentcloud.getNotificationsResourcePreference({
|
|
44
|
+
* id: "res-abc123",
|
|
45
|
+
* });
|
|
46
|
+
* return {
|
|
47
|
+
* example: example,
|
|
48
|
+
* };
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getNotificationsResourcePreference(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("confluentcloud:index/getNotificationsResourcePreference:getNotificationsResourcePreference", {
|
|
55
|
+
"id": args.id,
|
|
56
|
+
}, opts);
|
|
57
|
+
}
|
|
58
|
+
exports.getNotificationsResourcePreference = getNotificationsResourcePreference;
|
|
59
|
+
/**
|
|
60
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
61
|
+
*
|
|
62
|
+
* `confluentcloud.NotificationsResourcePreference` describes a Resource Preference data source.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
69
|
+
*
|
|
70
|
+
* export = async () => {
|
|
71
|
+
* const example = await confluentcloud.getNotificationsResourcePreference({
|
|
72
|
+
* id: "res-abc123",
|
|
73
|
+
* });
|
|
74
|
+
* return {
|
|
75
|
+
* example: example,
|
|
76
|
+
* };
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getNotificationsResourcePreferenceOutput(args, opts) {
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
82
|
+
return pulumi.runtime.invokeOutput("confluentcloud:index/getNotificationsResourcePreference:getNotificationsResourcePreference", {
|
|
83
|
+
"id": args.id,
|
|
84
|
+
}, opts);
|
|
85
|
+
}
|
|
86
|
+
exports.getNotificationsResourcePreferenceOutput = getNotificationsResourcePreferenceOutput;
|
|
87
|
+
//# sourceMappingURL=getNotificationsResourcePreference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationsResourcePreference.js","sourceRoot":"","sources":["../getNotificationsResourcePreference.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC;AA0CD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4FAA4F,EAAE;QAC7H,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4FAKC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
5
|
+
*
|
|
6
|
+
* `confluentcloud.NotificationsResourceSubscription` describes a Resource Subscription data source.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
13
|
+
*
|
|
14
|
+
* export = async () => {
|
|
15
|
+
* const example = await confluentcloud.getNotificationsResourceSubscription({
|
|
16
|
+
* id: "res-abc123",
|
|
17
|
+
* });
|
|
18
|
+
* return {
|
|
19
|
+
* example: example,
|
|
20
|
+
* };
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getNotificationsResourceSubscription(args: GetNotificationsResourceSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationsResourceSubscriptionResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getNotificationsResourceSubscription.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetNotificationsResourceSubscriptionArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the Resource Subscription, for example, `res-abc123`.
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getNotificationsResourceSubscription.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetNotificationsResourceSubscriptionResult {
|
|
38
|
+
/**
|
|
39
|
+
* (String) API Version defines the schema version of this representation of a resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly apiVersion: string;
|
|
42
|
+
/**
|
|
43
|
+
* (String) 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.
|
|
44
|
+
*/
|
|
45
|
+
readonly currentState: string;
|
|
46
|
+
/**
|
|
47
|
+
* (String) The ID of the Notification Type.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* (Set of Strings) Integrations to which notifications are to be sent.
|
|
52
|
+
*/
|
|
53
|
+
readonly integrations: string[];
|
|
54
|
+
/**
|
|
55
|
+
* (String) Kind defines the object this REST resource represents.
|
|
56
|
+
*/
|
|
57
|
+
readonly kind: string;
|
|
58
|
+
/**
|
|
59
|
+
* (Configuration Block) The type of notification to subscribe to. Supports the following:
|
|
60
|
+
*/
|
|
61
|
+
readonly notificationTypes: outputs.GetNotificationsResourceSubscriptionNotificationType[];
|
|
62
|
+
/**
|
|
63
|
+
* (String) Denotes the Confluent Cloud resource definition.
|
|
64
|
+
*/
|
|
65
|
+
readonly resource: string;
|
|
66
|
+
/**
|
|
67
|
+
* (String) The Confluent Resource Name of the Resource Subscription.
|
|
68
|
+
*/
|
|
69
|
+
readonly resourceName: string;
|
|
70
|
+
/**
|
|
71
|
+
* (String) Denotes the Confluent Cloud resource type.
|
|
72
|
+
*/
|
|
73
|
+
readonly resourceType: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
77
|
+
*
|
|
78
|
+
* `confluentcloud.NotificationsResourceSubscription` describes a Resource Subscription data source.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
85
|
+
*
|
|
86
|
+
* export = async () => {
|
|
87
|
+
* const example = await confluentcloud.getNotificationsResourceSubscription({
|
|
88
|
+
* id: "res-abc123",
|
|
89
|
+
* });
|
|
90
|
+
* return {
|
|
91
|
+
* example: example,
|
|
92
|
+
* };
|
|
93
|
+
* }
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function getNotificationsResourceSubscriptionOutput(args: GetNotificationsResourceSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationsResourceSubscriptionResult>;
|
|
97
|
+
/**
|
|
98
|
+
* A collection of arguments for invoking getNotificationsResourceSubscription.
|
|
99
|
+
*/
|
|
100
|
+
export interface GetNotificationsResourceSubscriptionOutputArgs {
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the Resource Subscription, for example, `res-abc123`.
|
|
103
|
+
*/
|
|
104
|
+
id: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=getNotificationsResourceSubscription.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationsResourceSubscription.d.ts","sourceRoot":"","sources":["../getNotificationsResourceSubscription.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,wCAAwC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0CAA0C,CAAC,CAKrL;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,oDAAoD,EAAE,CAAC;IAC3F;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,8CAA8C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0CAA0C,CAAC,CAK7M;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.getNotificationsResourceSubscriptionOutput = exports.getNotificationsResourceSubscription = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
33
|
+
*
|
|
34
|
+
* `confluentcloud.NotificationsResourceSubscription` describes a Resource Subscription data source.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
41
|
+
*
|
|
42
|
+
* export = async () => {
|
|
43
|
+
* const example = await confluentcloud.getNotificationsResourceSubscription({
|
|
44
|
+
* id: "res-abc123",
|
|
45
|
+
* });
|
|
46
|
+
* return {
|
|
47
|
+
* example: example,
|
|
48
|
+
* };
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getNotificationsResourceSubscription(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("confluentcloud:index/getNotificationsResourceSubscription:getNotificationsResourceSubscription", {
|
|
55
|
+
"id": args.id,
|
|
56
|
+
}, opts);
|
|
57
|
+
}
|
|
58
|
+
exports.getNotificationsResourceSubscription = getNotificationsResourceSubscription;
|
|
59
|
+
/**
|
|
60
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
61
|
+
*
|
|
62
|
+
* `confluentcloud.NotificationsResourceSubscription` describes a Resource Subscription data source.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
69
|
+
*
|
|
70
|
+
* export = async () => {
|
|
71
|
+
* const example = await confluentcloud.getNotificationsResourceSubscription({
|
|
72
|
+
* id: "res-abc123",
|
|
73
|
+
* });
|
|
74
|
+
* return {
|
|
75
|
+
* example: example,
|
|
76
|
+
* };
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getNotificationsResourceSubscriptionOutput(args, opts) {
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
82
|
+
return pulumi.runtime.invokeOutput("confluentcloud:index/getNotificationsResourceSubscription:getNotificationsResourceSubscription", {
|
|
83
|
+
"id": args.id,
|
|
84
|
+
}, opts);
|
|
85
|
+
}
|
|
86
|
+
exports.getNotificationsResourceSubscriptionOutput = getNotificationsResourceSubscriptionOutput;
|
|
87
|
+
//# sourceMappingURL=getNotificationsResourceSubscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationsResourceSubscription.js","sourceRoot":"","sources":["../getNotificationsResourceSubscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gGAAgG,EAAE;QAC3H,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oFAKC;AAqDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAAiC;IAC9I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gGAAgG,EAAE;QACjI,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gGAKC"}
|