@byteplus/pulumi-bytepluscc 0.0.27 → 0.0.29

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/pulumi-bytepluscc",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "A Pulumi package to safely use byteplus Resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "byteplus",
@@ -0,0 +1,85 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::PrivateZone::PrivateZone
5
+ */
6
+ export declare function getPrivateZone(args: GetPrivateZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateZoneResult>;
7
+ /**
8
+ * A collection of arguments for invoking getPrivateZone.
9
+ */
10
+ export interface GetPrivateZoneArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getPrivateZone.
18
+ */
19
+ export interface GetPrivateZoneResult {
20
+ /**
21
+ * Domain creation time
22
+ */
23
+ readonly createdAt: string;
24
+ /**
25
+ * Uniquely identifies the resource.
26
+ */
27
+ readonly id: string;
28
+ /**
29
+ * Most recent operator
30
+ */
31
+ readonly lastOperator: string;
32
+ /**
33
+ * Enable load balancing: 0 to disable, 1 to enable. Default is 0
34
+ */
35
+ readonly lineMode: number;
36
+ /**
37
+ * Name of the project the domain belongs to. Default is default
38
+ */
39
+ readonly projectName: string;
40
+ /**
41
+ * Number of DNS records under the domain name
42
+ */
43
+ readonly recordCount: number;
44
+ /**
45
+ * Enable recursive resolution: true to enable, false to disable. Default is false
46
+ */
47
+ readonly recursionMode: boolean;
48
+ /**
49
+ * Remarks. Default is an empty string
50
+ */
51
+ readonly remark: string;
52
+ /**
53
+ * One or more tags associated with the domain. A resource can be associated with up to 50 tags
54
+ */
55
+ readonly tags: outputs.privatezone.GetPrivateZoneTag[];
56
+ /**
57
+ * Most recent update time of the domain
58
+ */
59
+ readonly updatedAt: string;
60
+ /**
61
+ * One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
62
+ */
63
+ readonly vpcs: outputs.privatezone.GetPrivateZoneVpc[];
64
+ /**
65
+ * Unique ID identifying the domain name
66
+ */
67
+ readonly zid: string;
68
+ /**
69
+ * Domain name, can be a second-level or multi-level domain
70
+ */
71
+ readonly zoneName: string;
72
+ }
73
+ /**
74
+ * Data Source schema for Byteplus::PrivateZone::PrivateZone
75
+ */
76
+ export declare function getPrivateZoneOutput(args: GetPrivateZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateZoneResult>;
77
+ /**
78
+ * A collection of arguments for invoking getPrivateZone.
79
+ */
80
+ export interface GetPrivateZoneOutputArgs {
81
+ /**
82
+ * Uniquely identifies the resource.
83
+ */
84
+ id: pulumi.Input<string>;
85
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getPrivateZoneOutput = exports.getPrivateZone = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::PrivateZone::PrivateZone
10
+ */
11
+ function getPrivateZone(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:privatezone/getPrivateZone:getPrivateZone", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getPrivateZone = getPrivateZone;
18
+ /**
19
+ * Data Source schema for Byteplus::PrivateZone::PrivateZone
20
+ */
21
+ function getPrivateZoneOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:privatezone/getPrivateZone:getPrivateZone", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getPrivateZoneOutput = getPrivateZoneOutput;
28
+ //# sourceMappingURL=getPrivateZone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPrivateZone.js","sourceRoot":"","sources":["../../privatezone/getPrivateZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,wCAKC;AAqED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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,oDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::PrivateZone::PrivateZone
4
+ */
5
+ export declare function getPrivateZones(opts?: pulumi.InvokeOptions): Promise<GetPrivateZonesResult>;
6
+ /**
7
+ * A collection of values returned by getPrivateZones.
8
+ */
9
+ export interface GetPrivateZonesResult {
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::PrivateZone::PrivateZone
21
+ */
22
+ export declare function getPrivateZonesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateZonesResult>;
@@ -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.getPrivateZonesOutput = exports.getPrivateZones = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::PrivateZone::PrivateZone
10
+ */
11
+ function getPrivateZones(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:privatezone/getPrivateZones:getPrivateZones", {}, opts);
14
+ }
15
+ exports.getPrivateZones = getPrivateZones;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::PrivateZone::PrivateZone
18
+ */
19
+ function getPrivateZonesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:privatezone/getPrivateZones:getPrivateZones", {}, opts);
22
+ }
23
+ exports.getPrivateZonesOutput = getPrivateZonesOutput;
24
+ //# sourceMappingURL=getPrivateZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPrivateZones.js","sourceRoot":"","sources":["../../privatezone/getPrivateZones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,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,0CAIC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,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,sDAIC"}
@@ -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 "bytepluscc:privatezone/privateZone:PrivateZone":
53
+ return new exports.PrivateZone(name, undefined, { urn });
44
54
  case "bytepluscc:privatezone/record:Record":
45
55
  return new exports.Record(name, undefined, { urn });
46
56
  case "bytepluscc:privatezone/resolverEndpoint:ResolverEndpoint":
@@ -54,6 +64,7 @@ const _module = {
54
64
  }
55
65
  },
56
66
  };
67
+ pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/privateZone", _module);
57
68
  pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/record", _module);
58
69
  pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/resolverEndpoint", _module);
59
70
  pulumi.runtime.registerResourceModule("bytepluscc", "privatezone/resolverRule", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../privatezone/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAA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C,YAAY,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,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 bytepluscc: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 bytepluscc: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 = 'bytepluscc: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,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,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Ac,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,gDAAgD,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 bytepluscc from "@byteplus/pulumi-bytepluscc";
12
- *
13
- * const rdsPostgresqlDbEndpointDemo = new bytepluscc.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 bytepluscc from "@byteplus/pulumi-bytepluscc";
16
- *
17
- * const rdsPostgresqlDbEndpointDemo = new bytepluscc.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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AC,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,gDAAgD,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,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"}
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;AA6FD;;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"}
package/types/input.d.ts CHANGED
@@ -7547,6 +7547,26 @@ export declare namespace privatelink {
7547
7547
  }
7548
7548
  }
7549
7549
  export declare namespace privatezone {
7550
+ interface PrivateZoneTag {
7551
+ /**
7552
+ * Tag key
7553
+ */
7554
+ key?: pulumi.Input<string>;
7555
+ /**
7556
+ * Tag value
7557
+ */
7558
+ value?: pulumi.Input<string>;
7559
+ }
7560
+ interface PrivateZoneVpc {
7561
+ /**
7562
+ * Region where the VPC is located
7563
+ */
7564
+ region?: pulumi.Input<string>;
7565
+ /**
7566
+ * VPC ID
7567
+ */
7568
+ vpcId?: pulumi.Input<string>;
7569
+ }
7550
7570
  interface RecordRecordSet {
7551
7571
  /**
7552
7572
  * Full domain name
@@ -8476,19 +8496,131 @@ export declare namespace rdspostgresql {
8476
8496
  */
8477
8497
  walLogSpaceLimitEnable?: pulumi.Input<boolean>;
8478
8498
  }
8479
- interface DbEndpointAddress {
8499
+ interface DbEndpointInnerAddresses {
8500
+ /**
8501
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
8502
+ */
8503
+ crossRegionDomain?: pulumi.Input<string>;
8504
+ /**
8505
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
8506
+ */
8507
+ dnsVisibility?: pulumi.Input<boolean>;
8508
+ /**
8509
+ * Connection domain name
8510
+ */
8511
+ domain?: pulumi.Input<string>;
8512
+ /**
8513
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
8514
+ */
8515
+ domainPrefix?: pulumi.Input<string>;
8516
+ /**
8517
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
8518
+ */
8519
+ domainVisibilitySetting?: pulumi.Input<string>;
8520
+ /**
8521
+ * EIP ID, valid only for Public addresses.
8522
+ */
8523
+ eipId?: pulumi.Input<string>;
8524
+ /**
8525
+ * IP address
8526
+ */
8527
+ ipAddress?: pulumi.Input<string>;
8528
+ /**
8529
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
8530
+ */
8531
+ networkType?: pulumi.Input<string>;
8532
+ /**
8533
+ * Port number.
8534
+ */
8535
+ port?: pulumi.Input<string>;
8536
+ /**
8537
+ * Subnet ID
8538
+ */
8539
+ subnetId?: pulumi.Input<string>;
8540
+ }
8541
+ interface DbEndpointPrivateAddresses {
8542
+ /**
8543
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
8544
+ */
8545
+ crossRegionDomain?: pulumi.Input<string>;
8546
+ /**
8547
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
8548
+ */
8549
+ dnsVisibility?: pulumi.Input<boolean>;
8550
+ /**
8551
+ * Connection domain name
8552
+ */
8553
+ domain?: pulumi.Input<string>;
8554
+ /**
8555
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
8556
+ */
8557
+ domainPrefix?: pulumi.Input<string>;
8558
+ /**
8559
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
8560
+ */
8561
+ domainVisibilitySetting?: pulumi.Input<string>;
8562
+ /**
8563
+ * EIP ID, valid only for Public addresses.
8564
+ */
8565
+ eipId?: pulumi.Input<string>;
8566
+ /**
8567
+ * IP address
8568
+ */
8569
+ ipAddress?: pulumi.Input<string>;
8570
+ /**
8571
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
8572
+ */
8573
+ networkType?: pulumi.Input<string>;
8574
+ /**
8575
+ * Port number.
8576
+ */
8577
+ port?: pulumi.Input<string>;
8578
+ /**
8579
+ * Subnet ID
8580
+ */
8581
+ subnetId?: pulumi.Input<string>;
8582
+ }
8583
+ interface DbEndpointPublicAddresses {
8584
+ /**
8585
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
8586
+ */
8587
+ crossRegionDomain?: pulumi.Input<string>;
8480
8588
  /**
8481
8589
  * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
8482
8590
  */
8483
8591
  dnsVisibility?: pulumi.Input<boolean>;
8592
+ /**
8593
+ * Connection domain name
8594
+ */
8595
+ domain?: pulumi.Input<string>;
8484
8596
  /**
8485
8597
  * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
8486
8598
  */
8487
8599
  domainPrefix?: pulumi.Input<string>;
8600
+ /**
8601
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
8602
+ */
8603
+ domainVisibilitySetting?: pulumi.Input<string>;
8604
+ /**
8605
+ * EIP ID, valid only for Public addresses.
8606
+ */
8607
+ eipId?: pulumi.Input<string>;
8608
+ /**
8609
+ * IP address
8610
+ */
8611
+ ipAddress?: pulumi.Input<string>;
8612
+ /**
8613
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
8614
+ */
8615
+ networkType?: pulumi.Input<string>;
8488
8616
  /**
8489
8617
  * Port number.
8490
8618
  */
8491
8619
  port?: pulumi.Input<string>;
8620
+ /**
8621
+ * Subnet ID
8622
+ */
8623
+ subnetId?: pulumi.Input<string>;
8492
8624
  }
8493
8625
  interface DbEndpointReadOnlyNodeWeight {
8494
8626
  /**
package/types/output.d.ts CHANGED
@@ -15620,6 +15620,34 @@ export declare namespace privatelink {
15620
15620
  }
15621
15621
  }
15622
15622
  export declare namespace privatezone {
15623
+ interface GetPrivateZoneTag {
15624
+ /**
15625
+ * Tag key
15626
+ */
15627
+ key: string;
15628
+ /**
15629
+ * Tag value
15630
+ */
15631
+ value: string;
15632
+ }
15633
+ interface GetPrivateZoneVpc {
15634
+ /**
15635
+ * Account ID to which the VPC belongs
15636
+ */
15637
+ accountId: string;
15638
+ /**
15639
+ * Region where the VPC is located
15640
+ */
15641
+ region: string;
15642
+ /**
15643
+ * Name of the region where the VPC is located
15644
+ */
15645
+ regionName: string;
15646
+ /**
15647
+ * VPC ID
15648
+ */
15649
+ vpcId: string;
15650
+ }
15623
15651
  interface GetRecordRecordSet {
15624
15652
  /**
15625
15653
  * Full domain name
@@ -15712,6 +15740,26 @@ export declare namespace privatezone {
15712
15740
  */
15713
15741
  vpcId: string;
15714
15742
  }
15743
+ interface PrivateZoneTag {
15744
+ /**
15745
+ * Tag key
15746
+ */
15747
+ key: string;
15748
+ /**
15749
+ * Tag value
15750
+ */
15751
+ value: string;
15752
+ }
15753
+ interface PrivateZoneVpc {
15754
+ /**
15755
+ * Region where the VPC is located
15756
+ */
15757
+ region: string;
15758
+ /**
15759
+ * VPC ID
15760
+ */
15761
+ vpcId: string;
15762
+ }
15715
15763
  interface RecordRecordSet {
15716
15764
  /**
15717
15765
  * Full domain name
@@ -17525,19 +17573,131 @@ export declare namespace rdspostgresql {
17525
17573
  */
17526
17574
  walLogSpaceLimitEnable: boolean;
17527
17575
  }
17528
- interface DbEndpointAddress {
17576
+ interface DbEndpointInnerAddresses {
17577
+ /**
17578
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17579
+ */
17580
+ crossRegionDomain: string;
17581
+ /**
17582
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
17583
+ */
17584
+ dnsVisibility: boolean;
17585
+ /**
17586
+ * Connection domain name
17587
+ */
17588
+ domain: string;
17589
+ /**
17590
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
17591
+ */
17592
+ domainPrefix: string;
17593
+ /**
17594
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
17595
+ */
17596
+ domainVisibilitySetting: string;
17597
+ /**
17598
+ * EIP ID, valid only for Public addresses.
17599
+ */
17600
+ eipId: string;
17601
+ /**
17602
+ * IP address
17603
+ */
17604
+ ipAddress: string;
17605
+ /**
17606
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
17607
+ */
17608
+ networkType: string;
17609
+ /**
17610
+ * Port number.
17611
+ */
17612
+ port: string;
17613
+ /**
17614
+ * Subnet ID
17615
+ */
17616
+ subnetId: string;
17617
+ }
17618
+ interface DbEndpointPrivateAddresses {
17619
+ /**
17620
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17621
+ */
17622
+ crossRegionDomain: string;
17623
+ /**
17624
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
17625
+ */
17626
+ dnsVisibility: boolean;
17627
+ /**
17628
+ * Connection domain name
17629
+ */
17630
+ domain: string;
17631
+ /**
17632
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
17633
+ */
17634
+ domainPrefix: string;
17635
+ /**
17636
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
17637
+ */
17638
+ domainVisibilitySetting: string;
17639
+ /**
17640
+ * EIP ID, valid only for Public addresses.
17641
+ */
17642
+ eipId: string;
17643
+ /**
17644
+ * IP address
17645
+ */
17646
+ ipAddress: string;
17647
+ /**
17648
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
17649
+ */
17650
+ networkType: string;
17651
+ /**
17652
+ * Port number.
17653
+ */
17654
+ port: string;
17655
+ /**
17656
+ * Subnet ID
17657
+ */
17658
+ subnetId: string;
17659
+ }
17660
+ interface DbEndpointPublicAddresses {
17661
+ /**
17662
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17663
+ */
17664
+ crossRegionDomain: string;
17529
17665
  /**
17530
17666
  * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
17531
17667
  */
17532
17668
  dnsVisibility: boolean;
17669
+ /**
17670
+ * Connection domain name
17671
+ */
17672
+ domain: string;
17533
17673
  /**
17534
17674
  * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
17535
17675
  */
17536
17676
  domainPrefix: string;
17677
+ /**
17678
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
17679
+ */
17680
+ domainVisibilitySetting: string;
17681
+ /**
17682
+ * EIP ID, valid only for Public addresses.
17683
+ */
17684
+ eipId: string;
17685
+ /**
17686
+ * IP address
17687
+ */
17688
+ ipAddress: string;
17689
+ /**
17690
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
17691
+ */
17692
+ networkType: string;
17537
17693
  /**
17538
17694
  * Port number.
17539
17695
  */
17540
17696
  port: string;
17697
+ /**
17698
+ * Subnet ID
17699
+ */
17700
+ subnetId: string;
17541
17701
  }
17542
17702
  interface DbEndpointReadOnlyNodeWeight {
17543
17703
  /**
@@ -17621,7 +17781,91 @@ export declare namespace rdspostgresql {
17621
17781
  */
17622
17782
  walLogSpaceLimitEnable: boolean;
17623
17783
  }
17624
- interface GetDbEndpointAddress {
17784
+ interface GetDbEndpointInnerAddresses {
17785
+ /**
17786
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17787
+ */
17788
+ crossRegionDomain: string;
17789
+ /**
17790
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
17791
+ */
17792
+ dnsVisibility: boolean;
17793
+ /**
17794
+ * Connection domain name
17795
+ */
17796
+ domain: string;
17797
+ /**
17798
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
17799
+ */
17800
+ domainPrefix: string;
17801
+ /**
17802
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
17803
+ */
17804
+ domainVisibilitySetting: string;
17805
+ /**
17806
+ * EIP ID, valid only for Public addresses.
17807
+ */
17808
+ eipId: string;
17809
+ /**
17810
+ * IP address
17811
+ */
17812
+ ipAddress: string;
17813
+ /**
17814
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
17815
+ */
17816
+ networkType: string;
17817
+ /**
17818
+ * Port number.
17819
+ */
17820
+ port: string;
17821
+ /**
17822
+ * Subnet ID
17823
+ */
17824
+ subnetId: string;
17825
+ }
17826
+ interface GetDbEndpointPrivateAddresses {
17827
+ /**
17828
+ * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17829
+ */
17830
+ crossRegionDomain: string;
17831
+ /**
17832
+ * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
17833
+ */
17834
+ dnsVisibility: boolean;
17835
+ /**
17836
+ * Connection domain name
17837
+ */
17838
+ domain: string;
17839
+ /**
17840
+ * New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
17841
+ */
17842
+ domainPrefix: string;
17843
+ /**
17844
+ * Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
17845
+ */
17846
+ domainVisibilitySetting: string;
17847
+ /**
17848
+ * EIP ID, valid only for Public addresses.
17849
+ */
17850
+ eipId: string;
17851
+ /**
17852
+ * IP address
17853
+ */
17854
+ ipAddress: string;
17855
+ /**
17856
+ * Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
17857
+ */
17858
+ networkType: string;
17859
+ /**
17860
+ * Port number.
17861
+ */
17862
+ port: string;
17863
+ /**
17864
+ * Subnet ID
17865
+ */
17866
+ subnetId: string;
17867
+ }
17868
+ interface GetDbEndpointPublicAddresses {
17625
17869
  /**
17626
17870
  * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
17627
17871
  */