@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
package/nat/gateway.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
78
78
|
/**
|
|
79
79
|
* The ProjectName of the NatGateway.
|
|
80
80
|
*/
|
|
81
|
-
readonly projectName: pulumi.Output<string
|
|
81
|
+
readonly projectName: pulumi.Output<string>;
|
|
82
82
|
/**
|
|
83
83
|
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large`.
|
|
84
84
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volcengine/pulumi",
|
|
3
|
-
"version": "v0.0.
|
|
3
|
+
"version": "v0.0.20",
|
|
4
4
|
"description": "A Pulumi package for creating and managing volcengine cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.20"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/redis/instance.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ import * as outputs from "../types/output";
|
|
|
60
60
|
* 2,
|
|
61
61
|
* 3,
|
|
62
62
|
* ],
|
|
63
|
-
* backupHour:
|
|
63
|
+
* backupHour: 6,
|
|
64
64
|
* backupActive: true,
|
|
65
65
|
* createBackup: false,
|
|
66
66
|
* applyImmediately: true,
|
|
@@ -140,6 +140,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
140
140
|
readonly nodeNumber: pulumi.Output<number>;
|
|
141
141
|
/**
|
|
142
142
|
* The configuration item information to be modified. This field can only be added or modified. Deleting this field is invalid.
|
|
143
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields, or use the command `pulumi up` to perform a modification operation.
|
|
143
144
|
*/
|
|
144
145
|
readonly paramValues: pulumi.Output<outputs.redis.InstanceParamValue[] | undefined>;
|
|
145
146
|
/**
|
|
@@ -180,7 +181,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
180
181
|
*/
|
|
181
182
|
readonly tags: pulumi.Output<outputs.redis.InstanceTag[] | undefined>;
|
|
182
183
|
/**
|
|
183
|
-
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
184
|
+
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
184
185
|
*/
|
|
185
186
|
readonly vpcAuthMode: pulumi.Output<string>;
|
|
186
187
|
/**
|
|
@@ -249,6 +250,7 @@ export interface InstanceState {
|
|
|
249
250
|
nodeNumber?: pulumi.Input<number>;
|
|
250
251
|
/**
|
|
251
252
|
* The configuration item information to be modified. This field can only be added or modified. Deleting this field is invalid.
|
|
253
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields, or use the command `pulumi up` to perform a modification operation.
|
|
252
254
|
*/
|
|
253
255
|
paramValues?: pulumi.Input<pulumi.Input<inputs.redis.InstanceParamValue>[]>;
|
|
254
256
|
/**
|
|
@@ -289,7 +291,7 @@ export interface InstanceState {
|
|
|
289
291
|
*/
|
|
290
292
|
tags?: pulumi.Input<pulumi.Input<inputs.redis.InstanceTag>[]>;
|
|
291
293
|
/**
|
|
292
|
-
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
294
|
+
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
293
295
|
*/
|
|
294
296
|
vpcAuthMode?: pulumi.Input<string>;
|
|
295
297
|
/**
|
|
@@ -350,6 +352,7 @@ export interface InstanceArgs {
|
|
|
350
352
|
nodeNumber: pulumi.Input<number>;
|
|
351
353
|
/**
|
|
352
354
|
* The configuration item information to be modified. This field can only be added or modified. Deleting this field is invalid.
|
|
355
|
+
* When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields, or use the command `pulumi up` to perform a modification operation.
|
|
353
356
|
*/
|
|
354
357
|
paramValues?: pulumi.Input<pulumi.Input<inputs.redis.InstanceParamValue>[]>;
|
|
355
358
|
/**
|
|
@@ -390,7 +393,7 @@ export interface InstanceArgs {
|
|
|
390
393
|
*/
|
|
391
394
|
tags?: pulumi.Input<pulumi.Input<inputs.redis.InstanceTag>[]>;
|
|
392
395
|
/**
|
|
393
|
-
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
396
|
+
* Whether to enable password-free access when connecting to an instance through a private network. Valid values: `open`, `close`.
|
|
394
397
|
*/
|
|
395
398
|
vpcAuthMode?: pulumi.Input<string>;
|
|
396
399
|
/**
|
package/redis/instance.js
CHANGED
package/redis/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../redis/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;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AAC,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;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArNL,4BAsNC;AAxMG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -61,7 +61,7 @@ export declare class AlarmNotifyGroup extends pulumi.CustomResource {
|
|
|
61
61
|
/**
|
|
62
62
|
* The name of the iam project.
|
|
63
63
|
*/
|
|
64
|
-
readonly iamProjectName: pulumi.Output<string
|
|
64
|
+
readonly iamProjectName: pulumi.Output<string>;
|
|
65
65
|
/**
|
|
66
66
|
* The notify type.
|
|
67
67
|
*/
|
|
@@ -0,0 +1,211 @@
|
|
|
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 transit router bandwidth package
|
|
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.transit_router.BandwidthPackage("foo", {
|
|
13
|
+
* bandwidth: 2,
|
|
14
|
+
* description: "acc-test",
|
|
15
|
+
* period: 1,
|
|
16
|
+
* renewType: "Manual",
|
|
17
|
+
* transitRouterBandwidthPackageName: "acc-tf-test",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* TransitRouterBandwidthPackage can be imported using the Id, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcengine:transit_router/bandwidthPackage:BandwidthPackage default tbp-cd-2felfww0i6pkw59gp68bq****
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class BandwidthPackage extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BandwidthPackageState, opts?: pulumi.CustomResourceOptions): BandwidthPackage;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is BandwidthPackage;
|
|
45
|
+
/**
|
|
46
|
+
* The detailed information on cross regional connections associated with bandwidth packets.
|
|
47
|
+
*/
|
|
48
|
+
readonly allocations: pulumi.Output<outputs.transit_router.BandwidthPackageAllocation[]>;
|
|
49
|
+
/**
|
|
50
|
+
* The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
|
|
51
|
+
*/
|
|
52
|
+
readonly bandwidth: pulumi.Output<number | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The business status of the transit router bandwidth package.
|
|
55
|
+
*/
|
|
56
|
+
readonly businessStatus: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The create time of the transit router bandwidth package.
|
|
59
|
+
*/
|
|
60
|
+
readonly creationTime: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The delete time of the transit router bandwidth package.
|
|
63
|
+
*/
|
|
64
|
+
readonly deleteTime: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of the transit router bandwidth package.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The expired time of the transit router bandwidth package.
|
|
71
|
+
*/
|
|
72
|
+
readonly expiredTime: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
|
|
75
|
+
*/
|
|
76
|
+
readonly period: pulumi.Output<number | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
|
|
79
|
+
*/
|
|
80
|
+
readonly remainRenewTimes: pulumi.Output<number | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
|
|
83
|
+
*/
|
|
84
|
+
readonly remainingBandwidth: pulumi.Output<number>;
|
|
85
|
+
/**
|
|
86
|
+
* The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
87
|
+
*/
|
|
88
|
+
readonly renewPeriod: pulumi.Output<number | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
|
|
91
|
+
*/
|
|
92
|
+
readonly renewType: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The status of the transit router bandwidth package.
|
|
95
|
+
*/
|
|
96
|
+
readonly status: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The name of the transit router bandwidth package.
|
|
99
|
+
*/
|
|
100
|
+
readonly transitRouterBandwidthPackageName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The update time of the transit router bandwidth package.
|
|
103
|
+
*/
|
|
104
|
+
readonly updateTime: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a BandwidthPackage resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args?: BandwidthPackageArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering BandwidthPackage resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface BandwidthPackageState {
|
|
118
|
+
/**
|
|
119
|
+
* The detailed information on cross regional connections associated with bandwidth packets.
|
|
120
|
+
*/
|
|
121
|
+
allocations?: pulumi.Input<pulumi.Input<inputs.transit_router.BandwidthPackageAllocation>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
|
|
124
|
+
*/
|
|
125
|
+
bandwidth?: pulumi.Input<number>;
|
|
126
|
+
/**
|
|
127
|
+
* The business status of the transit router bandwidth package.
|
|
128
|
+
*/
|
|
129
|
+
businessStatus?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The create time of the transit router bandwidth package.
|
|
132
|
+
*/
|
|
133
|
+
creationTime?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The delete time of the transit router bandwidth package.
|
|
136
|
+
*/
|
|
137
|
+
deleteTime?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The description of the transit router bandwidth package.
|
|
140
|
+
*/
|
|
141
|
+
description?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The expired time of the transit router bandwidth package.
|
|
144
|
+
*/
|
|
145
|
+
expiredTime?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
|
|
148
|
+
*/
|
|
149
|
+
period?: pulumi.Input<number>;
|
|
150
|
+
/**
|
|
151
|
+
* The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
|
|
152
|
+
*/
|
|
153
|
+
remainRenewTimes?: pulumi.Input<number>;
|
|
154
|
+
/**
|
|
155
|
+
* The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
|
|
156
|
+
*/
|
|
157
|
+
remainingBandwidth?: pulumi.Input<number>;
|
|
158
|
+
/**
|
|
159
|
+
* The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
160
|
+
*/
|
|
161
|
+
renewPeriod?: pulumi.Input<number>;
|
|
162
|
+
/**
|
|
163
|
+
* The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
|
|
164
|
+
*/
|
|
165
|
+
renewType?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The status of the transit router bandwidth package.
|
|
168
|
+
*/
|
|
169
|
+
status?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The name of the transit router bandwidth package.
|
|
172
|
+
*/
|
|
173
|
+
transitRouterBandwidthPackageName?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The update time of the transit router bandwidth package.
|
|
176
|
+
*/
|
|
177
|
+
updateTime?: pulumi.Input<string>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The set of arguments for constructing a BandwidthPackage resource.
|
|
181
|
+
*/
|
|
182
|
+
export interface BandwidthPackageArgs {
|
|
183
|
+
/**
|
|
184
|
+
* The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
|
|
185
|
+
*/
|
|
186
|
+
bandwidth?: pulumi.Input<number>;
|
|
187
|
+
/**
|
|
188
|
+
* The description of the transit router bandwidth package.
|
|
189
|
+
*/
|
|
190
|
+
description?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
|
|
193
|
+
*/
|
|
194
|
+
period?: pulumi.Input<number>;
|
|
195
|
+
/**
|
|
196
|
+
* The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
|
|
197
|
+
*/
|
|
198
|
+
remainRenewTimes?: pulumi.Input<number>;
|
|
199
|
+
/**
|
|
200
|
+
* The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
201
|
+
*/
|
|
202
|
+
renewPeriod?: pulumi.Input<number>;
|
|
203
|
+
/**
|
|
204
|
+
* The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
|
|
205
|
+
*/
|
|
206
|
+
renewType?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The name of the transit router bandwidth package.
|
|
209
|
+
*/
|
|
210
|
+
transitRouterBandwidthPackageName?: pulumi.Input<string>;
|
|
211
|
+
}
|
|
@@ -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,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAA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AAI,CAAC,iCAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAzIL,4CA0IC;AA5HG,gBAAgB;AACO,6BAAY,GAAG,6DAA6D,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"}
|