@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,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
5
+ */
6
+ export declare function getDbEndpoint(args: GetDbEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetDbEndpointResult>;
7
+ /**
8
+ * A collection of arguments for invoking getDbEndpoint.
9
+ */
10
+ export interface GetDbEndpointArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getDbEndpoint.
18
+ */
19
+ export interface GetDbEndpointResult {
20
+ /**
21
+ * 地址列表。
22
+ */
23
+ readonly addresses: outputs.rdspostgresql.GetDbEndpointAddress[];
24
+ /**
25
+ * 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
26
+ */
27
+ readonly autoAddNewNodes: string;
28
+ /**
29
+ * 地址描述。
30
+ */
31
+ readonly description: string;
32
+ /**
33
+ * 是否已开启全局只读。Enable:开启。Disable:未开启。
34
+ */
35
+ readonly enableReadOnly: string;
36
+ /**
37
+ * 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
38
+ */
39
+ readonly enableReadWriteSplitting: string;
40
+ /**
41
+ * 实例连接终端 ID。
42
+ */
43
+ readonly endpointId: string;
44
+ /**
45
+ * 实例连接终端名称。
46
+ */
47
+ readonly endpointName: string;
48
+ /**
49
+ * 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
50
+ */
51
+ readonly endpointType: string;
52
+ /**
53
+ * Uniquely identifies the resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * 实例 ID。
58
+ */
59
+ readonly instanceId: string;
60
+ /**
61
+ * 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
62
+ */
63
+ readonly nodes: string;
64
+ /**
65
+ * 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
66
+ */
67
+ readonly readOnlyNodeDistributionType: string;
68
+ /**
69
+ * 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
70
+ */
71
+ readonly readOnlyNodeMaxDelayTime: number;
72
+ /**
73
+ * 连接终端配置的节点列表及对应的只读权重。
74
+ */
75
+ readonly readOnlyNodeWeights: outputs.rdspostgresql.GetDbEndpointReadOnlyNodeWeight[];
76
+ /**
77
+ * 读写模式:ReadWrite:读写。ReadOnly:只读。
78
+ */
79
+ readonly readWriteMode: string;
80
+ /**
81
+ * 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
82
+ */
83
+ readonly readWriteProxyConnection: number;
84
+ /**
85
+ * 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
86
+ */
87
+ readonly writeNodeHaltWriting: boolean;
88
+ }
89
+ /**
90
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
91
+ */
92
+ export declare function getDbEndpointOutput(args: GetDbEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbEndpointResult>;
93
+ /**
94
+ * A collection of arguments for invoking getDbEndpoint.
95
+ */
96
+ export interface GetDbEndpointOutputArgs {
97
+ /**
98
+ * Uniquely identifies the resource.
99
+ */
100
+ id: pulumi.Input<string>;
101
+ }
@@ -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.getDbEndpointOutput = exports.getDbEndpoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
10
+ */
11
+ function getDbEndpoint(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getDbEndpoint:getDbEndpoint", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getDbEndpoint = getDbEndpoint;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
20
+ */
21
+ function getDbEndpointOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getDbEndpoint:getDbEndpoint", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getDbEndpointOutput = getDbEndpointOutput;
28
+ //# sourceMappingURL=getDbEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDbEndpoint.js","sourceRoot":"","sources":["../../rdspostgresql/getDbEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAqFD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
4
+ */
5
+ export declare function getDbEndpoints(opts?: pulumi.InvokeOptions): Promise<GetDbEndpointsResult>;
6
+ /**
7
+ * A collection of values returned by getDbEndpoints.
8
+ */
9
+ export interface GetDbEndpointsResult {
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::RDSPostgreSQL::DBEndpoint
21
+ */
22
+ export declare function getDbEndpointsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbEndpointsResult>;
@@ -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.getDbEndpointsOutput = exports.getDbEndpoints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
10
+ */
11
+ function getDbEndpoints(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getDbEndpoints:getDbEndpoints", {}, opts);
14
+ }
15
+ exports.getDbEndpoints = getDbEndpoints;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
18
+ */
19
+ function getDbEndpointsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getDbEndpoints:getDbEndpoints", {}, opts);
22
+ }
23
+ exports.getDbEndpointsOutput = getDbEndpointsOutput;
24
+ //# sourceMappingURL=getDbEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDbEndpoints.js","sourceRoot":"","sources":["../../rdspostgresql/getDbEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE,EAC5F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
@@ -0,0 +1,52 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::RDSPostgreSQL::Schema
4
+ */
5
+ export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
6
+ /**
7
+ * A collection of arguments for invoking getSchema.
8
+ */
9
+ export interface GetSchemaArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getSchema.
17
+ */
18
+ export interface GetSchemaResult {
19
+ /**
20
+ * 数据库名称
21
+ */
22
+ readonly dbName: string;
23
+ /**
24
+ * Uniquely identifies the resource.
25
+ */
26
+ readonly id: string;
27
+ /**
28
+ * 实例 ID
29
+ */
30
+ readonly instanceId: string;
31
+ /**
32
+ * Schema 的 owner。说明实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为 Schema 的 owner。
33
+ */
34
+ readonly owner: string;
35
+ /**
36
+ * Schema 名称。长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。不能以 pg* 开头
37
+ */
38
+ readonly schemaName: string;
39
+ }
40
+ /**
41
+ * Data Source schema for Byteplus::RDSPostgreSQL::Schema
42
+ */
43
+ export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchemaResult>;
44
+ /**
45
+ * A collection of arguments for invoking getSchema.
46
+ */
47
+ export interface GetSchemaOutputArgs {
48
+ /**
49
+ * Uniquely identifies the resource.
50
+ */
51
+ id: pulumi.Input<string>;
52
+ }
@@ -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.getSchemaOutput = exports.getSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::RDSPostgreSQL::Schema
10
+ */
11
+ function getSchema(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getSchema:getSchema", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getSchema = getSchema;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSPostgreSQL::Schema
20
+ */
21
+ function getSchemaOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getSchema:getSchema", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getSchemaOutput = getSchemaOutput;
28
+ //# sourceMappingURL=getSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchema.js","sourceRoot":"","sources":["../../rdspostgresql/getSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAqCD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::Schema
4
+ */
5
+ export declare function getSchemas(opts?: pulumi.InvokeOptions): Promise<GetSchemasResult>;
6
+ /**
7
+ * A collection of values returned by getSchemas.
8
+ */
9
+ export interface GetSchemasResult {
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::RDSPostgreSQL::Schema
21
+ */
22
+ export declare function getSchemasOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchemasResult>;
@@ -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.getSchemasOutput = exports.getSchemas = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::Schema
10
+ */
11
+ function getSchemas(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getSchemas:getSchemas", {}, opts);
14
+ }
15
+ exports.getSchemas = getSchemas;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::Schema
18
+ */
19
+ function getSchemasOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getSchemas:getSchemas", {}, opts);
22
+ }
23
+ exports.getSchemasOutput = getSchemasOutput;
24
+ //# sourceMappingURL=getSchemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchemas.js","sourceRoot":"","sources":["../../rdspostgresql/getSchemas.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
@@ -1,18 +1,45 @@
1
1
  export { AllowListArgs, AllowListState } from "./allowList";
2
2
  export type AllowList = import("./allowList").AllowList;
3
3
  export declare const AllowList: typeof import("./allowList").AllowList;
4
+ export { DatabaseArgs, DatabaseState } from "./database";
5
+ export type Database = import("./database").Database;
6
+ export declare const Database: typeof import("./database").Database;
4
7
  export { DbAccountArgs, DbAccountState } from "./dbAccount";
5
8
  export type DbAccount = import("./dbAccount").DbAccount;
6
9
  export declare const DbAccount: typeof import("./dbAccount").DbAccount;
10
+ export { DbEndpointArgs, DbEndpointState } from "./dbEndpoint";
11
+ export type DbEndpoint = import("./dbEndpoint").DbEndpoint;
12
+ export declare const DbEndpoint: typeof import("./dbEndpoint").DbEndpoint;
7
13
  export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
8
14
  export declare const getAllowList: typeof import("./getAllowList").getAllowList;
9
15
  export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
10
16
  export { GetAllowListsResult } from "./getAllowLists";
11
17
  export declare const getAllowLists: typeof import("./getAllowLists").getAllowLists;
12
18
  export declare const getAllowListsOutput: typeof import("./getAllowLists").getAllowListsOutput;
19
+ export { GetDatabaseArgs, GetDatabaseResult, GetDatabaseOutputArgs } from "./getDatabase";
20
+ export declare const getDatabase: typeof import("./getDatabase").getDatabase;
21
+ export declare const getDatabaseOutput: typeof import("./getDatabase").getDatabaseOutput;
22
+ export { GetDatabasesResult } from "./getDatabases";
23
+ export declare const getDatabases: typeof import("./getDatabases").getDatabases;
24
+ export declare const getDatabasesOutput: typeof import("./getDatabases").getDatabasesOutput;
13
25
  export { GetDbAccountArgs, GetDbAccountResult, GetDbAccountOutputArgs } from "./getDbAccount";
14
26
  export declare const getDbAccount: typeof import("./getDbAccount").getDbAccount;
15
27
  export declare const getDbAccountOutput: typeof import("./getDbAccount").getDbAccountOutput;
16
28
  export { GetDbAccountsResult } from "./getDbAccounts";
17
29
  export declare const getDbAccounts: typeof import("./getDbAccounts").getDbAccounts;
18
30
  export declare const getDbAccountsOutput: typeof import("./getDbAccounts").getDbAccountsOutput;
31
+ export { GetDbEndpointArgs, GetDbEndpointResult, GetDbEndpointOutputArgs } from "./getDbEndpoint";
32
+ export declare const getDbEndpoint: typeof import("./getDbEndpoint").getDbEndpoint;
33
+ export declare const getDbEndpointOutput: typeof import("./getDbEndpoint").getDbEndpointOutput;
34
+ export { GetDbEndpointsResult } from "./getDbEndpoints";
35
+ export declare const getDbEndpoints: typeof import("./getDbEndpoints").getDbEndpoints;
36
+ export declare const getDbEndpointsOutput: typeof import("./getDbEndpoints").getDbEndpointsOutput;
37
+ export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema";
38
+ export declare const getSchema: typeof import("./getSchema").getSchema;
39
+ export declare const getSchemaOutput: typeof import("./getSchema").getSchemaOutput;
40
+ export { GetSchemasResult } from "./getSchemas";
41
+ export declare const getSchemas: typeof import("./getSchemas").getSchemas;
42
+ export declare const getSchemasOutput: typeof import("./getSchemas").getSchemasOutput;
43
+ export { SchemaArgs, SchemaState } from "./schema";
44
+ export type Schema = import("./schema").Schema;
45
+ export declare const Schema: typeof import("./schema").Schema;
@@ -2,38 +2,71 @@
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.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.DbAccount = exports.AllowList = void 0;
5
+ exports.Schema = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaOutput = exports.getSchema = exports.getDbEndpointsOutput = exports.getDbEndpoints = exports.getDbEndpointOutput = exports.getDbEndpoint = exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getDatabasesOutput = exports.getDatabases = exports.getDatabaseOutput = exports.getDatabase = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.DbEndpoint = exports.DbAccount = exports.Database = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AllowList = null;
9
9
  utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
10
+ exports.Database = null;
11
+ utilities.lazyLoad(exports, ["Database"], () => require("./database"));
10
12
  exports.DbAccount = null;
11
13
  utilities.lazyLoad(exports, ["DbAccount"], () => require("./dbAccount"));
14
+ exports.DbEndpoint = null;
15
+ utilities.lazyLoad(exports, ["DbEndpoint"], () => require("./dbEndpoint"));
12
16
  exports.getAllowList = null;
13
17
  exports.getAllowListOutput = null;
14
18
  utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
15
19
  exports.getAllowLists = null;
16
20
  exports.getAllowListsOutput = null;
17
21
  utilities.lazyLoad(exports, ["getAllowLists", "getAllowListsOutput"], () => require("./getAllowLists"));
22
+ exports.getDatabase = null;
23
+ exports.getDatabaseOutput = null;
24
+ utilities.lazyLoad(exports, ["getDatabase", "getDatabaseOutput"], () => require("./getDatabase"));
25
+ exports.getDatabases = null;
26
+ exports.getDatabasesOutput = null;
27
+ utilities.lazyLoad(exports, ["getDatabases", "getDatabasesOutput"], () => require("./getDatabases"));
18
28
  exports.getDbAccount = null;
19
29
  exports.getDbAccountOutput = null;
20
30
  utilities.lazyLoad(exports, ["getDbAccount", "getDbAccountOutput"], () => require("./getDbAccount"));
21
31
  exports.getDbAccounts = null;
22
32
  exports.getDbAccountsOutput = null;
23
33
  utilities.lazyLoad(exports, ["getDbAccounts", "getDbAccountsOutput"], () => require("./getDbAccounts"));
34
+ exports.getDbEndpoint = null;
35
+ exports.getDbEndpointOutput = null;
36
+ utilities.lazyLoad(exports, ["getDbEndpoint", "getDbEndpointOutput"], () => require("./getDbEndpoint"));
37
+ exports.getDbEndpoints = null;
38
+ exports.getDbEndpointsOutput = null;
39
+ utilities.lazyLoad(exports, ["getDbEndpoints", "getDbEndpointsOutput"], () => require("./getDbEndpoints"));
40
+ exports.getSchema = null;
41
+ exports.getSchemaOutput = null;
42
+ utilities.lazyLoad(exports, ["getSchema", "getSchemaOutput"], () => require("./getSchema"));
43
+ exports.getSchemas = null;
44
+ exports.getSchemasOutput = null;
45
+ utilities.lazyLoad(exports, ["getSchemas", "getSchemasOutput"], () => require("./getSchemas"));
46
+ exports.Schema = null;
47
+ utilities.lazyLoad(exports, ["Schema"], () => require("./schema"));
24
48
  const _module = {
25
49
  version: utilities.getVersion(),
26
50
  construct: (name, type, urn) => {
27
51
  switch (type) {
28
52
  case "bytepluscc:rdspostgresql/allowList:AllowList":
29
53
  return new exports.AllowList(name, undefined, { urn });
54
+ case "bytepluscc:rdspostgresql/database:Database":
55
+ return new exports.Database(name, undefined, { urn });
30
56
  case "bytepluscc:rdspostgresql/dbAccount:DbAccount":
31
57
  return new exports.DbAccount(name, undefined, { urn });
58
+ case "bytepluscc:rdspostgresql/dbEndpoint:DbEndpoint":
59
+ return new exports.DbEndpoint(name, undefined, { urn });
60
+ case "bytepluscc:rdspostgresql/schema:Schema":
61
+ return new exports.Schema(name, undefined, { urn });
32
62
  default:
33
63
  throw new Error(`unknown resource type ${type}`);
34
64
  }
35
65
  },
36
66
  };
37
67
  pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/allowList", _module);
68
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/database", _module);
38
69
  pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/dbAccount", _module);
70
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/dbEndpoint", _module);
71
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/schema", _module);
39
72
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../rdspostgresql/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAA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AI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,8CAA8C;gBAC/C,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,gDAAgD;gBACjD,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,wCAAwC;gBACzC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * RDS PostgreSQL Schema 资源类型
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 rDSPostgreSQLSchemaDemo = new bytepluscc.rdspostgresql.Schema("RDSPostgreSQLSchemaDemo", {
12
+ * instanceId: "postgres-8d1fcxxxxx",
13
+ * dbName: "ccapi-terraform-1001",
14
+ * schemaName: "ccapi-terraform-1",
15
+ * owner: "test",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * ```sh
22
+ * $ pulumi import bytepluscc:rdspostgresql/schema:Schema example "instance_id|db_name|schema_name"
23
+ * ```
24
+ */
25
+ export declare class Schema extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing Schema resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaState, opts?: pulumi.CustomResourceOptions): Schema;
36
+ /**
37
+ * Returns true if the given object is an instance of Schema. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is Schema;
41
+ /**
42
+ * 数据库名称
43
+ */
44
+ readonly dbName: pulumi.Output<string>;
45
+ /**
46
+ * 实例 ID
47
+ */
48
+ readonly instanceId: pulumi.Output<string>;
49
+ /**
50
+ * Schema 的 owner。说明实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为 Schema 的 owner。
51
+ */
52
+ readonly owner: pulumi.Output<string>;
53
+ /**
54
+ * Schema 名称。长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。不能以 pg* 开头
55
+ */
56
+ readonly schemaName: pulumi.Output<string>;
57
+ /**
58
+ * Create a Schema resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: SchemaArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering Schema resources.
68
+ */
69
+ export interface SchemaState {
70
+ /**
71
+ * 数据库名称
72
+ */
73
+ dbName?: pulumi.Input<string>;
74
+ /**
75
+ * 实例 ID
76
+ */
77
+ instanceId?: pulumi.Input<string>;
78
+ /**
79
+ * Schema 的 owner。说明实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为 Schema 的 owner。
80
+ */
81
+ owner?: pulumi.Input<string>;
82
+ /**
83
+ * Schema 名称。长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。不能以 pg* 开头
84
+ */
85
+ schemaName?: pulumi.Input<string>;
86
+ }
87
+ /**
88
+ * The set of arguments for constructing a Schema resource.
89
+ */
90
+ export interface SchemaArgs {
91
+ /**
92
+ * 数据库名称
93
+ */
94
+ dbName: pulumi.Input<string>;
95
+ /**
96
+ * 实例 ID
97
+ */
98
+ instanceId: pulumi.Input<string>;
99
+ /**
100
+ * Schema 的 owner。说明实例只读账号、被禁用了 DDL 权限的高权限账号或被禁用了 DDL 权限的普通账号不能作为 Schema 的 owner。
101
+ */
102
+ owner: pulumi.Input<string>;
103
+ /**
104
+ * Schema 名称。长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。不能以 pg* 开头
105
+ */
106
+ schemaName: pulumi.Input<string>;
107
+ }