@byteplus/pulumi-bytepluscc 0.0.32 → 0.0.34

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 (166) hide show
  1. package/alb/getLoadBalancer.d.ts +8 -0
  2. package/alb/getLoadBalancer.js.map +1 -1
  3. package/alb/loadBalancer.d.ts +24 -0
  4. package/alb/loadBalancer.js +4 -0
  5. package/alb/loadBalancer.js.map +1 -1
  6. package/clb/checkLogProject.d.ts +62 -0
  7. package/clb/checkLogProject.js +67 -0
  8. package/clb/checkLogProject.js.map +1 -0
  9. package/clb/checkLogTopic.d.ts +81 -0
  10. package/clb/checkLogTopic.js +78 -0
  11. package/clb/checkLogTopic.js.map +1 -0
  12. package/clb/clb.d.ts +0 -8
  13. package/clb/clb.js +2 -2
  14. package/clb/clb.js.map +1 -1
  15. package/clb/getCheckLogProject.d.ts +40 -0
  16. package/clb/getCheckLogProject.js +28 -0
  17. package/clb/getCheckLogProject.js.map +1 -0
  18. package/clb/getCheckLogProjects.d.ts +22 -0
  19. package/clb/getCheckLogProjects.js +24 -0
  20. package/clb/getCheckLogProjects.js.map +1 -0
  21. package/clb/getCheckLogTopic.d.ts +44 -0
  22. package/clb/getCheckLogTopic.js +28 -0
  23. package/clb/getCheckLogTopic.js.map +1 -0
  24. package/clb/getCheckLogTopics.d.ts +22 -0
  25. package/clb/getCheckLogTopics.js +24 -0
  26. package/clb/getCheckLogTopics.js.map +1 -0
  27. package/clb/index.d.ts +18 -0
  28. package/clb/index.js +24 -1
  29. package/clb/index.js.map +1 -1
  30. package/cloudmonitor/contactGroup.d.ts +15 -15
  31. package/cloudmonitor/contactGroup.js +1 -1
  32. package/cloudmonitor/getContactGroup.d.ts +7 -7
  33. package/directconnect/bgpPeer.d.ts +189 -0
  34. package/directconnect/bgpPeer.js +104 -0
  35. package/directconnect/bgpPeer.js.map +1 -0
  36. package/directconnect/getBgpPeer.d.ts +88 -0
  37. package/directconnect/getBgpPeer.js +28 -0
  38. package/directconnect/getBgpPeer.js.map +1 -0
  39. package/directconnect/getBgpPeers.d.ts +22 -0
  40. package/directconnect/getBgpPeers.js +24 -0
  41. package/directconnect/getBgpPeers.js.map +1 -0
  42. package/directconnect/index.d.ts +9 -0
  43. package/directconnect/index.js +12 -1
  44. package/directconnect/index.js.map +1 -1
  45. package/dns/getRecord.d.ts +104 -0
  46. package/dns/getRecord.js +28 -0
  47. package/dns/getRecord.js.map +1 -0
  48. package/dns/getRecords.d.ts +22 -0
  49. package/dns/getRecords.js +24 -0
  50. package/dns/getRecords.js.map +1 -0
  51. package/dns/index.d.ts +9 -0
  52. package/dns/index.js +12 -1
  53. package/dns/index.js.map +1 -1
  54. package/dns/record.d.ts +236 -0
  55. package/dns/record.js +121 -0
  56. package/dns/record.js.map +1 -0
  57. package/gtm/getGtm.d.ts +100 -0
  58. package/gtm/getGtm.js +28 -0
  59. package/gtm/getGtm.js.map +1 -0
  60. package/gtm/getGtms.d.ts +22 -0
  61. package/gtm/getGtms.js +24 -0
  62. package/gtm/getGtms.js.map +1 -0
  63. package/gtm/getRouting.d.ts +48 -0
  64. package/gtm/getRouting.js +28 -0
  65. package/gtm/getRouting.js.map +1 -0
  66. package/gtm/getRoutings.d.ts +22 -0
  67. package/gtm/getRoutings.js +24 -0
  68. package/gtm/getRoutings.js.map +1 -0
  69. package/gtm/getRule.d.ts +105 -0
  70. package/gtm/getRule.js +28 -0
  71. package/gtm/getRule.js.map +1 -0
  72. package/gtm/getRules.d.ts +22 -0
  73. package/gtm/getRules.js +24 -0
  74. package/gtm/getRules.js.map +1 -0
  75. package/gtm/gtm.d.ts +228 -0
  76. package/gtm/gtm.js +113 -0
  77. package/gtm/gtm.js.map +1 -0
  78. package/gtm/index.d.ts +27 -0
  79. package/gtm/index.js +34 -1
  80. package/gtm/index.js.map +1 -1
  81. package/gtm/routing.d.ts +89 -0
  82. package/gtm/routing.js +74 -0
  83. package/gtm/routing.js.map +1 -0
  84. package/gtm/rule.d.ts +226 -0
  85. package/gtm/rule.js +99 -0
  86. package/gtm/rule.js.map +1 -0
  87. package/kafka/getUser.d.ts +34 -0
  88. package/kafka/getUser.js +28 -0
  89. package/kafka/getUser.js.map +1 -0
  90. package/kafka/getUsers.d.ts +22 -0
  91. package/kafka/getUsers.js +24 -0
  92. package/kafka/getUsers.js.map +1 -0
  93. package/kafka/index.d.ts +9 -0
  94. package/kafka/index.js +12 -1
  95. package/kafka/index.js.map +1 -1
  96. package/kafka/user.d.ts +155 -0
  97. package/kafka/user.js +97 -0
  98. package/kafka/user.js.map +1 -0
  99. package/mongodb/account.d.ts +146 -0
  100. package/mongodb/account.js +82 -0
  101. package/mongodb/account.js.map +1 -0
  102. package/mongodb/getAccount.d.ts +77 -0
  103. package/mongodb/getAccount.js +28 -0
  104. package/mongodb/getAccount.js.map +1 -0
  105. package/mongodb/getAccounts.d.ts +22 -0
  106. package/mongodb/getAccounts.js +24 -0
  107. package/mongodb/getAccounts.js.map +1 -0
  108. package/mongodb/index.d.ts +9 -0
  109. package/mongodb/index.js +12 -1
  110. package/mongodb/index.js.map +1 -1
  111. package/package.json +1 -1
  112. package/rdsmysql/endpointPublicAddress.d.ts +182 -0
  113. package/rdsmysql/endpointPublicAddress.js +104 -0
  114. package/rdsmysql/endpointPublicAddress.js.map +1 -0
  115. package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
  116. package/rdsmysql/getEndpointPublicAddress.js +28 -0
  117. package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
  118. package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
  119. package/rdsmysql/getEndpointPublicAddresses.js +24 -0
  120. package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
  121. package/rdsmysql/index.d.ts +9 -0
  122. package/rdsmysql/index.js +12 -1
  123. package/rdsmysql/index.js.map +1 -1
  124. package/rdspostgresql/getInstance.d.ts +8 -0
  125. package/rdspostgresql/getInstance.js.map +1 -1
  126. package/rdspostgresql/instance.d.ts +15 -0
  127. package/rdspostgresql/instance.js +4 -0
  128. package/rdspostgresql/instance.js.map +1 -1
  129. package/transitrouter/getRouteTablePropagation.d.ts +52 -0
  130. package/transitrouter/getRouteTablePropagation.js +28 -0
  131. package/transitrouter/getRouteTablePropagation.js.map +1 -0
  132. package/transitrouter/getRouteTablePropagations.d.ts +22 -0
  133. package/transitrouter/getRouteTablePropagations.js +24 -0
  134. package/transitrouter/getRouteTablePropagations.js.map +1 -0
  135. package/transitrouter/index.d.ts +9 -0
  136. package/transitrouter/index.js +12 -1
  137. package/transitrouter/index.js.map +1 -1
  138. package/transitrouter/routeTablePropagation.d.ts +97 -0
  139. package/transitrouter/routeTablePropagation.js +82 -0
  140. package/transitrouter/routeTablePropagation.js.map +1 -0
  141. package/types/input.d.ts +235 -5
  142. package/types/output.d.ts +493 -13
  143. package/vepfs/fileset.d.ts +202 -0
  144. package/vepfs/fileset.js +106 -0
  145. package/vepfs/fileset.js.map +1 -0
  146. package/vepfs/getFileset.d.ts +41 -0
  147. package/vepfs/getFileset.js +28 -0
  148. package/vepfs/getFileset.js.map +1 -0
  149. package/vepfs/getFilesets.d.ts +22 -0
  150. package/vepfs/getFilesets.js +24 -0
  151. package/vepfs/getFilesets.js.map +1 -0
  152. package/vepfs/index.d.ts +9 -0
  153. package/vepfs/index.js +12 -1
  154. package/vepfs/index.js.map +1 -1
  155. package/vmp/getRuleFile.d.ts +37 -0
  156. package/vmp/getRuleFile.js +28 -0
  157. package/vmp/getRuleFile.js.map +1 -0
  158. package/vmp/getRuleFiles.d.ts +22 -0
  159. package/vmp/getRuleFiles.js +24 -0
  160. package/vmp/getRuleFiles.js.map +1 -0
  161. package/vmp/index.d.ts +9 -0
  162. package/vmp/index.js +12 -1
  163. package/vmp/index.js.map +1 -1
  164. package/vmp/ruleFile.d.ts +172 -0
  165. package/vmp/ruleFile.js +104 -0
  166. package/vmp/ruleFile.js.map +1 -0
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::MongoDB::Account
4
+ */
5
+ export declare function getAccounts(opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
6
+ /**
7
+ * A collection of values returned by getAccounts.
8
+ */
9
+ export interface GetAccountsResult {
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::MongoDB::Account
21
+ */
22
+ export declare function getAccountsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountsResult>;
@@ -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.getAccountsOutput = exports.getAccounts = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::MongoDB::Account
10
+ */
11
+ function getAccounts(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:mongodb/getAccounts:getAccounts", {}, opts);
14
+ }
15
+ exports.getAccounts = getAccounts;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::MongoDB::Account
18
+ */
19
+ function getAccountsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:mongodb/getAccounts:getAccounts", {}, opts);
22
+ }
23
+ exports.getAccountsOutput = getAccountsOutput;
24
+ //# sourceMappingURL=getAccounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../../mongodb/getAccounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
@@ -1,6 +1,15 @@
1
+ export { AccountArgs, AccountState } from "./account";
2
+ export type Account = import("./account").Account;
3
+ export declare const Account: typeof import("./account").Account;
1
4
  export { AllowListArgs, AllowListState } from "./allowList";
2
5
  export type AllowList = import("./allowList").AllowList;
3
6
  export declare const AllowList: typeof import("./allowList").AllowList;
7
+ export { GetAccountArgs, GetAccountResult, GetAccountOutputArgs } from "./getAccount";
8
+ export declare const getAccount: typeof import("./getAccount").getAccount;
9
+ export declare const getAccountOutput: typeof import("./getAccount").getAccountOutput;
10
+ export { GetAccountsResult } from "./getAccounts";
11
+ export declare const getAccounts: typeof import("./getAccounts").getAccounts;
12
+ export declare const getAccountsOutput: typeof import("./getAccounts").getAccountsOutput;
4
13
  export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
5
14
  export declare const getAllowList: typeof import("./getAllowList").getAllowList;
6
15
  export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
package/mongodb/index.js CHANGED
@@ -2,11 +2,19 @@
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.SslState = exports.Instance = exports.getSslStatesOutput = exports.getSslStates = exports.getSslStateOutput = exports.getSslState = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
5
+ exports.SslState = exports.Instance = exports.getSslStatesOutput = exports.getSslStates = exports.getSslStateOutput = exports.getSslState = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.getAccountsOutput = exports.getAccounts = exports.getAccountOutput = exports.getAccount = exports.AllowList = exports.Account = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.Account = null;
9
+ utilities.lazyLoad(exports, ["Account"], () => require("./account"));
8
10
  exports.AllowList = null;
9
11
  utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
12
+ exports.getAccount = null;
13
+ exports.getAccountOutput = null;
14
+ utilities.lazyLoad(exports, ["getAccount", "getAccountOutput"], () => require("./getAccount"));
15
+ exports.getAccounts = null;
16
+ exports.getAccountsOutput = null;
17
+ utilities.lazyLoad(exports, ["getAccounts", "getAccountsOutput"], () => require("./getAccounts"));
10
18
  exports.getAllowList = null;
11
19
  exports.getAllowListOutput = null;
12
20
  utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
@@ -33,6 +41,8 @@ const _module = {
33
41
  version: utilities.getVersion(),
34
42
  construct: (name, type, urn) => {
35
43
  switch (type) {
44
+ case "bytepluscc:mongodb/account:Account":
45
+ return new exports.Account(name, undefined, { urn });
36
46
  case "bytepluscc:mongodb/allowList:AllowList":
37
47
  return new exports.AllowList(name, undefined, { urn });
38
48
  case "bytepluscc:mongodb/instance:Instance":
@@ -44,6 +54,7 @@ const _module = {
44
54
  }
45
55
  },
46
56
  };
57
+ pulumi.runtime.registerResourceModule("bytepluscc", "mongodb/account", _module);
47
58
  pulumi.runtime.registerResourceModule("bytepluscc", "mongodb/allowList", _module);
48
59
  pulumi.runtime.registerResourceModule("bytepluscc", "mongodb/instance", _module);
49
60
  pulumi.runtime.registerResourceModule("bytepluscc", "mongodb/sslState", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../mongodb/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;AAG5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,YAAY,GA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,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/pulumi-bytepluscc",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "A Pulumi package to safely use byteplus Resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "byteplus",
@@ -0,0 +1,182 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Instance connection endpoint public address.
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 endpointPublicAddressDemo = new bytepluscc.rdsmysql.EndpointPublicAddress("EndpointPublicAddressDemo", {
12
+ * instanceId: "mysql-f9fe535xxxxx",
13
+ * endpointId: "mysql-f9fe53xxxxxa-cluster",
14
+ * eipId: "eip-37vr7k7r9t3b44etmwxxxxx",
15
+ * domainPrefix: "ccapi-terraform",
16
+ * port: "23306",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * ```sh
23
+ * $ pulumi import bytepluscc:rdsmysql/endpointPublicAddress:EndpointPublicAddress example "instance_id|endpoint_id"
24
+ * ```
25
+ */
26
+ export declare class EndpointPublicAddress extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointPublicAddressState, opts?: pulumi.CustomResourceOptions): EndpointPublicAddress;
37
+ /**
38
+ * Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is EndpointPublicAddress;
42
+ /**
43
+ * - false: private network resolution (default) - true: private and public network resolution
44
+ */
45
+ readonly dnsVisibility: pulumi.Output<boolean>;
46
+ /**
47
+ * Connection domain name.
48
+ */
49
+ readonly domain: pulumi.Output<string>;
50
+ /**
51
+ * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
52
+ * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
53
+ * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
54
+ */
55
+ readonly domainPrefix: pulumi.Output<string>;
56
+ /**
57
+ * EIP ID, valid only for Public addresses.
58
+ */
59
+ readonly eipId: pulumi.Output<string>;
60
+ /**
61
+ * Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No
62
+ */
63
+ readonly eipLocked: pulumi.Output<boolean>;
64
+ /**
65
+ * Instance connection endpoint ID.
66
+ */
67
+ readonly endpointId: pulumi.Output<string>;
68
+ /**
69
+ * Instance ID.
70
+ */
71
+ readonly instanceId: pulumi.Output<string>;
72
+ /**
73
+ * IP protocol version. Value: IPv4.
74
+ */
75
+ readonly internetProtocol: pulumi.Output<string>;
76
+ /**
77
+ * IP address.
78
+ */
79
+ readonly ipAddress: pulumi.Output<string>;
80
+ /**
81
+ * Network address type. Valid values: Private: Private address. Public: Public address.
82
+ */
83
+ readonly networkType: pulumi.Output<string>;
84
+ /**
85
+ * Port.
86
+ */
87
+ readonly port: pulumi.Output<string>;
88
+ /**
89
+ * Subnet ID, valid only for Private addresses.
90
+ */
91
+ readonly subnetId: pulumi.Output<string>;
92
+ /**
93
+ * Create a EndpointPublicAddress resource with the given unique name, arguments, and options.
94
+ *
95
+ * @param name The _unique_ name of the resource.
96
+ * @param args The arguments to use to populate this resource's properties.
97
+ * @param opts A bag of options that control this resource's behavior.
98
+ */
99
+ constructor(name: string, args: EndpointPublicAddressArgs, opts?: pulumi.CustomResourceOptions);
100
+ }
101
+ /**
102
+ * Input properties used for looking up and filtering EndpointPublicAddress resources.
103
+ */
104
+ export interface EndpointPublicAddressState {
105
+ /**
106
+ * - false: private network resolution (default) - true: private and public network resolution
107
+ */
108
+ dnsVisibility?: pulumi.Input<boolean>;
109
+ /**
110
+ * Connection domain name.
111
+ */
112
+ domain?: pulumi.Input<string>;
113
+ /**
114
+ * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
115
+ * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
116
+ * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
117
+ */
118
+ domainPrefix?: pulumi.Input<string>;
119
+ /**
120
+ * EIP ID, valid only for Public addresses.
121
+ */
122
+ eipId?: pulumi.Input<string>;
123
+ /**
124
+ * Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No
125
+ */
126
+ eipLocked?: pulumi.Input<boolean>;
127
+ /**
128
+ * Instance connection endpoint ID.
129
+ */
130
+ endpointId?: pulumi.Input<string>;
131
+ /**
132
+ * Instance ID.
133
+ */
134
+ instanceId?: pulumi.Input<string>;
135
+ /**
136
+ * IP protocol version. Value: IPv4.
137
+ */
138
+ internetProtocol?: pulumi.Input<string>;
139
+ /**
140
+ * IP address.
141
+ */
142
+ ipAddress?: pulumi.Input<string>;
143
+ /**
144
+ * Network address type. Valid values: Private: Private address. Public: Public address.
145
+ */
146
+ networkType?: pulumi.Input<string>;
147
+ /**
148
+ * Port.
149
+ */
150
+ port?: pulumi.Input<string>;
151
+ /**
152
+ * Subnet ID, valid only for Private addresses.
153
+ */
154
+ subnetId?: pulumi.Input<string>;
155
+ }
156
+ /**
157
+ * The set of arguments for constructing a EndpointPublicAddress resource.
158
+ */
159
+ export interface EndpointPublicAddressArgs {
160
+ /**
161
+ * Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
162
+ * letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
163
+ * be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
164
+ */
165
+ domainPrefix?: pulumi.Input<string>;
166
+ /**
167
+ * EIP ID, valid only for Public addresses.
168
+ */
169
+ eipId: pulumi.Input<string>;
170
+ /**
171
+ * Instance connection endpoint ID.
172
+ */
173
+ endpointId: pulumi.Input<string>;
174
+ /**
175
+ * Instance ID.
176
+ */
177
+ instanceId: pulumi.Input<string>;
178
+ /**
179
+ * Port.
180
+ */
181
+ port?: pulumi.Input<string>;
182
+ }
@@ -0,0 +1,104 @@
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.EndpointPublicAddress = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Instance connection endpoint public address.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
16
+ *
17
+ * const endpointPublicAddressDemo = new bytepluscc.rdsmysql.EndpointPublicAddress("EndpointPublicAddressDemo", {
18
+ * instanceId: "mysql-f9fe535xxxxx",
19
+ * endpointId: "mysql-f9fe53xxxxxa-cluster",
20
+ * eipId: "eip-37vr7k7r9t3b44etmwxxxxx",
21
+ * domainPrefix: "ccapi-terraform",
22
+ * port: "23306",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * ```sh
29
+ * $ pulumi import bytepluscc:rdsmysql/endpointPublicAddress:EndpointPublicAddress example "instance_id|endpoint_id"
30
+ * ```
31
+ */
32
+ class EndpointPublicAddress extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new EndpointPublicAddress(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === EndpointPublicAddress.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["dnsVisibility"] = state ? state.dnsVisibility : undefined;
61
+ resourceInputs["domain"] = state ? state.domain : undefined;
62
+ resourceInputs["domainPrefix"] = state ? state.domainPrefix : undefined;
63
+ resourceInputs["eipId"] = state ? state.eipId : undefined;
64
+ resourceInputs["eipLocked"] = state ? state.eipLocked : undefined;
65
+ resourceInputs["endpointId"] = state ? state.endpointId : undefined;
66
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
67
+ resourceInputs["internetProtocol"] = state ? state.internetProtocol : undefined;
68
+ resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
69
+ resourceInputs["networkType"] = state ? state.networkType : undefined;
70
+ resourceInputs["port"] = state ? state.port : undefined;
71
+ resourceInputs["subnetId"] = state ? state.subnetId : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.eipId === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'eipId'");
77
+ }
78
+ if ((!args || args.endpointId === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'endpointId'");
80
+ }
81
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'instanceId'");
83
+ }
84
+ resourceInputs["domainPrefix"] = args ? args.domainPrefix : undefined;
85
+ resourceInputs["eipId"] = args ? args.eipId : undefined;
86
+ resourceInputs["endpointId"] = args ? args.endpointId : undefined;
87
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
88
+ resourceInputs["port"] = args ? args.port : undefined;
89
+ resourceInputs["dnsVisibility"] = undefined /*out*/;
90
+ resourceInputs["domain"] = undefined /*out*/;
91
+ resourceInputs["eipLocked"] = undefined /*out*/;
92
+ resourceInputs["internetProtocol"] = undefined /*out*/;
93
+ resourceInputs["ipAddress"] = undefined /*out*/;
94
+ resourceInputs["networkType"] = undefined /*out*/;
95
+ resourceInputs["subnetId"] = undefined /*out*/;
96
+ }
97
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
+ super(EndpointPublicAddress.__pulumiType, name, resourceInputs, opts);
99
+ }
100
+ }
101
+ exports.EndpointPublicAddress = EndpointPublicAddress;
102
+ /** @internal */
103
+ EndpointPublicAddress.__pulumiType = 'bytepluscc:rdsmysql/endpointPublicAddress:EndpointPublicAddress';
104
+ //# sourceMappingURL=endpointPublicAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpointPublicAddress.js","sourceRoot":"","sources":["../../rdsmysql/endpointPublicAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAC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,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAlIL,sDAmIC;AArHG,gBAAgB;AACO,kCAAY,GAAG,iEAAiE,CAAC"}
@@ -0,0 +1,39 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
4
+ */
5
+ export declare function getEndpointPublicAddress(args: GetEndpointPublicAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointPublicAddressResult>;
6
+ /**
7
+ * A collection of arguments for invoking getEndpointPublicAddress.
8
+ */
9
+ export interface GetEndpointPublicAddressArgs {
10
+ id: string;
11
+ }
12
+ /**
13
+ * A collection of values returned by getEndpointPublicAddress.
14
+ */
15
+ export interface GetEndpointPublicAddressResult {
16
+ readonly dnsVisibility: boolean;
17
+ readonly domain: string;
18
+ readonly domainPrefix: string;
19
+ readonly eipId: string;
20
+ readonly eipLocked: boolean;
21
+ readonly endpointId: string;
22
+ readonly id: string;
23
+ readonly instanceId: string;
24
+ readonly internetProtocol: string;
25
+ readonly ipAddress: string;
26
+ readonly networkType: string;
27
+ readonly port: string;
28
+ readonly subnetId: string;
29
+ }
30
+ /**
31
+ * Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
32
+ */
33
+ export declare function getEndpointPublicAddressOutput(args: GetEndpointPublicAddressOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointPublicAddressResult>;
34
+ /**
35
+ * A collection of arguments for invoking getEndpointPublicAddress.
36
+ */
37
+ export interface GetEndpointPublicAddressOutputArgs {
38
+ id: pulumi.Input<string>;
39
+ }
@@ -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.getEndpointPublicAddressOutput = exports.getEndpointPublicAddress = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
10
+ */
11
+ function getEndpointPublicAddress(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdsmysql/getEndpointPublicAddress:getEndpointPublicAddress", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getEndpointPublicAddress = getEndpointPublicAddress;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
20
+ */
21
+ function getEndpointPublicAddressOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdsmysql/getEndpointPublicAddress:getEndpointPublicAddress", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getEndpointPublicAddressOutput = getEndpointPublicAddressOutput;
28
+ //# sourceMappingURL=getEndpointPublicAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEndpointPublicAddress.js","sourceRoot":"","sources":["../../rdsmysql/getEndpointPublicAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC;AA2BD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wEAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
4
+ */
5
+ export declare function getEndpointPublicAddresses(opts?: pulumi.InvokeOptions): Promise<GetEndpointPublicAddressesResult>;
6
+ /**
7
+ * A collection of values returned by getEndpointPublicAddresses.
8
+ */
9
+ export interface GetEndpointPublicAddressesResult {
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::RDSMySQL::EndpointPublicAddress
21
+ */
22
+ export declare function getEndpointPublicAddressesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointPublicAddressesResult>;
@@ -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.getEndpointPublicAddressesOutput = exports.getEndpointPublicAddresses = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
10
+ */
11
+ function getEndpointPublicAddresses(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdsmysql/getEndpointPublicAddresses:getEndpointPublicAddresses", {}, opts);
14
+ }
15
+ exports.getEndpointPublicAddresses = getEndpointPublicAddresses;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::RDSMySQL::EndpointPublicAddress
18
+ */
19
+ function getEndpointPublicAddressesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:rdsmysql/getEndpointPublicAddresses:getEndpointPublicAddresses", {}, opts);
22
+ }
23
+ exports.getEndpointPublicAddressesOutput = getEndpointPublicAddressesOutput;
24
+ //# sourceMappingURL=getEndpointPublicAddresses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEndpointPublicAddresses.js","sourceRoot":"","sources":["../../rdsmysql/getEndpointPublicAddresses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2EAA2E,EAAE,EACzG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC;AAeD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAAiC;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2EAA2E,EAAE,EAC/G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4EAIC"}
@@ -13,6 +13,9 @@ export declare const DbAccount: typeof import("./dbAccount").DbAccount;
13
13
  export { EndpointArgs, EndpointState } from "./endpoint";
14
14
  export type Endpoint = import("./endpoint").Endpoint;
15
15
  export declare const Endpoint: typeof import("./endpoint").Endpoint;
16
+ export { EndpointPublicAddressArgs, EndpointPublicAddressState } from "./endpointPublicAddress";
17
+ export type EndpointPublicAddress = import("./endpointPublicAddress").EndpointPublicAddress;
18
+ export declare const EndpointPublicAddress: typeof import("./endpointPublicAddress").EndpointPublicAddress;
16
19
  export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
17
20
  export declare const getAllowList: typeof import("./getAllowList").getAllowList;
18
21
  export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
@@ -40,6 +43,12 @@ export declare const getDbAccountsOutput: typeof import("./getDbAccounts").getDb
40
43
  export { GetEndpointArgs, GetEndpointResult, GetEndpointOutputArgs } from "./getEndpoint";
41
44
  export declare const getEndpoint: typeof import("./getEndpoint").getEndpoint;
42
45
  export declare const getEndpointOutput: typeof import("./getEndpoint").getEndpointOutput;
46
+ export { GetEndpointPublicAddressArgs, GetEndpointPublicAddressResult, GetEndpointPublicAddressOutputArgs } from "./getEndpointPublicAddress";
47
+ export declare const getEndpointPublicAddress: typeof import("./getEndpointPublicAddress").getEndpointPublicAddress;
48
+ export declare const getEndpointPublicAddressOutput: typeof import("./getEndpointPublicAddress").getEndpointPublicAddressOutput;
49
+ export { GetEndpointPublicAddressesResult } from "./getEndpointPublicAddresses";
50
+ export declare const getEndpointPublicAddresses: typeof import("./getEndpointPublicAddresses").getEndpointPublicAddresses;
51
+ export declare const getEndpointPublicAddressesOutput: typeof import("./getEndpointPublicAddresses").getEndpointPublicAddressesOutput;
43
52
  export { GetEndpointsResult } from "./getEndpoints";
44
53
  export declare const getEndpoints: typeof import("./getEndpoints").getEndpoints;
45
54
  export declare const getEndpointsOutput: typeof import("./getEndpoints").getEndpointsOutput;
package/rdsmysql/index.js CHANGED
@@ -2,7 +2,7 @@
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.ParameterTemplate = exports.Instance = exports.getParameterTemplatesOutput = exports.getParameterTemplates = exports.getParameterTemplateOutput = exports.getParameterTemplate = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getEndpointsOutput = exports.getEndpoints = exports.getEndpointOutput = exports.getEndpoint = exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getDatabasesOutput = exports.getDatabases = exports.getDatabaseOutput = exports.getDatabase = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.Endpoint = exports.DbAccount = exports.Database = exports.Backup = exports.AllowList = void 0;
5
+ exports.ParameterTemplate = exports.Instance = exports.getParameterTemplatesOutput = exports.getParameterTemplates = exports.getParameterTemplateOutput = exports.getParameterTemplate = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getEndpointsOutput = exports.getEndpoints = exports.getEndpointPublicAddressesOutput = exports.getEndpointPublicAddresses = exports.getEndpointPublicAddressOutput = exports.getEndpointPublicAddress = exports.getEndpointOutput = exports.getEndpoint = exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getDatabasesOutput = exports.getDatabases = exports.getDatabaseOutput = exports.getDatabase = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.EndpointPublicAddress = exports.Endpoint = exports.DbAccount = exports.Database = exports.Backup = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AllowList = null;
@@ -15,6 +15,8 @@ exports.DbAccount = null;
15
15
  utilities.lazyLoad(exports, ["DbAccount"], () => require("./dbAccount"));
16
16
  exports.Endpoint = null;
17
17
  utilities.lazyLoad(exports, ["Endpoint"], () => require("./endpoint"));
18
+ exports.EndpointPublicAddress = null;
19
+ utilities.lazyLoad(exports, ["EndpointPublicAddress"], () => require("./endpointPublicAddress"));
18
20
  exports.getAllowList = null;
19
21
  exports.getAllowListOutput = null;
20
22
  utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
@@ -42,6 +44,12 @@ utilities.lazyLoad(exports, ["getDbAccounts", "getDbAccountsOutput"], () => requ
42
44
  exports.getEndpoint = null;
43
45
  exports.getEndpointOutput = null;
44
46
  utilities.lazyLoad(exports, ["getEndpoint", "getEndpointOutput"], () => require("./getEndpoint"));
47
+ exports.getEndpointPublicAddress = null;
48
+ exports.getEndpointPublicAddressOutput = null;
49
+ utilities.lazyLoad(exports, ["getEndpointPublicAddress", "getEndpointPublicAddressOutput"], () => require("./getEndpointPublicAddress"));
50
+ exports.getEndpointPublicAddresses = null;
51
+ exports.getEndpointPublicAddressesOutput = null;
52
+ utilities.lazyLoad(exports, ["getEndpointPublicAddresses", "getEndpointPublicAddressesOutput"], () => require("./getEndpointPublicAddresses"));
45
53
  exports.getEndpoints = null;
46
54
  exports.getEndpointsOutput = null;
47
55
  utilities.lazyLoad(exports, ["getEndpoints", "getEndpointsOutput"], () => require("./getEndpoints"));
@@ -75,6 +83,8 @@ const _module = {
75
83
  return new exports.DbAccount(name, undefined, { urn });
76
84
  case "bytepluscc:rdsmysql/endpoint:Endpoint":
77
85
  return new exports.Endpoint(name, undefined, { urn });
86
+ case "bytepluscc:rdsmysql/endpointPublicAddress:EndpointPublicAddress":
87
+ return new exports.EndpointPublicAddress(name, undefined, { urn });
78
88
  case "bytepluscc:rdsmysql/instance:Instance":
79
89
  return new exports.Instance(name, undefined, { urn });
80
90
  case "bytepluscc:rdsmysql/parameterTemplate:ParameterTemplate":
@@ -89,6 +99,7 @@ pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/backup", _module);
89
99
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/database", _module);
90
100
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/dbAccount", _module);
91
101
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/endpoint", _module);
102
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/endpointPublicAddress", _module);
92
103
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/instance", _module);
93
104
  pulumi.runtime.registerResourceModule("bytepluscc", "rdsmysql/parameterTemplate", _module);
94
105
  //# sourceMappingURL=index.js.map