@volcengine/pulumi-volcenginecc 0.0.5 → 0.0.7

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 (123) hide show
  1. package/alb/getListener.d.ts +1 -1
  2. package/alb/listener.d.ts +3 -3
  3. package/apig/getUpstream.d.ts +93 -0
  4. package/apig/getUpstream.js +28 -0
  5. package/apig/getUpstream.js.map +1 -0
  6. package/apig/getUpstreams.d.ts +22 -0
  7. package/apig/getUpstreams.js +24 -0
  8. package/apig/getUpstreams.js.map +1 -0
  9. package/apig/index.d.ts +9 -0
  10. package/apig/index.js +12 -1
  11. package/apig/index.js.map +1 -1
  12. package/apig/upstream.d.ts +183 -0
  13. package/apig/upstream.js +96 -0
  14. package/apig/upstream.js.map +1 -0
  15. package/autoscaling/getScalingConfiguration.d.ts +1 -1
  16. package/autoscaling/scalingConfiguration.d.ts +3 -3
  17. package/cdn/getShareConfig.d.ts +81 -0
  18. package/cdn/getShareConfig.js +28 -0
  19. package/cdn/getShareConfig.js.map +1 -0
  20. package/cdn/getShareConfigs.d.ts +22 -0
  21. package/cdn/getShareConfigs.js +24 -0
  22. package/cdn/getShareConfigs.js.map +1 -0
  23. package/cdn/index.d.ts +9 -0
  24. package/cdn/index.js +28 -0
  25. package/cdn/index.js.map +1 -0
  26. package/cdn/shareConfig.d.ts +167 -0
  27. package/cdn/shareConfig.js +78 -0
  28. package/cdn/shareConfig.js.map +1 -0
  29. package/clb/getListener.d.ts +1 -1
  30. package/clb/listener.d.ts +3 -3
  31. package/ecs/instance.d.ts +36 -36
  32. package/index.d.ts +6 -1
  33. package/index.js +11 -1
  34. package/index.js.map +1 -1
  35. package/kafka/getTopic.d.ts +97 -0
  36. package/kafka/getTopic.js +28 -0
  37. package/kafka/getTopic.js.map +1 -0
  38. package/kafka/getTopics.d.ts +22 -0
  39. package/kafka/getTopics.js +24 -0
  40. package/kafka/getTopics.js.map +1 -0
  41. package/kafka/index.d.ts +9 -0
  42. package/kafka/index.js +28 -0
  43. package/kafka/index.js.map +1 -0
  44. package/kafka/topic.d.ts +189 -0
  45. package/kafka/topic.js +95 -0
  46. package/kafka/topic.js.map +1 -0
  47. package/natgateway/getNgw.d.ts +153 -0
  48. package/natgateway/getNgw.js +28 -0
  49. package/natgateway/getNgw.js.map +1 -0
  50. package/natgateway/getNgws.d.ts +22 -0
  51. package/natgateway/getNgws.js +24 -0
  52. package/natgateway/getNgws.js.map +1 -0
  53. package/natgateway/index.d.ts +9 -0
  54. package/natgateway/index.js +28 -0
  55. package/natgateway/index.js.map +1 -0
  56. package/natgateway/ngw.d.ts +332 -0
  57. package/natgateway/ngw.js +139 -0
  58. package/natgateway/ngw.js.map +1 -0
  59. package/organization/getUnit.d.ts +84 -0
  60. package/organization/getUnit.js +28 -0
  61. package/organization/getUnit.js.map +1 -0
  62. package/organization/getUnits.d.ts +22 -0
  63. package/organization/getUnits.js +24 -0
  64. package/organization/getUnits.js.map +1 -0
  65. package/organization/index.d.ts +9 -0
  66. package/organization/index.js +28 -0
  67. package/organization/index.js.map +1 -0
  68. package/organization/unit.d.ts +166 -0
  69. package/organization/unit.js +99 -0
  70. package/organization/unit.js.map +1 -0
  71. package/package.json +1 -1
  72. package/privatezone/getResolverEndpoint.d.ts +89 -0
  73. package/privatezone/getResolverEndpoint.js +28 -0
  74. package/privatezone/getResolverEndpoint.js.map +1 -0
  75. package/privatezone/getResolverEndpoints.d.ts +22 -0
  76. package/privatezone/getResolverEndpoints.js +24 -0
  77. package/privatezone/getResolverEndpoints.js.map +1 -0
  78. package/privatezone/getResolverRule.d.ts +101 -0
  79. package/privatezone/getResolverRule.js +28 -0
  80. package/privatezone/getResolverRule.js.map +1 -0
  81. package/privatezone/getResolverRules.d.ts +22 -0
  82. package/privatezone/getResolverRules.js +24 -0
  83. package/privatezone/getResolverRules.js.map +1 -0
  84. package/privatezone/index.d.ts +18 -0
  85. package/privatezone/index.js +39 -0
  86. package/privatezone/index.js.map +1 -0
  87. package/privatezone/resolverEndpoint.d.ts +165 -0
  88. package/privatezone/resolverEndpoint.js +91 -0
  89. package/privatezone/resolverEndpoint.js.map +1 -0
  90. package/privatezone/resolverRule.d.ts +196 -0
  91. package/privatezone/resolverRule.js +94 -0
  92. package/privatezone/resolverRule.js.map +1 -0
  93. package/rdsmysql/dbAccount.d.ts +149 -0
  94. package/rdsmysql/dbAccount.js +90 -0
  95. package/rdsmysql/dbAccount.js.map +1 -0
  96. package/rdsmysql/getDbAccount.d.ts +81 -0
  97. package/rdsmysql/getDbAccount.js +28 -0
  98. package/rdsmysql/getDbAccount.js.map +1 -0
  99. package/rdsmysql/getDbAccounts.d.ts +22 -0
  100. package/rdsmysql/getDbAccounts.js +24 -0
  101. package/rdsmysql/getDbAccounts.js.map +1 -0
  102. package/rdsmysql/index.d.ts +9 -0
  103. package/rdsmysql/index.js +12 -1
  104. package/rdsmysql/index.js.map +1 -1
  105. package/tos/bucket.d.ts +12 -0
  106. package/tos/bucket.js +2 -0
  107. package/tos/bucket.js.map +1 -1
  108. package/tos/getBucket.d.ts +4 -0
  109. package/tos/getBucket.js.map +1 -1
  110. package/types/input.d.ts +507 -27
  111. package/types/output.d.ts +1034 -70
  112. package/vke/getPermission.d.ts +108 -0
  113. package/vke/getPermission.js +28 -0
  114. package/vke/getPermission.js.map +1 -0
  115. package/vke/getPermissions.d.ts +22 -0
  116. package/vke/getPermissions.js +24 -0
  117. package/vke/getPermissions.js.map +1 -0
  118. package/vke/index.d.ts +9 -0
  119. package/vke/index.js +12 -1
  120. package/vke/index.js.map +1 -1
  121. package/vke/permission.d.ts +242 -0
  122. package/vke/permission.js +109 -0
  123. package/vke/permission.js.map +1 -0
@@ -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.Unit = exports.getUnitsOutput = exports.getUnits = exports.getUnitOutput = exports.getUnit = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getUnit = null;
9
+ exports.getUnitOutput = null;
10
+ utilities.lazyLoad(exports, ["getUnit", "getUnitOutput"], () => require("./getUnit"));
11
+ exports.getUnits = null;
12
+ exports.getUnitsOutput = null;
13
+ utilities.lazyLoad(exports, ["getUnits", "getUnitsOutput"], () => require("./getUnits"));
14
+ exports.Unit = null;
15
+ utilities.lazyLoad(exports, ["Unit"], () => require("./unit"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "volcenginecc:organization/unit:Unit":
21
+ return new exports.Unit(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("volcenginecc", "organization/unit", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../organization/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qCAAqC;gBACtC,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,166 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * 企业组织的创建者管理员账号可以新建组织单元来搭建企业的组织结构,对账号进行分组织单元管理。组织单元可以分多个组织单元层级,管理员账号也可属于任意层级的任意组织单元节点。
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const organizationUnitDemo = new volcenginecc.organization.Unit("OrganizationUnitDemo", {
12
+ * parentId: "735281472xxxx3651635",
13
+ * name: "OrganizationUnitDemo",
14
+ * description: "OrganizationUnitDemo description",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * ```sh
21
+ * $ pulumi import volcenginecc:organization/unit:Unit example "org_unit_id"
22
+ * ```
23
+ */
24
+ export declare class Unit extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing Unit resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UnitState, opts?: pulumi.CustomResourceOptions): Unit;
35
+ /**
36
+ * Returns true if the given object is an instance of Unit. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is Unit;
40
+ /**
41
+ * 创建时间。
42
+ */
43
+ readonly createdTime: pulumi.Output<string>;
44
+ /**
45
+ * 删除标识。
46
+ */
47
+ readonly deleteUk: pulumi.Output<string>;
48
+ /**
49
+ * 删除时间。
50
+ */
51
+ readonly deletedTime: pulumi.Output<string>;
52
+ /**
53
+ * 深度。
54
+ */
55
+ readonly depth: pulumi.Output<number>;
56
+ /**
57
+ * 描述。
58
+ */
59
+ readonly description: pulumi.Output<string>;
60
+ /**
61
+ * 组织单元名称。
62
+ */
63
+ readonly name: pulumi.Output<string>;
64
+ /**
65
+ * 组织ID。
66
+ */
67
+ readonly orgId: pulumi.Output<string>;
68
+ /**
69
+ * 组织类型。企业组织: 1
70
+ */
71
+ readonly orgType: pulumi.Output<number>;
72
+ /**
73
+ * 组织单元ID。
74
+ */
75
+ readonly orgUnitId: pulumi.Output<string>;
76
+ /**
77
+ * 管理员ID。
78
+ */
79
+ readonly owner: pulumi.Output<string>;
80
+ /**
81
+ * 父单元Id。
82
+ */
83
+ readonly parentId: pulumi.Output<string>;
84
+ /**
85
+ * 更新时间。
86
+ */
87
+ readonly updatedTime: pulumi.Output<string>;
88
+ /**
89
+ * Create a Unit resource with the given unique name, arguments, and options.
90
+ *
91
+ * @param name The _unique_ name of the resource.
92
+ * @param args The arguments to use to populate this resource's properties.
93
+ * @param opts A bag of options that control this resource's behavior.
94
+ */
95
+ constructor(name: string, args: UnitArgs, opts?: pulumi.CustomResourceOptions);
96
+ }
97
+ /**
98
+ * Input properties used for looking up and filtering Unit resources.
99
+ */
100
+ export interface UnitState {
101
+ /**
102
+ * 创建时间。
103
+ */
104
+ createdTime?: pulumi.Input<string>;
105
+ /**
106
+ * 删除标识。
107
+ */
108
+ deleteUk?: pulumi.Input<string>;
109
+ /**
110
+ * 删除时间。
111
+ */
112
+ deletedTime?: pulumi.Input<string>;
113
+ /**
114
+ * 深度。
115
+ */
116
+ depth?: pulumi.Input<number>;
117
+ /**
118
+ * 描述。
119
+ */
120
+ description?: pulumi.Input<string>;
121
+ /**
122
+ * 组织单元名称。
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ /**
126
+ * 组织ID。
127
+ */
128
+ orgId?: pulumi.Input<string>;
129
+ /**
130
+ * 组织类型。企业组织: 1
131
+ */
132
+ orgType?: pulumi.Input<number>;
133
+ /**
134
+ * 组织单元ID。
135
+ */
136
+ orgUnitId?: pulumi.Input<string>;
137
+ /**
138
+ * 管理员ID。
139
+ */
140
+ owner?: pulumi.Input<string>;
141
+ /**
142
+ * 父单元Id。
143
+ */
144
+ parentId?: pulumi.Input<string>;
145
+ /**
146
+ * 更新时间。
147
+ */
148
+ updatedTime?: pulumi.Input<string>;
149
+ }
150
+ /**
151
+ * The set of arguments for constructing a Unit resource.
152
+ */
153
+ export interface UnitArgs {
154
+ /**
155
+ * 描述。
156
+ */
157
+ description?: pulumi.Input<string>;
158
+ /**
159
+ * 组织单元名称。
160
+ */
161
+ name: pulumi.Input<string>;
162
+ /**
163
+ * 父单元Id。
164
+ */
165
+ parentId: pulumi.Input<string>;
166
+ }
@@ -0,0 +1,99 @@
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.Unit = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 企业组织的创建者管理员账号可以新建组织单元来搭建企业的组织结构,对账号进行分组织单元管理。组织单元可以分多个组织单元层级,管理员账号也可属于任意层级的任意组织单元节点。
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 organizationUnitDemo = new volcenginecc.organization.Unit("OrganizationUnitDemo", {
18
+ * parentId: "735281472xxxx3651635",
19
+ * name: "OrganizationUnitDemo",
20
+ * description: "OrganizationUnitDemo description",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcenginecc:organization/unit:Unit example "org_unit_id"
28
+ * ```
29
+ */
30
+ class Unit extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Unit resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new Unit(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of Unit. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === Unit.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
59
+ resourceInputs["deleteUk"] = state ? state.deleteUk : undefined;
60
+ resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
61
+ resourceInputs["depth"] = state ? state.depth : undefined;
62
+ resourceInputs["description"] = state ? state.description : undefined;
63
+ resourceInputs["name"] = state ? state.name : undefined;
64
+ resourceInputs["orgId"] = state ? state.orgId : undefined;
65
+ resourceInputs["orgType"] = state ? state.orgType : undefined;
66
+ resourceInputs["orgUnitId"] = state ? state.orgUnitId : undefined;
67
+ resourceInputs["owner"] = state ? state.owner : undefined;
68
+ resourceInputs["parentId"] = state ? state.parentId : undefined;
69
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
70
+ }
71
+ else {
72
+ const args = argsOrState;
73
+ if ((!args || args.name === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'name'");
75
+ }
76
+ if ((!args || args.parentId === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'parentId'");
78
+ }
79
+ resourceInputs["description"] = args ? args.description : undefined;
80
+ resourceInputs["name"] = args ? args.name : undefined;
81
+ resourceInputs["parentId"] = args ? args.parentId : undefined;
82
+ resourceInputs["createdTime"] = undefined /*out*/;
83
+ resourceInputs["deleteUk"] = undefined /*out*/;
84
+ resourceInputs["deletedTime"] = undefined /*out*/;
85
+ resourceInputs["depth"] = undefined /*out*/;
86
+ resourceInputs["orgId"] = undefined /*out*/;
87
+ resourceInputs["orgType"] = undefined /*out*/;
88
+ resourceInputs["orgUnitId"] = undefined /*out*/;
89
+ resourceInputs["owner"] = undefined /*out*/;
90
+ resourceInputs["updatedTime"] = undefined /*out*/;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(Unit.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.Unit = Unit;
97
+ /** @internal */
98
+ Unit.__pulumiType = 'volcenginecc:organization/unit:Unit';
99
+ //# sourceMappingURL=unit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unit.js","sourceRoot":"","sources":["../../organization/unit.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,IAAK,SAAQ,MAAM,CA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G,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,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7HL,oBA8HC;AAhHG,gBAAgB;AACO,iBAAY,GAAG,qCAAqC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/pulumi-volcenginecc",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "A Pulumi package to safely use volcengine resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "volcengine",
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
5
+ */
6
+ export declare function getResolverEndpoint(args: GetResolverEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverEndpointResult>;
7
+ /**
8
+ * A collection of arguments for invoking getResolverEndpoint.
9
+ */
10
+ export interface GetResolverEndpointArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getResolverEndpoint.
18
+ */
19
+ export interface GetResolverEndpointResult {
20
+ /**
21
+ * 创建时间
22
+ */
23
+ readonly createdTime: string;
24
+ /**
25
+ * 终端节点的 DNS 请求转发方向。OUTBOUND:(默认)出站终端节点,把来自 VPC 内的 DNS 查询请求转发到外部的 DNS 服务器。INBOUND:入站终端节点,把来自外部的 DNS 查询请求转发到解析器。
26
+ */
27
+ readonly direction: string;
28
+ /**
29
+ * 终端节点的 ID。
30
+ */
31
+ readonly endpointId: string;
32
+ /**
33
+ * 终端节点类型。IPv4:IPv4 节点。DualStack:双栈节点。
34
+ */
35
+ readonly endpointType: string;
36
+ /**
37
+ * Uniquely identifies the resource.
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * 终端节点的可用区、子网和 IP 配置。
42
+ */
43
+ readonly ipConfigs: outputs.privatezone.GetResolverEndpointIpConfig[];
44
+ /**
45
+ * 终端节点的名称。支持 UTF-8 格式。
46
+ */
47
+ readonly name: string;
48
+ /**
49
+ * 终端节点所属的项目名称。默认为 default。
50
+ */
51
+ readonly projectName: string;
52
+ /**
53
+ * 适用于终端节点 IP 地址的安全组 ID。终端节点默认会使用预设安全组:对于出站终端节点:入方向拒绝流量通行;出方向放通 0.0.0.0/0 的 TCP 53 端口和 UDP 53 端口。对于入站终端节点:入方向放通 0.0.0.0/0 的 TCP 53 端口和 UDP 53 端口;出方向拒绝流量通行。
54
+ */
55
+ readonly securityGroupId: string;
56
+ /**
57
+ * 终端节点的状态。Creating:创建中。Running:运行中。Updating:更新中。Error:运行异常。
58
+ */
59
+ readonly status: string;
60
+ /**
61
+ * 标签列表。
62
+ */
63
+ readonly tags: outputs.privatezone.GetResolverEndpointTag[];
64
+ /**
65
+ * 更新时间
66
+ */
67
+ readonly updatedTime: string;
68
+ /**
69
+ * 终端节点所在的 VPC 的 ID。
70
+ */
71
+ readonly vpcId: string;
72
+ /**
73
+ * 终端节点所在的 VPC 的地域。
74
+ */
75
+ readonly vpcRegion: string;
76
+ }
77
+ /**
78
+ * Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
79
+ */
80
+ export declare function getResolverEndpointOutput(args: GetResolverEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverEndpointResult>;
81
+ /**
82
+ * A collection of arguments for invoking getResolverEndpoint.
83
+ */
84
+ export interface GetResolverEndpointOutputArgs {
85
+ /**
86
+ * Uniquely identifies the resource.
87
+ */
88
+ id: pulumi.Input<string>;
89
+ }
@@ -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.getResolverEndpointOutput = exports.getResolverEndpoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
10
+ */
11
+ function getResolverEndpoint(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:privatezone/getResolverEndpoint:getResolverEndpoint", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getResolverEndpoint = getResolverEndpoint;
18
+ /**
19
+ * Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
20
+ */
21
+ function getResolverEndpointOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:privatezone/getResolverEndpoint:getResolverEndpoint", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getResolverEndpointOutput = getResolverEndpointOutput;
28
+ //# sourceMappingURL=getResolverEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResolverEndpoint.js","sourceRoot":"","sources":["../../privatezone/getResolverEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAyED;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
4
+ */
5
+ export declare function getResolverEndpoints(opts?: pulumi.InvokeOptions): Promise<GetResolverEndpointsResult>;
6
+ /**
7
+ * A collection of values returned by getResolverEndpoints.
8
+ */
9
+ export interface GetResolverEndpointsResult {
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 Volcengine::PrivateZone::ResolverEndpoint
21
+ */
22
+ export declare function getResolverEndpointsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverEndpointsResult>;
@@ -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.getResolverEndpointsOutput = exports.getResolverEndpoints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
10
+ */
11
+ function getResolverEndpoints(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:privatezone/getResolverEndpoints:getResolverEndpoints", {}, opts);
14
+ }
15
+ exports.getResolverEndpoints = getResolverEndpoints;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::PrivateZone::ResolverEndpoint
18
+ */
19
+ function getResolverEndpointsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:privatezone/getResolverEndpoints:getResolverEndpoints", {}, opts);
22
+ }
23
+ exports.getResolverEndpointsOutput = getResolverEndpointsOutput;
24
+ //# sourceMappingURL=getResolverEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResolverEndpoints.js","sourceRoot":"","sources":["../../privatezone/getResolverEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC;AAeD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAiC;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE,EACxG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::PrivateZone::ResolverRule
5
+ */
6
+ export declare function getResolverRule(args: GetResolverRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverRuleResult>;
7
+ /**
8
+ * A collection of arguments for invoking getResolverRule.
9
+ */
10
+ export interface GetResolverRuleArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getResolverRule.
18
+ */
19
+ export interface GetResolverRuleResult {
20
+ /**
21
+ * 转发规则的创建时间
22
+ */
23
+ readonly createdTime: string;
24
+ /**
25
+ * 转发规则是否被启用。true:启用。false:禁用。
26
+ */
27
+ readonly enable: boolean;
28
+ /**
29
+ * 终端节点的 ID。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。
30
+ */
31
+ readonly endpointId: number;
32
+ /**
33
+ * 终端节点的 TRN。
34
+ */
35
+ readonly endpointTrn: string;
36
+ /**
37
+ * 外部的 DNS 服务器的 IP 地址和端口。您最多只能添加 10 个 IP 地址。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。
38
+ */
39
+ readonly forwardIPs: outputs.privatezone.GetResolverRuleForwardIP[];
40
+ /**
41
+ * Uniquely identifies the resource.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * 最近一次更新转发规则的火山引擎账号的 ID
46
+ */
47
+ readonly lastOperator: string;
48
+ /**
49
+ * 递归 DNS 服务器的出口 IP 地址的运营商。该参数仅在 Type 参数是 LINE 时有效。支持的取值:移动:中国移动,电信:中国电信,联通:中国联通
50
+ */
51
+ readonly line: string;
52
+ /**
53
+ * 转发规则的名称。支持 UTF-8 格式。
54
+ */
55
+ readonly name: string;
56
+ /**
57
+ * 转发规则所属的项目名称。默认为 default。
58
+ */
59
+ readonly projectName: string;
60
+ /**
61
+ * 转发规则的 ID。
62
+ */
63
+ readonly ruleId: string;
64
+ /**
65
+ * 转发规则所属的一个或多个标签
66
+ */
67
+ readonly tags: outputs.privatezone.GetResolverRuleTag[];
68
+ /**
69
+ * 转发规则类型。OUTBOUND:转发到外部的 DNS 服务器。LINE:自定义公网递归 DNS 服务器的出口 IP 地址的运营商。
70
+ */
71
+ readonly type: string;
72
+ /**
73
+ * 转发规则的更新时间
74
+ */
75
+ readonly updatedTime: string;
76
+ /**
77
+ * 转发规则所关联的 VPC。转发规则在关联的 VPC 中生效。Type 参数是 OUTBOUND 时,VPC 的地域必须和终端节点所在的地域相同。
78
+ */
79
+ readonly vpCs: outputs.privatezone.GetResolverRuleVpC[];
80
+ /**
81
+ * 域名所关联的一个或多个 VPC 的 TRN。
82
+ */
83
+ readonly vpcTrns: string[];
84
+ /**
85
+ * 转发规则转发规则所关联的域名。您可以输入一个或多个域名。多个域名之间使用英文逗号, 分隔。最多支持输入 500 个域名。该参数仅在 Type 参数是 OUTBOUND 时有效且为必选参数。如果您把该参数设置为 *,则转发规则适用于 VPC 关联的所有域名。
86
+ */
87
+ readonly zoneName: string;
88
+ }
89
+ /**
90
+ * Data Source schema for Volcengine::PrivateZone::ResolverRule
91
+ */
92
+ export declare function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverRuleResult>;
93
+ /**
94
+ * A collection of arguments for invoking getResolverRule.
95
+ */
96
+ export interface GetResolverRuleOutputArgs {
97
+ /**
98
+ * Uniquely identifies the resource.
99
+ */
100
+ id: pulumi.Input<string>;
101
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getResolverRuleOutput = exports.getResolverRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::PrivateZone::ResolverRule
10
+ */
11
+ function getResolverRule(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:privatezone/getResolverRule:getResolverRule", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getResolverRule = getResolverRule;
18
+ /**
19
+ * Data Source schema for Volcengine::PrivateZone::ResolverRule
20
+ */
21
+ function getResolverRuleOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:privatezone/getResolverRule:getResolverRule", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getResolverRuleOutput = getResolverRuleOutput;
28
+ //# sourceMappingURL=getResolverRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResolverRule.js","sourceRoot":"","sources":["../../privatezone/getResolverRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAqFD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::PrivateZone::ResolverRule
4
+ */
5
+ export declare function getResolverRules(opts?: pulumi.InvokeOptions): Promise<GetResolverRulesResult>;
6
+ /**
7
+ * A collection of values returned by getResolverRules.
8
+ */
9
+ export interface GetResolverRulesResult {
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 Volcengine::PrivateZone::ResolverRule
21
+ */
22
+ export declare function getResolverRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverRulesResult>;