@byteplus/pulumi-bytepluscc 0.0.16 → 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 (178) hide show
  1. package/alb/getLoadBalancer.d.ts +8 -0
  2. package/alb/getLoadBalancer.js.map +1 -1
  3. package/alb/getServerGroup.d.ts +4 -0
  4. package/alb/getServerGroup.js.map +1 -1
  5. package/alb/loadBalancer.d.ts +24 -0
  6. package/alb/loadBalancer.js +4 -0
  7. package/alb/loadBalancer.js.map +1 -1
  8. package/alb/serverGroup.d.ts +12 -0
  9. package/alb/serverGroup.js +2 -0
  10. package/alb/serverGroup.js.map +1 -1
  11. package/apig/gatewayService.d.ts +40 -23
  12. package/apig/gatewayService.js +7 -21
  13. package/apig/gatewayService.js.map +1 -1
  14. package/apig/getGatewayService.d.ts +13 -1
  15. package/apig/getGatewayService.js.map +1 -1
  16. package/apig/getUpstream.d.ts +4 -0
  17. package/apig/getUpstream.js.map +1 -1
  18. package/apig/upstream.d.ts +12 -0
  19. package/apig/upstream.js +2 -0
  20. package/apig/upstream.js.map +1 -1
  21. package/autoscaling/getScalingPolicies.d.ts +22 -0
  22. package/autoscaling/getScalingPolicies.js +24 -0
  23. package/autoscaling/getScalingPolicies.js.map +1 -0
  24. package/autoscaling/getScalingPolicy.d.ts +81 -0
  25. package/autoscaling/getScalingPolicy.js +28 -0
  26. package/autoscaling/getScalingPolicy.js.map +1 -0
  27. package/autoscaling/index.d.ts +9 -0
  28. package/autoscaling/index.js +12 -1
  29. package/autoscaling/index.js.map +1 -1
  30. package/autoscaling/scalingPolicy.d.ts +171 -0
  31. package/autoscaling/scalingPolicy.js +87 -0
  32. package/autoscaling/scalingPolicy.js.map +1 -0
  33. package/directconnect/directConnectGateway.d.ts +8 -0
  34. package/directconnect/directConnectGateway.js +2 -0
  35. package/directconnect/directConnectGateway.js.map +1 -1
  36. package/directconnect/getDirectConnectGateway.d.ts +4 -0
  37. package/directconnect/getDirectConnectGateway.js.map +1 -1
  38. package/ecs/getHpcCluster.d.ts +73 -0
  39. package/ecs/getHpcCluster.js +28 -0
  40. package/ecs/getHpcCluster.js.map +1 -0
  41. package/ecs/getHpcClusters.d.ts +22 -0
  42. package/ecs/getHpcClusters.js +24 -0
  43. package/ecs/getHpcClusters.js.map +1 -0
  44. package/ecs/hpcCluster.d.ts +148 -0
  45. package/ecs/hpcCluster.js +98 -0
  46. package/ecs/hpcCluster.js.map +1 -0
  47. package/ecs/index.d.ts +9 -0
  48. package/ecs/index.js +12 -1
  49. package/ecs/index.js.map +1 -1
  50. package/index.d.ts +4 -1
  51. package/index.js +7 -1
  52. package/index.js.map +1 -1
  53. package/kms/getKey.d.ts +12 -0
  54. package/kms/getKey.js.map +1 -1
  55. package/kms/key.d.ts +36 -27
  56. package/kms/key.js +7 -24
  57. package/kms/key.js.map +1 -1
  58. package/mongodb/allowList.d.ts +146 -0
  59. package/mongodb/allowList.js +82 -0
  60. package/mongodb/allowList.js.map +1 -0
  61. package/mongodb/getAllowList.d.ts +77 -0
  62. package/mongodb/getAllowList.js +28 -0
  63. package/mongodb/getAllowList.js.map +1 -0
  64. package/mongodb/getAllowLists.d.ts +22 -0
  65. package/mongodb/getAllowLists.js +24 -0
  66. package/mongodb/getAllowLists.js.map +1 -0
  67. package/mongodb/getInstance.d.ts +213 -0
  68. package/mongodb/getInstance.js +28 -0
  69. package/mongodb/getInstance.js.map +1 -0
  70. package/mongodb/getInstances.d.ts +22 -0
  71. package/mongodb/getInstances.js +24 -0
  72. package/mongodb/getInstances.js.map +1 -0
  73. package/mongodb/index.d.ts +18 -0
  74. package/mongodb/index.js +39 -0
  75. package/mongodb/index.js.map +1 -0
  76. package/mongodb/instance.d.ts +499 -0
  77. package/mongodb/instance.js +197 -0
  78. package/mongodb/instance.js.map +1 -0
  79. package/package.json +1 -1
  80. package/privatezone/getRecord.d.ts +88 -0
  81. package/privatezone/getRecord.js +28 -0
  82. package/privatezone/getRecord.js.map +1 -0
  83. package/privatezone/getRecords.d.ts +22 -0
  84. package/privatezone/getRecords.js +24 -0
  85. package/privatezone/getRecords.js.map +1 -0
  86. package/privatezone/getResolverEndpoint.d.ts +89 -0
  87. package/privatezone/getResolverEndpoint.js +28 -0
  88. package/privatezone/getResolverEndpoint.js.map +1 -0
  89. package/privatezone/getResolverEndpoints.d.ts +22 -0
  90. package/privatezone/getResolverEndpoints.js +24 -0
  91. package/privatezone/getResolverEndpoints.js.map +1 -0
  92. package/privatezone/getResolverRule.d.ts +93 -0
  93. package/privatezone/getResolverRule.js +28 -0
  94. package/privatezone/getResolverRule.js.map +1 -0
  95. package/privatezone/getResolverRules.d.ts +22 -0
  96. package/privatezone/getResolverRules.js +24 -0
  97. package/privatezone/getResolverRules.js.map +1 -0
  98. package/privatezone/index.d.ts +27 -0
  99. package/privatezone/index.js +50 -0
  100. package/privatezone/index.js.map +1 -0
  101. package/privatezone/record.d.ts +204 -0
  102. package/privatezone/record.js +113 -0
  103. package/privatezone/record.js.map +1 -0
  104. package/privatezone/resolverEndpoint.d.ts +165 -0
  105. package/privatezone/resolverEndpoint.js +91 -0
  106. package/privatezone/resolverEndpoint.js.map +1 -0
  107. package/privatezone/resolverRule.d.ts +168 -0
  108. package/privatezone/resolverRule.js +90 -0
  109. package/privatezone/resolverRule.js.map +1 -0
  110. package/rdsmssql/allowList.d.ts +174 -0
  111. package/rdsmssql/allowList.js +83 -0
  112. package/rdsmssql/allowList.js.map +1 -0
  113. package/rdsmssql/getAllowList.d.ts +85 -0
  114. package/rdsmssql/getAllowList.js +28 -0
  115. package/rdsmssql/getAllowList.js.map +1 -0
  116. package/rdsmssql/getAllowLists.d.ts +22 -0
  117. package/rdsmssql/getAllowLists.js +24 -0
  118. package/rdsmssql/getAllowLists.js.map +1 -0
  119. package/rdsmssql/index.d.ts +9 -0
  120. package/rdsmssql/index.js +12 -1
  121. package/rdsmssql/index.js.map +1 -1
  122. package/rdspostgresql/database.d.ts +141 -0
  123. package/rdspostgresql/database.js +92 -0
  124. package/rdspostgresql/database.js.map +1 -0
  125. package/rdspostgresql/dbEndpoint.d.ts +220 -0
  126. package/rdspostgresql/dbEndpoint.js +103 -0
  127. package/rdspostgresql/dbEndpoint.js.map +1 -0
  128. package/rdspostgresql/getDatabase.d.ts +64 -0
  129. package/rdspostgresql/getDatabase.js +28 -0
  130. package/rdspostgresql/getDatabase.js.map +1 -0
  131. package/rdspostgresql/getDatabases.d.ts +22 -0
  132. package/rdspostgresql/getDatabases.js +24 -0
  133. package/rdspostgresql/getDatabases.js.map +1 -0
  134. package/rdspostgresql/getDbEndpoint.d.ts +101 -0
  135. package/rdspostgresql/getDbEndpoint.js +28 -0
  136. package/rdspostgresql/getDbEndpoint.js.map +1 -0
  137. package/rdspostgresql/getDbEndpoints.d.ts +22 -0
  138. package/rdspostgresql/getDbEndpoints.js +24 -0
  139. package/rdspostgresql/getDbEndpoints.js.map +1 -0
  140. package/rdspostgresql/getSchema.d.ts +52 -0
  141. package/rdspostgresql/getSchema.js +28 -0
  142. package/rdspostgresql/getSchema.js.map +1 -0
  143. package/rdspostgresql/getSchemas.d.ts +22 -0
  144. package/rdspostgresql/getSchemas.js +24 -0
  145. package/rdspostgresql/getSchemas.js.map +1 -0
  146. package/rdspostgresql/index.d.ts +27 -0
  147. package/rdspostgresql/index.js +34 -1
  148. package/rdspostgresql/index.js.map +1 -1
  149. package/rdspostgresql/schema.d.ts +107 -0
  150. package/rdspostgresql/schema.js +90 -0
  151. package/rdspostgresql/schema.js.map +1 -0
  152. package/transitrouter/getTransitRouter.d.ts +8 -0
  153. package/transitrouter/getTransitRouter.js.map +1 -1
  154. package/transitrouter/getTransitRouterRouteEntry.d.ts +8 -0
  155. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -1
  156. package/transitrouter/transitRouter.d.ts +20 -0
  157. package/transitrouter/transitRouter.js +4 -0
  158. package/transitrouter/transitRouter.js.map +1 -1
  159. package/transitrouter/transitRouterRouteEntry.d.ts +16 -0
  160. package/transitrouter/transitRouterRouteEntry.js +4 -0
  161. package/transitrouter/transitRouterRouteEntry.js.map +1 -1
  162. package/types/input.d.ts +641 -9
  163. package/types/output.d.ts +1384 -30
  164. package/vedbm/getInstance.d.ts +157 -0
  165. package/vedbm/getInstance.js +28 -0
  166. package/vedbm/getInstance.js.map +1 -0
  167. package/vedbm/getInstances.d.ts +22 -0
  168. package/vedbm/getInstances.js +24 -0
  169. package/vedbm/getInstances.js.map +1 -0
  170. package/vedbm/index.d.ts +9 -0
  171. package/vedbm/index.js +28 -0
  172. package/vedbm/index.js.map +1 -0
  173. package/vedbm/instance.d.ts +355 -0
  174. package/vedbm/instance.js +134 -0
  175. package/vedbm/instance.js.map +1 -0
  176. package/vpc/eip.d.ts +29 -0
  177. package/vpc/eip.js +26 -1
  178. 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":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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;IAwDD,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,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,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ClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAvHL,8BAwHC;AA1GG,gBAAgB;AACO,sBAAY,GAAG,yCAAyC,CAAC"}
@@ -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"}
@@ -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/rdsmssql/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.Instance = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
5
+ exports.Instance = exports.getInstancesOutput = exports.getInstances = 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"));
@@ -17,6 +25,8 @@ const _module = {
17
25
  version: utilities.getVersion(),
18
26
  construct: (name, type, urn) => {
19
27
  switch (type) {
28
+ case "bytepluscc:rdsmssql/allowList:AllowList":
29
+ return new exports.AllowList(name, undefined, { urn });
20
30
  case "bytepluscc:rdsmssql/instance:Instance":
21
31
  return new exports.Instance(name, undefined, { urn });
22
32
  default:
@@ -24,5 +34,6 @@ const _module = {
24
34
  }
25
35
  },
26
36
  };
37
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdsmssql/allowList", _module);
27
38
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmssql/instance", _module);
28
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../rdsmssql/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,QA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AC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,141 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * 数据库是 PostgreSQL 实例中的一个独立数据库,用于存储和管理数据。
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const rDSPostgreSQLDatabaseDemo = new bytepluscc.rdspostgresql.Database("RDSPostgreSQLDatabaseDemo", {
12
+ * instanceId: "postgres-8d1fcxxxxxx",
13
+ * dbName: "ccapi-terraform-1001",
14
+ * characterSetName: "utf8",
15
+ * owner: "test-1",
16
+ * collate: "C",
17
+ * cType: "C.UTF-8",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import bytepluscc:rdspostgresql/database:Database example "instance_id|db_name"
25
+ * ```
26
+ */
27
+ export declare class Database extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing Database resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseState, opts?: pulumi.CustomResourceOptions): Database;
38
+ /**
39
+ * Returns true if the given object is an instance of Database. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is Database;
43
+ /**
44
+ * 字符分类。取值范围: C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX。
45
+ */
46
+ readonly cType: pulumi.Output<string>;
47
+ /**
48
+ * 数据库字符集。目前支持的字符集包含:utf8(默认)、latin1、ascii
49
+ */
50
+ readonly characterSetName: pulumi.Output<string>;
51
+ /**
52
+ * 排序规则。取值范围:C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX
53
+ */
54
+ readonly collate: pulumi.Output<string>;
55
+ /**
56
+ * 数据库名称。命名规则如下:长度 2~63 个字符。由字母、数字、下划线或中划线组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
57
+ */
58
+ readonly dbName: pulumi.Output<string>;
59
+ /**
60
+ * 数据库状态:Unavailable:不可用。Available:可用。
61
+ */
62
+ readonly dbStatus: pulumi.Output<string>;
63
+ /**
64
+ * 实例 ID
65
+ */
66
+ readonly instanceId: pulumi.Output<string>;
67
+ /**
68
+ * 数据库的 owner。说明:实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为数据库的 owner。不传值或传空值时,会为该字段取值为 rds superuser
69
+ */
70
+ readonly owner: pulumi.Output<string>;
71
+ /**
72
+ * Create a Database resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering Database resources.
82
+ */
83
+ export interface DatabaseState {
84
+ /**
85
+ * 字符分类。取值范围: C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX。
86
+ */
87
+ cType?: pulumi.Input<string>;
88
+ /**
89
+ * 数据库字符集。目前支持的字符集包含:utf8(默认)、latin1、ascii
90
+ */
91
+ characterSetName?: pulumi.Input<string>;
92
+ /**
93
+ * 排序规则。取值范围:C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX
94
+ */
95
+ collate?: pulumi.Input<string>;
96
+ /**
97
+ * 数据库名称。命名规则如下:长度 2~63 个字符。由字母、数字、下划线或中划线组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
98
+ */
99
+ dbName?: pulumi.Input<string>;
100
+ /**
101
+ * 数据库状态:Unavailable:不可用。Available:可用。
102
+ */
103
+ dbStatus?: pulumi.Input<string>;
104
+ /**
105
+ * 实例 ID
106
+ */
107
+ instanceId?: pulumi.Input<string>;
108
+ /**
109
+ * 数据库的 owner。说明:实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为数据库的 owner。不传值或传空值时,会为该字段取值为 rds superuser
110
+ */
111
+ owner?: pulumi.Input<string>;
112
+ }
113
+ /**
114
+ * The set of arguments for constructing a Database resource.
115
+ */
116
+ export interface DatabaseArgs {
117
+ /**
118
+ * 字符分类。取值范围: C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX。
119
+ */
120
+ cType?: pulumi.Input<string>;
121
+ /**
122
+ * 数据库字符集。目前支持的字符集包含:utf8(默认)、latin1、ascii
123
+ */
124
+ characterSetName?: pulumi.Input<string>;
125
+ /**
126
+ * 排序规则。取值范围:C(默认)、C.UTF-8、en*US.utf8、zh*CN.utf8 和 POSIX
127
+ */
128
+ collate?: pulumi.Input<string>;
129
+ /**
130
+ * 数据库名称。命名规则如下:长度 2~63 个字符。由字母、数字、下划线或中划线组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
131
+ */
132
+ dbName: pulumi.Input<string>;
133
+ /**
134
+ * 实例 ID
135
+ */
136
+ instanceId: pulumi.Input<string>;
137
+ /**
138
+ * 数据库的 owner。说明:实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为数据库的 owner。不传值或传空值时,会为该字段取值为 rds superuser
139
+ */
140
+ owner?: pulumi.Input<string>;
141
+ }