@volcengine/pulumi-volcenginecc 0.0.44 → 0.0.45
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/alb/acl.d.ts +20 -20
- package/alb/acl.js +1 -1
- package/alb/certificate.d.ts +19 -3
- package/alb/certificate.js +3 -4
- package/alb/certificate.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getCertificate.d.ts +5 -1
- package/alb/getCertificate.js.map +1 -1
- package/alb/getListener.d.ts +20 -20
- package/alb/getServerGroup.d.ts +9 -9
- package/alb/listener.d.ts +52 -52
- package/alb/listener.js +1 -1
- package/alb/serverGroup.d.ts +24 -24
- package/alb/serverGroup.js +1 -1
- package/cbr/backupPolicy.d.ts +2 -2
- package/cbr/backupPolicy.js +2 -2
- package/cloudidentity/userProvisioning.d.ts +2 -2
- package/cloudidentity/userProvisioning.js +2 -2
- package/cloudmonitor/getRule.d.ts +11 -11
- package/cloudmonitor/rule.d.ts +33 -33
- package/cr/getRegistry.d.ts +11 -11
- package/cr/registry.d.ts +28 -28
- package/cr/registry.js +1 -1
- package/directconnect/connection.d.ts +332 -0
- package/directconnect/connection.js +163 -0
- package/directconnect/connection.js.map +1 -0
- package/directconnect/getConnection.d.ts +145 -0
- package/directconnect/getConnection.js +28 -0
- package/directconnect/getConnection.js.map +1 -0
- package/directconnect/getConnections.d.ts +22 -0
- package/directconnect/getConnections.js +24 -0
- package/directconnect/getConnections.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +12 -1
- package/directconnect/index.js.map +1 -1
- package/fwcenter/addressBook.d.ts +210 -0
- package/fwcenter/addressBook.js +115 -0
- package/fwcenter/addressBook.js.map +1 -0
- package/fwcenter/controlPolicy.d.ts +437 -0
- package/fwcenter/controlPolicy.js +183 -0
- package/fwcenter/controlPolicy.js.map +1 -0
- package/fwcenter/getAddressBook.d.ts +93 -0
- package/fwcenter/getAddressBook.js +28 -0
- package/fwcenter/getAddressBook.js.map +1 -0
- package/fwcenter/getAddressBooks.d.ts +22 -0
- package/fwcenter/getAddressBooks.js +24 -0
- package/fwcenter/getAddressBooks.js.map +1 -0
- package/fwcenter/getControlPolicies.d.ts +22 -0
- package/fwcenter/getControlPolicies.js +24 -0
- package/fwcenter/getControlPolicies.js.map +1 -0
- package/fwcenter/getControlPolicy.d.ts +185 -0
- package/fwcenter/getControlPolicy.js +28 -0
- package/fwcenter/getControlPolicy.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRule.d.ts +189 -0
- package/fwcenter/getVpcFireWallAclRule.js +28 -0
- package/fwcenter/getVpcFireWallAclRule.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRules.d.ts +22 -0
- package/fwcenter/getVpcFireWallAclRules.js +24 -0
- package/fwcenter/getVpcFireWallAclRules.js.map +1 -0
- package/fwcenter/index.d.ts +27 -0
- package/fwcenter/index.js +34 -1
- package/fwcenter/index.js.map +1 -1
- package/fwcenter/vpcFireWallAclRule.d.ts +446 -0
- package/fwcenter/vpcFireWallAclRule.js +186 -0
- package/fwcenter/vpcFireWallAclRule.js.map +1 -0
- package/gtm/getGtm.d.ts +9 -0
- package/gtm/getGtm.js.map +1 -1
- package/gtm/gtm.d.ts +18 -0
- package/gtm/gtm.js +4 -0
- package/gtm/gtm.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/kafka/allowList.d.ts +0 -22
- package/kafka/allowList.js +0 -22
- package/kafka/allowList.js.map +1 -1
- package/organization/getServiceControlPolicyEnabler.d.ts +48 -0
- package/organization/getServiceControlPolicyEnabler.js +28 -0
- package/organization/getServiceControlPolicyEnabler.js.map +1 -0
- package/organization/getServiceControlPolicyEnablers.d.ts +22 -0
- package/organization/getServiceControlPolicyEnablers.js +24 -0
- package/organization/getServiceControlPolicyEnablers.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/organization/serviceControlPolicyEnabler.d.ts +78 -0
- package/organization/serviceControlPolicyEnabler.js +71 -0
- package/organization/serviceControlPolicyEnabler.js.map +1 -0
- package/package.json +1 -1
- package/rabbitmq/allowList.d.ts +0 -17
- package/rabbitmq/allowList.js +0 -17
- package/rabbitmq/allowList.js.map +1 -1
- package/rdsmysql/getInstance.d.ts +16 -0
- package/rdsmysql/getInstance.js.map +1 -1
- package/rdsmysql/instance.d.ts +48 -0
- package/rdsmysql/instance.js +8 -0
- package/rdsmysql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +3 -0
- package/redis/instance.js +3 -0
- package/redis/instance.js.map +1 -1
- package/redis/parameterGroup.d.ts +2 -2
- package/redis/parameterGroup.js +2 -2
- package/tls/alarmWebhookIntegrationType.d.ts +159 -0
- package/tls/alarmWebhookIntegrationType.js +108 -0
- package/tls/alarmWebhookIntegrationType.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationType.d.ts +73 -0
- package/tls/getAlarmWebhookIntegrationType.js +28 -0
- package/tls/getAlarmWebhookIntegrationType.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationTypes.d.ts +22 -0
- package/tls/getAlarmWebhookIntegrationTypes.js +24 -0
- package/tls/getAlarmWebhookIntegrationTypes.js.map +1 -0
- package/tls/index.d.ts +9 -0
- package/tls/index.js +13 -2
- package/tls/index.js.map +1 -1
- package/tos/bucketWebsite.d.ts +98 -0
- package/tos/bucketWebsite.js +69 -0
- package/tos/bucketWebsite.js.map +1 -0
- package/tos/getBucketWebsite.d.ts +57 -0
- package/tos/getBucketWebsite.js +28 -0
- package/tos/getBucketWebsite.js.map +1 -0
- package/tos/getBucketWebsites.d.ts +22 -0
- package/tos/getBucketWebsites.js +24 -0
- package/tos/getBucketWebsites.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +12 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +639 -41
- package/types/output.d.ts +1323 -89
- package/veenedge/getVpc.d.ts +101 -0
- package/veenedge/getVpc.js +28 -0
- package/veenedge/getVpc.js.map +1 -0
- package/veenedge/getVpcs.d.ts +22 -0
- package/veenedge/getVpcs.js +24 -0
- package/veenedge/getVpcs.js.map +1 -0
- package/veenedge/index.d.ts +9 -0
- package/veenedge/index.js +28 -0
- package/veenedge/index.js.map +1 -0
- package/veenedge/vpc.d.ts +216 -0
- package/veenedge/vpc.js +131 -0
- package/veenedge/vpc.js.map +1 -0
- package/vke/node.d.ts +1 -1
- package/vke/node.js +0 -3
- package/vke/node.js.map +1 -1
- package/vmp/ruleFile.d.ts +2 -2
- package/vmp/ruleFile.js +2 -2
- package/vpc/vpc.d.ts +4 -0
- package/vpc/vpc.js +1 -1
- package/vpc/vpc.js.map +1 -1
- package/waf/getHostGroup.d.ts +69 -0
- package/waf/getHostGroup.js +28 -0
- package/waf/getHostGroup.js.map +1 -0
- package/waf/getHostGroups.d.ts +22 -0
- package/waf/getHostGroups.js +24 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/hostGroup.d.ts +135 -0
- package/waf/hostGroup.js +92 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The physical connection is a dedicated physical connection resource in the dedicated connection service, used to connect the local IDC to the Volcano Engine access point
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new volcenginecc.directconnect.Connection("Example", {
|
|
14
|
+
* bandwidth: 500,
|
|
15
|
+
* customerContactEmail: "zhaoliu@example.com",
|
|
16
|
+
* customerContactPhone: "136xxxx6000",
|
|
17
|
+
* customerName: "赵六",
|
|
18
|
+
* description: "其他运营商物理专线",
|
|
19
|
+
* directConnectAccessPointId: "ap-cn-beijing-cy-A",
|
|
20
|
+
* directConnectConnectionName: "其他运营商专线",
|
|
21
|
+
* lineOperator: "ChinaTelecom",
|
|
22
|
+
* peerLocation: "深圳市南山区某IDC",
|
|
23
|
+
* portSpec: "1G",
|
|
24
|
+
* portType: "1000Base",
|
|
25
|
+
* projectName: "default",
|
|
26
|
+
* tags: [{
|
|
27
|
+
* key: "env",
|
|
28
|
+
* value: "test",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import volcenginecc:directconnect/connection:Connection example "direct_connect_connection_id"
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class Connection extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing Connection resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): Connection;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of Connection. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is Connection;
|
|
55
|
+
/**
|
|
56
|
+
* Account ID of the physical connection owner
|
|
57
|
+
*/
|
|
58
|
+
readonly accountId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
|
|
61
|
+
*/
|
|
62
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
|
|
65
|
+
*/
|
|
66
|
+
readonly billingType: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* Billing status of the connection. Normal: normal; FinancialLocked: locked
|
|
69
|
+
*/
|
|
70
|
+
readonly businessStatus: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
|
|
73
|
+
*/
|
|
74
|
+
readonly connectionType: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Time when the physical connection was created
|
|
77
|
+
*/
|
|
78
|
+
readonly creationTime: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Email address of the dedicated connection contact
|
|
81
|
+
*/
|
|
82
|
+
readonly customerContactEmail: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Phone number of the dedicated connection contact
|
|
85
|
+
*/
|
|
86
|
+
readonly customerContactPhone: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Name of the dedicated connection contact
|
|
89
|
+
*/
|
|
90
|
+
readonly customerName: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Expected resource forced reclaim time
|
|
93
|
+
*/
|
|
94
|
+
readonly deletedTime: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Description of the physical connection. Length limit: 0 ~ 255 characters
|
|
97
|
+
*/
|
|
98
|
+
readonly description: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
|
|
101
|
+
*/
|
|
102
|
+
readonly directConnectAccessPointId: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* ID of the physical dedicated line.
|
|
105
|
+
*/
|
|
106
|
+
readonly directConnectConnectionId: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
|
|
109
|
+
*/
|
|
110
|
+
readonly directConnectConnectionName: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Expected bandwidth of the physical connection in Mbps
|
|
113
|
+
*/
|
|
114
|
+
readonly expectBandwidth: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* Connection expiration time
|
|
117
|
+
*/
|
|
118
|
+
readonly expiredTime: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
|
|
121
|
+
*/
|
|
122
|
+
readonly lineOperator: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
|
|
125
|
+
*/
|
|
126
|
+
readonly parentConnectionAccountId: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
|
|
129
|
+
*/
|
|
130
|
+
readonly parentConnectionId: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Local IDC address or the remote access point of the physical dedicated line.
|
|
133
|
+
*/
|
|
134
|
+
readonly peerLocation: pulumi.Output<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
|
|
137
|
+
*/
|
|
138
|
+
readonly portSpec: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
|
|
141
|
+
*/
|
|
142
|
+
readonly portType: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Project to which the physical dedicated line belongs. If left blank, the default project is used.
|
|
145
|
+
*/
|
|
146
|
+
readonly projectName: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
|
|
149
|
+
*/
|
|
150
|
+
readonly status: pulumi.Output<string>;
|
|
151
|
+
readonly tags: pulumi.Output<outputs.directconnect.ConnectionTag[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Time when the physical dedicated line was updated.
|
|
154
|
+
*/
|
|
155
|
+
readonly updateTime: pulumi.Output<string>;
|
|
156
|
+
/**
|
|
157
|
+
* VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
|
|
158
|
+
*/
|
|
159
|
+
readonly vlanId: pulumi.Output<number>;
|
|
160
|
+
/**
|
|
161
|
+
* Create a Connection resource with the given unique name, arguments, and options.
|
|
162
|
+
*
|
|
163
|
+
* @param name The _unique_ name of the resource.
|
|
164
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
165
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
166
|
+
*/
|
|
167
|
+
constructor(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Input properties used for looking up and filtering Connection resources.
|
|
171
|
+
*/
|
|
172
|
+
export interface ConnectionState {
|
|
173
|
+
/**
|
|
174
|
+
* Account ID of the physical connection owner
|
|
175
|
+
*/
|
|
176
|
+
accountId?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
|
|
179
|
+
*/
|
|
180
|
+
bandwidth?: pulumi.Input<number>;
|
|
181
|
+
/**
|
|
182
|
+
* Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
|
|
183
|
+
*/
|
|
184
|
+
billingType?: pulumi.Input<number>;
|
|
185
|
+
/**
|
|
186
|
+
* Billing status of the connection. Normal: normal; FinancialLocked: locked
|
|
187
|
+
*/
|
|
188
|
+
businessStatus?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
|
|
191
|
+
*/
|
|
192
|
+
connectionType?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Time when the physical connection was created
|
|
195
|
+
*/
|
|
196
|
+
creationTime?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Email address of the dedicated connection contact
|
|
199
|
+
*/
|
|
200
|
+
customerContactEmail?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Phone number of the dedicated connection contact
|
|
203
|
+
*/
|
|
204
|
+
customerContactPhone?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Name of the dedicated connection contact
|
|
207
|
+
*/
|
|
208
|
+
customerName?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Expected resource forced reclaim time
|
|
211
|
+
*/
|
|
212
|
+
deletedTime?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Description of the physical connection. Length limit: 0 ~ 255 characters
|
|
215
|
+
*/
|
|
216
|
+
description?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
|
|
219
|
+
*/
|
|
220
|
+
directConnectAccessPointId?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* ID of the physical dedicated line.
|
|
223
|
+
*/
|
|
224
|
+
directConnectConnectionId?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
|
|
227
|
+
*/
|
|
228
|
+
directConnectConnectionName?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Expected bandwidth of the physical connection in Mbps
|
|
231
|
+
*/
|
|
232
|
+
expectBandwidth?: pulumi.Input<number>;
|
|
233
|
+
/**
|
|
234
|
+
* Connection expiration time
|
|
235
|
+
*/
|
|
236
|
+
expiredTime?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
|
|
239
|
+
*/
|
|
240
|
+
lineOperator?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
|
|
243
|
+
*/
|
|
244
|
+
parentConnectionAccountId?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
|
|
247
|
+
*/
|
|
248
|
+
parentConnectionId?: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* Local IDC address or the remote access point of the physical dedicated line.
|
|
251
|
+
*/
|
|
252
|
+
peerLocation?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
|
|
255
|
+
*/
|
|
256
|
+
portSpec?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
|
|
259
|
+
*/
|
|
260
|
+
portType?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Project to which the physical dedicated line belongs. If left blank, the default project is used.
|
|
263
|
+
*/
|
|
264
|
+
projectName?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
|
|
267
|
+
*/
|
|
268
|
+
status?: pulumi.Input<string>;
|
|
269
|
+
tags?: pulumi.Input<pulumi.Input<inputs.directconnect.ConnectionTag>[]>;
|
|
270
|
+
/**
|
|
271
|
+
* Time when the physical dedicated line was updated.
|
|
272
|
+
*/
|
|
273
|
+
updateTime?: pulumi.Input<string>;
|
|
274
|
+
/**
|
|
275
|
+
* VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
|
|
276
|
+
*/
|
|
277
|
+
vlanId?: pulumi.Input<number>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* The set of arguments for constructing a Connection resource.
|
|
281
|
+
*/
|
|
282
|
+
export interface ConnectionArgs {
|
|
283
|
+
/**
|
|
284
|
+
* Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
|
|
285
|
+
*/
|
|
286
|
+
bandwidth: pulumi.Input<number>;
|
|
287
|
+
/**
|
|
288
|
+
* Email address of the dedicated connection contact
|
|
289
|
+
*/
|
|
290
|
+
customerContactEmail: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* Phone number of the dedicated connection contact
|
|
293
|
+
*/
|
|
294
|
+
customerContactPhone: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* Name of the dedicated connection contact
|
|
297
|
+
*/
|
|
298
|
+
customerName: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Description of the physical connection. Length limit: 0 ~ 255 characters
|
|
301
|
+
*/
|
|
302
|
+
description?: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
|
|
305
|
+
*/
|
|
306
|
+
directConnectAccessPointId: pulumi.Input<string>;
|
|
307
|
+
/**
|
|
308
|
+
* Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
|
|
309
|
+
*/
|
|
310
|
+
directConnectConnectionName?: pulumi.Input<string>;
|
|
311
|
+
/**
|
|
312
|
+
* Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
|
|
313
|
+
*/
|
|
314
|
+
lineOperator: pulumi.Input<string>;
|
|
315
|
+
/**
|
|
316
|
+
* Local IDC address or the remote access point of the physical dedicated line.
|
|
317
|
+
*/
|
|
318
|
+
peerLocation: pulumi.Input<string>;
|
|
319
|
+
/**
|
|
320
|
+
* Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
|
|
321
|
+
*/
|
|
322
|
+
portSpec: pulumi.Input<string>;
|
|
323
|
+
/**
|
|
324
|
+
* Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
|
|
325
|
+
*/
|
|
326
|
+
portType: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* Project to which the physical dedicated line belongs. If left blank, the default project is used.
|
|
329
|
+
*/
|
|
330
|
+
projectName?: pulumi.Input<string>;
|
|
331
|
+
tags?: pulumi.Input<pulumi.Input<inputs.directconnect.ConnectionTag>[]>;
|
|
332
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
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.Connection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The physical connection is a dedicated physical connection resource in the dedicated connection service, used to connect the local IDC to the Volcano Engine access point
|
|
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 example = new volcenginecc.directconnect.Connection("Example", {
|
|
18
|
+
* bandwidth: 500,
|
|
19
|
+
* customerContactEmail: "zhaoliu@example.com",
|
|
20
|
+
* customerContactPhone: "136xxxx6000",
|
|
21
|
+
* customerName: "赵六",
|
|
22
|
+
* description: "其他运营商物理专线",
|
|
23
|
+
* directConnectAccessPointId: "ap-cn-beijing-cy-A",
|
|
24
|
+
* directConnectConnectionName: "其他运营商专线",
|
|
25
|
+
* lineOperator: "ChinaTelecom",
|
|
26
|
+
* peerLocation: "深圳市南山区某IDC",
|
|
27
|
+
* portSpec: "1G",
|
|
28
|
+
* portType: "1000Base",
|
|
29
|
+
* projectName: "default",
|
|
30
|
+
* tags: [{
|
|
31
|
+
* key: "env",
|
|
32
|
+
* value: "test",
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import volcenginecc:directconnect/connection:Connection example "direct_connect_connection_id"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class Connection extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing Connection resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new Connection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of Connection. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === Connection.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
72
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
73
|
+
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
74
|
+
resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
|
|
75
|
+
resourceInputs["connectionType"] = state ? state.connectionType : undefined;
|
|
76
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
77
|
+
resourceInputs["customerContactEmail"] = state ? state.customerContactEmail : undefined;
|
|
78
|
+
resourceInputs["customerContactPhone"] = state ? state.customerContactPhone : undefined;
|
|
79
|
+
resourceInputs["customerName"] = state ? state.customerName : undefined;
|
|
80
|
+
resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
|
|
81
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
82
|
+
resourceInputs["directConnectAccessPointId"] = state ? state.directConnectAccessPointId : undefined;
|
|
83
|
+
resourceInputs["directConnectConnectionId"] = state ? state.directConnectConnectionId : undefined;
|
|
84
|
+
resourceInputs["directConnectConnectionName"] = state ? state.directConnectConnectionName : undefined;
|
|
85
|
+
resourceInputs["expectBandwidth"] = state ? state.expectBandwidth : undefined;
|
|
86
|
+
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
87
|
+
resourceInputs["lineOperator"] = state ? state.lineOperator : undefined;
|
|
88
|
+
resourceInputs["parentConnectionAccountId"] = state ? state.parentConnectionAccountId : undefined;
|
|
89
|
+
resourceInputs["parentConnectionId"] = state ? state.parentConnectionId : undefined;
|
|
90
|
+
resourceInputs["peerLocation"] = state ? state.peerLocation : undefined;
|
|
91
|
+
resourceInputs["portSpec"] = state ? state.portSpec : undefined;
|
|
92
|
+
resourceInputs["portType"] = state ? state.portType : undefined;
|
|
93
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
94
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
95
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
96
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
97
|
+
resourceInputs["vlanId"] = state ? state.vlanId : undefined;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
const args = argsOrState;
|
|
101
|
+
if ((!args || args.bandwidth === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'bandwidth'");
|
|
103
|
+
}
|
|
104
|
+
if ((!args || args.customerContactEmail === undefined) && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'customerContactEmail'");
|
|
106
|
+
}
|
|
107
|
+
if ((!args || args.customerContactPhone === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'customerContactPhone'");
|
|
109
|
+
}
|
|
110
|
+
if ((!args || args.customerName === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'customerName'");
|
|
112
|
+
}
|
|
113
|
+
if ((!args || args.directConnectAccessPointId === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'directConnectAccessPointId'");
|
|
115
|
+
}
|
|
116
|
+
if ((!args || args.lineOperator === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'lineOperator'");
|
|
118
|
+
}
|
|
119
|
+
if ((!args || args.peerLocation === undefined) && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'peerLocation'");
|
|
121
|
+
}
|
|
122
|
+
if ((!args || args.portSpec === undefined) && !opts.urn) {
|
|
123
|
+
throw new Error("Missing required property 'portSpec'");
|
|
124
|
+
}
|
|
125
|
+
if ((!args || args.portType === undefined) && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'portType'");
|
|
127
|
+
}
|
|
128
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
129
|
+
resourceInputs["customerContactEmail"] = args ? args.customerContactEmail : undefined;
|
|
130
|
+
resourceInputs["customerContactPhone"] = args ? args.customerContactPhone : undefined;
|
|
131
|
+
resourceInputs["customerName"] = args ? args.customerName : undefined;
|
|
132
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
133
|
+
resourceInputs["directConnectAccessPointId"] = args ? args.directConnectAccessPointId : undefined;
|
|
134
|
+
resourceInputs["directConnectConnectionName"] = args ? args.directConnectConnectionName : undefined;
|
|
135
|
+
resourceInputs["lineOperator"] = args ? args.lineOperator : undefined;
|
|
136
|
+
resourceInputs["peerLocation"] = args ? args.peerLocation : undefined;
|
|
137
|
+
resourceInputs["portSpec"] = args ? args.portSpec : undefined;
|
|
138
|
+
resourceInputs["portType"] = args ? args.portType : undefined;
|
|
139
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
140
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
141
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
142
|
+
resourceInputs["billingType"] = undefined /*out*/;
|
|
143
|
+
resourceInputs["businessStatus"] = undefined /*out*/;
|
|
144
|
+
resourceInputs["connectionType"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
146
|
+
resourceInputs["deletedTime"] = undefined /*out*/;
|
|
147
|
+
resourceInputs["directConnectConnectionId"] = undefined /*out*/;
|
|
148
|
+
resourceInputs["expectBandwidth"] = undefined /*out*/;
|
|
149
|
+
resourceInputs["expiredTime"] = undefined /*out*/;
|
|
150
|
+
resourceInputs["parentConnectionAccountId"] = undefined /*out*/;
|
|
151
|
+
resourceInputs["parentConnectionId"] = undefined /*out*/;
|
|
152
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
153
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
154
|
+
resourceInputs["vlanId"] = undefined /*out*/;
|
|
155
|
+
}
|
|
156
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
157
|
+
super(Connection.__pulumiType, name, resourceInputs, opts);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.Connection = Connection;
|
|
161
|
+
/** @internal */
|
|
162
|
+
Connection.__pulumiType = 'volcenginecc:directconnect/connection:Connection';
|
|
163
|
+
//# sourceMappingURL=connection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../directconnect/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAoHD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,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AAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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;;AAzOL,gCA0OC;AA5NG,gBAAgB;AACO,uBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::DirectConnect::Connection
|
|
5
|
+
*/
|
|
6
|
+
export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getConnection.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetConnectionArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getConnection.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetConnectionResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account ID of the physical connection owner
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
|
|
26
|
+
*/
|
|
27
|
+
readonly bandwidth: number;
|
|
28
|
+
/**
|
|
29
|
+
* Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
|
|
30
|
+
*/
|
|
31
|
+
readonly billingType: number;
|
|
32
|
+
/**
|
|
33
|
+
* Billing status of the connection. Normal: normal; FinancialLocked: locked
|
|
34
|
+
*/
|
|
35
|
+
readonly businessStatus: string;
|
|
36
|
+
/**
|
|
37
|
+
* Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
|
|
38
|
+
*/
|
|
39
|
+
readonly connectionType: string;
|
|
40
|
+
/**
|
|
41
|
+
* Time when the physical connection was created
|
|
42
|
+
*/
|
|
43
|
+
readonly creationTime: string;
|
|
44
|
+
/**
|
|
45
|
+
* Email address of the dedicated connection contact
|
|
46
|
+
*/
|
|
47
|
+
readonly customerContactEmail: string;
|
|
48
|
+
/**
|
|
49
|
+
* Phone number of the dedicated connection contact
|
|
50
|
+
*/
|
|
51
|
+
readonly customerContactPhone: string;
|
|
52
|
+
/**
|
|
53
|
+
* Name of the dedicated connection contact
|
|
54
|
+
*/
|
|
55
|
+
readonly customerName: string;
|
|
56
|
+
/**
|
|
57
|
+
* Expected resource forced reclaim time
|
|
58
|
+
*/
|
|
59
|
+
readonly deletedTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* Description of the physical connection. Length limit: 0 ~ 255 characters
|
|
62
|
+
*/
|
|
63
|
+
readonly description: string;
|
|
64
|
+
/**
|
|
65
|
+
* ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
|
|
66
|
+
*/
|
|
67
|
+
readonly directConnectAccessPointId: string;
|
|
68
|
+
/**
|
|
69
|
+
* ID of the physical dedicated line.
|
|
70
|
+
*/
|
|
71
|
+
readonly directConnectConnectionId: string;
|
|
72
|
+
/**
|
|
73
|
+
* Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
|
|
74
|
+
*/
|
|
75
|
+
readonly directConnectConnectionName: string;
|
|
76
|
+
/**
|
|
77
|
+
* Expected bandwidth of the physical connection in Mbps
|
|
78
|
+
*/
|
|
79
|
+
readonly expectBandwidth: number;
|
|
80
|
+
/**
|
|
81
|
+
* Connection expiration time
|
|
82
|
+
*/
|
|
83
|
+
readonly expiredTime: string;
|
|
84
|
+
/**
|
|
85
|
+
* Uniquely identifies the resource.
|
|
86
|
+
*/
|
|
87
|
+
readonly id: string;
|
|
88
|
+
/**
|
|
89
|
+
* Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
|
|
90
|
+
*/
|
|
91
|
+
readonly lineOperator: string;
|
|
92
|
+
/**
|
|
93
|
+
* Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
|
|
94
|
+
*/
|
|
95
|
+
readonly parentConnectionAccountId: string;
|
|
96
|
+
/**
|
|
97
|
+
* ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
|
|
98
|
+
*/
|
|
99
|
+
readonly parentConnectionId: string;
|
|
100
|
+
/**
|
|
101
|
+
* Local IDC address or the remote access point of the physical dedicated line.
|
|
102
|
+
*/
|
|
103
|
+
readonly peerLocation: string;
|
|
104
|
+
/**
|
|
105
|
+
* Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
|
|
106
|
+
*/
|
|
107
|
+
readonly portSpec: string;
|
|
108
|
+
/**
|
|
109
|
+
* Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
|
|
110
|
+
*/
|
|
111
|
+
readonly portType: string;
|
|
112
|
+
/**
|
|
113
|
+
* Project to which the physical dedicated line belongs. If left blank, the default project is used.
|
|
114
|
+
*/
|
|
115
|
+
readonly projectName: string;
|
|
116
|
+
/**
|
|
117
|
+
* Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
|
|
118
|
+
*/
|
|
119
|
+
readonly status: string;
|
|
120
|
+
/**
|
|
121
|
+
* All tag information added to the physical connection
|
|
122
|
+
*/
|
|
123
|
+
readonly tags: outputs.directconnect.GetConnectionTag[];
|
|
124
|
+
/**
|
|
125
|
+
* Time when the physical dedicated line was updated.
|
|
126
|
+
*/
|
|
127
|
+
readonly updateTime: string;
|
|
128
|
+
/**
|
|
129
|
+
* VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
|
|
130
|
+
*/
|
|
131
|
+
readonly vlanId: number;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Data Source schema for Volcengine::DirectConnect::Connection
|
|
135
|
+
*/
|
|
136
|
+
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
|
|
137
|
+
/**
|
|
138
|
+
* A collection of arguments for invoking getConnection.
|
|
139
|
+
*/
|
|
140
|
+
export interface GetConnectionOutputArgs {
|
|
141
|
+
/**
|
|
142
|
+
* Uniquely identifies the resource.
|
|
143
|
+
*/
|
|
144
|
+
id: pulumi.Input<string>;
|
|
145
|
+
}
|