@volcengine/pulumi 0.0.18 → 0.0.21
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/autoscaling/scalingConfiguration.d.ts +18 -0
- package/autoscaling/scalingConfiguration.js +2 -0
- package/autoscaling/scalingConfiguration.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +62 -4
- package/autoscaling/scalingGroup.js +11 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingGroups.d.ts +12 -0
- package/autoscaling/scalingGroups.js +1 -0
- package/autoscaling/scalingGroups.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +31 -6
- package/autoscaling/scalingLifecycleHook.js +16 -3
- package/autoscaling/scalingLifecycleHook.js.map +1 -1
- package/bioos/cluster.d.ts +11 -11
- package/bioos/cluster.js +6 -6
- package/bioos/cluster.js.map +1 -1
- package/bioos/clusters.d.ts +3 -0
- package/bioos/clusters.js.map +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/clb.d.ts +68 -18
- package/clb/clb.js +38 -17
- package/clb/clb.js.map +1 -1
- package/clb/listener.d.ts +101 -0
- package/clb/listener.js +26 -0
- package/clb/listener.js.map +1 -1
- package/clb/serverGroup.d.ts +12 -0
- package/clb/serverGroup.js +2 -0
- package/clb/serverGroup.js.map +1 -1
- package/direct_connect/bgpPeer.d.ts +175 -0
- package/direct_connect/bgpPeer.js +100 -0
- package/direct_connect/bgpPeer.js.map +1 -0
- package/direct_connect/bgpPeers.d.ts +129 -0
- package/direct_connect/bgpPeers.js +52 -0
- package/direct_connect/bgpPeers.js.map +1 -0
- package/direct_connect/connection.d.ts +217 -0
- package/direct_connect/connection.js +133 -0
- package/direct_connect/connection.js.map +1 -0
- package/direct_connect/connections.d.ts +154 -0
- package/direct_connect/connections.js +54 -0
- package/direct_connect/connections.js.map +1 -0
- package/direct_connect/gateway.d.ts +100 -0
- package/direct_connect/gateway.js +79 -0
- package/direct_connect/gateway.js.map +1 -0
- package/direct_connect/gatewayRoute.d.ts +143 -0
- package/direct_connect/gatewayRoute.js +97 -0
- package/direct_connect/gatewayRoute.js.map +1 -0
- package/direct_connect/gatewayRoutes.d.ts +141 -0
- package/direct_connect/gatewayRoutes.js +58 -0
- package/direct_connect/gatewayRoutes.js.map +1 -0
- package/direct_connect/gateways.d.ts +118 -0
- package/direct_connect/gateways.js +51 -0
- package/direct_connect/gateways.js.map +1 -0
- package/direct_connect/index.d.ts +30 -0
- package/direct_connect/index.js +57 -0
- package/direct_connect/index.js.map +1 -0
- package/direct_connect/virtualInterface.d.ts +263 -0
- package/direct_connect/virtualInterface.js +127 -0
- package/direct_connect/virtualInterface.js.map +1 -0
- package/direct_connect/virtualInterfaces.d.ts +178 -0
- package/direct_connect/virtualInterfaces.js +56 -0
- package/direct_connect/virtualInterfaces.js.map +1 -0
- package/ebs/volume.d.ts +1 -1
- package/ecs/availableResources.d.ts +114 -0
- package/ecs/availableResources.js +50 -0
- package/ecs/availableResources.js.map +1 -0
- package/ecs/index.d.ts +3 -0
- package/ecs/index.js +4 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +24 -3
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/eip/address.d.ts +1 -1
- package/iam/index.d.ts +15 -0
- package/iam/index.js +22 -1
- package/iam/index.js.map +1 -1
- package/iam/userGroup.d.ts +95 -0
- package/iam/userGroup.js +79 -0
- package/iam/userGroup.js.map +1 -0
- package/iam/userGroupAttachment.d.ts +92 -0
- package/iam/userGroupAttachment.js +89 -0
- package/iam/userGroupAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +105 -0
- package/iam/userGroupPolicyAttachment.js +95 -0
- package/iam/userGroupPolicyAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachments.d.ts +107 -0
- package/iam/userGroupPolicyAttachments.js +78 -0
- package/iam/userGroupPolicyAttachments.js.map +1 -0
- package/iam/userGroups.d.ts +87 -0
- package/iam/userGroups.js +59 -0
- package/iam/userGroups.js.map +1 -0
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +0 -12
- package/mongodb/mongoAllowList.js +0 -2
- package/mongodb/mongoAllowList.js.map +1 -1
- package/nas/fileSystem.d.ts +241 -0
- package/nas/fileSystem.js +123 -0
- package/nas/fileSystem.js.map +1 -0
- package/nas/fileSystems.d.ts +231 -0
- package/nas/fileSystems.js +90 -0
- package/nas/fileSystems.js.map +1 -0
- package/nas/index.d.ts +30 -0
- package/nas/index.js +55 -0
- package/nas/index.js.map +1 -0
- package/nas/mountPoint.d.ts +103 -0
- package/nas/mountPoint.js +80 -0
- package/nas/mountPoint.js.map +1 -0
- package/nas/mountPoints.d.ts +91 -0
- package/nas/mountPoints.js +29 -0
- package/nas/mountPoints.js.map +1 -0
- package/nas/permissionGroup.d.ts +116 -0
- package/nas/permissionGroup.js +92 -0
- package/nas/permissionGroup.js.map +1 -0
- package/nas/permissionGroups.d.ts +116 -0
- package/nas/permissionGroups.js +87 -0
- package/nas/permissionGroups.js.map +1 -0
- package/nas/regions.d.ts +62 -0
- package/nas/regions.js +42 -0
- package/nas/regions.js.map +1 -0
- package/nas/snapshot.d.ts +167 -0
- package/nas/snapshot.js +100 -0
- package/nas/snapshot.js.map +1 -0
- package/nas/snapshots.d.ts +131 -0
- package/nas/snapshots.js +59 -0
- package/nas/snapshots.js.map +1 -0
- package/nas/zones.d.ts +62 -0
- package/nas/zones.js +42 -0
- package/nas/zones.js.map +1 -0
- package/nat/gateway.d.ts +1 -1
- package/package.json +2 -2
- package/redis/instance.d.ts +7 -4
- package/redis/instance.js +1 -1
- package/redis/instance.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/transit_router/bandwidthPackage.d.ts +211 -0
- package/transit_router/bandwidthPackage.js +102 -0
- package/transit_router/bandwidthPackage.js.map +1 -0
- package/transit_router/bandwidthPackages.d.ts +115 -0
- package/transit_router/bandwidthPackages.js +65 -0
- package/transit_router/bandwidthPackages.js.map +1 -0
- package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
- package/transit_router/directConnectGatewayAttachment.js +87 -0
- package/transit_router/directConnectGatewayAttachment.js.map +1 -0
- package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
- package/transit_router/directConnectGatewayAttachments.js +48 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -0
- package/transit_router/grantRule.d.ts +95 -0
- package/transit_router/grantRule.js +82 -0
- package/transit_router/grantRule.js.map +1 -0
- package/transit_router/grantRules.d.ts +90 -0
- package/transit_router/grantRules.js +47 -0
- package/transit_router/grantRules.js.map +1 -0
- package/transit_router/index.d.ts +69 -0
- package/transit_router/index.js +110 -0
- package/transit_router/index.js.map +1 -0
- package/transit_router/peerAttachment.d.ts +179 -0
- package/transit_router/peerAttachment.js +105 -0
- package/transit_router/peerAttachment.js.map +1 -0
- package/transit_router/peerAttachments.d.ts +132 -0
- package/transit_router/peerAttachments.js +52 -0
- package/transit_router/peerAttachments.js.map +1 -0
- package/transit_router/routeEntries.d.ts +122 -0
- package/transit_router/routeEntries.js +52 -0
- package/transit_router/routeEntries.js.map +1 -0
- package/transit_router/routeEntry.d.ts +173 -0
- package/transit_router/routeEntry.js +103 -0
- package/transit_router/routeEntry.js.map +1 -0
- package/transit_router/routeTable.d.ts +135 -0
- package/transit_router/routeTable.js +89 -0
- package/transit_router/routeTable.js.map +1 -0
- package/transit_router/routeTableAssociation.d.ts +82 -0
- package/transit_router/routeTableAssociation.js +79 -0
- package/transit_router/routeTableAssociation.js.map +1 -0
- package/transit_router/routeTableAssociations.d.ts +92 -0
- package/transit_router/routeTableAssociations.js +49 -0
- package/transit_router/routeTableAssociations.js.map +1 -0
- package/transit_router/routeTablePropagation.d.ts +82 -0
- package/transit_router/routeTablePropagation.js +79 -0
- package/transit_router/routeTablePropagation.js.map +1 -0
- package/transit_router/routeTablePropagations.d.ts +92 -0
- package/transit_router/routeTablePropagations.js +49 -0
- package/transit_router/routeTablePropagations.js.map +1 -0
- package/transit_router/routeTables.d.ts +98 -0
- package/transit_router/routeTables.js +50 -0
- package/transit_router/routeTables.js.map +1 -0
- package/transit_router/sharedTransitRouterState.d.ts +82 -0
- package/transit_router/sharedTransitRouterState.js +79 -0
- package/transit_router/sharedTransitRouterState.js.map +1 -0
- package/transit_router/transitRouter.d.ts +148 -0
- package/transit_router/transitRouter.js +89 -0
- package/transit_router/transitRouter.js.map +1 -0
- package/transit_router/transitRouters.d.ts +89 -0
- package/transit_router/transitRouters.js +50 -0
- package/transit_router/transitRouters.js.map +1 -0
- package/transit_router/vpcAttachment.d.ts +164 -0
- package/transit_router/vpcAttachment.js +108 -0
- package/transit_router/vpcAttachment.js.map +1 -0
- package/transit_router/vpcAttachments.d.ts +101 -0
- package/transit_router/vpcAttachments.js +50 -0
- package/transit_router/vpcAttachments.js.map +1 -0
- package/transit_router/vpnAttachment.d.ts +153 -0
- package/transit_router/vpnAttachment.js +99 -0
- package/transit_router/vpnAttachment.js.map +1 -0
- package/transit_router/vpnAttachments.d.ts +101 -0
- package/transit_router/vpnAttachments.js +50 -0
- package/transit_router/vpnAttachments.js.map +1 -0
- package/types/input.d.ts +299 -4
- package/types/output.d.ts +5396 -3373
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +3 -3
- package/vke/nodePool.js +3 -3
- package/vke/supportResourceTypes.d.ts +80 -0
- package/vke/supportResourceTypes.js +44 -0
- package/vke/supportResourceTypes.js.map +1 -0
- package/vpc/haVip.d.ts +206 -0
- package/vpc/haVip.js +120 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/haVipAssociate.d.ts +131 -0
- package/vpc/haVipAssociate.js +118 -0
- package/vpc/haVipAssociate.js.map +1 -0
- package/vpc/haVips.d.ts +192 -0
- package/vpc/haVips.js +90 -0
- package/vpc/haVips.js.map +1 -0
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +22 -1
- package/vpc/index.js.map +1 -1
- package/vpc/networkAcl.d.ts +1 -1
- package/vpc/networkInterface.d.ts +31 -1
- package/vpc/networkInterface.js +4 -0
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/prefixList.d.ts +166 -0
- package/vpc/prefixList.js +106 -0
- package/vpc/prefixList.js.map +1 -0
- package/vpc/prefixLists.d.ts +151 -0
- package/vpc/prefixLists.js +92 -0
- package/vpc/prefixLists.js.map +1 -0
- package/vpc/routeTable.d.ts +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/gateway.d.ts +37 -1
- package/vpn/gateway.js +6 -0
- package/vpn/gateway.js.map +1 -1
- package/vpn/index.d.ts +12 -0
- package/vpn/index.js +17 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +201 -0
- package/vpn/sslVpnClientCert.js +131 -0
- package/vpn/sslVpnClientCert.js.map +1 -0
- package/vpn/sslVpnClientCerts.d.ts +192 -0
- package/vpn/sslVpnClientCerts.js +134 -0
- package/vpn/sslVpnClientCerts.js.map +1 -0
- package/vpn/sslVpnServer.d.ts +231 -0
- package/vpn/sslVpnServer.js +128 -0
- package/vpn/sslVpnServer.js.map +1 -0
- package/vpn/sslVpnServers.d.ts +167 -0
- package/vpn/sslVpnServers.js +117 -0
- package/vpn/sslVpnServers.js.map +1 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage direct connect connection
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.direct_connect.Connection("foo", {
|
|
13
|
+
* bandwidth: 1000,
|
|
14
|
+
* customerContactEmail: "email@aaa.com",
|
|
15
|
+
* customerContactPhone: "12345678911",
|
|
16
|
+
* customerName: "tf-a",
|
|
17
|
+
* description: "tf-test",
|
|
18
|
+
* directConnectAccessPointId: "ap-cn-beijing-a",
|
|
19
|
+
* directConnectConnectionName: "tf-test-connection",
|
|
20
|
+
* lineOperator: "ChinaOther",
|
|
21
|
+
* peerLocation: "XX路XX号XX楼XX机房",
|
|
22
|
+
* portSpec: "10G",
|
|
23
|
+
* portType: "10GBase",
|
|
24
|
+
* tags: [{
|
|
25
|
+
* key: "k1",
|
|
26
|
+
* value: "v1",
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* DirectConnectConnection can be imported using the id, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import volcengine:direct_connect/connection:Connection default dcc-7qthudw0ll6jmc****
|
|
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
|
+
* The line band width,unit:Mbps.
|
|
57
|
+
*/
|
|
58
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* The dedicated line contact email.
|
|
61
|
+
*/
|
|
62
|
+
readonly customerContactEmail: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The dedicated line contact phone.
|
|
65
|
+
*/
|
|
66
|
+
readonly customerContactPhone: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The dedicated line contact name.
|
|
69
|
+
*/
|
|
70
|
+
readonly customerName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The description of direct connect.
|
|
73
|
+
*/
|
|
74
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The direct connect access point id.
|
|
77
|
+
*/
|
|
78
|
+
readonly directConnectAccessPointId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of direct connect.
|
|
81
|
+
*/
|
|
82
|
+
readonly directConnectConnectionName: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
|
|
85
|
+
*/
|
|
86
|
+
readonly lineOperator: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The local IDC address.
|
|
89
|
+
*/
|
|
90
|
+
readonly peerLocation: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The physical leased line port spec.valid value contains `1G`,`10G`.
|
|
93
|
+
*/
|
|
94
|
+
readonly portSpec: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
|
|
97
|
+
*/
|
|
98
|
+
readonly portType: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The physical leased line tags.
|
|
101
|
+
*/
|
|
102
|
+
readonly tags: pulumi.Output<outputs.direct_connect.ConnectionTag[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Create a Connection resource with the given unique name, arguments, and options.
|
|
105
|
+
*
|
|
106
|
+
* @param name The _unique_ name of the resource.
|
|
107
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
108
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
109
|
+
*/
|
|
110
|
+
constructor(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Input properties used for looking up and filtering Connection resources.
|
|
114
|
+
*/
|
|
115
|
+
export interface ConnectionState {
|
|
116
|
+
/**
|
|
117
|
+
* The line band width,unit:Mbps.
|
|
118
|
+
*/
|
|
119
|
+
bandwidth?: pulumi.Input<number>;
|
|
120
|
+
/**
|
|
121
|
+
* The dedicated line contact email.
|
|
122
|
+
*/
|
|
123
|
+
customerContactEmail?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The dedicated line contact phone.
|
|
126
|
+
*/
|
|
127
|
+
customerContactPhone?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The dedicated line contact name.
|
|
130
|
+
*/
|
|
131
|
+
customerName?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The description of direct connect.
|
|
134
|
+
*/
|
|
135
|
+
description?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The direct connect access point id.
|
|
138
|
+
*/
|
|
139
|
+
directConnectAccessPointId?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The name of direct connect.
|
|
142
|
+
*/
|
|
143
|
+
directConnectConnectionName?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
|
|
146
|
+
*/
|
|
147
|
+
lineOperator?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The local IDC address.
|
|
150
|
+
*/
|
|
151
|
+
peerLocation?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The physical leased line port spec.valid value contains `1G`,`10G`.
|
|
154
|
+
*/
|
|
155
|
+
portSpec?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
|
|
158
|
+
*/
|
|
159
|
+
portType?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The physical leased line tags.
|
|
162
|
+
*/
|
|
163
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.ConnectionTag>[]>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The set of arguments for constructing a Connection resource.
|
|
167
|
+
*/
|
|
168
|
+
export interface ConnectionArgs {
|
|
169
|
+
/**
|
|
170
|
+
* The line band width,unit:Mbps.
|
|
171
|
+
*/
|
|
172
|
+
bandwidth: pulumi.Input<number>;
|
|
173
|
+
/**
|
|
174
|
+
* The dedicated line contact email.
|
|
175
|
+
*/
|
|
176
|
+
customerContactEmail: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The dedicated line contact phone.
|
|
179
|
+
*/
|
|
180
|
+
customerContactPhone: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* The dedicated line contact name.
|
|
183
|
+
*/
|
|
184
|
+
customerName: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The description of direct connect.
|
|
187
|
+
*/
|
|
188
|
+
description?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* The direct connect access point id.
|
|
191
|
+
*/
|
|
192
|
+
directConnectAccessPointId: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* The name of direct connect.
|
|
195
|
+
*/
|
|
196
|
+
directConnectConnectionName?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
|
|
199
|
+
*/
|
|
200
|
+
lineOperator: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* The local IDC address.
|
|
203
|
+
*/
|
|
204
|
+
peerLocation: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The physical leased line port spec.valid value contains `1G`,`10G`.
|
|
207
|
+
*/
|
|
208
|
+
portSpec: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
|
|
211
|
+
*/
|
|
212
|
+
portType: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* The physical leased line tags.
|
|
215
|
+
*/
|
|
216
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.ConnectionTag>[]>;
|
|
217
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
* Provides a resource to manage direct connect connection
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.direct_connect.Connection("foo", {
|
|
17
|
+
* bandwidth: 1000,
|
|
18
|
+
* customerContactEmail: "email@aaa.com",
|
|
19
|
+
* customerContactPhone: "12345678911",
|
|
20
|
+
* customerName: "tf-a",
|
|
21
|
+
* description: "tf-test",
|
|
22
|
+
* directConnectAccessPointId: "ap-cn-beijing-a",
|
|
23
|
+
* directConnectConnectionName: "tf-test-connection",
|
|
24
|
+
* lineOperator: "ChinaOther",
|
|
25
|
+
* peerLocation: "XX路XX号XX楼XX机房",
|
|
26
|
+
* portSpec: "10G",
|
|
27
|
+
* portType: "10GBase",
|
|
28
|
+
* tags: [{
|
|
29
|
+
* key: "k1",
|
|
30
|
+
* value: "v1",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* DirectConnectConnection can be imported using the id, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import volcengine:direct_connect/connection:Connection default dcc-7qthudw0ll6jmc****
|
|
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["bandwidth"] = state ? state.bandwidth : undefined;
|
|
72
|
+
resourceInputs["customerContactEmail"] = state ? state.customerContactEmail : undefined;
|
|
73
|
+
resourceInputs["customerContactPhone"] = state ? state.customerContactPhone : undefined;
|
|
74
|
+
resourceInputs["customerName"] = state ? state.customerName : undefined;
|
|
75
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
76
|
+
resourceInputs["directConnectAccessPointId"] = state ? state.directConnectAccessPointId : undefined;
|
|
77
|
+
resourceInputs["directConnectConnectionName"] = state ? state.directConnectConnectionName : undefined;
|
|
78
|
+
resourceInputs["lineOperator"] = state ? state.lineOperator : undefined;
|
|
79
|
+
resourceInputs["peerLocation"] = state ? state.peerLocation : undefined;
|
|
80
|
+
resourceInputs["portSpec"] = state ? state.portSpec : undefined;
|
|
81
|
+
resourceInputs["portType"] = state ? state.portType : undefined;
|
|
82
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if ((!args || args.bandwidth === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'bandwidth'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.customerContactEmail === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'customerContactEmail'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.customerContactPhone === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'customerContactPhone'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.customerName === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'customerName'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.directConnectAccessPointId === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'directConnectAccessPointId'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.lineOperator === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'lineOperator'");
|
|
103
|
+
}
|
|
104
|
+
if ((!args || args.peerLocation === undefined) && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'peerLocation'");
|
|
106
|
+
}
|
|
107
|
+
if ((!args || args.portSpec === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'portSpec'");
|
|
109
|
+
}
|
|
110
|
+
if ((!args || args.portType === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'portType'");
|
|
112
|
+
}
|
|
113
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
114
|
+
resourceInputs["customerContactEmail"] = args ? args.customerContactEmail : undefined;
|
|
115
|
+
resourceInputs["customerContactPhone"] = args ? args.customerContactPhone : undefined;
|
|
116
|
+
resourceInputs["customerName"] = args ? args.customerName : undefined;
|
|
117
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
118
|
+
resourceInputs["directConnectAccessPointId"] = args ? args.directConnectAccessPointId : undefined;
|
|
119
|
+
resourceInputs["directConnectConnectionName"] = args ? args.directConnectConnectionName : undefined;
|
|
120
|
+
resourceInputs["lineOperator"] = args ? args.lineOperator : undefined;
|
|
121
|
+
resourceInputs["peerLocation"] = args ? args.peerLocation : undefined;
|
|
122
|
+
resourceInputs["portSpec"] = args ? args.portSpec : undefined;
|
|
123
|
+
resourceInputs["portType"] = args ? args.portType : undefined;
|
|
124
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
125
|
+
}
|
|
126
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
127
|
+
super(Connection.__pulumiType, name, resourceInputs, opts);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.Connection = Connection;
|
|
131
|
+
/** @internal */
|
|
132
|
+
Connection.__pulumiType = 'volcengine:direct_connect/connection:Connection';
|
|
133
|
+
//# sourceMappingURL=connection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../direct_connect/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;IA2DD,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,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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tE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;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;;AAlJL,gCAmJC;AArIG,gBAAgB;AACO,uBAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to query detailed information of direct connect connections
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
*
|
|
12
|
+
* const foo = volcengine.direct_connect.Connections({
|
|
13
|
+
* directConnectConnectionName: "tf_test",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function connections(args?: ConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<ConnectionsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking Connections.
|
|
20
|
+
*/
|
|
21
|
+
export interface ConnectionsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
|
|
24
|
+
*/
|
|
25
|
+
connectionType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the physical leased line access point.
|
|
28
|
+
*/
|
|
29
|
+
directConnectAccessPointId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of directi connect connection.
|
|
32
|
+
*/
|
|
33
|
+
directConnectConnectionName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A list of IDs.
|
|
36
|
+
*/
|
|
37
|
+
ids?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
|
|
40
|
+
*/
|
|
41
|
+
lineOperator?: string;
|
|
42
|
+
/**
|
|
43
|
+
* A Name Regex of Resource.
|
|
44
|
+
*/
|
|
45
|
+
nameRegex?: string;
|
|
46
|
+
/**
|
|
47
|
+
* File name where to save data source results.
|
|
48
|
+
*/
|
|
49
|
+
outputFile?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The peer access point of the physical leased line.
|
|
52
|
+
*/
|
|
53
|
+
peerLocation?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The filter tag of direct connect.
|
|
56
|
+
*/
|
|
57
|
+
tagFilters?: inputs.direct_connect.ConnectionsTagFilter[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A collection of values returned by Connections.
|
|
61
|
+
*/
|
|
62
|
+
export interface ConnectionsResult {
|
|
63
|
+
/**
|
|
64
|
+
* The connection type of direct connect.
|
|
65
|
+
*/
|
|
66
|
+
readonly connectionType?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The access point id of direct connect.
|
|
69
|
+
*/
|
|
70
|
+
readonly directConnectAccessPointId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The name of direct connect connection.
|
|
73
|
+
*/
|
|
74
|
+
readonly directConnectConnectionName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The collection of query.
|
|
77
|
+
*/
|
|
78
|
+
readonly directConnectConnections: outputs.direct_connect.ConnectionsDirectConnectConnection[];
|
|
79
|
+
/**
|
|
80
|
+
* The provider-assigned unique ID for this managed resource.
|
|
81
|
+
*/
|
|
82
|
+
readonly id: string;
|
|
83
|
+
readonly ids?: string[];
|
|
84
|
+
/**
|
|
85
|
+
* The operator of physical leased line.
|
|
86
|
+
*/
|
|
87
|
+
readonly lineOperator?: string;
|
|
88
|
+
readonly nameRegex?: string;
|
|
89
|
+
readonly outputFile?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The peer access point of the physical leased line.
|
|
92
|
+
*/
|
|
93
|
+
readonly peerLocation?: string;
|
|
94
|
+
readonly tagFilters?: outputs.direct_connect.ConnectionsTagFilter[];
|
|
95
|
+
/**
|
|
96
|
+
* The total count of query.
|
|
97
|
+
*/
|
|
98
|
+
readonly totalCount: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Use this data source to query detailed information of direct connect connections
|
|
102
|
+
* ## Example Usage
|
|
103
|
+
*
|
|
104
|
+
* ```typescript
|
|
105
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
106
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
107
|
+
*
|
|
108
|
+
* const foo = volcengine.direct_connect.Connections({
|
|
109
|
+
* directConnectConnectionName: "tf_test",
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function connectionsOutput(args?: ConnectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ConnectionsResult>;
|
|
114
|
+
/**
|
|
115
|
+
* A collection of arguments for invoking Connections.
|
|
116
|
+
*/
|
|
117
|
+
export interface ConnectionsOutputArgs {
|
|
118
|
+
/**
|
|
119
|
+
* The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
|
|
120
|
+
*/
|
|
121
|
+
connectionType?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the physical leased line access point.
|
|
124
|
+
*/
|
|
125
|
+
directConnectAccessPointId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The name of directi connect connection.
|
|
128
|
+
*/
|
|
129
|
+
directConnectConnectionName?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* A list of IDs.
|
|
132
|
+
*/
|
|
133
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
|
|
136
|
+
*/
|
|
137
|
+
lineOperator?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* A Name Regex of Resource.
|
|
140
|
+
*/
|
|
141
|
+
nameRegex?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* File name where to save data source results.
|
|
144
|
+
*/
|
|
145
|
+
outputFile?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The peer access point of the physical leased line.
|
|
148
|
+
*/
|
|
149
|
+
peerLocation?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The filter tag of direct connect.
|
|
152
|
+
*/
|
|
153
|
+
tagFilters?: pulumi.Input<pulumi.Input<inputs.direct_connect.ConnectionsTagFilterArgs>[]>;
|
|
154
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.connectionsOutput = exports.connections = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of direct connect connections
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.direct_connect.Connections({
|
|
17
|
+
* directConnectConnectionName: "tf_test",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function connections(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:direct_connect/connections:Connections", {
|
|
25
|
+
"connectionType": args.connectionType,
|
|
26
|
+
"directConnectAccessPointId": args.directConnectAccessPointId,
|
|
27
|
+
"directConnectConnectionName": args.directConnectConnectionName,
|
|
28
|
+
"ids": args.ids,
|
|
29
|
+
"lineOperator": args.lineOperator,
|
|
30
|
+
"nameRegex": args.nameRegex,
|
|
31
|
+
"outputFile": args.outputFile,
|
|
32
|
+
"peerLocation": args.peerLocation,
|
|
33
|
+
"tagFilters": args.tagFilters,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.connections = connections;
|
|
37
|
+
/**
|
|
38
|
+
* Use this data source to query detailed information of direct connect connections
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
44
|
+
*
|
|
45
|
+
* const foo = volcengine.direct_connect.Connections({
|
|
46
|
+
* directConnectConnectionName: "tf_test",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
function connectionsOutput(args, opts) {
|
|
51
|
+
return pulumi.output(args).apply((a) => connections(a, opts));
|
|
52
|
+
}
|
|
53
|
+
exports.connectionsOutput = connectionsOutput;
|
|
54
|
+
//# sourceMappingURL=connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../direct_connect/connections.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,kCAeC;AAqFD;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage direct connect gateway
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.direct_connect.Gateway("foo", {
|
|
13
|
+
* description: "tf-test",
|
|
14
|
+
* directConnectGatewayName: "tf-test-gateway",
|
|
15
|
+
* tags: [{
|
|
16
|
+
* key: "k1",
|
|
17
|
+
* value: "v1",
|
|
18
|
+
* }],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* DirectConnectGateway can be imported using the id, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcengine:direct_connect/gateway:Gateway default resource_id
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Gateway extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Gateway 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: string, id: pulumi.Input<pulumi.ID>, state?: GatewayState, opts?: pulumi.CustomResourceOptions): Gateway;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Gateway;
|
|
46
|
+
/**
|
|
47
|
+
* The description of direct connect gateway.
|
|
48
|
+
*/
|
|
49
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of direct connect gateway.
|
|
52
|
+
*/
|
|
53
|
+
readonly directConnectGatewayName: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The direct connect gateway tags.
|
|
56
|
+
*/
|
|
57
|
+
readonly tags: pulumi.Output<outputs.direct_connect.GatewayTag[] | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering Gateway resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface GatewayState {
|
|
71
|
+
/**
|
|
72
|
+
* The description of direct connect gateway.
|
|
73
|
+
*/
|
|
74
|
+
description?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of direct connect gateway.
|
|
77
|
+
*/
|
|
78
|
+
directConnectGatewayName?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The direct connect gateway tags.
|
|
81
|
+
*/
|
|
82
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.GatewayTag>[]>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a Gateway resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface GatewayArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The description of direct connect gateway.
|
|
90
|
+
*/
|
|
91
|
+
description?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The name of direct connect gateway.
|
|
94
|
+
*/
|
|
95
|
+
directConnectGatewayName?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The direct connect gateway tags.
|
|
98
|
+
*/
|
|
99
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.GatewayTag>[]>;
|
|
100
|
+
}
|