Volcengine v0.0.27 published on Tuesday, Dec 10, 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
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],
});
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])
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
	})
}
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 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());
    }
}
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,
                       local_geographic_region_set_id: Optional[str] = None,
                       output_file: Optional[str] = None,
                       peer_geographic_region_set_id: 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,
                       local_geographic_region_set_id: Optional[pulumi.Input[str]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       peer_geographic_region_set_id: 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) BandwidthPackagesResultOutputpublic 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)
public static Output<BandwidthPackagesResult> bandwidthPackages(BandwidthPackagesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:transit_router:BandwidthPackages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- The ID list of the TransitRouter bandwidth package.
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- OutputFile string
- File name where to save data source results.
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the TransitRouter bandwidth package.
- 
List<BandwidthPackages Tag> 
- Tags.
- TransitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- Ids []string
- The ID list of the TransitRouter bandwidth package.
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- OutputFile string
- File name where to save data source results.
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the TransitRouter bandwidth package.
- 
[]BandwidthPackages Tag 
- Tags.
- TransitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- ids List<String>
- The ID list of the TransitRouter bandwidth package.
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- outputFile String
- File name where to save data source results.
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the TransitRouter bandwidth package.
- 
List<BandwidthPackages Tag> 
- Tags.
- transitRouter StringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- transitRouter StringPeer Attachment Id 
- The ID of the peer attachment.
- ids string[]
- The ID list of the TransitRouter bandwidth package.
- localGeographic stringRegion Set Id 
- The local geographic region set ID.
- outputFile string
- File name where to save data source results.
- peerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- projectName string
- The ProjectName of the TransitRouter bandwidth package.
- 
BandwidthPackages Tag[] 
- Tags.
- transitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- transitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- ids Sequence[str]
- The ID list of the TransitRouter bandwidth package.
- local_geographic_ strregion_ set_ id 
- The local geographic region set ID.
- output_file str
- File name where to save data source results.
- peer_geographic_ strregion_ set_ id 
- The peer geographic region set ID.
- project_name str
- The ProjectName of the TransitRouter bandwidth package.
- 
Sequence[BandwidthPackages 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.
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- outputFile String
- File name where to save data source results.
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the TransitRouter bandwidth package.
- List<Property Map>
- Tags.
- transitRouter StringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- transitRouter StringPeer Attachment Id 
- The ID of the peer attachment.
BandwidthPackages Result
The following output properties are available:
- BandwidthPackages List<BandwidthPackages Bandwidth Package> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- Ids List<string>
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- OutputFile string
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the transit router bandwidth package.
- 
List<BandwidthPackages Tag> 
- Tags.
- TransitRouter stringBandwidth Package Name 
- The name of the transit router bandwidth package.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- BandwidthPackages []BandwidthPackages Bandwidth Package 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- Ids []string
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- OutputFile string
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the transit router bandwidth package.
- 
[]BandwidthPackages Tag 
- Tags.
- TransitRouter stringBandwidth Package Name 
- The name of the transit router bandwidth package.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- bandwidthPackages List<BandwidthPackages Bandwidth Package> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- ids List<String>
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- outputFile String
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the transit router bandwidth package.
- 
List<BandwidthPackages Tag> 
- Tags.
- transitRouter StringBandwidth Package Name 
- The name of the transit router bandwidth package.
- transitRouter StringPeer Attachment Id 
- The ID of the peer attachment.
- bandwidthPackages BandwidthPackages Bandwidth Package[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- ids string[]
- localGeographic stringRegion Set Id 
- The local geographic region set ID.
- outputFile string
- peerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- projectName string
- The ProjectName of the transit router bandwidth package.
- 
BandwidthPackages Tag[] 
- Tags.
- transitRouter stringBandwidth Package Name 
- The name of the transit router bandwidth package.
- transitRouter 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]
- local_geographic_ strregion_ set_ id 
- The local geographic region set ID.
- output_file str
- peer_geographic_ strregion_ set_ id 
- The peer geographic region set ID.
- project_name str
- The ProjectName of the transit router bandwidth package.
- 
Sequence[BandwidthPackages 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.
- bandwidthPackages List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of query.
- ids List<String>
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- outputFile String
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the transit router bandwidth package.
- List<Property Map>
- Tags.
- transitRouter StringBandwidth Package Name 
- The name of the transit router bandwidth package.
- transitRouter StringPeer Attachment Id 
- The ID of the peer attachment.
Supporting Types
BandwidthPackagesBandwidthPackage   
- AccountId string
- The account id.
- Allocations
List<BandwidthPackages 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.
- BillingType string
- The billing type of the transit router bandwidth package.
- BusinessStatus string
- The business status of the transit router bandwidth package.
- CreationTime string
- The create time of the transit router bandwidth package.
- DeleteTime string
- The delete time of the transit router bandwidth package.
- Description string
- The description of the transit router bandwidth package.
- ExpiredTime string
- The expired time of the transit router bandwidth package.
- Id string
- The id of the transit router bandwidth package.
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the TransitRouter bandwidth package.
- RemainingBandwidth int
- The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- Status string
- The status of the transit router bandwidth package.
- 
List<BandwidthPackages Bandwidth Package Tag> 
- Tags.
- TransitRouter stringBandwidth Package Id 
- The id of the transit router attachment.
- TransitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- UpdateTime string
- The update time of the transit router bandwidth package.
- AccountId string
- The account id.
- Allocations
[]BandwidthPackages 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.
- BillingType string
- The billing type of the transit router bandwidth package.
- BusinessStatus string
- The business status of the transit router bandwidth package.
- CreationTime string
- The create time of the transit router bandwidth package.
- DeleteTime string
- The delete time of the transit router bandwidth package.
- Description string
- The description of the transit router bandwidth package.
- ExpiredTime string
- The expired time of the transit router bandwidth package.
- Id string
- The id of the transit router bandwidth package.
- LocalGeographic stringRegion Set Id 
- The local geographic region set ID.
- PeerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- ProjectName string
- The ProjectName of the TransitRouter bandwidth package.
- RemainingBandwidth int
- The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- Status string
- The status of the transit router bandwidth package.
- 
[]BandwidthPackages Bandwidth Package Tag 
- Tags.
- TransitRouter stringBandwidth Package Id 
- The id of the transit router attachment.
- TransitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- UpdateTime string
- The update time of the transit router bandwidth package.
- accountId String
- The account id.
- allocations
List<BandwidthPackages 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.
- billingType String
- The billing type of the transit router bandwidth package.
- businessStatus String
- The business status of the transit router bandwidth package.
- creationTime String
- The create time of the transit router bandwidth package.
- deleteTime String
- The delete time of the transit router bandwidth package.
- description String
- The description of the transit router bandwidth package.
- expiredTime String
- The expired time of the transit router bandwidth package.
- id String
- The id of the transit router bandwidth package.
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the TransitRouter bandwidth package.
- remainingBandwidth Integer
- The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status String
- The status of the transit router bandwidth package.
- 
List<BandwidthPackages Bandwidth Package Tag> 
- Tags.
- transitRouter StringBandwidth Package Id 
- The id of the transit router attachment.
- transitRouter StringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- updateTime String
- The update time of the transit router bandwidth package.
- accountId string
- The account id.
- allocations
BandwidthPackages 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.
- billingType string
- The billing type of the transit router bandwidth package.
- businessStatus string
- The business status of the transit router bandwidth package.
- creationTime string
- The create time of the transit router bandwidth package.
- deleteTime string
- The delete time of the transit router bandwidth package.
- description string
- The description of the transit router bandwidth package.
- expiredTime string
- The expired time of the transit router bandwidth package.
- id string
- The id of the transit router bandwidth package.
- localGeographic stringRegion Set Id 
- The local geographic region set ID.
- peerGeographic stringRegion Set Id 
- The peer geographic region set ID.
- projectName string
- The ProjectName of the TransitRouter bandwidth package.
- remainingBandwidth number
- The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
- status string
- The status of the transit router bandwidth package.
- 
BandwidthPackages Bandwidth Package Tag[] 
- Tags.
- transitRouter stringBandwidth Package Id 
- The id of the transit router attachment.
- transitRouter stringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- updateTime string
- The update time of the transit router bandwidth package.
- account_id str
- The account id.
- allocations
Sequence[BandwidthPackages 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[BandwidthPackages 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.
- accountId 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.
- billingType String
- The billing type of the transit router bandwidth package.
- businessStatus String
- The business status of the transit router bandwidth package.
- creationTime String
- The create time of the transit router bandwidth package.
- deleteTime String
- The delete time of the transit router bandwidth package.
- description String
- The description of the transit router bandwidth package.
- expiredTime String
- The expired time of the transit router bandwidth package.
- id String
- The id of the transit router bandwidth package.
- localGeographic StringRegion Set Id 
- The local geographic region set ID.
- peerGeographic StringRegion Set Id 
- The peer geographic region set ID.
- projectName String
- The ProjectName of the TransitRouter bandwidth package.
- remainingBandwidth 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.
- transitRouter StringBandwidth Package Id 
- The id of the transit router attachment.
- transitRouter StringBandwidth Package Name 
- The name of the TransitRouter bandwidth package.
- updateTime String
- The update time of the transit router bandwidth package.
BandwidthPackagesBandwidthPackageAllocation    
- AllocateTime string
- The delete time of the transit router bandwidth package.
- DeleteTime string
- The delete time of the transit router bandwidth package.
- LocalRegion stringId 
- The local region id of the transit router.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- AllocateTime string
- The delete time of the transit router bandwidth package.
- DeleteTime string
- The delete time of the transit router bandwidth package.
- LocalRegion stringId 
- The local region id of the transit router.
- TransitRouter stringPeer Attachment Id 
- The ID of the peer attachment.
- allocateTime String
- The delete time of the transit router bandwidth package.
- deleteTime String
- The delete time of the transit router bandwidth package.
- localRegion StringId 
- The local region id of the transit router.
- transitRouter StringPeer Attachment Id 
- The ID of the peer attachment.
- allocateTime string
- The delete time of the transit router bandwidth package.
- deleteTime string
- The delete time of the transit router bandwidth package.
- localRegion stringId 
- The local region id of the transit router.
- transitRouter 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.
- allocateTime String
- The delete time of the transit router bandwidth package.
- deleteTime String
- The delete time of the transit router bandwidth package.
- localRegion StringId 
- The local region id of the transit router.
- transitRouter 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 volcengineTerraform Provider.