@byteplus/pulumi-bytepluscc 0.0.7 → 0.0.8

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 (121) hide show
  1. package/bmq/getGroup.d.ts +77 -0
  2. package/bmq/getGroup.js +28 -0
  3. package/bmq/getGroup.js.map +1 -0
  4. package/bmq/getGroups.d.ts +22 -0
  5. package/bmq/getGroups.js +24 -0
  6. package/bmq/getGroups.js.map +1 -0
  7. package/bmq/group.d.ts +137 -0
  8. package/bmq/group.js +76 -0
  9. package/bmq/group.js.map +1 -0
  10. package/bmq/index.d.ts +9 -0
  11. package/bmq/index.js +12 -1
  12. package/bmq/index.js.map +1 -1
  13. package/clb/getNlbListener.d.ts +109 -0
  14. package/clb/getNlbListener.js +28 -0
  15. package/clb/getNlbListener.js.map +1 -0
  16. package/clb/getNlbListeners.d.ts +22 -0
  17. package/clb/getNlbListeners.js +24 -0
  18. package/clb/getNlbListeners.js.map +1 -0
  19. package/clb/getNlbServerGroup.d.ts +145 -0
  20. package/clb/getNlbServerGroup.js +28 -0
  21. package/clb/getNlbServerGroup.js.map +1 -0
  22. package/clb/getNlbServerGroups.d.ts +22 -0
  23. package/clb/getNlbServerGroups.js +24 -0
  24. package/clb/getNlbServerGroups.js.map +1 -0
  25. package/clb/getServerGroup.d.ts +85 -0
  26. package/clb/getServerGroup.js +28 -0
  27. package/clb/getServerGroup.js.map +1 -0
  28. package/clb/getServerGroups.d.ts +22 -0
  29. package/clb/getServerGroups.js +24 -0
  30. package/clb/getServerGroups.js.map +1 -0
  31. package/clb/index.d.ts +27 -0
  32. package/clb/index.js +34 -1
  33. package/clb/index.js.map +1 -1
  34. package/clb/nlbListener.d.ts +251 -0
  35. package/clb/nlbListener.js +126 -0
  36. package/clb/nlbListener.js.map +1 -0
  37. package/clb/nlbServerGroup.d.ts +325 -0
  38. package/clb/nlbServerGroup.js +116 -0
  39. package/clb/nlbServerGroup.js.map +1 -0
  40. package/clb/serverGroup.d.ts +151 -0
  41. package/clb/serverGroup.js +83 -0
  42. package/clb/serverGroup.js.map +1 -0
  43. package/cloudmonitor/getRule.d.ts +169 -0
  44. package/cloudmonitor/getRule.js +28 -0
  45. package/cloudmonitor/getRule.js.map +1 -0
  46. package/cloudmonitor/getRules.d.ts +22 -0
  47. package/cloudmonitor/getRules.js +24 -0
  48. package/cloudmonitor/getRules.js.map +1 -0
  49. package/cloudmonitor/index.d.ts +9 -0
  50. package/cloudmonitor/index.js +28 -0
  51. package/cloudmonitor/index.js.map +1 -0
  52. package/cloudmonitor/rule.d.ts +387 -0
  53. package/cloudmonitor/rule.js +152 -0
  54. package/cloudmonitor/rule.js.map +1 -0
  55. package/directconnect/directConnectGateway.d.ts +202 -0
  56. package/directconnect/directConnectGateway.js +106 -0
  57. package/directconnect/directConnectGateway.js.map +1 -0
  58. package/directconnect/getDirectConnectGateway.d.ts +101 -0
  59. package/directconnect/getDirectConnectGateway.js +28 -0
  60. package/directconnect/getDirectConnectGateway.js.map +1 -0
  61. package/directconnect/getDirectConnectGateways.d.ts +22 -0
  62. package/directconnect/getDirectConnectGateways.js +24 -0
  63. package/directconnect/getDirectConnectGateways.js.map +1 -0
  64. package/directconnect/index.d.ts +9 -0
  65. package/directconnect/index.js +28 -0
  66. package/directconnect/index.js.map +1 -0
  67. package/filenas/getInstance.d.ts +109 -0
  68. package/filenas/getInstance.js +28 -0
  69. package/filenas/getInstance.js.map +1 -0
  70. package/filenas/getInstances.d.ts +22 -0
  71. package/filenas/getInstances.js +24 -0
  72. package/filenas/getInstances.js.map +1 -0
  73. package/filenas/index.d.ts +9 -0
  74. package/filenas/index.js +28 -0
  75. package/filenas/index.js.map +1 -0
  76. package/filenas/instance.d.ts +248 -0
  77. package/filenas/instance.js +125 -0
  78. package/filenas/instance.js.map +1 -0
  79. package/{firewallcenter → fwcenter}/dnsControlPolicy.d.ts +6 -6
  80. package/{firewallcenter → fwcenter}/dnsControlPolicy.js +2 -2
  81. package/fwcenter/dnsControlPolicy.js.map +1 -0
  82. package/{firewallcenter → fwcenter}/getDnsControlPolicies.d.ts +2 -2
  83. package/{firewallcenter → fwcenter}/getDnsControlPolicies.js +4 -4
  84. package/fwcenter/getDnsControlPolicies.js.map +1 -0
  85. package/{firewallcenter → fwcenter}/getDnsControlPolicy.d.ts +4 -4
  86. package/{firewallcenter → fwcenter}/getDnsControlPolicy.js +4 -4
  87. package/fwcenter/getDnsControlPolicy.js.map +1 -0
  88. package/{firewallcenter → fwcenter}/index.js +2 -2
  89. package/fwcenter/index.js.map +1 -0
  90. package/index.d.ts +5 -2
  91. package/index.js +9 -3
  92. package/index.js.map +1 -1
  93. package/package.json +1 -1
  94. package/types/input.d.ts +607 -1
  95. package/types/output.d.ts +1272 -14
  96. package/vpc/eip.d.ts +382 -0
  97. package/vpc/eip.js +125 -0
  98. package/vpc/eip.js.map +1 -0
  99. package/vpc/getEip.d.ts +169 -0
  100. package/vpc/getEip.js +28 -0
  101. package/vpc/getEip.js.map +1 -0
  102. package/vpc/getEips.d.ts +22 -0
  103. package/vpc/getEips.js +24 -0
  104. package/vpc/getEips.js.map +1 -0
  105. package/vpc/getRouteTable.d.ts +105 -0
  106. package/vpc/getRouteTable.js +28 -0
  107. package/vpc/getRouteTable.js.map +1 -0
  108. package/vpc/getRouteTables.d.ts +22 -0
  109. package/vpc/getRouteTables.js +24 -0
  110. package/vpc/getRouteTables.js.map +1 -0
  111. package/vpc/index.d.ts +18 -0
  112. package/vpc/index.js +23 -1
  113. package/vpc/index.js.map +1 -1
  114. package/vpc/routeTable.d.ts +199 -0
  115. package/vpc/routeTable.js +93 -0
  116. package/vpc/routeTable.js.map +1 -0
  117. package/firewallcenter/dnsControlPolicy.js.map +0 -1
  118. package/firewallcenter/getDnsControlPolicies.js.map +0 -1
  119. package/firewallcenter/getDnsControlPolicy.js.map +0 -1
  120. package/firewallcenter/index.js.map +0 -1
  121. /package/{firewallcenter → fwcenter}/index.d.ts +0 -0
@@ -0,0 +1,202 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * 专线网关是本地数据中心访问云上的入口,用于连接私有网络(VPC)与物理专线,实现云下数据中心(IDC)和云上私有网络(VPC)互访。
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 directConnectDirectConnectGatewayDemo = new bytepluscc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
14
+ * description: "DirectConnectDirectConnectGatewayDemo-Description",
15
+ * directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
16
+ * enableIpv6: false,
17
+ * projectName: "default",
18
+ * tags: [{
19
+ * key: "env",
20
+ * value: "test",
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * ```sh
28
+ * $ pulumi import bytepluscc:directconnect/directConnectGateway:DirectConnectGateway example "direct_connect_gateway_id"
29
+ * ```
30
+ */
31
+ export declare class DirectConnectGateway extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing DirectConnectGateway resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectConnectGatewayState, opts?: pulumi.CustomResourceOptions): DirectConnectGateway;
42
+ /**
43
+ * Returns true if the given object is an instance of DirectConnectGateway. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is DirectConnectGateway;
47
+ /**
48
+ * 专线网关所属账号的ID。
49
+ */
50
+ readonly accountId: pulumi.Output<string>;
51
+ readonly associateCens: pulumi.Output<outputs.directconnect.DirectConnectGatewayAssociateCen[]>;
52
+ /**
53
+ * 专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
54
+ */
55
+ readonly bgpAsn: pulumi.Output<number>;
56
+ /**
57
+ * 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
58
+ */
59
+ readonly businessStatus: pulumi.Output<string>;
60
+ /**
61
+ * 创建专线网关的时间。
62
+ */
63
+ readonly createdTime: pulumi.Output<string>;
64
+ /**
65
+ * 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
66
+ */
67
+ readonly deletedTime: pulumi.Output<string>;
68
+ /**
69
+ * 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
70
+ */
71
+ readonly description: pulumi.Output<string>;
72
+ /**
73
+ * 专线网关的ID。
74
+ */
75
+ readonly directConnectGatewayId: pulumi.Output<string>;
76
+ /**
77
+ * 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
78
+ */
79
+ readonly directConnectGatewayName: pulumi.Output<string>;
80
+ /**
81
+ * 是否支持IPv6。true:支持。false:不支持。
82
+ */
83
+ readonly enableIpv6: pulumi.Output<boolean>;
84
+ /**
85
+ * 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
86
+ */
87
+ readonly lockReason: pulumi.Output<string>;
88
+ /**
89
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
90
+ */
91
+ readonly overdueTime: pulumi.Output<string>;
92
+ /**
93
+ * 专线网关所属的项目。
94
+ */
95
+ readonly projectName: pulumi.Output<string>;
96
+ /**
97
+ * 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
98
+ */
99
+ readonly status: pulumi.Output<string>;
100
+ readonly tags: pulumi.Output<outputs.directconnect.DirectConnectGatewayTag[]>;
101
+ /**
102
+ * 更新专线网关的时间。
103
+ */
104
+ readonly updatedTime: pulumi.Output<string>;
105
+ /**
106
+ * Create a DirectConnectGateway resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args?: DirectConnectGatewayArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering DirectConnectGateway resources.
116
+ */
117
+ export interface DirectConnectGatewayState {
118
+ /**
119
+ * 专线网关所属账号的ID。
120
+ */
121
+ accountId?: pulumi.Input<string>;
122
+ associateCens?: pulumi.Input<pulumi.Input<inputs.directconnect.DirectConnectGatewayAssociateCen>[]>;
123
+ /**
124
+ * 专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
125
+ */
126
+ bgpAsn?: pulumi.Input<number>;
127
+ /**
128
+ * 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
129
+ */
130
+ businessStatus?: pulumi.Input<string>;
131
+ /**
132
+ * 创建专线网关的时间。
133
+ */
134
+ createdTime?: pulumi.Input<string>;
135
+ /**
136
+ * 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
137
+ */
138
+ deletedTime?: pulumi.Input<string>;
139
+ /**
140
+ * 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
141
+ */
142
+ description?: pulumi.Input<string>;
143
+ /**
144
+ * 专线网关的ID。
145
+ */
146
+ directConnectGatewayId?: pulumi.Input<string>;
147
+ /**
148
+ * 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
149
+ */
150
+ directConnectGatewayName?: pulumi.Input<string>;
151
+ /**
152
+ * 是否支持IPv6。true:支持。false:不支持。
153
+ */
154
+ enableIpv6?: pulumi.Input<boolean>;
155
+ /**
156
+ * 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
157
+ */
158
+ lockReason?: pulumi.Input<string>;
159
+ /**
160
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
161
+ */
162
+ overdueTime?: pulumi.Input<string>;
163
+ /**
164
+ * 专线网关所属的项目。
165
+ */
166
+ projectName?: pulumi.Input<string>;
167
+ /**
168
+ * 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
169
+ */
170
+ status?: pulumi.Input<string>;
171
+ tags?: pulumi.Input<pulumi.Input<inputs.directconnect.DirectConnectGatewayTag>[]>;
172
+ /**
173
+ * 更新专线网关的时间。
174
+ */
175
+ updatedTime?: pulumi.Input<string>;
176
+ }
177
+ /**
178
+ * The set of arguments for constructing a DirectConnectGateway resource.
179
+ */
180
+ export interface DirectConnectGatewayArgs {
181
+ /**
182
+ * 专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
183
+ */
184
+ bgpAsn?: pulumi.Input<number>;
185
+ /**
186
+ * 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
187
+ */
188
+ description?: pulumi.Input<string>;
189
+ /**
190
+ * 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
191
+ */
192
+ directConnectGatewayName?: pulumi.Input<string>;
193
+ /**
194
+ * 是否支持IPv6。true:支持。false:不支持。
195
+ */
196
+ enableIpv6?: pulumi.Input<boolean>;
197
+ /**
198
+ * 专线网关所属的项目。
199
+ */
200
+ projectName?: pulumi.Input<string>;
201
+ tags?: pulumi.Input<pulumi.Input<inputs.directconnect.DirectConnectGatewayTag>[]>;
202
+ }
@@ -0,0 +1,106 @@
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.DirectConnectGateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 专线网关是本地数据中心访问云上的入口,用于连接私有网络(VPC)与物理专线,实现云下数据中心(IDC)和云上私有网络(VPC)互访。
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 directConnectDirectConnectGatewayDemo = new bytepluscc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
18
+ * description: "DirectConnectDirectConnectGatewayDemo-Description",
19
+ * directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
20
+ * enableIpv6: false,
21
+ * projectName: "default",
22
+ * tags: [{
23
+ * key: "env",
24
+ * value: "test",
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * ```sh
32
+ * $ pulumi import bytepluscc:directconnect/directConnectGateway:DirectConnectGateway example "direct_connect_gateway_id"
33
+ * ```
34
+ */
35
+ class DirectConnectGateway extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing DirectConnectGateway resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new DirectConnectGateway(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of DirectConnectGateway. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === DirectConnectGateway.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
64
+ resourceInputs["associateCens"] = state ? state.associateCens : undefined;
65
+ resourceInputs["bgpAsn"] = state ? state.bgpAsn : undefined;
66
+ resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
67
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
68
+ resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
71
+ resourceInputs["directConnectGatewayName"] = state ? state.directConnectGatewayName : undefined;
72
+ resourceInputs["enableIpv6"] = state ? state.enableIpv6 : undefined;
73
+ resourceInputs["lockReason"] = state ? state.lockReason : undefined;
74
+ resourceInputs["overdueTime"] = state ? state.overdueTime : undefined;
75
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
76
+ resourceInputs["status"] = state ? state.status : undefined;
77
+ resourceInputs["tags"] = state ? state.tags : undefined;
78
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ resourceInputs["bgpAsn"] = args ? args.bgpAsn : undefined;
83
+ resourceInputs["description"] = args ? args.description : undefined;
84
+ resourceInputs["directConnectGatewayName"] = args ? args.directConnectGatewayName : undefined;
85
+ resourceInputs["enableIpv6"] = args ? args.enableIpv6 : undefined;
86
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
87
+ resourceInputs["tags"] = args ? args.tags : undefined;
88
+ resourceInputs["accountId"] = undefined /*out*/;
89
+ resourceInputs["associateCens"] = undefined /*out*/;
90
+ resourceInputs["businessStatus"] = undefined /*out*/;
91
+ resourceInputs["createdTime"] = undefined /*out*/;
92
+ resourceInputs["deletedTime"] = undefined /*out*/;
93
+ resourceInputs["directConnectGatewayId"] = undefined /*out*/;
94
+ resourceInputs["lockReason"] = undefined /*out*/;
95
+ resourceInputs["overdueTime"] = undefined /*out*/;
96
+ resourceInputs["status"] = undefined /*out*/;
97
+ resourceInputs["updatedTime"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(DirectConnectGateway.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.DirectConnectGateway = DirectConnectGateway;
104
+ /** @internal */
105
+ DirectConnectGateway.__pulumiType = 'bytepluscc:directconnect/directConnectGateway:DirectConnectGateway';
106
+ //# sourceMappingURL=directConnectGateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directConnectGateway.js","sourceRoot":"","sources":["../../directconnect/directConnectGateway.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
5
+ */
6
+ export declare function getDirectConnectGateway(args: GetDirectConnectGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayResult>;
7
+ /**
8
+ * A collection of arguments for invoking getDirectConnectGateway.
9
+ */
10
+ export interface GetDirectConnectGatewayArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getDirectConnectGateway.
18
+ */
19
+ export interface GetDirectConnectGatewayResult {
20
+ /**
21
+ * 专线网关所属账号的ID。
22
+ */
23
+ readonly accountId: string;
24
+ /**
25
+ * 关联的CEN信息。
26
+ */
27
+ readonly associateCens: outputs.directconnect.GetDirectConnectGatewayAssociateCen[];
28
+ /**
29
+ * 专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
30
+ */
31
+ readonly bgpAsn: number;
32
+ /**
33
+ * 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
34
+ */
35
+ readonly businessStatus: string;
36
+ /**
37
+ * 创建专线网关的时间。
38
+ */
39
+ readonly createdTime: string;
40
+ /**
41
+ * 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
42
+ */
43
+ readonly deletedTime: string;
44
+ /**
45
+ * 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
46
+ */
47
+ readonly description: string;
48
+ /**
49
+ * 专线网关的ID。
50
+ */
51
+ readonly directConnectGatewayId: string;
52
+ /**
53
+ * 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
54
+ */
55
+ readonly directConnectGatewayName: string;
56
+ /**
57
+ * 是否支持IPv6。true:支持。false:不支持。
58
+ */
59
+ readonly enableIpv6: boolean;
60
+ /**
61
+ * Uniquely identifies the resource.
62
+ */
63
+ readonly id: string;
64
+ /**
65
+ * 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
66
+ */
67
+ readonly lockReason: string;
68
+ /**
69
+ * 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
70
+ */
71
+ readonly overdueTime: string;
72
+ /**
73
+ * 专线网关所属的项目。
74
+ */
75
+ readonly projectName: string;
76
+ /**
77
+ * 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
78
+ */
79
+ readonly status: string;
80
+ /**
81
+ * 专线网关已添加的全部标签信息。
82
+ */
83
+ readonly tags: outputs.directconnect.GetDirectConnectGatewayTag[];
84
+ /**
85
+ * 更新专线网关的时间。
86
+ */
87
+ readonly updatedTime: string;
88
+ }
89
+ /**
90
+ * Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
91
+ */
92
+ export declare function getDirectConnectGatewayOutput(args: GetDirectConnectGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirectConnectGatewayResult>;
93
+ /**
94
+ * A collection of arguments for invoking getDirectConnectGateway.
95
+ */
96
+ export interface GetDirectConnectGatewayOutputArgs {
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.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
10
+ */
11
+ function getDirectConnectGateway(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:directconnect/getDirectConnectGateway:getDirectConnectGateway", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getDirectConnectGateway = getDirectConnectGateway;
18
+ /**
19
+ * Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
20
+ */
21
+ function getDirectConnectGatewayOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:directconnect/getDirectConnectGateway:getDirectConnectGateway", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getDirectConnectGatewayOutput = getDirectConnectGatewayOutput;
28
+ //# sourceMappingURL=getDirectConnectGateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDirectConnectGateway.js","sourceRoot":"","sources":["../../directconnect/getDirectConnectGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC;AAqFD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
4
+ */
5
+ export declare function getDirectConnectGateways(opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewaysResult>;
6
+ /**
7
+ * A collection of values returned by getDirectConnectGateways.
8
+ */
9
+ export interface GetDirectConnectGatewaysResult {
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::DirectConnect::DirectConnectGateway
21
+ */
22
+ export declare function getDirectConnectGatewaysOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirectConnectGatewaysResult>;
@@ -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.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
10
+ */
11
+ function getDirectConnectGateways(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:directconnect/getDirectConnectGateways:getDirectConnectGateways", {}, opts);
14
+ }
15
+ exports.getDirectConnectGateways = getDirectConnectGateways;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::DirectConnect::DirectConnectGateway
18
+ */
19
+ function getDirectConnectGatewaysOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:directconnect/getDirectConnectGateways:getDirectConnectGateways", {}, opts);
22
+ }
23
+ exports.getDirectConnectGatewaysOutput = getDirectConnectGatewaysOutput;
24
+ //# sourceMappingURL=getDirectConnectGateways.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDirectConnectGateways.js","sourceRoot":"","sources":["../../directconnect/getDirectConnectGateways.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE,EAC1G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC;AAeD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4EAA4E,EAAE,EAChH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wEAIC"}
@@ -0,0 +1,9 @@
1
+ export { DirectConnectGatewayArgs, DirectConnectGatewayState } from "./directConnectGateway";
2
+ export type DirectConnectGateway = import("./directConnectGateway").DirectConnectGateway;
3
+ export declare const DirectConnectGateway: typeof import("./directConnectGateway").DirectConnectGateway;
4
+ export { GetDirectConnectGatewayArgs, GetDirectConnectGatewayResult, GetDirectConnectGatewayOutputArgs } from "./getDirectConnectGateway";
5
+ export declare const getDirectConnectGateway: typeof import("./getDirectConnectGateway").getDirectConnectGateway;
6
+ export declare const getDirectConnectGatewayOutput: typeof import("./getDirectConnectGateway").getDirectConnectGatewayOutput;
7
+ export { GetDirectConnectGatewaysResult } from "./getDirectConnectGateways";
8
+ export declare const getDirectConnectGateways: typeof import("./getDirectConnectGateways").getDirectConnectGateways;
9
+ export declare const getDirectConnectGatewaysOutput: typeof import("./getDirectConnectGateways").getDirectConnectGatewaysOutput;
@@ -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.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.DirectConnectGateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.DirectConnectGateway = null;
9
+ utilities.lazyLoad(exports, ["DirectConnectGateway"], () => require("./directConnectGateway"));
10
+ exports.getDirectConnectGateway = null;
11
+ exports.getDirectConnectGatewayOutput = null;
12
+ utilities.lazyLoad(exports, ["getDirectConnectGateway", "getDirectConnectGatewayOutput"], () => require("./getDirectConnectGateway"));
13
+ exports.getDirectConnectGateways = null;
14
+ exports.getDirectConnectGatewaysOutput = null;
15
+ utilities.lazyLoad(exports, ["getDirectConnectGateways", "getDirectConnectGatewaysOutput"], () => require("./getDirectConnectGateways"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "bytepluscc:directconnect/directConnectGateway:DirectConnectGateway":
21
+ return new exports.DirectConnectGateway(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("bytepluscc", "directconnect/directConnectGateway", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../directconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAGlF,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,EAAC,+BAA+B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAGxH,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA,8BAA8B,GAA+E,IAAW,CAAC;AACtI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,0BAA0B,EAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;AAGxI,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,oEAAoE;gBACrE,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,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,YAAY,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::FileNAS::Instance
5
+ */
6
+ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
7
+ /**
8
+ * A collection of arguments for invoking getInstance.
9
+ */
10
+ export interface GetInstanceArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getInstance.
18
+ */
19
+ export interface GetInstanceResult {
20
+ /**
21
+ * 缓存型性能信息。
22
+ */
23
+ readonly cachePerformance: outputs.filenas.GetInstanceCachePerformance;
24
+ /**
25
+ * 文件系统容量。
26
+ */
27
+ readonly capacity: outputs.filenas.GetInstanceCapacity;
28
+ /**
29
+ * 计费类型,取值 PayAsYouGo,表示按量计费。
30
+ */
31
+ readonly chargeType: string;
32
+ /**
33
+ * 创建时间
34
+ */
35
+ readonly createTime: string;
36
+ /**
37
+ * 描述信息。
38
+ */
39
+ readonly description: string;
40
+ /**
41
+ * 文件系统 ID。
42
+ */
43
+ readonly fileSystemId: string;
44
+ /**
45
+ * 文件系统名称。
46
+ */
47
+ readonly fileSystemName: string;
48
+ /**
49
+ * 文件系统类型。取值说明:Extreme:NAS 极速型;Capacity:NAS 容量型;Cache:NAS 缓存型。
50
+ */
51
+ readonly fileSystemType: string;
52
+ /**
53
+ * Uniquely identifies the resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * 所属项目,默认值为 default 项目。
58
+ */
59
+ readonly projectName: string;
60
+ /**
61
+ * 文件系统协议类型。取值 NFS,表示 NFS 协议,常用于 Linux 客户端。
62
+ */
63
+ readonly protocolType: string;
64
+ /**
65
+ * 快照数量
66
+ */
67
+ readonly snapshotCount: number;
68
+ /**
69
+ * 创建时使用的快照 ID。传入该参数后,将使用该快照新建文件系统。
70
+ */
71
+ readonly snapshotId: string;
72
+ /**
73
+ * 文件系统状态。取值说明如下:Unknown:状态未知。Running:文件系统运行中。Creating:文件系统创建中。Expanding:文件系统升级中。Error:文件系统错误。Deleting:文件系统删除中。DeleteError:文件系统删除失败。Deleted:文件系统已删除。Stopped:文件系统已停服。
74
+ */
75
+ readonly status: string;
76
+ /**
77
+ * 存储类型,取值Standard,表示标准型。
78
+ */
79
+ readonly storageType: string;
80
+ /**
81
+ * 文件系统的标签信息
82
+ */
83
+ readonly tags: outputs.filenas.GetInstanceTag[];
84
+ /**
85
+ * 更新时间
86
+ */
87
+ readonly updateTime: string;
88
+ /**
89
+ * 可用区 ID。
90
+ */
91
+ readonly zoneId: string;
92
+ /**
93
+ * 可用区名称。
94
+ */
95
+ readonly zoneName: string;
96
+ }
97
+ /**
98
+ * Data Source schema for Byteplus::FileNAS::Instance
99
+ */
100
+ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
101
+ /**
102
+ * A collection of arguments for invoking getInstance.
103
+ */
104
+ export interface GetInstanceOutputArgs {
105
+ /**
106
+ * Uniquely identifies the resource.
107
+ */
108
+ id: pulumi.Input<string>;
109
+ }