@byteplus/pulumi-bytepluscc 0.0.15 → 0.0.17

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 (270) hide show
  1. package/alb/getLoadBalancer.d.ts +8 -0
  2. package/alb/getLoadBalancer.js.map +1 -1
  3. package/alb/getRule.d.ts +101 -0
  4. package/alb/getRule.js +28 -0
  5. package/alb/getRule.js.map +1 -0
  6. package/alb/getRules.d.ts +22 -0
  7. package/alb/getRules.js +24 -0
  8. package/alb/getRules.js.map +1 -0
  9. package/alb/getServerGroup.d.ts +4 -0
  10. package/alb/getServerGroup.js.map +1 -1
  11. package/alb/index.d.ts +9 -0
  12. package/alb/index.js +12 -1
  13. package/alb/index.js.map +1 -1
  14. package/alb/loadBalancer.d.ts +24 -0
  15. package/alb/loadBalancer.js +4 -0
  16. package/alb/loadBalancer.js.map +1 -1
  17. package/alb/rule.d.ts +217 -0
  18. package/alb/rule.js +91 -0
  19. package/alb/rule.js.map +1 -0
  20. package/alb/serverGroup.d.ts +12 -0
  21. package/alb/serverGroup.js +2 -0
  22. package/alb/serverGroup.js.map +1 -1
  23. package/apig/gatewayService.d.ts +40 -23
  24. package/apig/gatewayService.js +7 -21
  25. package/apig/gatewayService.js.map +1 -1
  26. package/apig/getGatewayService.d.ts +13 -1
  27. package/apig/getGatewayService.js.map +1 -1
  28. package/apig/getUpstream.d.ts +4 -0
  29. package/apig/getUpstream.js.map +1 -1
  30. package/apig/upstream.d.ts +12 -0
  31. package/apig/upstream.js +2 -0
  32. package/apig/upstream.js.map +1 -1
  33. package/ark/endpoint.d.ts +230 -0
  34. package/ark/endpoint.js +102 -0
  35. package/ark/endpoint.js.map +1 -0
  36. package/ark/getEndpoint.d.ts +117 -0
  37. package/ark/getEndpoint.js +28 -0
  38. package/ark/getEndpoint.js.map +1 -0
  39. package/ark/getEndpoints.d.ts +22 -0
  40. package/ark/getEndpoints.js +24 -0
  41. package/ark/getEndpoints.js.map +1 -0
  42. package/ark/index.d.ts +9 -0
  43. package/ark/index.js +28 -0
  44. package/ark/index.js.map +1 -0
  45. package/autoscaling/getScalingPolicies.d.ts +22 -0
  46. package/autoscaling/getScalingPolicies.js +24 -0
  47. package/autoscaling/getScalingPolicies.js.map +1 -0
  48. package/autoscaling/getScalingPolicy.d.ts +81 -0
  49. package/autoscaling/getScalingPolicy.js +28 -0
  50. package/autoscaling/getScalingPolicy.js.map +1 -0
  51. package/autoscaling/index.d.ts +9 -0
  52. package/autoscaling/index.js +12 -1
  53. package/autoscaling/index.js.map +1 -1
  54. package/autoscaling/scalingPolicy.d.ts +171 -0
  55. package/autoscaling/scalingPolicy.js +87 -0
  56. package/autoscaling/scalingPolicy.js.map +1 -0
  57. package/cloudidentity/getPermissionSetAssignment.d.ts +68 -0
  58. package/cloudidentity/getPermissionSetAssignment.js +28 -0
  59. package/cloudidentity/getPermissionSetAssignment.js.map +1 -0
  60. package/cloudidentity/getPermissionSetAssignments.d.ts +22 -0
  61. package/cloudidentity/getPermissionSetAssignments.js +24 -0
  62. package/cloudidentity/getPermissionSetAssignments.js.map +1 -0
  63. package/cloudidentity/getPermissionSetProvisioning.d.ts +64 -0
  64. package/cloudidentity/getPermissionSetProvisioning.js +28 -0
  65. package/cloudidentity/getPermissionSetProvisioning.js.map +1 -0
  66. package/cloudidentity/getPermissionSetProvisionings.d.ts +22 -0
  67. package/cloudidentity/getPermissionSetProvisionings.js +24 -0
  68. package/cloudidentity/getPermissionSetProvisionings.js.map +1 -0
  69. package/cloudidentity/getUserProvisioning.d.ts +88 -0
  70. package/cloudidentity/getUserProvisioning.js +28 -0
  71. package/cloudidentity/getUserProvisioning.js.map +1 -0
  72. package/cloudidentity/getUserProvisionings.d.ts +22 -0
  73. package/cloudidentity/getUserProvisionings.js +24 -0
  74. package/cloudidentity/getUserProvisionings.js.map +1 -0
  75. package/cloudidentity/index.d.ts +27 -0
  76. package/cloudidentity/index.js +34 -1
  77. package/cloudidentity/index.js.map +1 -1
  78. package/cloudidentity/permissionSetAssignment.d.ts +140 -0
  79. package/cloudidentity/permissionSetAssignment.js +99 -0
  80. package/cloudidentity/permissionSetAssignment.js.map +1 -0
  81. package/cloudidentity/permissionSetProvisioning.d.ts +121 -0
  82. package/cloudidentity/permissionSetProvisioning.js +88 -0
  83. package/cloudidentity/permissionSetProvisioning.js.map +1 -0
  84. package/cloudidentity/userProvisioning.d.ts +199 -0
  85. package/cloudidentity/userProvisioning.js +118 -0
  86. package/cloudidentity/userProvisioning.js.map +1 -0
  87. package/directconnect/directConnectGateway.d.ts +8 -0
  88. package/directconnect/directConnectGateway.js +2 -0
  89. package/directconnect/directConnectGateway.js.map +1 -1
  90. package/directconnect/getDirectConnectGateway.d.ts +4 -0
  91. package/directconnect/getDirectConnectGateway.js.map +1 -1
  92. package/ecs/getHpcCluster.d.ts +73 -0
  93. package/ecs/getHpcCluster.js +28 -0
  94. package/ecs/getHpcCluster.js.map +1 -0
  95. package/ecs/getHpcClusters.d.ts +22 -0
  96. package/ecs/getHpcClusters.js +24 -0
  97. package/ecs/getHpcClusters.js.map +1 -0
  98. package/ecs/hpcCluster.d.ts +148 -0
  99. package/ecs/hpcCluster.js +98 -0
  100. package/ecs/hpcCluster.js.map +1 -0
  101. package/ecs/index.d.ts +9 -0
  102. package/ecs/index.js +12 -1
  103. package/ecs/index.js.map +1 -1
  104. package/index.d.ts +7 -1
  105. package/index.js +13 -1
  106. package/index.js.map +1 -1
  107. package/kafka/allowList.d.ts +144 -0
  108. package/kafka/allowList.js +100 -0
  109. package/kafka/allowList.js.map +1 -0
  110. package/kafka/getAllowList.d.ts +69 -0
  111. package/kafka/getAllowList.js +28 -0
  112. package/kafka/getAllowList.js.map +1 -0
  113. package/kafka/getAllowLists.d.ts +22 -0
  114. package/kafka/getAllowLists.js +24 -0
  115. package/kafka/getAllowLists.js.map +1 -0
  116. package/kafka/index.d.ts +9 -0
  117. package/kafka/index.js +12 -1
  118. package/kafka/index.js.map +1 -1
  119. package/kms/getKey.d.ts +16 -0
  120. package/kms/getKey.js.map +1 -1
  121. package/kms/key.d.ts +46 -25
  122. package/kms/key.js +9 -24
  123. package/kms/key.js.map +1 -1
  124. package/mongodb/allowList.d.ts +146 -0
  125. package/mongodb/allowList.js +82 -0
  126. package/mongodb/allowList.js.map +1 -0
  127. package/mongodb/getAllowList.d.ts +77 -0
  128. package/mongodb/getAllowList.js +28 -0
  129. package/mongodb/getAllowList.js.map +1 -0
  130. package/mongodb/getAllowLists.d.ts +22 -0
  131. package/mongodb/getAllowLists.js +24 -0
  132. package/mongodb/getAllowLists.js.map +1 -0
  133. package/mongodb/getInstance.d.ts +213 -0
  134. package/mongodb/getInstance.js +28 -0
  135. package/mongodb/getInstance.js.map +1 -0
  136. package/mongodb/getInstances.d.ts +22 -0
  137. package/mongodb/getInstances.js +24 -0
  138. package/mongodb/getInstances.js.map +1 -0
  139. package/mongodb/index.d.ts +18 -0
  140. package/mongodb/index.js +39 -0
  141. package/mongodb/index.js.map +1 -0
  142. package/mongodb/instance.d.ts +499 -0
  143. package/mongodb/instance.js +197 -0
  144. package/mongodb/instance.js.map +1 -0
  145. package/package.json +1 -1
  146. package/privatezone/getRecord.d.ts +88 -0
  147. package/privatezone/getRecord.js +28 -0
  148. package/privatezone/getRecord.js.map +1 -0
  149. package/privatezone/getRecords.d.ts +22 -0
  150. package/privatezone/getRecords.js +24 -0
  151. package/privatezone/getRecords.js.map +1 -0
  152. package/privatezone/getResolverEndpoint.d.ts +89 -0
  153. package/privatezone/getResolverEndpoint.js +28 -0
  154. package/privatezone/getResolverEndpoint.js.map +1 -0
  155. package/privatezone/getResolverEndpoints.d.ts +22 -0
  156. package/privatezone/getResolverEndpoints.js +24 -0
  157. package/privatezone/getResolverEndpoints.js.map +1 -0
  158. package/privatezone/getResolverRule.d.ts +93 -0
  159. package/privatezone/getResolverRule.js +28 -0
  160. package/privatezone/getResolverRule.js.map +1 -0
  161. package/privatezone/getResolverRules.d.ts +22 -0
  162. package/privatezone/getResolverRules.js +24 -0
  163. package/privatezone/getResolverRules.js.map +1 -0
  164. package/privatezone/index.d.ts +27 -0
  165. package/privatezone/index.js +50 -0
  166. package/privatezone/index.js.map +1 -0
  167. package/privatezone/record.d.ts +204 -0
  168. package/privatezone/record.js +113 -0
  169. package/privatezone/record.js.map +1 -0
  170. package/privatezone/resolverEndpoint.d.ts +165 -0
  171. package/privatezone/resolverEndpoint.js +91 -0
  172. package/privatezone/resolverEndpoint.js.map +1 -0
  173. package/privatezone/resolverRule.d.ts +168 -0
  174. package/privatezone/resolverRule.js +90 -0
  175. package/privatezone/resolverRule.js.map +1 -0
  176. package/rdsmssql/allowList.d.ts +174 -0
  177. package/rdsmssql/allowList.js +83 -0
  178. package/rdsmssql/allowList.js.map +1 -0
  179. package/rdsmssql/getAllowList.d.ts +85 -0
  180. package/rdsmssql/getAllowList.js +28 -0
  181. package/rdsmssql/getAllowList.js.map +1 -0
  182. package/rdsmssql/getAllowLists.d.ts +22 -0
  183. package/rdsmssql/getAllowLists.js +24 -0
  184. package/rdsmssql/getAllowLists.js.map +1 -0
  185. package/rdsmssql/getInstance.d.ts +181 -0
  186. package/rdsmssql/getInstance.js +28 -0
  187. package/rdsmssql/getInstance.js.map +1 -0
  188. package/rdsmssql/getInstances.d.ts +22 -0
  189. package/rdsmssql/getInstances.js +24 -0
  190. package/rdsmssql/getInstances.js.map +1 -0
  191. package/rdsmssql/index.d.ts +18 -0
  192. package/rdsmssql/index.js +39 -0
  193. package/rdsmssql/index.js.map +1 -0
  194. package/rdsmssql/instance.d.ts +386 -0
  195. package/rdsmssql/instance.js +155 -0
  196. package/rdsmssql/instance.js.map +1 -0
  197. package/rdspostgresql/database.d.ts +141 -0
  198. package/rdspostgresql/database.js +92 -0
  199. package/rdspostgresql/database.js.map +1 -0
  200. package/rdspostgresql/dbEndpoint.d.ts +220 -0
  201. package/rdspostgresql/dbEndpoint.js +103 -0
  202. package/rdspostgresql/dbEndpoint.js.map +1 -0
  203. package/rdspostgresql/getDatabase.d.ts +64 -0
  204. package/rdspostgresql/getDatabase.js +28 -0
  205. package/rdspostgresql/getDatabase.js.map +1 -0
  206. package/rdspostgresql/getDatabases.d.ts +22 -0
  207. package/rdspostgresql/getDatabases.js +24 -0
  208. package/rdspostgresql/getDatabases.js.map +1 -0
  209. package/rdspostgresql/getDbEndpoint.d.ts +101 -0
  210. package/rdspostgresql/getDbEndpoint.js +28 -0
  211. package/rdspostgresql/getDbEndpoint.js.map +1 -0
  212. package/rdspostgresql/getDbEndpoints.d.ts +22 -0
  213. package/rdspostgresql/getDbEndpoints.js +24 -0
  214. package/rdspostgresql/getDbEndpoints.js.map +1 -0
  215. package/rdspostgresql/getSchema.d.ts +52 -0
  216. package/rdspostgresql/getSchema.js +28 -0
  217. package/rdspostgresql/getSchema.js.map +1 -0
  218. package/rdspostgresql/getSchemas.d.ts +22 -0
  219. package/rdspostgresql/getSchemas.js +24 -0
  220. package/rdspostgresql/getSchemas.js.map +1 -0
  221. package/rdspostgresql/index.d.ts +27 -0
  222. package/rdspostgresql/index.js +34 -1
  223. package/rdspostgresql/index.js.map +1 -1
  224. package/rdspostgresql/schema.d.ts +107 -0
  225. package/rdspostgresql/schema.js +90 -0
  226. package/rdspostgresql/schema.js.map +1 -0
  227. package/redis/getInstance.d.ts +8 -0
  228. package/redis/getInstance.js.map +1 -1
  229. package/redis/instance.d.ts +16 -0
  230. package/redis/instance.js +4 -0
  231. package/redis/instance.js.map +1 -1
  232. package/tls/getProject.d.ts +69 -0
  233. package/tls/getProject.js +28 -0
  234. package/tls/getProject.js.map +1 -0
  235. package/tls/getProjects.d.ts +22 -0
  236. package/tls/getProjects.js +24 -0
  237. package/tls/getProjects.js.map +1 -0
  238. package/tls/index.d.ts +9 -0
  239. package/tls/index.js +28 -0
  240. package/tls/index.js.map +1 -0
  241. package/tls/project.d.ts +135 -0
  242. package/tls/project.js +92 -0
  243. package/tls/project.js.map +1 -0
  244. package/transitrouter/getTransitRouter.d.ts +8 -0
  245. package/transitrouter/getTransitRouter.js.map +1 -1
  246. package/transitrouter/getTransitRouterRouteEntry.d.ts +8 -0
  247. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -1
  248. package/transitrouter/transitRouter.d.ts +20 -0
  249. package/transitrouter/transitRouter.js +4 -0
  250. package/transitrouter/transitRouter.js.map +1 -1
  251. package/transitrouter/transitRouterRouteEntry.d.ts +16 -0
  252. package/transitrouter/transitRouterRouteEntry.js +4 -0
  253. package/transitrouter/transitRouterRouteEntry.js.map +1 -1
  254. package/types/input.d.ts +1213 -83
  255. package/types/output.d.ts +3547 -1181
  256. package/vedbm/getInstance.d.ts +157 -0
  257. package/vedbm/getInstance.js +28 -0
  258. package/vedbm/getInstance.js.map +1 -0
  259. package/vedbm/getInstances.d.ts +22 -0
  260. package/vedbm/getInstances.js +24 -0
  261. package/vedbm/getInstances.js.map +1 -0
  262. package/vedbm/index.d.ts +9 -0
  263. package/vedbm/index.js +28 -0
  264. package/vedbm/index.js.map +1 -0
  265. package/vedbm/instance.d.ts +355 -0
  266. package/vedbm/instance.js +134 -0
  267. package/vedbm/instance.js.map +1 -0
  268. package/vpc/eip.d.ts +29 -0
  269. package/vpc/eip.js +26 -1
  270. package/vpc/eip.js.map +1 -1
@@ -0,0 +1,174 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * API请求参数 - 创建RDS SQL Server白名单(CreateAllowList)。
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import bytepluscc:rdsmssql/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
+ * IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
31
+ */
32
+ readonly allowList: pulumi.Output<string>;
33
+ /**
34
+ * 白名单分类。
35
+ */
36
+ readonly allowListCategory: pulumi.Output<string>;
37
+ /**
38
+ * 白名单描述。
39
+ */
40
+ readonly allowListDesc: pulumi.Output<string>;
41
+ /**
42
+ * 白名单的id。
43
+ */
44
+ readonly allowListId: pulumi.Output<string>;
45
+ /**
46
+ * AllowListIP数量。
47
+ */
48
+ readonly allowListIpNum: pulumi.Output<number>;
49
+ /**
50
+ * 白名单名称。
51
+ */
52
+ readonly allowListName: pulumi.Output<string>;
53
+ /**
54
+ * 白名单内的IP地址类型,当前仅支持IPv4。
55
+ */
56
+ readonly allowListType: pulumi.Output<string>;
57
+ /**
58
+ * 绑定的实例数量。解绑实例的白名单时必传。
59
+ */
60
+ readonly associatedInstanceNum: pulumi.Output<number>;
61
+ readonly associatedInstances: pulumi.Output<outputs.rdsmssql.AllowListAssociatedInstance[]>;
62
+ /**
63
+ * 实例ID。
64
+ */
65
+ readonly instanceId: pulumi.Output<string>;
66
+ /**
67
+ * 项目名称。
68
+ */
69
+ readonly projectName: pulumi.Output<string>;
70
+ /**
71
+ * 安全组之外的、需要加入白名单的IP地址,可输入IP地址或CIDR格式的IP地址段。如果该字段与AllowList同时指定,以AllowList为准。
72
+ */
73
+ readonly userAllowList: pulumi.Output<string>;
74
+ /**
75
+ * Create a AllowList resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name: string, args: AllowListArgs, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * Input properties used for looking up and filtering AllowList resources.
85
+ */
86
+ export interface AllowListState {
87
+ /**
88
+ * IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
89
+ */
90
+ allowList?: pulumi.Input<string>;
91
+ /**
92
+ * 白名单分类。
93
+ */
94
+ allowListCategory?: pulumi.Input<string>;
95
+ /**
96
+ * 白名单描述。
97
+ */
98
+ allowListDesc?: pulumi.Input<string>;
99
+ /**
100
+ * 白名单的id。
101
+ */
102
+ allowListId?: pulumi.Input<string>;
103
+ /**
104
+ * AllowListIP数量。
105
+ */
106
+ allowListIpNum?: pulumi.Input<number>;
107
+ /**
108
+ * 白名单名称。
109
+ */
110
+ allowListName?: pulumi.Input<string>;
111
+ /**
112
+ * 白名单内的IP地址类型,当前仅支持IPv4。
113
+ */
114
+ allowListType?: pulumi.Input<string>;
115
+ /**
116
+ * 绑定的实例数量。解绑实例的白名单时必传。
117
+ */
118
+ associatedInstanceNum?: pulumi.Input<number>;
119
+ associatedInstances?: pulumi.Input<pulumi.Input<inputs.rdsmssql.AllowListAssociatedInstance>[]>;
120
+ /**
121
+ * 实例ID。
122
+ */
123
+ instanceId?: pulumi.Input<string>;
124
+ /**
125
+ * 项目名称。
126
+ */
127
+ projectName?: pulumi.Input<string>;
128
+ /**
129
+ * 安全组之外的、需要加入白名单的IP地址,可输入IP地址或CIDR格式的IP地址段。如果该字段与AllowList同时指定,以AllowList为准。
130
+ */
131
+ userAllowList?: pulumi.Input<string>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a AllowList resource.
135
+ */
136
+ export interface AllowListArgs {
137
+ /**
138
+ * IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
139
+ */
140
+ allowList?: pulumi.Input<string>;
141
+ /**
142
+ * 白名单分类。
143
+ */
144
+ allowListCategory?: pulumi.Input<string>;
145
+ /**
146
+ * 白名单描述。
147
+ */
148
+ allowListDesc?: pulumi.Input<string>;
149
+ /**
150
+ * 白名单名称。
151
+ */
152
+ allowListName: pulumi.Input<string>;
153
+ /**
154
+ * 白名单内的IP地址类型,当前仅支持IPv4。
155
+ */
156
+ allowListType?: pulumi.Input<string>;
157
+ /**
158
+ * 绑定的实例数量。解绑实例的白名单时必传。
159
+ */
160
+ associatedInstanceNum?: pulumi.Input<number>;
161
+ associatedInstances?: pulumi.Input<pulumi.Input<inputs.rdsmssql.AllowListAssociatedInstance>[]>;
162
+ /**
163
+ * 实例ID。
164
+ */
165
+ instanceId?: pulumi.Input<string>;
166
+ /**
167
+ * 项目名称。
168
+ */
169
+ projectName?: pulumi.Input<string>;
170
+ /**
171
+ * 安全组之外的、需要加入白名单的IP地址,可输入IP地址或CIDR格式的IP地址段。如果该字段与AllowList同时指定,以AllowList为准。
172
+ */
173
+ userAllowList?: pulumi.Input<string>;
174
+ }
@@ -0,0 +1,83 @@
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
+ * API请求参数 - 创建RDS SQL Server白名单(CreateAllowList)。
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import bytepluscc:rdsmssql/allowList:AllowList example "allow_list_id"
15
+ * ```
16
+ */
17
+ class AllowList extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing AllowList resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new AllowList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of AllowList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === AllowList.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["allowList"] = state ? state.allowList : undefined;
46
+ resourceInputs["allowListCategory"] = state ? state.allowListCategory : undefined;
47
+ resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
48
+ resourceInputs["allowListId"] = state ? state.allowListId : undefined;
49
+ resourceInputs["allowListIpNum"] = state ? state.allowListIpNum : undefined;
50
+ resourceInputs["allowListName"] = state ? state.allowListName : undefined;
51
+ resourceInputs["allowListType"] = state ? state.allowListType : undefined;
52
+ resourceInputs["associatedInstanceNum"] = state ? state.associatedInstanceNum : undefined;
53
+ resourceInputs["associatedInstances"] = state ? state.associatedInstances : undefined;
54
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
55
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
56
+ resourceInputs["userAllowList"] = state ? state.userAllowList : undefined;
57
+ }
58
+ else {
59
+ const args = argsOrState;
60
+ if ((!args || args.allowListName === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'allowListName'");
62
+ }
63
+ resourceInputs["allowList"] = args ? args.allowList : undefined;
64
+ resourceInputs["allowListCategory"] = args ? args.allowListCategory : undefined;
65
+ resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
66
+ resourceInputs["allowListName"] = args ? args.allowListName : undefined;
67
+ resourceInputs["allowListType"] = args ? args.allowListType : undefined;
68
+ resourceInputs["associatedInstanceNum"] = args ? args.associatedInstanceNum : undefined;
69
+ resourceInputs["associatedInstances"] = args ? args.associatedInstances : undefined;
70
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
71
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
72
+ resourceInputs["userAllowList"] = args ? args.userAllowList : undefined;
73
+ resourceInputs["allowListId"] = undefined /*out*/;
74
+ resourceInputs["allowListIpNum"] = undefined /*out*/;
75
+ }
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
77
+ super(AllowList.__pulumiType, name, resourceInputs, opts);
78
+ }
79
+ }
80
+ exports.AllowList = AllowList;
81
+ /** @internal */
82
+ AllowList.__pulumiType = 'bytepluscc:rdsmssql/allowList:AllowList';
83
+ //# sourceMappingURL=allowList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../rdsmssql/allowList.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,85 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::RDSMsSQL::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 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
22
+ */
23
+ readonly allowList: string;
24
+ /**
25
+ * 白名单分类。
26
+ */
27
+ readonly allowListCategory: string;
28
+ /**
29
+ * 白名单描述。
30
+ */
31
+ readonly allowListDesc: string;
32
+ /**
33
+ * 白名单的id。
34
+ */
35
+ readonly allowListId: string;
36
+ /**
37
+ * AllowListIP数量。
38
+ */
39
+ readonly allowListIpNum: number;
40
+ /**
41
+ * 白名单名称。
42
+ */
43
+ readonly allowListName: string;
44
+ /**
45
+ * 白名单内的IP地址类型,当前仅支持IPv4。
46
+ */
47
+ readonly allowListType: string;
48
+ /**
49
+ * 绑定的实例数量。解绑实例的白名单时必传。
50
+ */
51
+ readonly associatedInstanceNum: number;
52
+ /**
53
+ * 绑定的实例列表。
54
+ */
55
+ readonly associatedInstances: outputs.rdsmssql.GetAllowListAssociatedInstance[];
56
+ /**
57
+ * Uniquely identifies the resource.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * 实例ID。
62
+ */
63
+ readonly instanceId: string;
64
+ /**
65
+ * 项目名称。
66
+ */
67
+ readonly projectName: string;
68
+ /**
69
+ * 安全组之外的、需要加入白名单的IP地址,可输入IP地址或CIDR格式的IP地址段。如果该字段与AllowList同时指定,以AllowList为准。
70
+ */
71
+ readonly userAllowList: string;
72
+ }
73
+ /**
74
+ * Data Source schema for Byteplus::RDSMsSQL::Allowlist
75
+ */
76
+ export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListResult>;
77
+ /**
78
+ * A collection of arguments for invoking getAllowList.
79
+ */
80
+ export interface GetAllowListOutputArgs {
81
+ /**
82
+ * Uniquely identifies the resource.
83
+ */
84
+ id: pulumi.Input<string>;
85
+ }
@@ -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 Byteplus::RDSMsSQL::Allowlist
10
+ */
11
+ function getAllowList(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdsmssql/getAllowList:getAllowList", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getAllowList = getAllowList;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSMsSQL::Allowlist
20
+ */
21
+ function getAllowListOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdsmssql/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":["../../rdsmssql/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,+CAA+C,EAAE;QAC1E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAqED;;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,+CAA+C,EAAE;QAChF,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 Byteplus::RDSMsSQL::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 Byteplus::RDSMsSQL::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 Byteplus::RDSMsSQL::Allowlist
10
+ */
11
+ function getAllowLists(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdsmssql/getAllowLists:getAllowLists", {}, opts);
14
+ }
15
+ exports.getAllowLists = getAllowLists;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::RDSMsSQL::Allowlist
18
+ */
19
+ function getAllowListsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:rdsmssql/getAllowLists:getAllowLists", {}, opts);
22
+ }
23
+ exports.getAllowListsOutput = getAllowListsOutput;
24
+ //# sourceMappingURL=getAllowLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAllowLists.js","sourceRoot":"","sources":["../../rdsmssql/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,iDAAiD,EAAE,EAC/E,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,iDAAiD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
@@ -0,0 +1,181 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::RDSMsSQL::Instance
5
+ */
6
+ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
7
+ /**
8
+ * A collection of arguments for invoking getInstance.
9
+ */
10
+ export interface GetInstanceArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getInstance.
18
+ */
19
+ export interface GetInstanceResult {
20
+ /**
21
+ * 需要修改的实例高级特性。该接口当前属于加白接口,如需使用,您可以联系技术支持。示例值:{"Key":"Value"}
22
+ */
23
+ readonly advancedFeatures: string;
24
+ /**
25
+ * 允许访问的白名单ID列表。
26
+ */
27
+ readonly allowListIds: string[];
28
+ /**
29
+ * 实例已用备份空间。单位:GiB。
30
+ */
31
+ readonly backupUse: number;
32
+ /**
33
+ * 付费方式。
34
+ */
35
+ readonly chargeInfo: outputs.rdsmssql.GetInstanceChargeInfo;
36
+ /**
37
+ * 连接信息。
38
+ */
39
+ readonly connectionInfos: outputs.rdsmssql.GetInstanceConnectionInfo[];
40
+ /**
41
+ * 创建时间。
42
+ */
43
+ readonly createdTime: string;
44
+ /**
45
+ * 兼容版本。取值如下:SQLServer*2019*Std:表示 SQL Server 2019 标准版。SQLServer*2019*Ent:表示 SQL Server 2019 企业版。SQLServer*2019*Web:表示 SQL Server 2019 Web 版。SQLServer*2022*Std:表示 SQL Server 2022 标准版。SQLServer*2022*Ent:表示 SQL Server 2022 企业版。SQLServer*2022*Web:表示 SQL Server 2022 Web 版。
46
+ */
47
+ readonly dbEngineVersion: string;
48
+ /**
49
+ * Uniquely identifies the resource.
50
+ */
51
+ readonly id: string;
52
+ /**
53
+ * 内核版本号。
54
+ */
55
+ readonly innerVersion: string;
56
+ /**
57
+ * 实例分类。取值:Primary:主实例。ReadOnly:只读实例。
58
+ */
59
+ readonly instanceCategory: string;
60
+ /**
61
+ * 实例ID。
62
+ */
63
+ readonly instanceId: string;
64
+ /**
65
+ * 实例名称。实例名称的命名规则如下:不能以数字、中划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制在 1~128 之间。
66
+ */
67
+ readonly instanceName: string;
68
+ /**
69
+ * 实例状态,取值:Running:运行中。Creating:创建中。CreateFailed:创建失败。Deleting:删除中。Restarting:重启中。Updating:变更中。MasterChanging:主节点切换中。Error:错误。
70
+ */
71
+ readonly instanceStatus: string;
72
+ /**
73
+ * 实例类型。取值如下:HA(高可用)、Basic(基础版)、Cluster(集群版)。不同引擎版本支持的类型不同:2019 Std 支持 HA/Basic;2019 Ent 支持 Cluster/Basic;2019 Web 支持 Basic。
74
+ */
75
+ readonly instanceType: string;
76
+ /**
77
+ * 实例的可维护时间段。格式:HH:mmZ-HH:mmZ(UTC时间)。默认取值为 UTC18:00Z-21:59Z(即北京时间 02:00-05:59)。说明:为保护云数据库的稳定性,系统会不定期对实例进行维护。可维护时间段建议设置在业务低峰期,避免对业务造成影响。在可维护时间段内,实例可能会出现 1~2 次的连接闪断,需确保应用程序具有自动重连机制。可维护时间段最小时间间隔 1 小时,最大时间间隔 24 小时,不允许跨天选择可维护时间段。
78
+ */
79
+ readonly maintenanceTime: string;
80
+ /**
81
+ * 主节点ID。手动切换主备节点时,该参数为必填项。
82
+ */
83
+ readonly masterNodeId: string;
84
+ /**
85
+ * 内存大小,单位为 GiB。
86
+ */
87
+ readonly memory: number;
88
+ /**
89
+ * 实例节点信息。
90
+ */
91
+ readonly nodeDetailInfos: outputs.rdsmssql.GetInstanceNodeDetailInfo[];
92
+ /**
93
+ * 实例规格代码。
94
+ */
95
+ readonly nodeSpec: string;
96
+ /**
97
+ * 端口
98
+ */
99
+ readonly port: string;
100
+ /**
101
+ * 主实例ID。如果为空说明它是主实例。
102
+ */
103
+ readonly primaryInstanceId: string;
104
+ /**
105
+ * 所属项目。
106
+ */
107
+ readonly projectName: string;
108
+ /**
109
+ * 只读实例数量。
110
+ */
111
+ readonly readOnlyNumber: number;
112
+ /**
113
+ * 实例字符集排序规则,默认 Chinese*PRC*CI*AS。目前已支持大多数原生字符集具体取值如下:Latin1*General*CI*AS,Latin1*General*CS*AS,SQL*Latin1*General*CP1*CI*AS,SQL*Latin1*General*CP1*CS*AS,Chinese*PRC*CI*AS,Chinese*PRC*CS*AS,Chinese*PRC*BIN,Japanese*CI*AS,Japanese*CS*AS,Chinese*Taiwan*Stroke*CI*AS,Chinese*Taiwan*Stroke*CS*AS,Thai*CI*AS,Chinese*PRC*CI*AI,Chinese*PRC*BIN2,Cyrillic*General*CI_AS。
114
+ */
115
+ readonly serverCollation: string;
116
+ /**
117
+ * 表示是否开启慢日志,取值如下:true:表示开启慢日志。false:表示不开启慢日志。
118
+ */
119
+ readonly slowQueryEnable: boolean;
120
+ /**
121
+ * 慢日志的阈值,取值范围为 [1~10],单位:秒(s)。
122
+ */
123
+ readonly slowQueryTime: string;
124
+ /**
125
+ * 存储空间大小,单位为 GiB。取值范围:20GiB ~ 4000GiB,步长为 10GiB。
126
+ */
127
+ readonly storageSpace: number;
128
+ /**
129
+ * 实例存储类型。
130
+ */
131
+ readonly storageType: string;
132
+ /**
133
+ * 实例已用储空间。单位:GiB。
134
+ */
135
+ readonly storageUse: number;
136
+ /**
137
+ * 子网 ID。当主备节点不在同一个可用区时,主备节点的子网也需设置为对应可用区私有网络下的子网,多个可用区需使用英文分号(;)隔开。
138
+ */
139
+ readonly subnetId: string;
140
+ /**
141
+ * 高权限账号的密码。密码规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的至少三种组成。特殊字符为 !@#$%^&*()_+-=。
142
+ */
143
+ readonly superAccountPassword: string;
144
+ /**
145
+ * 标签列表。
146
+ */
147
+ readonly tags: outputs.rdsmssql.GetInstanceTag[];
148
+ /**
149
+ * 时区。
150
+ */
151
+ readonly timeZone: string;
152
+ /**
153
+ * 更新时间。
154
+ */
155
+ readonly updatedTime: string;
156
+ /**
157
+ * CPU 大小。例如:1 表示 1核。
158
+ */
159
+ readonly vcpu: number;
160
+ /**
161
+ * VPC ID
162
+ */
163
+ readonly vpcId: string;
164
+ /**
165
+ * 节点所在可用区。当主备节点不在同一个可用区时,您可以使用英文分号(;)隔开,默认第一个为主节点可用区,第二个为备节点可用区。
166
+ */
167
+ readonly zoneId: string;
168
+ }
169
+ /**
170
+ * Data Source schema for Byteplus::RDSMsSQL::Instance
171
+ */
172
+ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
173
+ /**
174
+ * A collection of arguments for invoking getInstance.
175
+ */
176
+ export interface GetInstanceOutputArgs {
177
+ /**
178
+ * Uniquely identifies the resource.
179
+ */
180
+ id: pulumi.Input<string>;
181
+ }
@@ -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.getInstanceOutput = exports.getInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::RDSMsSQL::Instance
10
+ */
11
+ function getInstance(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdsmssql/getInstance:getInstance", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getInstance = getInstance;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSMsSQL::Instance
20
+ */
21
+ function getInstanceOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdsmssql/getInstance:getInstance", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getInstanceOutput = getInstanceOutput;
28
+ //# sourceMappingURL=getInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../rdsmssql/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAqKD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::RDSMsSQL::Instance
4
+ */
5
+ export declare function getInstances(opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>;
6
+ /**
7
+ * A collection of values returned by getInstances.
8
+ */
9
+ export interface GetInstancesResult {
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 Byteplus::RDSMsSQL::Instance
21
+ */
22
+ export declare function getInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstancesResult>;