@volcengine/pulumi-volcenginecc 0.0.31 → 0.0.32

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 (190) hide show
  1. package/cen/getInterRegionBandwidth.d.ts +72 -0
  2. package/cen/getInterRegionBandwidth.js +28 -0
  3. package/cen/getInterRegionBandwidth.js.map +1 -0
  4. package/cen/getInterRegionBandwidths.d.ts +22 -0
  5. package/cen/getInterRegionBandwidths.js +24 -0
  6. package/cen/getInterRegionBandwidths.js.map +1 -0
  7. package/cen/getRouteEntries.d.ts +22 -0
  8. package/cen/getRouteEntries.js +24 -0
  9. package/cen/getRouteEntries.js.map +1 -0
  10. package/cen/getRouteEntry.d.ts +72 -0
  11. package/cen/getRouteEntry.js +28 -0
  12. package/cen/getRouteEntry.js.map +1 -0
  13. package/cen/getServiceRouteEntries.d.ts +22 -0
  14. package/cen/getServiceRouteEntries.js +24 -0
  15. package/cen/getServiceRouteEntries.js.map +1 -0
  16. package/cen/getServiceRouteEntry.d.ts +73 -0
  17. package/cen/getServiceRouteEntry.js +28 -0
  18. package/cen/getServiceRouteEntry.js.map +1 -0
  19. package/cen/index.d.ts +27 -0
  20. package/cen/index.js +34 -1
  21. package/cen/index.js.map +1 -1
  22. package/cen/interRegionBandwidth.d.ts +152 -0
  23. package/cen/interRegionBandwidth.js +101 -0
  24. package/cen/interRegionBandwidth.js.map +1 -0
  25. package/cen/routeEntry.d.ts +152 -0
  26. package/cen/routeEntry.js +104 -0
  27. package/cen/routeEntry.js.map +1 -0
  28. package/cen/serviceRouteEntry.d.ts +138 -0
  29. package/cen/serviceRouteEntry.js +83 -0
  30. package/cen/serviceRouteEntry.js.map +1 -0
  31. package/clb/getListener.d.ts +4 -0
  32. package/clb/getListener.js.map +1 -1
  33. package/clb/listener.d.ts +3 -0
  34. package/clb/listener.js +2 -0
  35. package/clb/listener.js.map +1 -1
  36. package/mongodb/getSslState.d.ts +56 -0
  37. package/mongodb/getSslState.js +28 -0
  38. package/mongodb/getSslState.js.map +1 -0
  39. package/mongodb/getSslStates.d.ts +22 -0
  40. package/mongodb/getSslStates.js +24 -0
  41. package/mongodb/getSslStates.js.map +1 -0
  42. package/mongodb/index.d.ts +9 -0
  43. package/mongodb/index.js +12 -1
  44. package/mongodb/index.js.map +1 -1
  45. package/mongodb/sslState.d.ts +105 -0
  46. package/mongodb/sslState.js +81 -0
  47. package/mongodb/sslState.js.map +1 -0
  48. package/package.json +1 -1
  49. package/privatelink/endpointService.d.ts +15 -3
  50. package/privatelink/endpointService.js +2 -0
  51. package/privatelink/endpointService.js.map +1 -1
  52. package/privatelink/getEndpointService.d.ts +5 -1
  53. package/privatelink/getEndpointService.js.map +1 -1
  54. package/privatelink/getVpcEndpointConnection.d.ts +89 -0
  55. package/privatelink/getVpcEndpointConnection.js +28 -0
  56. package/privatelink/getVpcEndpointConnection.js.map +1 -0
  57. package/privatelink/getVpcEndpointConnections.d.ts +22 -0
  58. package/privatelink/getVpcEndpointConnections.js +24 -0
  59. package/privatelink/getVpcEndpointConnections.js.map +1 -0
  60. package/privatelink/index.d.ts +9 -0
  61. package/privatelink/index.js +12 -1
  62. package/privatelink/index.js.map +1 -1
  63. package/privatelink/vpcEndpointConnection.d.ts +156 -0
  64. package/privatelink/vpcEndpointConnection.js +88 -0
  65. package/privatelink/vpcEndpointConnection.js.map +1 -0
  66. package/rabbitmq/allowList.d.ts +151 -0
  67. package/rabbitmq/allowList.js +100 -0
  68. package/rabbitmq/allowList.js.map +1 -0
  69. package/rabbitmq/getAllowList.d.ts +73 -0
  70. package/rabbitmq/getAllowList.js +28 -0
  71. package/rabbitmq/getAllowList.js.map +1 -0
  72. package/rabbitmq/getAllowLists.d.ts +22 -0
  73. package/rabbitmq/getAllowLists.js +24 -0
  74. package/rabbitmq/getAllowLists.js.map +1 -0
  75. package/rabbitmq/index.d.ts +9 -0
  76. package/rabbitmq/index.js +12 -1
  77. package/rabbitmq/index.js.map +1 -1
  78. package/redis/allowList.d.ts +148 -0
  79. package/redis/allowList.js +78 -0
  80. package/redis/allowList.js.map +1 -0
  81. package/redis/getAllowList.d.ts +81 -0
  82. package/redis/getAllowList.js +28 -0
  83. package/redis/getAllowList.js.map +1 -0
  84. package/redis/getAllowLists.d.ts +22 -0
  85. package/redis/getAllowLists.js +24 -0
  86. package/redis/getAllowLists.js.map +1 -0
  87. package/redis/index.d.ts +9 -0
  88. package/redis/index.js +12 -1
  89. package/redis/index.js.map +1 -1
  90. package/storageebs/getSnapshotGroup.d.ts +81 -0
  91. package/storageebs/getSnapshotGroup.js +28 -0
  92. package/storageebs/getSnapshotGroup.js.map +1 -0
  93. package/storageebs/getSnapshotGroups.d.ts +22 -0
  94. package/storageebs/getSnapshotGroups.js +24 -0
  95. package/storageebs/getSnapshotGroups.js.map +1 -0
  96. package/storageebs/index.d.ts +9 -0
  97. package/storageebs/index.js +12 -1
  98. package/storageebs/index.js.map +1 -1
  99. package/storageebs/snapshotGroup.d.ts +168 -0
  100. package/storageebs/snapshotGroup.js +105 -0
  101. package/storageebs/snapshotGroup.js.map +1 -0
  102. package/tls/alarmNotifyGroup.d.ts +113 -0
  103. package/tls/alarmNotifyGroup.js +75 -0
  104. package/tls/alarmNotifyGroup.js.map +1 -0
  105. package/tls/getAlarmNotifyGroup.d.ts +69 -0
  106. package/tls/getAlarmNotifyGroup.js +28 -0
  107. package/tls/getAlarmNotifyGroup.js.map +1 -0
  108. package/tls/getAlarmNotifyGroups.d.ts +22 -0
  109. package/tls/getAlarmNotifyGroups.js +24 -0
  110. package/tls/getAlarmNotifyGroups.js.map +1 -0
  111. package/tls/getRule.d.ts +109 -0
  112. package/tls/getRule.js +28 -0
  113. package/tls/getRule.js.map +1 -0
  114. package/tls/getRules.d.ts +22 -0
  115. package/tls/getRules.js +24 -0
  116. package/tls/getRules.js.map +1 -0
  117. package/tls/getShipper.d.ts +101 -0
  118. package/tls/getShipper.js +28 -0
  119. package/tls/getShipper.js.map +1 -0
  120. package/tls/getShippers.d.ts +22 -0
  121. package/tls/getShippers.js +24 -0
  122. package/tls/getShippers.js.map +1 -0
  123. package/tls/index.d.ts +27 -0
  124. package/tls/index.js +34 -1
  125. package/tls/index.js.map +1 -1
  126. package/tls/rule.d.ts +221 -0
  127. package/tls/rule.js +98 -0
  128. package/tls/rule.js.map +1 -0
  129. package/tls/shipper.d.ts +211 -0
  130. package/tls/shipper.js +97 -0
  131. package/tls/shipper.js.map +1 -0
  132. package/tos/bucketEncryption.d.ts +94 -0
  133. package/tos/bucketEncryption.js +78 -0
  134. package/tos/bucketEncryption.js.map +1 -0
  135. package/tos/bucketInventory.d.ts +155 -0
  136. package/tos/bucketInventory.js +95 -0
  137. package/tos/bucketInventory.js.map +1 -0
  138. package/tos/getBucketEncryption.d.ts +48 -0
  139. package/tos/getBucketEncryption.js +28 -0
  140. package/tos/getBucketEncryption.js.map +1 -0
  141. package/tos/getBucketEncryptions.d.ts +22 -0
  142. package/tos/getBucketEncryptions.js +24 -0
  143. package/tos/getBucketEncryptions.js.map +1 -0
  144. package/tos/getBucketInventories.d.ts +22 -0
  145. package/tos/getBucketInventories.js +24 -0
  146. package/tos/getBucketInventories.js.map +1 -0
  147. package/tos/getBucketInventory.d.ts +73 -0
  148. package/tos/getBucketInventory.js +28 -0
  149. package/tos/getBucketInventory.js.map +1 -0
  150. package/tos/index.d.ts +18 -0
  151. package/tos/index.js +23 -1
  152. package/tos/index.js.map +1 -1
  153. package/types/input.d.ts +934 -31
  154. package/types/output.d.ts +2309 -360
  155. package/vefaas/getRelease.d.ts +120 -0
  156. package/vefaas/getRelease.js +28 -0
  157. package/vefaas/getRelease.js.map +1 -0
  158. package/vefaas/getReleases.d.ts +22 -0
  159. package/vefaas/getReleases.js +24 -0
  160. package/vefaas/getReleases.js.map +1 -0
  161. package/vefaas/index.d.ts +9 -0
  162. package/vefaas/index.js +12 -1
  163. package/vefaas/index.js.map +1 -1
  164. package/vefaas/release.d.ts +253 -0
  165. package/vefaas/release.js +120 -0
  166. package/vefaas/release.js.map +1 -0
  167. package/vepfs/getMountService.d.ts +93 -0
  168. package/vepfs/getMountService.js +28 -0
  169. package/vepfs/getMountService.js.map +1 -0
  170. package/vepfs/getMountServices.d.ts +22 -0
  171. package/vepfs/getMountServices.js +24 -0
  172. package/vepfs/getMountServices.js.map +1 -0
  173. package/vepfs/index.d.ts +9 -0
  174. package/vepfs/index.js +12 -1
  175. package/vepfs/index.js.map +1 -1
  176. package/vepfs/mountService.d.ts +172 -0
  177. package/vepfs/mountService.js +99 -0
  178. package/vepfs/mountService.js.map +1 -0
  179. package/vke/getKubeconfig.d.ts +72 -0
  180. package/vke/getKubeconfig.js +28 -0
  181. package/vke/getKubeconfig.js.map +1 -0
  182. package/vke/getKubeconfigs.d.ts +22 -0
  183. package/vke/getKubeconfigs.js +24 -0
  184. package/vke/getKubeconfigs.js.map +1 -0
  185. package/vke/index.d.ts +9 -0
  186. package/vke/index.js +12 -1
  187. package/vke/index.js.map +1 -1
  188. package/vke/kubeconfig.d.ts +142 -0
  189. package/vke/kubeconfig.js +93 -0
  190. package/vke/kubeconfig.js.map +1 -0
@@ -0,0 +1,151 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * RabbitMQ access allowlist
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@pulumi/volcenginecc";
12
+ *
13
+ * const rabbitMQAllowListDemo = new volcenginecc.index.RabbitmqAllowlist("RabbitMQAllowListDemo", {
14
+ * allowListType: "IPv4",
15
+ * allowList: "192.x.0.0/24",
16
+ * allowListName: "ccapi-test",
17
+ * allowListDesc: "test-desc",
18
+ * associatedInstances: [{
19
+ * instanceId: "rbtmq-a69238e***",
20
+ * }],
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcenginecc:rabbitmq/allowList:AllowList example "allow_list_id"
28
+ * ```
29
+ */
30
+ export declare class AllowList extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing AllowList resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AllowListState, opts?: pulumi.CustomResourceOptions): AllowList;
41
+ /**
42
+ * Returns true if the given object is an instance of AllowList. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is AllowList;
46
+ /**
47
+ * IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
48
+ */
49
+ readonly allowList: pulumi.Output<string>;
50
+ /**
51
+ * Allowlist Description
52
+ */
53
+ readonly allowListDesc: pulumi.Output<string>;
54
+ /**
55
+ * Allowlist ID
56
+ */
57
+ readonly allowListId: pulumi.Output<string>;
58
+ /**
59
+ * Total number of IP addresses (or address ranges) in the allowlist
60
+ */
61
+ readonly allowListIpNum: pulumi.Output<number>;
62
+ /**
63
+ * Allowlist Name
64
+ */
65
+ readonly allowListName: pulumi.Output<string>;
66
+ /**
67
+ * IP address type in the allowlist. Only IPv4 is currently supported
68
+ */
69
+ readonly allowListType: pulumi.Output<string>;
70
+ /**
71
+ * Total number of instances bound to the allowlist
72
+ */
73
+ readonly associatedInstanceNum: pulumi.Output<number>;
74
+ readonly associatedInstances: pulumi.Output<outputs.rabbitmq.AllowListAssociatedInstance[]>;
75
+ /**
76
+ * Allowlist modification method. Default is Cover
77
+ */
78
+ readonly modifyMode: pulumi.Output<string>;
79
+ /**
80
+ * Create a AllowList resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name: string, args: AllowListArgs, opts?: pulumi.CustomResourceOptions);
87
+ }
88
+ /**
89
+ * Input properties used for looking up and filtering AllowList resources.
90
+ */
91
+ export interface AllowListState {
92
+ /**
93
+ * IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
94
+ */
95
+ allowList?: pulumi.Input<string>;
96
+ /**
97
+ * Allowlist Description
98
+ */
99
+ allowListDesc?: pulumi.Input<string>;
100
+ /**
101
+ * Allowlist ID
102
+ */
103
+ allowListId?: pulumi.Input<string>;
104
+ /**
105
+ * Total number of IP addresses (or address ranges) in the allowlist
106
+ */
107
+ allowListIpNum?: pulumi.Input<number>;
108
+ /**
109
+ * Allowlist Name
110
+ */
111
+ allowListName?: pulumi.Input<string>;
112
+ /**
113
+ * IP address type in the allowlist. Only IPv4 is currently supported
114
+ */
115
+ allowListType?: pulumi.Input<string>;
116
+ /**
117
+ * Total number of instances bound to the allowlist
118
+ */
119
+ associatedInstanceNum?: pulumi.Input<number>;
120
+ associatedInstances?: pulumi.Input<pulumi.Input<inputs.rabbitmq.AllowListAssociatedInstance>[]>;
121
+ /**
122
+ * Allowlist modification method. Default is Cover
123
+ */
124
+ modifyMode?: pulumi.Input<string>;
125
+ }
126
+ /**
127
+ * The set of arguments for constructing a AllowList resource.
128
+ */
129
+ export interface AllowListArgs {
130
+ /**
131
+ * IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
132
+ */
133
+ allowList: pulumi.Input<string>;
134
+ /**
135
+ * Allowlist Description
136
+ */
137
+ allowListDesc?: pulumi.Input<string>;
138
+ /**
139
+ * Allowlist Name
140
+ */
141
+ allowListName: pulumi.Input<string>;
142
+ /**
143
+ * IP address type in the allowlist. Only IPv4 is currently supported
144
+ */
145
+ allowListType: pulumi.Input<string>;
146
+ associatedInstances?: pulumi.Input<pulumi.Input<inputs.rabbitmq.AllowListAssociatedInstance>[]>;
147
+ /**
148
+ * Allowlist modification method. Default is Cover
149
+ */
150
+ modifyMode?: pulumi.Input<string>;
151
+ }
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AllowList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * RabbitMQ access allowlist
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@pulumi/volcenginecc";
16
+ *
17
+ * const rabbitMQAllowListDemo = new volcenginecc.index.RabbitmqAllowlist("RabbitMQAllowListDemo", {
18
+ * allowListType: "IPv4",
19
+ * allowList: "192.x.0.0/24",
20
+ * allowListName: "ccapi-test",
21
+ * allowListDesc: "test-desc",
22
+ * associatedInstances: [{
23
+ * instanceId: "rbtmq-a69238e***",
24
+ * }],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import volcenginecc:rabbitmq/allowList:AllowList example "allow_list_id"
32
+ * ```
33
+ */
34
+ class AllowList extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AllowList resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new AllowList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of AllowList. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === AllowList.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["allowList"] = state ? state.allowList : undefined;
63
+ resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
64
+ resourceInputs["allowListId"] = state ? state.allowListId : undefined;
65
+ resourceInputs["allowListIpNum"] = state ? state.allowListIpNum : undefined;
66
+ resourceInputs["allowListName"] = state ? state.allowListName : undefined;
67
+ resourceInputs["allowListType"] = state ? state.allowListType : undefined;
68
+ resourceInputs["associatedInstanceNum"] = state ? state.associatedInstanceNum : undefined;
69
+ resourceInputs["associatedInstances"] = state ? state.associatedInstances : undefined;
70
+ resourceInputs["modifyMode"] = state ? state.modifyMode : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.allowList === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'allowList'");
76
+ }
77
+ if ((!args || args.allowListName === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'allowListName'");
79
+ }
80
+ if ((!args || args.allowListType === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'allowListType'");
82
+ }
83
+ resourceInputs["allowList"] = args ? args.allowList : undefined;
84
+ resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
85
+ resourceInputs["allowListName"] = args ? args.allowListName : undefined;
86
+ resourceInputs["allowListType"] = args ? args.allowListType : undefined;
87
+ resourceInputs["associatedInstances"] = args ? args.associatedInstances : undefined;
88
+ resourceInputs["modifyMode"] = args ? args.modifyMode : undefined;
89
+ resourceInputs["allowListId"] = undefined /*out*/;
90
+ resourceInputs["allowListIpNum"] = undefined /*out*/;
91
+ resourceInputs["associatedInstanceNum"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ super(AllowList.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+ exports.AllowList = AllowList;
98
+ /** @internal */
99
+ AllowList.__pulumiType = 'volcenginecc:rabbitmq/allowList:AllowList';
100
+ //# sourceMappingURL=allowList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../rabbitmq/allowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA4CD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,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Volcengine::RabbitMQ::AllowList
5
+ */
6
+ export declare function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowListResult>;
7
+ /**
8
+ * A collection of arguments for invoking getAllowList.
9
+ */
10
+ export interface GetAllowListArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getAllowList.
18
+ */
19
+ export interface GetAllowListResult {
20
+ /**
21
+ * IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
22
+ */
23
+ readonly allowList: string;
24
+ /**
25
+ * Allowlist Description
26
+ */
27
+ readonly allowListDesc: string;
28
+ /**
29
+ * Allowlist ID
30
+ */
31
+ readonly allowListId: string;
32
+ /**
33
+ * Total number of IP addresses (or address ranges) in the allowlist
34
+ */
35
+ readonly allowListIpNum: number;
36
+ /**
37
+ * Allowlist Name
38
+ */
39
+ readonly allowListName: string;
40
+ /**
41
+ * IP address type in the allowlist. Only IPv4 is currently supported
42
+ */
43
+ readonly allowListType: string;
44
+ /**
45
+ * Total number of instances bound to the allowlist
46
+ */
47
+ readonly associatedInstanceNum: number;
48
+ /**
49
+ * List of bound instances
50
+ */
51
+ readonly associatedInstances: outputs.rabbitmq.GetAllowListAssociatedInstance[];
52
+ /**
53
+ * Uniquely identifies the resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * Allowlist modification method. Default is Cover
58
+ */
59
+ readonly modifyMode: string;
60
+ }
61
+ /**
62
+ * Data Source schema for Volcengine::RabbitMQ::AllowList
63
+ */
64
+ export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListResult>;
65
+ /**
66
+ * A collection of arguments for invoking getAllowList.
67
+ */
68
+ export interface GetAllowListOutputArgs {
69
+ /**
70
+ * Uniquely identifies the resource.
71
+ */
72
+ id: pulumi.Input<string>;
73
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAllowListOutput = exports.getAllowList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::RabbitMQ::AllowList
10
+ */
11
+ function getAllowList(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rabbitmq/getAllowList:getAllowList", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getAllowList = getAllowList;
18
+ /**
19
+ * Data Source schema for Volcengine::RabbitMQ::AllowList
20
+ */
21
+ function getAllowListOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:rabbitmq/getAllowList:getAllowList", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getAllowListOutput = getAllowListOutput;
28
+ //# sourceMappingURL=getAllowList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAllowList.js","sourceRoot":"","sources":["../../rabbitmq/getAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::RabbitMQ::AllowList
4
+ */
5
+ export declare function getAllowLists(opts?: pulumi.InvokeOptions): Promise<GetAllowListsResult>;
6
+ /**
7
+ * A collection of values returned by getAllowLists.
8
+ */
9
+ export interface GetAllowListsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::RabbitMQ::AllowList
21
+ */
22
+ export declare function getAllowListsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListsResult>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAllowListsOutput = exports.getAllowLists = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::RabbitMQ::AllowList
10
+ */
11
+ function getAllowLists(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rabbitmq/getAllowLists:getAllowLists", {}, opts);
14
+ }
15
+ exports.getAllowLists = getAllowLists;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::RabbitMQ::AllowList
18
+ */
19
+ function getAllowListsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:rabbitmq/getAllowLists:getAllowLists", {}, opts);
22
+ }
23
+ exports.getAllowListsOutput = getAllowListsOutput;
24
+ //# sourceMappingURL=getAllowLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAllowLists.js","sourceRoot":"","sources":["../../rabbitmq/getAllowLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
@@ -1,3 +1,12 @@
1
+ export { AllowListArgs, AllowListState } from "./allowList";
2
+ export type AllowList = import("./allowList").AllowList;
3
+ export declare const AllowList: typeof import("./allowList").AllowList;
4
+ export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
5
+ export declare const getAllowList: typeof import("./getAllowList").getAllowList;
6
+ export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
7
+ export { GetAllowListsResult } from "./getAllowLists";
8
+ export declare const getAllowLists: typeof import("./getAllowLists").getAllowLists;
9
+ export declare const getAllowListsOutput: typeof import("./getAllowLists").getAllowListsOutput;
1
10
  export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
2
11
  export declare const getInstance: typeof import("./getInstance").getInstance;
3
12
  export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
package/rabbitmq/index.js CHANGED
@@ -2,9 +2,17 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.PublicAddress = exports.InstancePlugin = exports.Instance = exports.getPublicAddressesOutput = exports.getPublicAddresses = exports.getPublicAddressOutput = exports.getPublicAddress = exports.getInstancesOutput = exports.getInstances = exports.getInstancePluginsOutput = exports.getInstancePlugins = exports.getInstancePluginOutput = exports.getInstancePlugin = exports.getInstanceOutput = exports.getInstance = void 0;
5
+ exports.PublicAddress = exports.InstancePlugin = exports.Instance = exports.getPublicAddressesOutput = exports.getPublicAddresses = exports.getPublicAddressOutput = exports.getPublicAddress = exports.getInstancesOutput = exports.getInstances = exports.getInstancePluginsOutput = exports.getInstancePlugins = exports.getInstancePluginOutput = exports.getInstancePlugin = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.AllowList = null;
9
+ utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
10
+ exports.getAllowList = null;
11
+ exports.getAllowListOutput = null;
12
+ utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
13
+ exports.getAllowLists = null;
14
+ exports.getAllowListsOutput = null;
15
+ utilities.lazyLoad(exports, ["getAllowLists", "getAllowListsOutput"], () => require("./getAllowLists"));
8
16
  exports.getInstance = null;
9
17
  exports.getInstanceOutput = null;
10
18
  utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
@@ -33,6 +41,8 @@ const _module = {
33
41
  version: utilities.getVersion(),
34
42
  construct: (name, type, urn) => {
35
43
  switch (type) {
44
+ case "volcenginecc:rabbitmq/allowList:AllowList":
45
+ return new exports.AllowList(name, undefined, { urn });
36
46
  case "volcenginecc:rabbitmq/instance:Instance":
37
47
  return new exports.Instance(name, undefined, { urn });
38
48
  case "volcenginecc:rabbitmq/instancePlugin:InstancePlugin":
@@ -44,6 +54,7 @@ const _module = {
44
54
  }
45
55
  },
46
56
  };
57
+ pulumi.runtime.registerResourceModule("volcenginecc", "rabbitmq/allowList", _module);
47
58
  pulumi.runtime.registerResourceModule("volcenginecc", "rabbitmq/instance", _module);
48
59
  pulumi.runtime.registerResourceModule("volcenginecc", "rabbitmq/instancePlugin", _module);
49
60
  pulumi.runtime.registerResourceModule("volcenginecc", "rabbitmq/publicAddress", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../rabbitmq/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,Q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AA2C;gBAC5C,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,mDAAmD;gBACpD,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,148 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * After a Redis cache database instance is created, you can set an allowlist for the instance to permit devices to access it.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:redis/allowList:AllowList example "allow_list_id"
11
+ * ```
12
+ */
13
+ export declare class AllowList extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing AllowList resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AllowListState, opts?: pulumi.CustomResourceOptions): AllowList;
24
+ /**
25
+ * Returns true if the given object is an instance of AllowList. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is AllowList;
29
+ /**
30
+ * Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
31
+ */
32
+ readonly allowList: pulumi.Output<string>;
33
+ /**
34
+ * Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
35
+ */
36
+ readonly allowListCategory: pulumi.Output<string>;
37
+ /**
38
+ * Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
39
+ */
40
+ readonly allowListDesc: pulumi.Output<string>;
41
+ /**
42
+ * Allowlist ID.
43
+ */
44
+ readonly allowListId: pulumi.Output<string>;
45
+ /**
46
+ * Number of IP addresses in the allowlist
47
+ */
48
+ readonly allowListIpNum: pulumi.Output<number>;
49
+ /**
50
+ * Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
51
+ */
52
+ readonly allowListName: pulumi.Output<string>;
53
+ /**
54
+ * Total number of instances bound to the allowlist
55
+ */
56
+ readonly associatedInstanceNum: pulumi.Output<number>;
57
+ readonly associatedInstances: pulumi.Output<outputs.redis.AllowListAssociatedInstance[]>;
58
+ /**
59
+ * List of instance IDs bound to the current allowlist
60
+ */
61
+ readonly instanceIds: pulumi.Output<string[]>;
62
+ /**
63
+ * Project name associated with the allowlist
64
+ */
65
+ readonly projectName: pulumi.Output<string>;
66
+ readonly securityGroupBindInfos: pulumi.Output<outputs.redis.AllowListSecurityGroupBindInfo[]>;
67
+ /**
68
+ * Create a AllowList resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args?: AllowListArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering AllowList resources.
78
+ */
79
+ export interface AllowListState {
80
+ /**
81
+ * Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
82
+ */
83
+ allowList?: pulumi.Input<string>;
84
+ /**
85
+ * Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
86
+ */
87
+ allowListCategory?: pulumi.Input<string>;
88
+ /**
89
+ * Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
90
+ */
91
+ allowListDesc?: pulumi.Input<string>;
92
+ /**
93
+ * Allowlist ID.
94
+ */
95
+ allowListId?: pulumi.Input<string>;
96
+ /**
97
+ * Number of IP addresses in the allowlist
98
+ */
99
+ allowListIpNum?: pulumi.Input<number>;
100
+ /**
101
+ * Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
102
+ */
103
+ allowListName?: pulumi.Input<string>;
104
+ /**
105
+ * Total number of instances bound to the allowlist
106
+ */
107
+ associatedInstanceNum?: pulumi.Input<number>;
108
+ associatedInstances?: pulumi.Input<pulumi.Input<inputs.redis.AllowListAssociatedInstance>[]>;
109
+ /**
110
+ * List of instance IDs bound to the current allowlist
111
+ */
112
+ instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
113
+ /**
114
+ * Project name associated with the allowlist
115
+ */
116
+ projectName?: pulumi.Input<string>;
117
+ securityGroupBindInfos?: pulumi.Input<pulumi.Input<inputs.redis.AllowListSecurityGroupBindInfo>[]>;
118
+ }
119
+ /**
120
+ * The set of arguments for constructing a AllowList resource.
121
+ */
122
+ export interface AllowListArgs {
123
+ /**
124
+ * Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
125
+ */
126
+ allowList?: pulumi.Input<string>;
127
+ /**
128
+ * Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
129
+ */
130
+ allowListCategory?: pulumi.Input<string>;
131
+ /**
132
+ * Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
133
+ */
134
+ allowListDesc?: pulumi.Input<string>;
135
+ /**
136
+ * Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
137
+ */
138
+ allowListName?: pulumi.Input<string>;
139
+ /**
140
+ * List of instance IDs bound to the current allowlist
141
+ */
142
+ instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
143
+ /**
144
+ * Project name associated with the allowlist
145
+ */
146
+ projectName?: pulumi.Input<string>;
147
+ securityGroupBindInfos?: pulumi.Input<pulumi.Input<inputs.redis.AllowListSecurityGroupBindInfo>[]>;
148
+ }