1. Packages
  2. Volcengine
  3. API Docs
  4. cen
  5. BandwidthPackages
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

volcengine.cen.BandwidthPackages

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

    Use this data source to query detailed information of cen bandwidth packages

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Cen.BandwidthPackages.Invoke(new()
        {
            CenId = "cen-2bzrl3srxsv0g2dx0efyoojn3",
            Ids = new[]
            {
                "cbp-2bzeew3s8p79c2dx0eeohej4x",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cen.BandwidthPackages(ctx, &cen.BandwidthPackagesArgs{
    			CenId: pulumi.StringRef("cen-2bzrl3srxsv0g2dx0efyoojn3"),
    			Ids: []string{
    				"cbp-2bzeew3s8p79c2dx0eeohej4x",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cen.CenFunctions;
    import com.pulumi.volcengine.cen.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) {
            final var foo = CenFunctions.BandwidthPackages(BandwidthPackagesArgs.builder()
                .cenId("cen-2bzrl3srxsv0g2dx0efyoojn3")
                .ids("cbp-2bzeew3s8p79c2dx0eeohej4x")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cen.bandwidth_packages(cen_id="cen-2bzrl3srxsv0g2dx0efyoojn3",
        ids=["cbp-2bzeew3s8p79c2dx0eeohej4x"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cen.BandwidthPackages({
        cenId: "cen-2bzrl3srxsv0g2dx0efyoojn3",
        ids: ["cbp-2bzeew3s8p79c2dx0eeohej4x"],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cen:BandwidthPackages
          Arguments:
            cenId: cen-2bzrl3srxsv0g2dx0efyoojn3
            ids:
              - cbp-2bzeew3s8p79c2dx0eeohej4x
    

    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(cen_bandwidth_package_names: Optional[Sequence[str]] = None,
                           cen_id: Optional[str] = None,
                           ids: Optional[Sequence[str]] = None,
                           local_geographic_region_set_id: Optional[str] = None,
                           name_regex: Optional[str] = None,
                           output_file: Optional[str] = None,
                           peer_geographic_region_set_id: Optional[str] = None,
                           tags: Optional[Sequence[BandwidthPackagesTag]] = None,
                           opts: Optional[InvokeOptions] = None) -> BandwidthPackagesResult
    def bandwidth_packages_output(cen_bandwidth_package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           cen_id: Optional[pulumi.Input[str]] = None,
                           ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           local_geographic_region_set_id: Optional[pulumi.Input[str]] = None,
                           name_regex: Optional[pulumi.Input[str]] = None,
                           output_file: Optional[pulumi.Input[str]] = None,
                           peer_geographic_region_set_id: Optional[pulumi.Input[str]] = None,
                           tags: Optional[pulumi.Input[Sequence[pulumi.Input[BandwidthPackagesTagArgs]]]] = 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:cen:BandwidthPackages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CenBandwidthPackageNames List<string>

    A list of cen bandwidth package names.

    CenId string

    A cen id.

    Ids List<string>

    A list of cen bandwidth package IDs.

    LocalGeographicRegionSetId string

    A local geographic region set id.

    NameRegex string

    A Name Regex of cen bandwidth package.

    OutputFile string

    File name where to save data source results.

    PeerGeographicRegionSetId string

    A peer geographic region set id.

    Tags List<Volcengine.BandwidthPackagesTag>

    Tags.

    CenBandwidthPackageNames []string

    A list of cen bandwidth package names.

    CenId string

    A cen id.

    Ids []string

    A list of cen bandwidth package IDs.

    LocalGeographicRegionSetId string

    A local geographic region set id.

    NameRegex string

    A Name Regex of cen bandwidth package.

    OutputFile string

    File name where to save data source results.

    PeerGeographicRegionSetId string

    A peer geographic region set id.

    Tags []BandwidthPackagesTag

    Tags.

    cenBandwidthPackageNames List<String>

    A list of cen bandwidth package names.

    cenId String

    A cen id.

    ids List<String>

    A list of cen bandwidth package IDs.

    localGeographicRegionSetId String

    A local geographic region set id.

    nameRegex String

    A Name Regex of cen bandwidth package.

    outputFile String

    File name where to save data source results.

    peerGeographicRegionSetId String

    A peer geographic region set id.

    tags List<BandwidthPackagesTag>

    Tags.

    cenBandwidthPackageNames string[]

    A list of cen bandwidth package names.

    cenId string

    A cen id.

    ids string[]

    A list of cen bandwidth package IDs.

    localGeographicRegionSetId string

    A local geographic region set id.

    nameRegex string

    A Name Regex of cen bandwidth package.

    outputFile string

    File name where to save data source results.

    peerGeographicRegionSetId string

    A peer geographic region set id.

    tags BandwidthPackagesTag[]

    Tags.

    cen_bandwidth_package_names Sequence[str]

    A list of cen bandwidth package names.

    cen_id str

    A cen id.

    ids Sequence[str]

    A list of cen bandwidth package IDs.

    local_geographic_region_set_id str

    A local geographic region set id.

    name_regex str

    A Name Regex of cen bandwidth package.

    output_file str

    File name where to save data source results.

    peer_geographic_region_set_id str

    A peer geographic region set id.

    tags Sequence[BandwidthPackagesTag]

    Tags.

    cenBandwidthPackageNames List<String>

    A list of cen bandwidth package names.

    cenId String

    A cen id.

    ids List<String>

    A list of cen bandwidth package IDs.

    localGeographicRegionSetId String

    A local geographic region set id.

    nameRegex String

    A Name Regex of cen bandwidth package.

    outputFile String

    File name where to save data source results.

    peerGeographicRegionSetId String

    A peer geographic region set id.

    tags List<Property Map>

    Tags.

    BandwidthPackages Result

    The following output properties are available:

    BandwidthPackages List<Volcengine.BandwidthPackagesBandwidthPackage>

    The collection of cen bandwidth package query.

    Id string

    The provider-assigned unique ID for this managed resource.

    TotalCount int

    The total count of cen bandwidth package query.

    CenBandwidthPackageNames List<string>
    CenId string
    Ids List<string>
    LocalGeographicRegionSetId string

    The local geographic region set id of the cen bandwidth package.

    NameRegex string
    OutputFile string
    PeerGeographicRegionSetId string

    The peer geographic region set id of the cen bandwidth package.

    Tags List<Volcengine.BandwidthPackagesTag>

    Tags.

    BandwidthPackages []BandwidthPackagesBandwidthPackage

    The collection of cen bandwidth package query.

    Id string

    The provider-assigned unique ID for this managed resource.

    TotalCount int

    The total count of cen bandwidth package query.

    CenBandwidthPackageNames []string
    CenId string
    Ids []string
    LocalGeographicRegionSetId string

    The local geographic region set id of the cen bandwidth package.

    NameRegex string
    OutputFile string
    PeerGeographicRegionSetId string

    The peer geographic region set id of the cen bandwidth package.

    Tags []BandwidthPackagesTag

    Tags.

    bandwidthPackages List<BandwidthPackagesBandwidthPackage>

    The collection of cen bandwidth package query.

    id String

    The provider-assigned unique ID for this managed resource.

    totalCount Integer

    The total count of cen bandwidth package query.

    cenBandwidthPackageNames List<String>
    cenId String
    ids List<String>
    localGeographicRegionSetId String

    The local geographic region set id of the cen bandwidth package.

    nameRegex String
    outputFile String
    peerGeographicRegionSetId String

    The peer geographic region set id of the cen bandwidth package.

    tags List<BandwidthPackagesTag>

    Tags.

    bandwidthPackages BandwidthPackagesBandwidthPackage[]

    The collection of cen bandwidth package query.

    id string

    The provider-assigned unique ID for this managed resource.

    totalCount number

    The total count of cen bandwidth package query.

    cenBandwidthPackageNames string[]
    cenId string
    ids string[]
    localGeographicRegionSetId string

    The local geographic region set id of the cen bandwidth package.

    nameRegex string
    outputFile string
    peerGeographicRegionSetId string

    The peer geographic region set id of the cen bandwidth package.

    tags BandwidthPackagesTag[]

    Tags.

    bandwidth_packages Sequence[BandwidthPackagesBandwidthPackage]

    The collection of cen bandwidth package query.

    id str

    The provider-assigned unique ID for this managed resource.

    total_count int

    The total count of cen bandwidth package query.

    cen_bandwidth_package_names Sequence[str]
    cen_id str
    ids Sequence[str]
    local_geographic_region_set_id str

    The local geographic region set id of the cen bandwidth package.

    name_regex str
    output_file str
    peer_geographic_region_set_id str

    The peer geographic region set id of the cen bandwidth package.

    tags Sequence[BandwidthPackagesTag]

    Tags.

    bandwidthPackages List<Property Map>

    The collection of cen bandwidth package query.

    id String

    The provider-assigned unique ID for this managed resource.

    totalCount Number

    The total count of cen bandwidth package query.

    cenBandwidthPackageNames List<String>
    cenId String
    ids List<String>
    localGeographicRegionSetId String

    The local geographic region set id of the cen bandwidth package.

    nameRegex String
    outputFile String
    peerGeographicRegionSetId String

    The peer geographic region set id of the cen bandwidth package.

    tags List<Property Map>

    Tags.

    Supporting Types

    BandwidthPackagesBandwidthPackage

    AccountId string

    The account ID of the cen bandwidth package.

    Bandwidth int

    The bandwidth of the cen bandwidth package.

    BillingType string

    The billing type of the cen bandwidth package.

    BusinessStatus string

    The business status of the cen bandwidth package.

    CenBandwidthPackageId string

    The ID of the cen bandwidth package.

    CenBandwidthPackageName string

    The name of the cen bandwidth package.

    CenIds List<string>

    The cen IDs of the bandwidth package.

    CreationTime string

    The create time of the cen bandwidth package.

    DeletedTime string

    The deleted time of the cen bandwidth package.

    Description string

    The description of the cen bandwidth package.

    ExpiredTime string

    The expired time of the cen bandwidth package.

    Id string

    The ID of the cen bandwidth package.

    LocalGeographicRegionSetId string

    A local geographic region set id.

    PeerGeographicRegionSetId string

    A peer geographic region set id.

    ProjectName string

    The ProjectName of the cen bandwidth package.

    RemainingBandwidth int

    The remain bandwidth of the cen bandwidth package.

    Status string

    The status of the cen bandwidth package.

    Tags List<Volcengine.BandwidthPackagesBandwidthPackageTag>

    Tags.

    UpdateTime string

    The update time of the cen bandwidth package.

    AccountId string

    The account ID of the cen bandwidth package.

    Bandwidth int

    The bandwidth of the cen bandwidth package.

    BillingType string

    The billing type of the cen bandwidth package.

    BusinessStatus string

    The business status of the cen bandwidth package.

    CenBandwidthPackageId string

    The ID of the cen bandwidth package.

    CenBandwidthPackageName string

    The name of the cen bandwidth package.

    CenIds []string

    The cen IDs of the bandwidth package.

    CreationTime string

    The create time of the cen bandwidth package.

    DeletedTime string

    The deleted time of the cen bandwidth package.

    Description string

    The description of the cen bandwidth package.

    ExpiredTime string

    The expired time of the cen bandwidth package.

    Id string

    The ID of the cen bandwidth package.

    LocalGeographicRegionSetId string

    A local geographic region set id.

    PeerGeographicRegionSetId string

    A peer geographic region set id.

    ProjectName string

    The ProjectName of the cen bandwidth package.

    RemainingBandwidth int

    The remain bandwidth of the cen bandwidth package.

    Status string

    The status of the cen bandwidth package.

    Tags []BandwidthPackagesBandwidthPackageTag

    Tags.

    UpdateTime string

    The update time of the cen bandwidth package.

    accountId String

    The account ID of the cen bandwidth package.

    bandwidth Integer

    The bandwidth of the cen bandwidth package.

    billingType String

    The billing type of the cen bandwidth package.

    businessStatus String

    The business status of the cen bandwidth package.

    cenBandwidthPackageId String

    The ID of the cen bandwidth package.

    cenBandwidthPackageName String

    The name of the cen bandwidth package.

    cenIds List<String>

    The cen IDs of the bandwidth package.

    creationTime String

    The create time of the cen bandwidth package.

    deletedTime String

    The deleted time of the cen bandwidth package.

    description String

    The description of the cen bandwidth package.

    expiredTime String

    The expired time of the cen bandwidth package.

    id String

    The ID of the cen bandwidth package.

    localGeographicRegionSetId String

    A local geographic region set id.

    peerGeographicRegionSetId String

    A peer geographic region set id.

    projectName String

    The ProjectName of the cen bandwidth package.

    remainingBandwidth Integer

    The remain bandwidth of the cen bandwidth package.

    status String

    The status of the cen bandwidth package.

    tags List<BandwidthPackagesBandwidthPackageTag>

    Tags.

    updateTime String

    The update time of the cen bandwidth package.

    accountId string

    The account ID of the cen bandwidth package.

    bandwidth number

    The bandwidth of the cen bandwidth package.

    billingType string

    The billing type of the cen bandwidth package.

    businessStatus string

    The business status of the cen bandwidth package.

    cenBandwidthPackageId string

    The ID of the cen bandwidth package.

    cenBandwidthPackageName string

    The name of the cen bandwidth package.

    cenIds string[]

    The cen IDs of the bandwidth package.

    creationTime string

    The create time of the cen bandwidth package.

    deletedTime string

    The deleted time of the cen bandwidth package.

    description string

    The description of the cen bandwidth package.

    expiredTime string

    The expired time of the cen bandwidth package.

    id string

    The ID of the cen bandwidth package.

    localGeographicRegionSetId string

    A local geographic region set id.

    peerGeographicRegionSetId string

    A peer geographic region set id.

    projectName string

    The ProjectName of the cen bandwidth package.

    remainingBandwidth number

    The remain bandwidth of the cen bandwidth package.

    status string

    The status of the cen bandwidth package.

    tags BandwidthPackagesBandwidthPackageTag[]

    Tags.

    updateTime string

    The update time of the cen bandwidth package.

    account_id str

    The account ID of the cen bandwidth package.

    bandwidth int

    The bandwidth of the cen bandwidth package.

    billing_type str

    The billing type of the cen bandwidth package.

    business_status str

    The business status of the cen bandwidth package.

    cen_bandwidth_package_id str

    The ID of the cen bandwidth package.

    cen_bandwidth_package_name str

    The name of the cen bandwidth package.

    cen_ids Sequence[str]

    The cen IDs of the bandwidth package.

    creation_time str

    The create time of the cen bandwidth package.

    deleted_time str

    The deleted time of the cen bandwidth package.

    description str

    The description of the cen bandwidth package.

    expired_time str

    The expired time of the cen bandwidth package.

    id str

    The ID of the cen bandwidth package.

    local_geographic_region_set_id str

    A local geographic region set id.

    peer_geographic_region_set_id str

    A peer geographic region set id.

    project_name str

    The ProjectName of the cen bandwidth package.

    remaining_bandwidth int

    The remain bandwidth of the cen bandwidth package.

    status str

    The status of the cen bandwidth package.

    tags Sequence[BandwidthPackagesBandwidthPackageTag]

    Tags.

    update_time str

    The update time of the cen bandwidth package.

    accountId String

    The account ID of the cen bandwidth package.

    bandwidth Number

    The bandwidth of the cen bandwidth package.

    billingType String

    The billing type of the cen bandwidth package.

    businessStatus String

    The business status of the cen bandwidth package.

    cenBandwidthPackageId String

    The ID of the cen bandwidth package.

    cenBandwidthPackageName String

    The name of the cen bandwidth package.

    cenIds List<String>

    The cen IDs of the bandwidth package.

    creationTime String

    The create time of the cen bandwidth package.

    deletedTime String

    The deleted time of the cen bandwidth package.

    description String

    The description of the cen bandwidth package.

    expiredTime String

    The expired time of the cen bandwidth package.

    id String

    The ID of the cen bandwidth package.

    localGeographicRegionSetId String

    A local geographic region set id.

    peerGeographicRegionSetId String

    A peer geographic region set id.

    projectName String

    The ProjectName of the cen bandwidth package.

    remainingBandwidth Number

    The remain bandwidth of the cen bandwidth package.

    status String

    The status of the cen bandwidth package.

    tags List<Property Map>

    Tags.

    updateTime String

    The update time of the cen bandwidth package.

    BandwidthPackagesBandwidthPackageTag

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    key string

    The Key of Tags.

    value string

    The Value of Tags.

    key str

    The Key of Tags.

    value str

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    BandwidthPackagesTag

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    key string

    The Key of Tags.

    value string

    The Value of Tags.

    key str

    The Key of Tags.

    value str

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the volcengine Terraform Provider.

    volcengine logo
    Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine