@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,102 @@
|
|
|
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.BandwidthPackage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage transit router bandwidth package
|
|
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.transit_router.BandwidthPackage("foo", {
|
|
17
|
+
* bandwidth: 2,
|
|
18
|
+
* description: "acc-test",
|
|
19
|
+
* period: 1,
|
|
20
|
+
* renewType: "Manual",
|
|
21
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* TransitRouterBandwidthPackage can be imported using the Id, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcengine:transit_router/bandwidthPackage:BandwidthPackage default tbp-cd-2felfww0i6pkw59gp68bq****
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class BandwidthPackage extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new BandwidthPackage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === BandwidthPackage.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["allocations"] = state ? state.allocations : undefined;
|
|
62
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
63
|
+
resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
|
|
64
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
65
|
+
resourceInputs["deleteTime"] = state ? state.deleteTime : undefined;
|
|
66
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
67
|
+
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
68
|
+
resourceInputs["period"] = state ? state.period : undefined;
|
|
69
|
+
resourceInputs["remainRenewTimes"] = state ? state.remainRenewTimes : undefined;
|
|
70
|
+
resourceInputs["remainingBandwidth"] = state ? state.remainingBandwidth : undefined;
|
|
71
|
+
resourceInputs["renewPeriod"] = state ? state.renewPeriod : undefined;
|
|
72
|
+
resourceInputs["renewType"] = state ? state.renewType : undefined;
|
|
73
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
74
|
+
resourceInputs["transitRouterBandwidthPackageName"] = state ? state.transitRouterBandwidthPackageName : undefined;
|
|
75
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
80
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
+
resourceInputs["period"] = args ? args.period : undefined;
|
|
82
|
+
resourceInputs["remainRenewTimes"] = args ? args.remainRenewTimes : undefined;
|
|
83
|
+
resourceInputs["renewPeriod"] = args ? args.renewPeriod : undefined;
|
|
84
|
+
resourceInputs["renewType"] = args ? args.renewType : undefined;
|
|
85
|
+
resourceInputs["transitRouterBandwidthPackageName"] = args ? args.transitRouterBandwidthPackageName : undefined;
|
|
86
|
+
resourceInputs["allocations"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["businessStatus"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["deleteTime"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["expiredTime"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["remainingBandwidth"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(BandwidthPackage.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.BandwidthPackage = BandwidthPackage;
|
|
100
|
+
/** @internal */
|
|
101
|
+
BandwidthPackage.__pulumiType = 'volcengine:transit_router/bandwidthPackage:BandwidthPackage';
|
|
102
|
+
//# sourceMappingURL=bandwidthPackage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bandwidthPackage.js","sourceRoot":"","sources":["../../transit_router/bandwidthPackage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,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DAA6D,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of transit router bandwidth packages
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
|
|
13
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
14
|
+
* description: "acc-test",
|
|
15
|
+
* bandwidth: 2,
|
|
16
|
+
* period: 1,
|
|
17
|
+
* renewType: "Manual",
|
|
18
|
+
* });
|
|
19
|
+
* const fooBandwidthPackages = volcengine.transit_router.BandwidthPackagesOutput({
|
|
20
|
+
* ids: [fooBandwidthPackage.id],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function bandwidthPackages(args?: BandwidthPackagesArgs, opts?: pulumi.InvokeOptions): Promise<BandwidthPackagesResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking BandwidthPackages.
|
|
27
|
+
*/
|
|
28
|
+
export interface BandwidthPackagesArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The ID list of the TransitRouter bandwidth package.
|
|
31
|
+
*/
|
|
32
|
+
ids?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* File name where to save data source results.
|
|
35
|
+
*/
|
|
36
|
+
outputFile?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the TransitRouter bandwidth package.
|
|
39
|
+
*/
|
|
40
|
+
transitRouterBandwidthPackageName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the peer attachment.
|
|
43
|
+
*/
|
|
44
|
+
transitRouterPeerAttachmentId?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by BandwidthPackages.
|
|
48
|
+
*/
|
|
49
|
+
export interface BandwidthPackagesResult {
|
|
50
|
+
/**
|
|
51
|
+
* The collection of query.
|
|
52
|
+
*/
|
|
53
|
+
readonly bandwidthPackages: outputs.transit_router.BandwidthPackagesBandwidthPackage[];
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly ids?: string[];
|
|
59
|
+
readonly outputFile?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The total count of query.
|
|
62
|
+
*/
|
|
63
|
+
readonly totalCount: number;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the transit router bandwidth package.
|
|
66
|
+
*/
|
|
67
|
+
readonly transitRouterBandwidthPackageName?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the peer attachment.
|
|
70
|
+
*/
|
|
71
|
+
readonly transitRouterPeerAttachmentId?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Use this data source to query detailed information of transit router bandwidth packages
|
|
75
|
+
* ## Example Usage
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
80
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
81
|
+
*
|
|
82
|
+
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
|
|
83
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
84
|
+
* description: "acc-test",
|
|
85
|
+
* bandwidth: 2,
|
|
86
|
+
* period: 1,
|
|
87
|
+
* renewType: "Manual",
|
|
88
|
+
* });
|
|
89
|
+
* const fooBandwidthPackages = volcengine.transit_router.BandwidthPackagesOutput({
|
|
90
|
+
* ids: [fooBandwidthPackage.id],
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export declare function bandwidthPackagesOutput(args?: BandwidthPackagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BandwidthPackagesResult>;
|
|
95
|
+
/**
|
|
96
|
+
* A collection of arguments for invoking BandwidthPackages.
|
|
97
|
+
*/
|
|
98
|
+
export interface BandwidthPackagesOutputArgs {
|
|
99
|
+
/**
|
|
100
|
+
* The ID list of the TransitRouter bandwidth package.
|
|
101
|
+
*/
|
|
102
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
103
|
+
/**
|
|
104
|
+
* File name where to save data source results.
|
|
105
|
+
*/
|
|
106
|
+
outputFile?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the TransitRouter bandwidth package.
|
|
109
|
+
*/
|
|
110
|
+
transitRouterBandwidthPackageName?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the peer attachment.
|
|
113
|
+
*/
|
|
114
|
+
transitRouterPeerAttachmentId?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.bandwidthPackagesOutput = exports.bandwidthPackages = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of transit router bandwidth packages
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
|
|
18
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
19
|
+
* description: "acc-test",
|
|
20
|
+
* bandwidth: 2,
|
|
21
|
+
* period: 1,
|
|
22
|
+
* renewType: "Manual",
|
|
23
|
+
* });
|
|
24
|
+
* const fooBandwidthPackages = volcengine.transit_router.BandwidthPackagesOutput({
|
|
25
|
+
* ids: [fooBandwidthPackage.id],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function bandwidthPackages(args, opts) {
|
|
30
|
+
args = args || {};
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invoke("volcengine:transit_router/bandwidthPackages:BandwidthPackages", {
|
|
33
|
+
"ids": args.ids,
|
|
34
|
+
"outputFile": args.outputFile,
|
|
35
|
+
"transitRouterBandwidthPackageName": args.transitRouterBandwidthPackageName,
|
|
36
|
+
"transitRouterPeerAttachmentId": args.transitRouterPeerAttachmentId,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.bandwidthPackages = bandwidthPackages;
|
|
40
|
+
/**
|
|
41
|
+
* Use this data source to query detailed information of transit router bandwidth packages
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
47
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
48
|
+
*
|
|
49
|
+
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
|
|
50
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
51
|
+
* description: "acc-test",
|
|
52
|
+
* bandwidth: 2,
|
|
53
|
+
* period: 1,
|
|
54
|
+
* renewType: "Manual",
|
|
55
|
+
* });
|
|
56
|
+
* const fooBandwidthPackages = volcengine.transit_router.BandwidthPackagesOutput({
|
|
57
|
+
* ids: [fooBandwidthPackage.id],
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
function bandwidthPackagesOutput(args, opts) {
|
|
62
|
+
return pulumi.output(args).apply((a) => bandwidthPackages(a, opts));
|
|
63
|
+
}
|
|
64
|
+
exports.bandwidthPackagesOutput = bandwidthPackagesOutput;
|
|
65
|
+
//# sourceMappingURL=bandwidthPackages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bandwidthPackages.js","sourceRoot":"","sources":["../../transit_router/bandwidthPackages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,+DAA+D,EAAE;QAC1F,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,mCAAmC,EAAE,IAAI,CAAC,iCAAiC;QAC3E,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;KACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAmDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage transit router direct connect gateway attachment
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.transit_router.DirectConnectGatewayAttachment("foo", {
|
|
11
|
+
* description: "tf-test-modify",
|
|
12
|
+
* directConnectGatewayId: "dcg-3reaq6ymdzegw5zsk2igxzusb",
|
|
13
|
+
* transitRouterAttachmentName: "tf-test-modify",
|
|
14
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* TransitRouterDirectConnectGatewayAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class DirectConnectGatewayAttachment extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectConnectGatewayAttachmentState, opts?: pulumi.CustomResourceOptions): DirectConnectGatewayAttachment;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is DirectConnectGatewayAttachment;
|
|
42
|
+
/**
|
|
43
|
+
* The description.
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The id of the direct connect gateway.
|
|
48
|
+
*/
|
|
49
|
+
readonly directConnectGatewayId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The id of the transit router direct connect gateway attachment.
|
|
52
|
+
*/
|
|
53
|
+
readonly transitRouterAttachmentId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the transit router direct connect gateway attachment.
|
|
56
|
+
*/
|
|
57
|
+
readonly transitRouterAttachmentName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The id of the transit router.
|
|
60
|
+
*/
|
|
61
|
+
readonly transitRouterId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a DirectConnectGatewayAttachment resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: DirectConnectGatewayAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering DirectConnectGatewayAttachment resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface DirectConnectGatewayAttachmentState {
|
|
75
|
+
/**
|
|
76
|
+
* The description.
|
|
77
|
+
*/
|
|
78
|
+
description?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The id of the direct connect gateway.
|
|
81
|
+
*/
|
|
82
|
+
directConnectGatewayId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The id of the transit router direct connect gateway attachment.
|
|
85
|
+
*/
|
|
86
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The name of the transit router direct connect gateway attachment.
|
|
89
|
+
*/
|
|
90
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The id of the transit router.
|
|
93
|
+
*/
|
|
94
|
+
transitRouterId?: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a DirectConnectGatewayAttachment resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface DirectConnectGatewayAttachmentArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The description.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The id of the direct connect gateway.
|
|
106
|
+
*/
|
|
107
|
+
directConnectGatewayId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the transit router direct connect gateway attachment.
|
|
110
|
+
*/
|
|
111
|
+
transitRouterAttachmentName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The id of the transit router.
|
|
114
|
+
*/
|
|
115
|
+
transitRouterId: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.DirectConnectGatewayAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage transit router direct connect gateway attachment
|
|
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.transit_router.DirectConnectGatewayAttachment("foo", {
|
|
17
|
+
* description: "tf-test-modify",
|
|
18
|
+
* directConnectGatewayId: "dcg-3reaq6ymdzegw5zsk2igxzusb",
|
|
19
|
+
* transitRouterAttachmentName: "tf-test-modify",
|
|
20
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* TransitRouterDirectConnectGatewayAttachment can be imported using the transitRouterId:attachmentId, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class DirectConnectGatewayAttachment extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new DirectConnectGatewayAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === DirectConnectGatewayAttachment.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
61
|
+
resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
|
|
62
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
63
|
+
resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
|
|
64
|
+
resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.directConnectGatewayId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'directConnectGatewayId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.transitRouterId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'transitRouterId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["directConnectGatewayId"] = args ? args.directConnectGatewayId : undefined;
|
|
76
|
+
resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
|
|
77
|
+
resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
|
|
78
|
+
resourceInputs["transitRouterAttachmentId"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(DirectConnectGatewayAttachment.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.DirectConnectGatewayAttachment = DirectConnectGatewayAttachment;
|
|
85
|
+
/** @internal */
|
|
86
|
+
DirectConnectGatewayAttachment.__pulumiType = 'volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment';
|
|
87
|
+
//# sourceMappingURL=directConnectGatewayAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directConnectGatewayAttachment.js","sourceRoot":"","sources":["../../transit_router/directConnectGatewayAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,C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AS,CAAC;YAC1F,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AAnFL,wEAoFC;AAtEG,gBAAgB;AACO,2CAAY,GAAG,yFAAyF,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of transit router direct connect gateway attachments
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.transit_router.DirectConnectGatewayAttachments({
|
|
12
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function directConnectGatewayAttachments(args: DirectConnectGatewayAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<DirectConnectGatewayAttachmentsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking DirectConnectGatewayAttachments.
|
|
19
|
+
*/
|
|
20
|
+
export interface DirectConnectGatewayAttachmentsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* ID of the direct connection gateway.
|
|
23
|
+
*/
|
|
24
|
+
directConnectGatewayId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* File name where to save data source results.
|
|
27
|
+
*/
|
|
28
|
+
outputFile?: string;
|
|
29
|
+
/**
|
|
30
|
+
* ID of the network instance connection.
|
|
31
|
+
*/
|
|
32
|
+
transitRouterAttachmentIds?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* The id of the transit router.
|
|
35
|
+
*/
|
|
36
|
+
transitRouterId: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by DirectConnectGatewayAttachments.
|
|
40
|
+
*/
|
|
41
|
+
export interface DirectConnectGatewayAttachmentsResult {
|
|
42
|
+
/**
|
|
43
|
+
* The collection of query.
|
|
44
|
+
*/
|
|
45
|
+
readonly attachments: outputs.transit_router.DirectConnectGatewayAttachmentsAttachment[];
|
|
46
|
+
/**
|
|
47
|
+
* The direct connect gateway id.
|
|
48
|
+
*/
|
|
49
|
+
readonly directConnectGatewayId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The provider-assigned unique ID for this managed resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly outputFile?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The total count of query.
|
|
57
|
+
*/
|
|
58
|
+
readonly totalCount: number;
|
|
59
|
+
readonly transitRouterAttachmentIds?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* The id of the transit router.
|
|
62
|
+
*/
|
|
63
|
+
readonly transitRouterId: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Use this data source to query detailed information of transit router direct connect gateway attachments
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
72
|
+
*
|
|
73
|
+
* const foo = volcengine.transit_router.DirectConnectGatewayAttachments({
|
|
74
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function directConnectGatewayAttachmentsOutput(args: DirectConnectGatewayAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DirectConnectGatewayAttachmentsResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking DirectConnectGatewayAttachments.
|
|
81
|
+
*/
|
|
82
|
+
export interface DirectConnectGatewayAttachmentsOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* ID of the direct connection gateway.
|
|
85
|
+
*/
|
|
86
|
+
directConnectGatewayId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* File name where to save data source results.
|
|
89
|
+
*/
|
|
90
|
+
outputFile?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* ID of the network instance connection.
|
|
93
|
+
*/
|
|
94
|
+
transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
95
|
+
/**
|
|
96
|
+
* The id of the transit router.
|
|
97
|
+
*/
|
|
98
|
+
transitRouterId: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.directConnectGatewayAttachmentsOutput = exports.directConnectGatewayAttachments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of transit router direct connect gateway attachments
|
|
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.transit_router.DirectConnectGatewayAttachments({
|
|
17
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function directConnectGatewayAttachments(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:transit_router/directConnectGatewayAttachments:DirectConnectGatewayAttachments", {
|
|
24
|
+
"directConnectGatewayId": args.directConnectGatewayId,
|
|
25
|
+
"outputFile": args.outputFile,
|
|
26
|
+
"transitRouterAttachmentIds": args.transitRouterAttachmentIds,
|
|
27
|
+
"transitRouterId": args.transitRouterId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.directConnectGatewayAttachments = directConnectGatewayAttachments;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to query detailed information of transit router direct connect gateway attachments
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
38
|
+
*
|
|
39
|
+
* const foo = volcengine.transit_router.DirectConnectGatewayAttachments({
|
|
40
|
+
* transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function directConnectGatewayAttachmentsOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => directConnectGatewayAttachments(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.directConnectGatewayAttachmentsOutput = directConnectGatewayAttachmentsOutput;
|
|
48
|
+
//# sourceMappingURL=directConnectGatewayAttachments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directConnectGatewayAttachments.js","sourceRoot":"","sources":["../../transit_router/directConnectGatewayAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAElH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2FAA2F,EAAE;QACtH,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0EASC;AAmDD;;;;;;;;;;;;GAYG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAC9H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,+BAA+B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1F,CAAC;AAFD,sFAEC"}
|