Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.transit_router.BandwidthPackages
Explore with Pulumi AI
Use this data source to query detailed information of transit router bandwidth packages
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooBandwidthPackage = new Volcengine.Transit_router.BandwidthPackage("fooBandwidthPackage", new()
{
TransitRouterBandwidthPackageName = "acc-tf-test",
Description = "acc-test",
Bandwidth = 2,
Period = 1,
RenewType = "Manual",
});
var fooBandwidthPackages = Volcengine.Transit_router.BandwidthPackages.Invoke(new()
{
Ids = new[]
{
fooBandwidthPackage.Id,
},
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooBandwidthPackage, err := transit_router.NewBandwidthPackage(ctx, "fooBandwidthPackage", &transit_router.BandwidthPackageArgs{
TransitRouterBandwidthPackageName: pulumi.String("acc-tf-test"),
Description: pulumi.String("acc-test"),
Bandwidth: pulumi.Int(2),
Period: pulumi.Int(1),
RenewType: pulumi.String("Manual"),
})
if err != nil {
return err
}
_ = transit_router.BandwidthPackagesOutput(ctx, transit_router.BandwidthPackagesOutputArgs{
Ids: pulumi.StringArray{
fooBandwidthPackage.ID(),
},
}, nil)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.transit_router.BandwidthPackage;
import com.pulumi.volcengine.transit_router.BandwidthPackageArgs;
import com.pulumi.volcengine.transit_router.Transit_routerFunctions;
import com.pulumi.volcengine.transit_router.inputs.BandwidthPackagesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var fooBandwidthPackage = new BandwidthPackage("fooBandwidthPackage", BandwidthPackageArgs.builder()
.transitRouterBandwidthPackageName("acc-tf-test")
.description("acc-test")
.bandwidth(2)
.period(1)
.renewType("Manual")
.build());
final var fooBandwidthPackages = Transit_routerFunctions.BandwidthPackages(BandwidthPackagesArgs.builder()
.ids(fooBandwidthPackage.id())
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo_bandwidth_package = volcengine.transit_router.BandwidthPackage("fooBandwidthPackage",
transit_router_bandwidth_package_name="acc-tf-test",
description="acc-test",
bandwidth=2,
period=1,
renew_type="Manual")
foo_bandwidth_packages = volcengine.transit_router.bandwidth_packages_output(ids=[foo_bandwidth_package.id])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
transitRouterBandwidthPackageName: "acc-tf-test",
description: "acc-test",
bandwidth: 2,
period: 1,
renewType: "Manual",
});
const fooBandwidthPackages = volcengine.transit_router.BandwidthPackagesOutput({
ids: [fooBandwidthPackage.id],
});
resources:
fooBandwidthPackage:
type: volcengine:transit_router:BandwidthPackage
properties:
transitRouterBandwidthPackageName: acc-tf-test
description: acc-test
bandwidth: 2
period: 1
renewType: Manual
variables:
fooBandwidthPackages:
fn::invoke:
Function: volcengine:transit_router:BandwidthPackages
Arguments:
ids:
- ${fooBandwidthPackage.id}
Using BandwidthPackages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function bandwidthPackages(args: BandwidthPackagesArgs, opts?: InvokeOptions): Promise<BandwidthPackagesResult>
function bandwidthPackagesOutput(args: BandwidthPackagesOutputArgs, opts?: InvokeOptions): Output<BandwidthPackagesResult>
def bandwidth_packages(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[BandwidthPackagesTag]] = None,
transit_router_bandwidth_package_name: Optional[str] = None,
transit_router_peer_attachment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> BandwidthPackagesResult
def bandwidth_packages_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[BandwidthPackagesTagArgs]]]] = None,
transit_router_bandwidth_package_name: Optional[pulumi.Input[str]] = None,
transit_router_peer_attachment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[BandwidthPackagesResult]
func BandwidthPackages(ctx *Context, args *BandwidthPackagesArgs, opts ...InvokeOption) (*BandwidthPackagesResult, error)
func BandwidthPackagesOutput(ctx *Context, args *BandwidthPackagesOutputArgs, opts ...InvokeOption) BandwidthPackagesResultOutput
public static class BandwidthPackages
{
public static Task<BandwidthPackagesResult> InvokeAsync(BandwidthPackagesArgs args, InvokeOptions? opts = null)
public static Output<BandwidthPackagesResult> Invoke(BandwidthPackagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<BandwidthPackagesResult> bandwidthPackages(BandwidthPackagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:transit_router:BandwidthPackages
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- The ID list of the TransitRouter bandwidth package.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of the TransitRouter bandwidth package.
- List<Bandwidth
Packages Tag> - Tags.
- Transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- Ids []string
- The ID list of the TransitRouter bandwidth package.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of the TransitRouter bandwidth package.
- []Bandwidth
Packages Tag - Tags.
- Transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- ids List<String>
- The ID list of the TransitRouter bandwidth package.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of the TransitRouter bandwidth package.
- List<Bandwidth
Packages Tag> - Tags.
- transit
Router StringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
- ids string[]
- The ID list of the TransitRouter bandwidth package.
- output
File string - File name where to save data source results.
- project
Name string - The ProjectName of the TransitRouter bandwidth package.
- Bandwidth
Packages Tag[] - Tags.
- transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- ids Sequence[str]
- The ID list of the TransitRouter bandwidth package.
- output_
file str - File name where to save data source results.
- project_
name str - The ProjectName of the TransitRouter bandwidth package.
- Sequence[Bandwidth
Packages Tag] - Tags.
- transit_
router_ strbandwidth_ package_ name - The name of the TransitRouter bandwidth package.
- transit_
router_ strpeer_ attachment_ id - The ID of the peer attachment.
- ids List<String>
- The ID list of the TransitRouter bandwidth package.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of the TransitRouter bandwidth package.
- List<Property Map>
- Tags.
- transit
Router StringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
BandwidthPackages Result
The following output properties are available:
- Bandwidth
Packages List<BandwidthPackages Bandwidth Package> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids List<string>
- Output
File string - Project
Name string - The ProjectName of the transit router bandwidth package.
- List<Bandwidth
Packages Tag> - Tags.
- Transit
Router stringBandwidth Package Name - The name of the transit router bandwidth package.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- Bandwidth
Packages []BandwidthPackages Bandwidth Package - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids []string
- Output
File string - Project
Name string - The ProjectName of the transit router bandwidth package.
- []Bandwidth
Packages Tag - Tags.
- Transit
Router stringBandwidth Package Name - The name of the transit router bandwidth package.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- bandwidth
Packages List<BandwidthPackages Bandwidth Package> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- ids List<String>
- output
File String - project
Name String - The ProjectName of the transit router bandwidth package.
- List<Bandwidth
Packages Tag> - Tags.
- transit
Router StringBandwidth Package Name - The name of the transit router bandwidth package.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
- bandwidth
Packages BandwidthPackages Bandwidth Package[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- ids string[]
- output
File string - project
Name string - The ProjectName of the transit router bandwidth package.
- Bandwidth
Packages Tag[] - Tags.
- transit
Router stringBandwidth Package Name - The name of the transit router bandwidth package.
- transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- bandwidth_
packages Sequence[BandwidthPackages Bandwidth Package] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- ids Sequence[str]
- output_
file str - project_
name str - The ProjectName of the transit router bandwidth package.
- Sequence[Bandwidth
Packages Tag] - Tags.
- transit_
router_ strbandwidth_ package_ name - The name of the transit router bandwidth package.
- transit_
router_ strpeer_ attachment_ id - The ID of the peer attachment.
- bandwidth
Packages List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- ids List<String>
- output
File String - project
Name String - The ProjectName of the transit router bandwidth package.
- List<Property Map>
- Tags.
- transit
Router StringBandwidth Package Name - The name of the transit router bandwidth package.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
Supporting Types
BandwidthPackagesBandwidthPackage
- Account
Id string - The account id.
- Allocations
List<Bandwidth
Packages Bandwidth Package Allocation> - The detailed information on cross regional connections associated with bandwidth packets.
- Bandwidth int
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- Billing
Type string - The billing type of the transit router bandwidth package.
- Business
Status string - The business status of the transit router bandwidth package.
- Creation
Time string - The create time of the transit router bandwidth package.
- Delete
Time string - The delete time of the transit router bandwidth package.
- Description string
- The description of the transit router bandwidth package.
- Expired
Time string - The expired time of the transit router bandwidth package.
- Id string
- The id of the transit router bandwidth package.
- Local
Geographic stringRegion Set Id - The local geographic region set ID.
- Peer
Geographic stringRegion Set Id - The peer geographic region set ID.
- Project
Name string - The ProjectName of the TransitRouter bandwidth package.
- Remaining
Bandwidth int - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- Status string
- The status of the transit router bandwidth package.
- List<Bandwidth
Packages Bandwidth Package Tag> - Tags.
- Transit
Router stringBandwidth Package Id - The id of the transit router attachment.
- Transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- Update
Time string - The update time of the transit router bandwidth package.
- Account
Id string - The account id.
- Allocations
[]Bandwidth
Packages Bandwidth Package Allocation - The detailed information on cross regional connections associated with bandwidth packets.
- Bandwidth int
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- Billing
Type string - The billing type of the transit router bandwidth package.
- Business
Status string - The business status of the transit router bandwidth package.
- Creation
Time string - The create time of the transit router bandwidth package.
- Delete
Time string - The delete time of the transit router bandwidth package.
- Description string
- The description of the transit router bandwidth package.
- Expired
Time string - The expired time of the transit router bandwidth package.
- Id string
- The id of the transit router bandwidth package.
- Local
Geographic stringRegion Set Id - The local geographic region set ID.
- Peer
Geographic stringRegion Set Id - The peer geographic region set ID.
- Project
Name string - The ProjectName of the TransitRouter bandwidth package.
- Remaining
Bandwidth int - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- Status string
- The status of the transit router bandwidth package.
- []Bandwidth
Packages Bandwidth Package Tag - Tags.
- Transit
Router stringBandwidth Package Id - The id of the transit router attachment.
- Transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- Update
Time string - The update time of the transit router bandwidth package.
- account
Id String - The account id.
- allocations
List<Bandwidth
Packages Bandwidth Package Allocation> - The detailed information on cross regional connections associated with bandwidth packets.
- bandwidth Integer
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- billing
Type String - The billing type of the transit router bandwidth package.
- business
Status String - The business status of the transit router bandwidth package.
- creation
Time String - The create time of the transit router bandwidth package.
- delete
Time String - The delete time of the transit router bandwidth package.
- description String
- The description of the transit router bandwidth package.
- expired
Time String - The expired time of the transit router bandwidth package.
- id String
- The id of the transit router bandwidth package.
- local
Geographic StringRegion Set Id - The local geographic region set ID.
- peer
Geographic StringRegion Set Id - The peer geographic region set ID.
- project
Name String - The ProjectName of the TransitRouter bandwidth package.
- remaining
Bandwidth Integer - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status String
- The status of the transit router bandwidth package.
- List<Bandwidth
Packages Bandwidth Package Tag> - Tags.
- transit
Router StringBandwidth Package Id - The id of the transit router attachment.
- transit
Router StringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- update
Time String - The update time of the transit router bandwidth package.
- account
Id string - The account id.
- allocations
Bandwidth
Packages Bandwidth Package Allocation[] - The detailed information on cross regional connections associated with bandwidth packets.
- bandwidth number
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- billing
Type string - The billing type of the transit router bandwidth package.
- business
Status string - The business status of the transit router bandwidth package.
- creation
Time string - The create time of the transit router bandwidth package.
- delete
Time string - The delete time of the transit router bandwidth package.
- description string
- The description of the transit router bandwidth package.
- expired
Time string - The expired time of the transit router bandwidth package.
- id string
- The id of the transit router bandwidth package.
- local
Geographic stringRegion Set Id - The local geographic region set ID.
- peer
Geographic stringRegion Set Id - The peer geographic region set ID.
- project
Name string - The ProjectName of the TransitRouter bandwidth package.
- remaining
Bandwidth number - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status string
- The status of the transit router bandwidth package.
- Bandwidth
Packages Bandwidth Package Tag[] - Tags.
- transit
Router stringBandwidth Package Id - The id of the transit router attachment.
- transit
Router stringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- update
Time string - The update time of the transit router bandwidth package.
- account_
id str - The account id.
- allocations
Sequence[Bandwidth
Packages Bandwidth Package Allocation] - The detailed information on cross regional connections associated with bandwidth packets.
- bandwidth int
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- billing_
type str - The billing type of the transit router bandwidth package.
- business_
status str - The business status of the transit router bandwidth package.
- creation_
time str - The create time of the transit router bandwidth package.
- delete_
time str - The delete time of the transit router bandwidth package.
- description str
- The description of the transit router bandwidth package.
- expired_
time str - The expired time of the transit router bandwidth package.
- id str
- The id of the transit router bandwidth package.
- local_
geographic_ strregion_ set_ id - The local geographic region set ID.
- peer_
geographic_ strregion_ set_ id - The peer geographic region set ID.
- project_
name str - The ProjectName of the TransitRouter bandwidth package.
- remaining_
bandwidth int - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status str
- The status of the transit router bandwidth package.
- Sequence[Bandwidth
Packages Bandwidth Package Tag] - Tags.
- transit_
router_ strbandwidth_ package_ id - The id of the transit router attachment.
- transit_
router_ strbandwidth_ package_ name - The name of the TransitRouter bandwidth package.
- update_
time str - The update time of the transit router bandwidth package.
- account
Id String - The account id.
- allocations List<Property Map>
- The detailed information on cross regional connections associated with bandwidth packets.
- bandwidth Number
- The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
- billing
Type String - The billing type of the transit router bandwidth package.
- business
Status String - The business status of the transit router bandwidth package.
- creation
Time String - The create time of the transit router bandwidth package.
- delete
Time String - The delete time of the transit router bandwidth package.
- description String
- The description of the transit router bandwidth package.
- expired
Time String - The expired time of the transit router bandwidth package.
- id String
- The id of the transit router bandwidth package.
- local
Geographic StringRegion Set Id - The local geographic region set ID.
- peer
Geographic StringRegion Set Id - The peer geographic region set ID.
- project
Name String - The ProjectName of the TransitRouter bandwidth package.
- remaining
Bandwidth Number - The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status String
- The status of the transit router bandwidth package.
- List<Property Map>
- Tags.
- transit
Router StringBandwidth Package Id - The id of the transit router attachment.
- transit
Router StringBandwidth Package Name - The name of the TransitRouter bandwidth package.
- update
Time String - The update time of the transit router bandwidth package.
BandwidthPackagesBandwidthPackageAllocation
- Allocate
Time string - The delete time of the transit router bandwidth package.
- Delete
Time string - The delete time of the transit router bandwidth package.
- Local
Region stringId - The local region id of the transit router.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- Allocate
Time string - The delete time of the transit router bandwidth package.
- Delete
Time string - The delete time of the transit router bandwidth package.
- Local
Region stringId - The local region id of the transit router.
- Transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- allocate
Time String - The delete time of the transit router bandwidth package.
- delete
Time String - The delete time of the transit router bandwidth package.
- local
Region StringId - The local region id of the transit router.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
- allocate
Time string - The delete time of the transit router bandwidth package.
- delete
Time string - The delete time of the transit router bandwidth package.
- local
Region stringId - The local region id of the transit router.
- transit
Router stringPeer Attachment Id - The ID of the peer attachment.
- allocate_
time str - The delete time of the transit router bandwidth package.
- delete_
time str - The delete time of the transit router bandwidth package.
- local_
region_ strid - The local region id of the transit router.
- transit_
router_ strpeer_ attachment_ id - The ID of the peer attachment.
- allocate
Time String - The delete time of the transit router bandwidth package.
- delete
Time String - The delete time of the transit router bandwidth package.
- local
Region StringId - The local region id of the transit router.
- transit
Router StringPeer Attachment Id - The ID of the peer attachment.
BandwidthPackagesBandwidthPackageTag
BandwidthPackagesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.