@volcengine/pulumi 0.0.18 → 0.0.20
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/scalingGroup.d.ts +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/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 +280 -2
- package/types/output.d.ts +5318 -3363
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- 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,51 @@
|
|
|
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.gatewaysOutput = exports.gateways = 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 gateways
|
|
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.Gateways({
|
|
17
|
+
* directConnectGatewayName: "tf-test",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function gateways(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:direct_connect/gateways:Gateways", {
|
|
25
|
+
"cenId": args.cenId,
|
|
26
|
+
"directConnectGatewayName": args.directConnectGatewayName,
|
|
27
|
+
"ids": args.ids,
|
|
28
|
+
"nameRegex": args.nameRegex,
|
|
29
|
+
"outputFile": args.outputFile,
|
|
30
|
+
"tagFilters": args.tagFilters,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.gateways = gateways;
|
|
34
|
+
/**
|
|
35
|
+
* Use this data source to query detailed information of direct connect gateways
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
41
|
+
*
|
|
42
|
+
* const foo = volcengine.direct_connect.Gateways({
|
|
43
|
+
* directConnectGatewayName: "tf-test",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function gatewaysOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply((a) => gateways(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.gatewaysOutput = gatewaysOutput;
|
|
51
|
+
//# sourceMappingURL=gateways.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateways.js","sourceRoot":"","sources":["../../direct_connect/gateways.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,6CAA6C,EAAE;QACxE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AA6DD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { BgpPeerArgs, BgpPeerState } from "./bgpPeer";
|
|
2
|
+
export type BgpPeer = import("./bgpPeer").BgpPeer;
|
|
3
|
+
export declare const BgpPeer: typeof import("./bgpPeer").BgpPeer;
|
|
4
|
+
export { BgpPeersArgs, BgpPeersResult, BgpPeersOutputArgs } from "./bgpPeers";
|
|
5
|
+
export declare const bgpPeers: typeof import("./bgpPeers").bgpPeers;
|
|
6
|
+
export declare const bgpPeersOutput: typeof import("./bgpPeers").bgpPeersOutput;
|
|
7
|
+
export { ConnectionArgs, ConnectionState } from "./connection";
|
|
8
|
+
export type Connection = import("./connection").Connection;
|
|
9
|
+
export declare const Connection: typeof import("./connection").Connection;
|
|
10
|
+
export { ConnectionsArgs, ConnectionsResult, ConnectionsOutputArgs } from "./connections";
|
|
11
|
+
export declare const connections: typeof import("./connections").connections;
|
|
12
|
+
export declare const connectionsOutput: typeof import("./connections").connectionsOutput;
|
|
13
|
+
export { GatewayArgs, GatewayState } from "./gateway";
|
|
14
|
+
export type Gateway = import("./gateway").Gateway;
|
|
15
|
+
export declare const Gateway: typeof import("./gateway").Gateway;
|
|
16
|
+
export { GatewayRouteArgs, GatewayRouteState } from "./gatewayRoute";
|
|
17
|
+
export type GatewayRoute = import("./gatewayRoute").GatewayRoute;
|
|
18
|
+
export declare const GatewayRoute: typeof import("./gatewayRoute").GatewayRoute;
|
|
19
|
+
export { GatewayRoutesArgs, GatewayRoutesResult, GatewayRoutesOutputArgs } from "./gatewayRoutes";
|
|
20
|
+
export declare const gatewayRoutes: typeof import("./gatewayRoutes").gatewayRoutes;
|
|
21
|
+
export declare const gatewayRoutesOutput: typeof import("./gatewayRoutes").gatewayRoutesOutput;
|
|
22
|
+
export { GatewaysArgs, GatewaysResult, GatewaysOutputArgs } from "./gateways";
|
|
23
|
+
export declare const gateways: typeof import("./gateways").gateways;
|
|
24
|
+
export declare const gatewaysOutput: typeof import("./gateways").gatewaysOutput;
|
|
25
|
+
export { VirtualInterfaceArgs, VirtualInterfaceState } from "./virtualInterface";
|
|
26
|
+
export type VirtualInterface = import("./virtualInterface").VirtualInterface;
|
|
27
|
+
export declare const VirtualInterface: typeof import("./virtualInterface").VirtualInterface;
|
|
28
|
+
export { VirtualInterfacesArgs, VirtualInterfacesResult, VirtualInterfacesOutputArgs } from "./virtualInterfaces";
|
|
29
|
+
export declare const virtualInterfaces: typeof import("./virtualInterfaces").virtualInterfaces;
|
|
30
|
+
export declare const virtualInterfacesOutput: typeof import("./virtualInterfaces").virtualInterfacesOutput;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.virtualInterfacesOutput = exports.virtualInterfaces = exports.VirtualInterface = exports.gatewaysOutput = exports.gateways = exports.gatewayRoutesOutput = exports.gatewayRoutes = exports.GatewayRoute = exports.Gateway = exports.connectionsOutput = exports.connections = exports.Connection = exports.bgpPeersOutput = exports.bgpPeers = exports.BgpPeer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.BgpPeer = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["BgpPeer"], () => require("./bgpPeer"));
|
|
10
|
+
exports.bgpPeers = null;
|
|
11
|
+
exports.bgpPeersOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["bgpPeers", "bgpPeersOutput"], () => require("./bgpPeers"));
|
|
13
|
+
exports.Connection = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
|
|
15
|
+
exports.connections = null;
|
|
16
|
+
exports.connectionsOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["connections", "connectionsOutput"], () => require("./connections"));
|
|
18
|
+
exports.Gateway = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
|
|
20
|
+
exports.GatewayRoute = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["GatewayRoute"], () => require("./gatewayRoute"));
|
|
22
|
+
exports.gatewayRoutes = null;
|
|
23
|
+
exports.gatewayRoutesOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["gatewayRoutes", "gatewayRoutesOutput"], () => require("./gatewayRoutes"));
|
|
25
|
+
exports.gateways = null;
|
|
26
|
+
exports.gatewaysOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["gateways", "gatewaysOutput"], () => require("./gateways"));
|
|
28
|
+
exports.VirtualInterface = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["VirtualInterface"], () => require("./virtualInterface"));
|
|
30
|
+
exports.virtualInterfaces = null;
|
|
31
|
+
exports.virtualInterfacesOutput = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["virtualInterfaces", "virtualInterfacesOutput"], () => require("./virtualInterfaces"));
|
|
33
|
+
const _module = {
|
|
34
|
+
version: utilities.getVersion(),
|
|
35
|
+
construct: (name, type, urn) => {
|
|
36
|
+
switch (type) {
|
|
37
|
+
case "volcengine:direct_connect/bgpPeer:BgpPeer":
|
|
38
|
+
return new exports.BgpPeer(name, undefined, { urn });
|
|
39
|
+
case "volcengine:direct_connect/connection:Connection":
|
|
40
|
+
return new exports.Connection(name, undefined, { urn });
|
|
41
|
+
case "volcengine:direct_connect/gateway:Gateway":
|
|
42
|
+
return new exports.Gateway(name, undefined, { urn });
|
|
43
|
+
case "volcengine:direct_connect/gatewayRoute:GatewayRoute":
|
|
44
|
+
return new exports.GatewayRoute(name, undefined, { urn });
|
|
45
|
+
case "volcengine:direct_connect/virtualInterface:VirtualInterface":
|
|
46
|
+
return new exports.VirtualInterface(name, undefined, { urn });
|
|
47
|
+
default:
|
|
48
|
+
throw new Error(`unknown resource type ${type}`);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
pulumi.runtime.registerResourceModule("volcengine", "direct_connect/bgpPeer", _module);
|
|
53
|
+
pulumi.runtime.registerResourceModule("volcengine", "direct_connect/connection", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("volcengine", "direct_connect/gateway", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("volcengine", "direct_connect/gatewayRoute", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("volcengine", "direct_connect/virtualInterface", _module);
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../direct_connect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;A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AC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,263 @@
|
|
|
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 virtual interface
|
|
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.VirtualInterface("foo", {
|
|
13
|
+
* description: "tf-test",
|
|
14
|
+
* directConnectConnectionId: "dcc-rtkzeotzst1cu3numzi****",
|
|
15
|
+
* directConnectGatewayId: "dcg-638x4bjvjawwn3gd5xw****",
|
|
16
|
+
* enableBfd: false,
|
|
17
|
+
* localIp: "**.**.**.**/**",
|
|
18
|
+
* peerIp: "**.**.**.**/**",
|
|
19
|
+
* routeType: "Static",
|
|
20
|
+
* tags: [{
|
|
21
|
+
* key: "k1",
|
|
22
|
+
* value: "v1",
|
|
23
|
+
* }],
|
|
24
|
+
* virtualInterfaceName: "tf-test-vi",
|
|
25
|
+
* vlanId: 2,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* DirectConnectVirtualInterface can be imported using the id, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class VirtualInterface extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing VirtualInterface resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualInterfaceState, opts?: pulumi.CustomResourceOptions): VirtualInterface;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of VirtualInterface. 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: any): obj is VirtualInterface;
|
|
53
|
+
/**
|
|
54
|
+
* The band width limit of virtual interface,in Mbps.
|
|
55
|
+
*/
|
|
56
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
57
|
+
/**
|
|
58
|
+
* The BFD detect interval.
|
|
59
|
+
*/
|
|
60
|
+
readonly bfdDetectInterval: pulumi.Output<number | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The BFD detect times.
|
|
63
|
+
*/
|
|
64
|
+
readonly bfdDetectMultiplier: pulumi.Output<number | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of virtual interface.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The direct connect connection ID which associated with.
|
|
71
|
+
*/
|
|
72
|
+
readonly directConnectConnectionId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The direct connect gateway ID which associated with.
|
|
75
|
+
*/
|
|
76
|
+
readonly directConnectGatewayId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether enable BFD detect.
|
|
79
|
+
*/
|
|
80
|
+
readonly enableBfd: pulumi.Output<boolean | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Whether enable NQA detect.
|
|
83
|
+
*/
|
|
84
|
+
readonly enableNqa: pulumi.Output<boolean | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The local IP that associated with.
|
|
87
|
+
*/
|
|
88
|
+
readonly localIp: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The NQA detect interval.
|
|
91
|
+
*/
|
|
92
|
+
readonly nqaDetectInterval: pulumi.Output<number | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The NAQ detect times.
|
|
95
|
+
*/
|
|
96
|
+
readonly nqaDetectMultiplier: pulumi.Output<number | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The peer IP that associated with.
|
|
99
|
+
*/
|
|
100
|
+
readonly peerIp: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The route type of virtual interface,valid value contains `Static`,`BGP`.
|
|
103
|
+
*/
|
|
104
|
+
readonly routeType: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The tags that direct connect gateway added.
|
|
107
|
+
*/
|
|
108
|
+
readonly tags: pulumi.Output<outputs.direct_connect.VirtualInterfaceTag[] | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of virtual interface.
|
|
111
|
+
*/
|
|
112
|
+
readonly virtualInterfaceName: pulumi.Output<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
|
|
115
|
+
*/
|
|
116
|
+
readonly vlanId: pulumi.Output<number>;
|
|
117
|
+
/**
|
|
118
|
+
* Create a VirtualInterface resource with the given unique name, arguments, and options.
|
|
119
|
+
*
|
|
120
|
+
* @param name The _unique_ name of the resource.
|
|
121
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
122
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
123
|
+
*/
|
|
124
|
+
constructor(name: string, args: VirtualInterfaceArgs, opts?: pulumi.CustomResourceOptions);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Input properties used for looking up and filtering VirtualInterface resources.
|
|
128
|
+
*/
|
|
129
|
+
export interface VirtualInterfaceState {
|
|
130
|
+
/**
|
|
131
|
+
* The band width limit of virtual interface,in Mbps.
|
|
132
|
+
*/
|
|
133
|
+
bandwidth?: pulumi.Input<number>;
|
|
134
|
+
/**
|
|
135
|
+
* The BFD detect interval.
|
|
136
|
+
*/
|
|
137
|
+
bfdDetectInterval?: pulumi.Input<number>;
|
|
138
|
+
/**
|
|
139
|
+
* The BFD detect times.
|
|
140
|
+
*/
|
|
141
|
+
bfdDetectMultiplier?: pulumi.Input<number>;
|
|
142
|
+
/**
|
|
143
|
+
* The description of virtual interface.
|
|
144
|
+
*/
|
|
145
|
+
description?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The direct connect connection ID which associated with.
|
|
148
|
+
*/
|
|
149
|
+
directConnectConnectionId?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The direct connect gateway ID which associated with.
|
|
152
|
+
*/
|
|
153
|
+
directConnectGatewayId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Whether enable BFD detect.
|
|
156
|
+
*/
|
|
157
|
+
enableBfd?: pulumi.Input<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* Whether enable NQA detect.
|
|
160
|
+
*/
|
|
161
|
+
enableNqa?: pulumi.Input<boolean>;
|
|
162
|
+
/**
|
|
163
|
+
* The local IP that associated with.
|
|
164
|
+
*/
|
|
165
|
+
localIp?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The NQA detect interval.
|
|
168
|
+
*/
|
|
169
|
+
nqaDetectInterval?: pulumi.Input<number>;
|
|
170
|
+
/**
|
|
171
|
+
* The NAQ detect times.
|
|
172
|
+
*/
|
|
173
|
+
nqaDetectMultiplier?: pulumi.Input<number>;
|
|
174
|
+
/**
|
|
175
|
+
* The peer IP that associated with.
|
|
176
|
+
*/
|
|
177
|
+
peerIp?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The route type of virtual interface,valid value contains `Static`,`BGP`.
|
|
180
|
+
*/
|
|
181
|
+
routeType?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The tags that direct connect gateway added.
|
|
184
|
+
*/
|
|
185
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.VirtualInterfaceTag>[]>;
|
|
186
|
+
/**
|
|
187
|
+
* The name of virtual interface.
|
|
188
|
+
*/
|
|
189
|
+
virtualInterfaceName?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
|
|
192
|
+
*/
|
|
193
|
+
vlanId?: pulumi.Input<number>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The set of arguments for constructing a VirtualInterface resource.
|
|
197
|
+
*/
|
|
198
|
+
export interface VirtualInterfaceArgs {
|
|
199
|
+
/**
|
|
200
|
+
* The band width limit of virtual interface,in Mbps.
|
|
201
|
+
*/
|
|
202
|
+
bandwidth?: pulumi.Input<number>;
|
|
203
|
+
/**
|
|
204
|
+
* The BFD detect interval.
|
|
205
|
+
*/
|
|
206
|
+
bfdDetectInterval?: pulumi.Input<number>;
|
|
207
|
+
/**
|
|
208
|
+
* The BFD detect times.
|
|
209
|
+
*/
|
|
210
|
+
bfdDetectMultiplier?: pulumi.Input<number>;
|
|
211
|
+
/**
|
|
212
|
+
* The description of virtual interface.
|
|
213
|
+
*/
|
|
214
|
+
description?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* The direct connect connection ID which associated with.
|
|
217
|
+
*/
|
|
218
|
+
directConnectConnectionId: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* The direct connect gateway ID which associated with.
|
|
221
|
+
*/
|
|
222
|
+
directConnectGatewayId: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Whether enable BFD detect.
|
|
225
|
+
*/
|
|
226
|
+
enableBfd?: pulumi.Input<boolean>;
|
|
227
|
+
/**
|
|
228
|
+
* Whether enable NQA detect.
|
|
229
|
+
*/
|
|
230
|
+
enableNqa?: pulumi.Input<boolean>;
|
|
231
|
+
/**
|
|
232
|
+
* The local IP that associated with.
|
|
233
|
+
*/
|
|
234
|
+
localIp: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* The NQA detect interval.
|
|
237
|
+
*/
|
|
238
|
+
nqaDetectInterval?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* The NAQ detect times.
|
|
241
|
+
*/
|
|
242
|
+
nqaDetectMultiplier?: pulumi.Input<number>;
|
|
243
|
+
/**
|
|
244
|
+
* The peer IP that associated with.
|
|
245
|
+
*/
|
|
246
|
+
peerIp: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* The route type of virtual interface,valid value contains `Static`,`BGP`.
|
|
249
|
+
*/
|
|
250
|
+
routeType?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The tags that direct connect gateway added.
|
|
253
|
+
*/
|
|
254
|
+
tags?: pulumi.Input<pulumi.Input<inputs.direct_connect.VirtualInterfaceTag>[]>;
|
|
255
|
+
/**
|
|
256
|
+
* The name of virtual interface.
|
|
257
|
+
*/
|
|
258
|
+
virtualInterfaceName?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
|
|
261
|
+
*/
|
|
262
|
+
vlanId: pulumi.Input<number>;
|
|
263
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.VirtualInterface = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage direct connect virtual interface
|
|
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.VirtualInterface("foo", {
|
|
17
|
+
* description: "tf-test",
|
|
18
|
+
* directConnectConnectionId: "dcc-rtkzeotzst1cu3numzi****",
|
|
19
|
+
* directConnectGatewayId: "dcg-638x4bjvjawwn3gd5xw****",
|
|
20
|
+
* enableBfd: false,
|
|
21
|
+
* localIp: "**.**.**.**/**",
|
|
22
|
+
* peerIp: "**.**.**.**/**",
|
|
23
|
+
* routeType: "Static",
|
|
24
|
+
* tags: [{
|
|
25
|
+
* key: "k1",
|
|
26
|
+
* value: "v1",
|
|
27
|
+
* }],
|
|
28
|
+
* virtualInterfaceName: "tf-test-vi",
|
|
29
|
+
* vlanId: 2,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* DirectConnectVirtualInterface can be imported using the id, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class VirtualInterface extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing VirtualInterface resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new VirtualInterface(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of VirtualInterface. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === VirtualInterface.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
70
|
+
resourceInputs["bfdDetectInterval"] = state ? state.bfdDetectInterval : undefined;
|
|
71
|
+
resourceInputs["bfdDetectMultiplier"] = state ? state.bfdDetectMultiplier : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["directConnectConnectionId"] = state ? state.directConnectConnectionId : undefined;
|
|
74
|
+
resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
|
|
75
|
+
resourceInputs["enableBfd"] = state ? state.enableBfd : undefined;
|
|
76
|
+
resourceInputs["enableNqa"] = state ? state.enableNqa : undefined;
|
|
77
|
+
resourceInputs["localIp"] = state ? state.localIp : undefined;
|
|
78
|
+
resourceInputs["nqaDetectInterval"] = state ? state.nqaDetectInterval : undefined;
|
|
79
|
+
resourceInputs["nqaDetectMultiplier"] = state ? state.nqaDetectMultiplier : undefined;
|
|
80
|
+
resourceInputs["peerIp"] = state ? state.peerIp : undefined;
|
|
81
|
+
resourceInputs["routeType"] = state ? state.routeType : undefined;
|
|
82
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
83
|
+
resourceInputs["virtualInterfaceName"] = state ? state.virtualInterfaceName : undefined;
|
|
84
|
+
resourceInputs["vlanId"] = state ? state.vlanId : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.directConnectConnectionId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'directConnectConnectionId'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.directConnectGatewayId === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'directConnectGatewayId'");
|
|
93
|
+
}
|
|
94
|
+
if ((!args || args.localIp === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'localIp'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.peerIp === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'peerIp'");
|
|
99
|
+
}
|
|
100
|
+
if ((!args || args.vlanId === undefined) && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'vlanId'");
|
|
102
|
+
}
|
|
103
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
104
|
+
resourceInputs["bfdDetectInterval"] = args ? args.bfdDetectInterval : undefined;
|
|
105
|
+
resourceInputs["bfdDetectMultiplier"] = args ? args.bfdDetectMultiplier : undefined;
|
|
106
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
107
|
+
resourceInputs["directConnectConnectionId"] = args ? args.directConnectConnectionId : undefined;
|
|
108
|
+
resourceInputs["directConnectGatewayId"] = args ? args.directConnectGatewayId : undefined;
|
|
109
|
+
resourceInputs["enableBfd"] = args ? args.enableBfd : undefined;
|
|
110
|
+
resourceInputs["enableNqa"] = args ? args.enableNqa : undefined;
|
|
111
|
+
resourceInputs["localIp"] = args ? args.localIp : undefined;
|
|
112
|
+
resourceInputs["nqaDetectInterval"] = args ? args.nqaDetectInterval : undefined;
|
|
113
|
+
resourceInputs["nqaDetectMultiplier"] = args ? args.nqaDetectMultiplier : undefined;
|
|
114
|
+
resourceInputs["peerIp"] = args ? args.peerIp : undefined;
|
|
115
|
+
resourceInputs["routeType"] = args ? args.routeType : undefined;
|
|
116
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
117
|
+
resourceInputs["virtualInterfaceName"] = args ? args.virtualInterfaceName : undefined;
|
|
118
|
+
resourceInputs["vlanId"] = args ? args.vlanId : undefined;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(VirtualInterface.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.VirtualInterface = VirtualInterface;
|
|
125
|
+
/** @internal */
|
|
126
|
+
VirtualInterface.__pulumiType = 'volcengine:direct_connect/virtualInterface:VirtualInterface';
|
|
127
|
+
//# sourceMappingURL=virtualInterface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualInterface.js","sourceRoot":"","sources":["../../direct_connect/virtualInterface.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC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