@volcengine/pulumi-volcenginecc 0.0.35 → 0.0.38

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 (101) hide show
  1. package/directconnect/gatewayRoute.d.ts +142 -0
  2. package/directconnect/gatewayRoute.js +96 -0
  3. package/directconnect/gatewayRoute.js.map +1 -0
  4. package/directconnect/getGatewayRoute.d.ts +72 -0
  5. package/directconnect/getGatewayRoute.js +28 -0
  6. package/directconnect/getGatewayRoute.js.map +1 -0
  7. package/directconnect/getGatewayRoutes.d.ts +22 -0
  8. package/directconnect/getGatewayRoutes.js +24 -0
  9. package/directconnect/getGatewayRoutes.js.map +1 -0
  10. package/directconnect/getVirtualInterface.d.ts +133 -0
  11. package/directconnect/getVirtualInterface.js +28 -0
  12. package/directconnect/getVirtualInterface.js.map +1 -0
  13. package/directconnect/getVirtualInterfaces.d.ts +22 -0
  14. package/directconnect/getVirtualInterfaces.js +24 -0
  15. package/directconnect/getVirtualInterfaces.js.map +1 -0
  16. package/directconnect/index.d.ts +18 -0
  17. package/directconnect/index.js +23 -1
  18. package/directconnect/index.js.map +1 -1
  19. package/directconnect/virtualInterface.d.ts +336 -0
  20. package/directconnect/virtualInterface.js +149 -0
  21. package/directconnect/virtualInterface.js.map +1 -0
  22. package/gtm/getPool.d.ts +81 -0
  23. package/gtm/getPool.js +28 -0
  24. package/gtm/getPool.js.map +1 -0
  25. package/gtm/getPools.d.ts +22 -0
  26. package/gtm/getPools.js +24 -0
  27. package/gtm/getPools.js.map +1 -0
  28. package/gtm/index.d.ts +9 -0
  29. package/gtm/index.js +28 -0
  30. package/gtm/index.js.map +1 -0
  31. package/gtm/pool.d.ts +154 -0
  32. package/gtm/pool.js +87 -0
  33. package/gtm/pool.js.map +1 -0
  34. package/index.d.ts +2 -1
  35. package/index.js +3 -1
  36. package/index.js.map +1 -1
  37. package/kms/getSecret.d.ts +128 -0
  38. package/kms/getSecret.js +28 -0
  39. package/kms/getSecret.js.map +1 -0
  40. package/kms/getSecrets.d.ts +22 -0
  41. package/kms/getSecrets.js +24 -0
  42. package/kms/getSecrets.js.map +1 -0
  43. package/kms/index.d.ts +9 -0
  44. package/kms/index.js +12 -1
  45. package/kms/index.js.map +1 -1
  46. package/kms/secret.d.ts +289 -0
  47. package/kms/secret.js +131 -0
  48. package/kms/secret.js.map +1 -0
  49. package/package.json +1 -1
  50. package/privatezone/getPrivateZone.d.ts +85 -0
  51. package/privatezone/getPrivateZone.js +28 -0
  52. package/privatezone/getPrivateZone.js.map +1 -0
  53. package/privatezone/getPrivateZones.d.ts +22 -0
  54. package/privatezone/getPrivateZones.js +24 -0
  55. package/privatezone/getPrivateZones.js.map +1 -0
  56. package/privatezone/index.d.ts +9 -0
  57. package/privatezone/index.js +12 -1
  58. package/privatezone/index.js.map +1 -1
  59. package/privatezone/privateZone.d.ts +153 -0
  60. package/privatezone/privateZone.js +83 -0
  61. package/privatezone/privateZone.js.map +1 -0
  62. package/rdspostgresql/dbEndpoint.d.ts +36 -18
  63. package/rdspostgresql/dbEndpoint.js +6 -17
  64. package/rdspostgresql/dbEndpoint.js.map +1 -1
  65. package/rdspostgresql/getDbEndpoint.d.ts +12 -4
  66. package/rdspostgresql/getDbEndpoint.js.map +1 -1
  67. package/tls/alarm.d.ts +215 -0
  68. package/tls/alarm.js +110 -0
  69. package/tls/alarm.js.map +1 -0
  70. package/tls/getAlarm.d.ts +109 -0
  71. package/tls/getAlarm.js +28 -0
  72. package/tls/getAlarm.js.map +1 -0
  73. package/tls/getAlarms.d.ts +22 -0
  74. package/tls/getAlarms.js +24 -0
  75. package/tls/getAlarms.js.map +1 -0
  76. package/tls/index.d.ts +9 -0
  77. package/tls/index.js +12 -1
  78. package/tls/index.js.map +1 -1
  79. package/types/input.d.ts +296 -2
  80. package/types/output.d.ts +926 -162
  81. package/vpn/getSslVpnServer.d.ts +109 -0
  82. package/vpn/getSslVpnServer.js +28 -0
  83. package/vpn/getSslVpnServer.js.map +1 -0
  84. package/vpn/getSslVpnServers.d.ts +22 -0
  85. package/vpn/getSslVpnServers.js +24 -0
  86. package/vpn/getSslVpnServers.js.map +1 -0
  87. package/vpn/getVpnGatewayRoute.d.ts +77 -0
  88. package/vpn/getVpnGatewayRoute.js +28 -0
  89. package/vpn/getVpnGatewayRoute.js.map +1 -0
  90. package/vpn/getVpnGatewayRoutes.d.ts +22 -0
  91. package/vpn/getVpnGatewayRoutes.js +24 -0
  92. package/vpn/getVpnGatewayRoutes.js.map +1 -0
  93. package/vpn/index.d.ts +18 -0
  94. package/vpn/index.js +23 -1
  95. package/vpn/index.js.map +1 -1
  96. package/vpn/sslVpnServer.d.ts +263 -0
  97. package/vpn/sslVpnServer.js +130 -0
  98. package/vpn/sslVpnServer.js.map +1 -0
  99. package/vpn/vpnGatewayRoute.d.ts +146 -0
  100. package/vpn/vpnGatewayRoute.js +98 -0
  101. package/vpn/vpnGatewayRoute.js.map +1 -0
@@ -1,3 +1,9 @@
1
+ export { GetPrivateZoneArgs, GetPrivateZoneResult, GetPrivateZoneOutputArgs } from "./getPrivateZone";
2
+ export declare const getPrivateZone: typeof import("./getPrivateZone").getPrivateZone;
3
+ export declare const getPrivateZoneOutput: typeof import("./getPrivateZone").getPrivateZoneOutput;
4
+ export { GetPrivateZonesResult } from "./getPrivateZones";
5
+ export declare const getPrivateZones: typeof import("./getPrivateZones").getPrivateZones;
6
+ export declare const getPrivateZonesOutput: typeof import("./getPrivateZones").getPrivateZonesOutput;
1
7
  export { GetRecordArgs, GetRecordResult, GetRecordOutputArgs } from "./getRecord";
2
8
  export declare const getRecord: typeof import("./getRecord").getRecord;
3
9
  export declare const getRecordOutput: typeof import("./getRecord").getRecordOutput;
@@ -22,6 +28,9 @@ export declare const getUserVpcAuthorizationOutput: typeof import("./getUserVpcA
22
28
  export { GetUserVpcAuthorizationsResult } from "./getUserVpcAuthorizations";
23
29
  export declare const getUserVpcAuthorizations: typeof import("./getUserVpcAuthorizations").getUserVpcAuthorizations;
24
30
  export declare const getUserVpcAuthorizationsOutput: typeof import("./getUserVpcAuthorizations").getUserVpcAuthorizationsOutput;
31
+ export { PrivateZoneArgs, PrivateZoneState } from "./privateZone";
32
+ export type PrivateZone = import("./privateZone").PrivateZone;
33
+ export declare const PrivateZone: typeof import("./privateZone").PrivateZone;
25
34
  export { RecordArgs, RecordState } from "./record";
26
35
  export type Record = import("./record").Record;
27
36
  export declare const Record: typeof import("./record").Record;
@@ -2,9 +2,15 @@
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.UserVpcAuthorization = exports.ResolverRule = exports.ResolverEndpoint = exports.Record = exports.getUserVpcAuthorizationsOutput = exports.getUserVpcAuthorizations = exports.getUserVpcAuthorizationOutput = exports.getUserVpcAuthorization = exports.getResolverRulesOutput = exports.getResolverRules = exports.getResolverRuleOutput = exports.getResolverRule = exports.getResolverEndpointsOutput = exports.getResolverEndpoints = exports.getResolverEndpointOutput = exports.getResolverEndpoint = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = void 0;
5
+ exports.UserVpcAuthorization = exports.ResolverRule = exports.ResolverEndpoint = exports.Record = exports.PrivateZone = exports.getUserVpcAuthorizationsOutput = exports.getUserVpcAuthorizations = exports.getUserVpcAuthorizationOutput = exports.getUserVpcAuthorization = exports.getResolverRulesOutput = exports.getResolverRules = exports.getResolverRuleOutput = exports.getResolverRule = exports.getResolverEndpointsOutput = exports.getResolverEndpoints = exports.getResolverEndpointOutput = exports.getResolverEndpoint = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = exports.getPrivateZonesOutput = exports.getPrivateZones = exports.getPrivateZoneOutput = exports.getPrivateZone = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.getPrivateZone = null;
9
+ exports.getPrivateZoneOutput = null;
10
+ utilities.lazyLoad(exports, ["getPrivateZone", "getPrivateZoneOutput"], () => require("./getPrivateZone"));
11
+ exports.getPrivateZones = null;
12
+ exports.getPrivateZonesOutput = null;
13
+ utilities.lazyLoad(exports, ["getPrivateZones", "getPrivateZonesOutput"], () => require("./getPrivateZones"));
8
14
  exports.getRecord = null;
9
15
  exports.getRecordOutput = null;
10
16
  utilities.lazyLoad(exports, ["getRecord", "getRecordOutput"], () => require("./getRecord"));
@@ -29,6 +35,8 @@ utilities.lazyLoad(exports, ["getUserVpcAuthorization", "getUserVpcAuthorization
29
35
  exports.getUserVpcAuthorizations = null;
30
36
  exports.getUserVpcAuthorizationsOutput = null;
31
37
  utilities.lazyLoad(exports, ["getUserVpcAuthorizations", "getUserVpcAuthorizationsOutput"], () => require("./getUserVpcAuthorizations"));
38
+ exports.PrivateZone = null;
39
+ utilities.lazyLoad(exports, ["PrivateZone"], () => require("./privateZone"));
32
40
  exports.Record = null;
33
41
  utilities.lazyLoad(exports, ["Record"], () => require("./record"));
34
42
  exports.ResolverEndpoint = null;
@@ -41,6 +49,8 @@ const _module = {
41
49
  version: utilities.getVersion(),
42
50
  construct: (name, type, urn) => {
43
51
  switch (type) {
52
+ case "volcenginecc:privatezone/privateZone:PrivateZone":
53
+ return new exports.PrivateZone(name, undefined, { urn });
44
54
  case "volcenginecc:privatezone/record:Record":
45
55
  return new exports.Record(name, undefined, { urn });
46
56
  case "volcenginecc:privatezone/resolverEndpoint:ResolverEndpoint":
@@ -54,6 +64,7 @@ const _module = {
54
64
  }
55
65
  },
56
66
  };
67
+ pulumi.runtime.registerResourceModule("volcenginecc", "privatezone/privateZone", _module);
57
68
  pulumi.runtime.registerResourceModule("volcenginecc", "privatezone/record", _module);
58
69
  pulumi.runtime.registerResourceModule("volcenginecc", "privatezone/resolverEndpoint", _module);
59
70
  pulumi.runtime.registerResourceModule("volcenginecc", "privatezone/resolverRule", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":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E,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,153 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Private network resolution
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:privatezone/privateZone:PrivateZone example "zid"
11
+ * ```
12
+ */
13
+ export declare class PrivateZone extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing PrivateZone 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?: PrivateZoneState, opts?: pulumi.CustomResourceOptions): PrivateZone;
24
+ /**
25
+ * Returns true if the given object is an instance of PrivateZone. 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 PrivateZone;
29
+ /**
30
+ * Domain creation time
31
+ */
32
+ readonly createdAt: pulumi.Output<string>;
33
+ /**
34
+ * Most recent operator
35
+ */
36
+ readonly lastOperator: pulumi.Output<string>;
37
+ /**
38
+ * Enable load balancing: 0 to disable, 1 to enable. Default is 0
39
+ */
40
+ readonly lineMode: pulumi.Output<number>;
41
+ /**
42
+ * Name of the project the domain belongs to. Default is default
43
+ */
44
+ readonly projectName: pulumi.Output<string>;
45
+ /**
46
+ * Number of DNS records under the domain name
47
+ */
48
+ readonly recordCount: pulumi.Output<number>;
49
+ /**
50
+ * Enable recursive resolution: true to enable, false to disable. Default is false
51
+ */
52
+ readonly recursionMode: pulumi.Output<boolean>;
53
+ /**
54
+ * Remarks. Default is an empty string
55
+ */
56
+ readonly remark: pulumi.Output<string>;
57
+ readonly tags: pulumi.Output<outputs.privatezone.PrivateZoneTag[]>;
58
+ /**
59
+ * Most recent update time of the domain
60
+ */
61
+ readonly updatedAt: pulumi.Output<string>;
62
+ readonly vpcs: pulumi.Output<outputs.privatezone.PrivateZoneVpc[]>;
63
+ /**
64
+ * Unique ID identifying the domain name
65
+ */
66
+ readonly zid: pulumi.Output<string>;
67
+ /**
68
+ * Domain name, can be a second-level or multi-level domain
69
+ */
70
+ readonly zoneName: pulumi.Output<string>;
71
+ /**
72
+ * Create a PrivateZone 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: PrivateZoneArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering PrivateZone resources.
82
+ */
83
+ export interface PrivateZoneState {
84
+ /**
85
+ * Domain creation time
86
+ */
87
+ createdAt?: pulumi.Input<string>;
88
+ /**
89
+ * Most recent operator
90
+ */
91
+ lastOperator?: pulumi.Input<string>;
92
+ /**
93
+ * Enable load balancing: 0 to disable, 1 to enable. Default is 0
94
+ */
95
+ lineMode?: pulumi.Input<number>;
96
+ /**
97
+ * Name of the project the domain belongs to. Default is default
98
+ */
99
+ projectName?: pulumi.Input<string>;
100
+ /**
101
+ * Number of DNS records under the domain name
102
+ */
103
+ recordCount?: pulumi.Input<number>;
104
+ /**
105
+ * Enable recursive resolution: true to enable, false to disable. Default is false
106
+ */
107
+ recursionMode?: pulumi.Input<boolean>;
108
+ /**
109
+ * Remarks. Default is an empty string
110
+ */
111
+ remark?: pulumi.Input<string>;
112
+ tags?: pulumi.Input<pulumi.Input<inputs.privatezone.PrivateZoneTag>[]>;
113
+ /**
114
+ * Most recent update time of the domain
115
+ */
116
+ updatedAt?: pulumi.Input<string>;
117
+ vpcs?: pulumi.Input<pulumi.Input<inputs.privatezone.PrivateZoneVpc>[]>;
118
+ /**
119
+ * Unique ID identifying the domain name
120
+ */
121
+ zid?: pulumi.Input<string>;
122
+ /**
123
+ * Domain name, can be a second-level or multi-level domain
124
+ */
125
+ zoneName?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a PrivateZone resource.
129
+ */
130
+ export interface PrivateZoneArgs {
131
+ /**
132
+ * Enable load balancing: 0 to disable, 1 to enable. Default is 0
133
+ */
134
+ lineMode?: pulumi.Input<number>;
135
+ /**
136
+ * Name of the project the domain belongs to. Default is default
137
+ */
138
+ projectName?: pulumi.Input<string>;
139
+ /**
140
+ * Enable recursive resolution: true to enable, false to disable. Default is false
141
+ */
142
+ recursionMode?: pulumi.Input<boolean>;
143
+ /**
144
+ * Remarks. Default is an empty string
145
+ */
146
+ remark?: pulumi.Input<string>;
147
+ tags?: pulumi.Input<pulumi.Input<inputs.privatezone.PrivateZoneTag>[]>;
148
+ vpcs?: pulumi.Input<pulumi.Input<inputs.privatezone.PrivateZoneVpc>[]>;
149
+ /**
150
+ * Domain name, can be a second-level or multi-level domain
151
+ */
152
+ zoneName: pulumi.Input<string>;
153
+ }
@@ -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.PrivateZone = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Private network resolution
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:privatezone/privateZone:PrivateZone example "zid"
15
+ * ```
16
+ */
17
+ class PrivateZone extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing PrivateZone 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 PrivateZone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of PrivateZone. 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'] === PrivateZone.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
46
+ resourceInputs["lastOperator"] = state ? state.lastOperator : undefined;
47
+ resourceInputs["lineMode"] = state ? state.lineMode : undefined;
48
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
49
+ resourceInputs["recordCount"] = state ? state.recordCount : undefined;
50
+ resourceInputs["recursionMode"] = state ? state.recursionMode : undefined;
51
+ resourceInputs["remark"] = state ? state.remark : undefined;
52
+ resourceInputs["tags"] = state ? state.tags : undefined;
53
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
54
+ resourceInputs["vpcs"] = state ? state.vpcs : undefined;
55
+ resourceInputs["zid"] = state ? state.zid : undefined;
56
+ resourceInputs["zoneName"] = state ? state.zoneName : undefined;
57
+ }
58
+ else {
59
+ const args = argsOrState;
60
+ if ((!args || args.zoneName === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'zoneName'");
62
+ }
63
+ resourceInputs["lineMode"] = args ? args.lineMode : undefined;
64
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
65
+ resourceInputs["recursionMode"] = args ? args.recursionMode : undefined;
66
+ resourceInputs["remark"] = args ? args.remark : undefined;
67
+ resourceInputs["tags"] = args ? args.tags : undefined;
68
+ resourceInputs["vpcs"] = args ? args.vpcs : undefined;
69
+ resourceInputs["zoneName"] = args ? args.zoneName : undefined;
70
+ resourceInputs["createdAt"] = undefined /*out*/;
71
+ resourceInputs["lastOperator"] = undefined /*out*/;
72
+ resourceInputs["recordCount"] = undefined /*out*/;
73
+ resourceInputs["updatedAt"] = undefined /*out*/;
74
+ resourceInputs["zid"] = undefined /*out*/;
75
+ }
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
77
+ super(PrivateZone.__pulumiType, name, resourceInputs, opts);
78
+ }
79
+ }
80
+ exports.PrivateZone = PrivateZone;
81
+ /** @internal */
82
+ PrivateZone.__pulumiType = 'volcenginecc:privatezone/privateZone:PrivateZone';
83
+ //# sourceMappingURL=privateZone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZone.js","sourceRoot":"","sources":["../../privatezone/privateZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,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MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AApHL,kCAqHC;AAvGG,gBAAgB;AACO,wBAAY,GAAG,kDAAkD,CAAC"}
@@ -4,21 +4,6 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * The connection endpoint is a network proxy service positioned between the database and the application, handling all requests from the application to the database. It features high availability, high performance, maintainability, and ease of use, and supports advanced functions such as read/write splitting and load balancing. The PostgreSQL cloud database provides two types of endpoints: default endpoint and custom read-only endpoint.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
- *
13
- * const rdsPostgresqlDbEndpointDemo = new volcenginecc.rdspostgresql.DbEndpoint("RdsPostgresqlDbEndpointDemo", {
14
- * endpointName: "ccapi-test-1",
15
- * endpointType: "Custom",
16
- * instanceId: "postgres-9dxxxxxd",
17
- * nodes: "Primary",
18
- * readWriteMode: "ReadWrite",
19
- * });
20
- * ```
21
- *
22
7
  * ## Import
23
8
  *
24
9
  * ```sh
@@ -41,7 +26,6 @@ export declare class DbEndpoint extends pulumi.CustomResource {
41
26
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
27
  */
43
28
  static isInstance(obj: any): obj is DbEndpoint;
44
- readonly addresses: pulumi.Output<outputs.rdspostgresql.DbEndpointAddress[]>;
45
29
  /**
46
30
  * When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
47
31
  */
@@ -70,6 +54,10 @@ export declare class DbEndpoint extends pulumi.CustomResource {
70
54
  * Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
71
55
  */
72
56
  readonly endpointType: pulumi.Output<string>;
57
+ /**
58
+ * Public service zone connection address
59
+ */
60
+ readonly innerAddresses: pulumi.Output<outputs.rdspostgresql.DbEndpointInnerAddresses>;
73
61
  /**
74
62
  * Instance ID.
75
63
  */
@@ -78,6 +66,14 @@ export declare class DbEndpoint extends pulumi.CustomResource {
78
66
  * List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
79
67
  */
80
68
  readonly nodes: pulumi.Output<string>;
69
+ /**
70
+ * Private network connection address
71
+ */
72
+ readonly privateAddresses: pulumi.Output<outputs.rdspostgresql.DbEndpointPrivateAddresses>;
73
+ /**
74
+ * Public network connection address
75
+ */
76
+ readonly publicAddresses: pulumi.Output<outputs.rdspostgresql.DbEndpointPublicAddresses>;
81
77
  /**
82
78
  * Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
83
79
  */
@@ -112,7 +108,6 @@ export declare class DbEndpoint extends pulumi.CustomResource {
112
108
  * Input properties used for looking up and filtering DbEndpoint resources.
113
109
  */
114
110
  export interface DbEndpointState {
115
- addresses?: pulumi.Input<pulumi.Input<inputs.rdspostgresql.DbEndpointAddress>[]>;
116
111
  /**
117
112
  * When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
118
113
  */
@@ -141,6 +136,10 @@ export interface DbEndpointState {
141
136
  * Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
142
137
  */
143
138
  endpointType?: pulumi.Input<string>;
139
+ /**
140
+ * Public service zone connection address
141
+ */
142
+ innerAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointInnerAddresses>;
144
143
  /**
145
144
  * Instance ID.
146
145
  */
@@ -149,6 +148,14 @@ export interface DbEndpointState {
149
148
  * List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
150
149
  */
151
150
  nodes?: pulumi.Input<string>;
151
+ /**
152
+ * Private network connection address
153
+ */
154
+ privateAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointPrivateAddresses>;
155
+ /**
156
+ * Public network connection address
157
+ */
158
+ publicAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointPublicAddresses>;
152
159
  /**
153
160
  * Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
154
161
  */
@@ -175,7 +182,6 @@ export interface DbEndpointState {
175
182
  * The set of arguments for constructing a DbEndpoint resource.
176
183
  */
177
184
  export interface DbEndpointArgs {
178
- addresses?: pulumi.Input<pulumi.Input<inputs.rdspostgresql.DbEndpointAddress>[]>;
179
185
  /**
180
186
  * Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
181
187
  */
@@ -188,6 +194,10 @@ export interface DbEndpointArgs {
188
194
  * Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
189
195
  */
190
196
  endpointType?: pulumi.Input<string>;
197
+ /**
198
+ * Public service zone connection address
199
+ */
200
+ innerAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointInnerAddresses>;
191
201
  /**
192
202
  * Instance ID.
193
203
  */
@@ -196,6 +206,14 @@ export interface DbEndpointArgs {
196
206
  * List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
197
207
  */
198
208
  nodes?: pulumi.Input<string>;
209
+ /**
210
+ * Private network connection address
211
+ */
212
+ privateAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointPrivateAddresses>;
213
+ /**
214
+ * Public network connection address
215
+ */
216
+ publicAddresses?: pulumi.Input<inputs.rdspostgresql.DbEndpointPublicAddresses>;
199
217
  /**
200
218
  * Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
201
219
  */
@@ -8,21 +8,6 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * The connection endpoint is a network proxy service positioned between the database and the application, handling all requests from the application to the database. It features high availability, high performance, maintainability, and ease of use, and supports advanced functions such as read/write splitting and load balancing. The PostgreSQL cloud database provides two types of endpoints: default endpoint and custom read-only endpoint.
10
10
  *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
- *
17
- * const rdsPostgresqlDbEndpointDemo = new volcenginecc.rdspostgresql.DbEndpoint("RdsPostgresqlDbEndpointDemo", {
18
- * endpointName: "ccapi-test-1",
19
- * endpointType: "Custom",
20
- * instanceId: "postgres-9dxxxxxd",
21
- * nodes: "Primary",
22
- * readWriteMode: "ReadWrite",
23
- * });
24
- * ```
25
- *
26
11
  * ## Import
27
12
  *
28
13
  * ```sh
@@ -57,7 +42,6 @@ class DbEndpoint extends pulumi.CustomResource {
57
42
  opts = opts || {};
58
43
  if (opts.id) {
59
44
  const state = argsOrState;
60
- resourceInputs["addresses"] = state ? state.addresses : undefined;
61
45
  resourceInputs["autoAddNewNodes"] = state ? state.autoAddNewNodes : undefined;
62
46
  resourceInputs["description"] = state ? state.description : undefined;
63
47
  resourceInputs["enableReadOnly"] = state ? state.enableReadOnly : undefined;
@@ -65,8 +49,11 @@ class DbEndpoint extends pulumi.CustomResource {
65
49
  resourceInputs["endpointId"] = state ? state.endpointId : undefined;
66
50
  resourceInputs["endpointName"] = state ? state.endpointName : undefined;
67
51
  resourceInputs["endpointType"] = state ? state.endpointType : undefined;
52
+ resourceInputs["innerAddresses"] = state ? state.innerAddresses : undefined;
68
53
  resourceInputs["instanceId"] = state ? state.instanceId : undefined;
69
54
  resourceInputs["nodes"] = state ? state.nodes : undefined;
55
+ resourceInputs["privateAddresses"] = state ? state.privateAddresses : undefined;
56
+ resourceInputs["publicAddresses"] = state ? state.publicAddresses : undefined;
70
57
  resourceInputs["readOnlyNodeDistributionType"] = state ? state.readOnlyNodeDistributionType : undefined;
71
58
  resourceInputs["readOnlyNodeMaxDelayTime"] = state ? state.readOnlyNodeMaxDelayTime : undefined;
72
59
  resourceInputs["readOnlyNodeWeights"] = state ? state.readOnlyNodeWeights : undefined;
@@ -76,12 +63,14 @@ class DbEndpoint extends pulumi.CustomResource {
76
63
  }
77
64
  else {
78
65
  const args = argsOrState;
79
- resourceInputs["addresses"] = args ? args.addresses : undefined;
80
66
  resourceInputs["enableReadWriteSplitting"] = args ? args.enableReadWriteSplitting : undefined;
81
67
  resourceInputs["endpointName"] = args ? args.endpointName : undefined;
82
68
  resourceInputs["endpointType"] = args ? args.endpointType : undefined;
69
+ resourceInputs["innerAddresses"] = args ? args.innerAddresses : undefined;
83
70
  resourceInputs["instanceId"] = args ? args.instanceId : undefined;
84
71
  resourceInputs["nodes"] = args ? args.nodes : undefined;
72
+ resourceInputs["privateAddresses"] = args ? args.privateAddresses : undefined;
73
+ resourceInputs["publicAddresses"] = args ? args.publicAddresses : undefined;
85
74
  resourceInputs["readOnlyNodeDistributionType"] = args ? args.readOnlyNodeDistributionType : undefined;
86
75
  resourceInputs["readOnlyNodeMaxDelayTime"] = args ? args.readOnlyNodeMaxDelayTime : undefined;
87
76
  resourceInputs["readOnlyNodeWeights"] = args ? args.readOnlyNodeWeights : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"dbEndpoint.js","sourceRoot":"","sources":["../../rdspostgresql/dbEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAqED,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAA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,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxJL,gCAyJC;AA3IG,gBAAgB;AACO,uBAAY,GAAG,kDAAkD,CAAC"}
@@ -17,10 +17,6 @@ export interface GetDbEndpointArgs {
17
17
  * A collection of values returned by getDbEndpoint.
18
18
  */
19
19
  export interface GetDbEndpointResult {
20
- /**
21
- * Address list.
22
- */
23
- readonly addresses: outputs.rdspostgresql.GetDbEndpointAddress[];
24
20
  /**
25
21
  * When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
26
22
  */
@@ -53,6 +49,10 @@ export interface GetDbEndpointResult {
53
49
  * Uniquely identifies the resource.
54
50
  */
55
51
  readonly id: string;
52
+ /**
53
+ * Public service zone connection address
54
+ */
55
+ readonly innerAddresses: outputs.rdspostgresql.GetDbEndpointInnerAddresses;
56
56
  /**
57
57
  * Instance ID.
58
58
  */
@@ -61,6 +61,14 @@ export interface GetDbEndpointResult {
61
61
  * List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
62
62
  */
63
63
  readonly nodes: string;
64
+ /**
65
+ * Private network connection address
66
+ */
67
+ readonly privateAddresses: outputs.rdspostgresql.GetDbEndpointPrivateAddresses;
68
+ /**
69
+ * Public network connection address
70
+ */
71
+ readonly publicAddresses: outputs.rdspostgresql.GetDbEndpointPublicAddresses;
64
72
  /**
65
73
  * Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
66
74
  */
@@ -1 +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,wDAAwD,EAAE;QACnF,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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