1. Packages
  2. Volcengine
  3. API Docs
  4. bandwidth_package
  5. BandwidthPackages
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.bandwidth_package.BandwidthPackages

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Use this data source to query detailed information of bandwidth packages

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Bandwidth_package.BandwidthPackages.Invoke(new()
        {
            Ids = new[]
            {
                "bwp-rr0eev56j7y8v0x58ggbclr",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/bandwidth_package"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bandwidth_package.BandwidthPackages(ctx, &bandwidth_package.BandwidthPackagesArgs{
    			Ids: []string{
    				"bwp-rr0eev56j7y8v0x58ggbclr",
    			},
    		}, 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.bandwidth_package.Bandwidth_packageFunctions;
    import com.pulumi.volcengine.bandwidth_package.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 = Bandwidth_packageFunctions.BandwidthPackages(BandwidthPackagesArgs.builder()
                .ids("bwp-rr0eev56j7y8v0x58ggbclr")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.bandwidth_package.bandwidth_packages(ids=["bwp-rr0eev56j7y8v0x58ggbclr"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.bandwidth_package.BandwidthPackages({
        ids: ["bwp-rr0eev56j7y8v0x58ggbclr"],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:bandwidth_package:BandwidthPackages
          Arguments:
            ids:
              - bwp-rr0eev56j7y8v0x58ggbclr
    

    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(bandwidth_package_name: Optional[str] = None,
                           ids: Optional[Sequence[str]] = None,
                           isp: Optional[str] = None,
                           name_regex: Optional[str] = None,
                           output_file: Optional[str] = None,
                           project_name: Optional[str] = None,
                           protocol: Optional[str] = None,
                           security_protection_enabled: Optional[bool] = None,
                           tag_filters: Optional[Sequence[BandwidthPackagesTagFilter]] = None,
                           opts: Optional[InvokeOptions] = None) -> BandwidthPackagesResult
    def bandwidth_packages_output(bandwidth_package_name: Optional[pulumi.Input[str]] = None,
                           ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           isp: Optional[pulumi.Input[str]] = None,
                           name_regex: Optional[pulumi.Input[str]] = None,
                           output_file: Optional[pulumi.Input[str]] = None,
                           project_name: Optional[pulumi.Input[str]] = None,
                           protocol: Optional[pulumi.Input[str]] = None,
                           security_protection_enabled: Optional[pulumi.Input[bool]] = None,
                           tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[BandwidthPackagesTagFilterArgs]]]] = 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:bandwidth_package:BandwidthPackages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BandwidthPackageName string
    Shared bandwidth package name to be queried.
    Ids List<string>
    Shared bandwidth package instance ID to be queried.
    Isp string
    Line types for shared bandwidth packages.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of the bandwidth package to be queried.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionEnabled bool
    Security protection types for shared bandwidth packages.
    TagFilters List<Volcengine.BandwidthPackagesTagFilter>
    A list of tags.
    BandwidthPackageName string
    Shared bandwidth package name to be queried.
    Ids []string
    Shared bandwidth package instance ID to be queried.
    Isp string
    Line types for shared bandwidth packages.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of the bandwidth package to be queried.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionEnabled bool
    Security protection types for shared bandwidth packages.
    TagFilters []BandwidthPackagesTagFilter
    A list of tags.
    bandwidthPackageName String
    Shared bandwidth package name to be queried.
    ids List<String>
    Shared bandwidth package instance ID to be queried.
    isp String
    Line types for shared bandwidth packages.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of the bandwidth package to be queried.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionEnabled Boolean
    Security protection types for shared bandwidth packages.
    tagFilters List<BandwidthPackagesTagFilter>
    A list of tags.
    bandwidthPackageName string
    Shared bandwidth package name to be queried.
    ids string[]
    Shared bandwidth package instance ID to be queried.
    isp string
    Line types for shared bandwidth packages.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    projectName string
    The project name of the bandwidth package to be queried.
    protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionEnabled boolean
    Security protection types for shared bandwidth packages.
    tagFilters BandwidthPackagesTagFilter[]
    A list of tags.
    bandwidth_package_name str
    Shared bandwidth package name to be queried.
    ids Sequence[str]
    Shared bandwidth package instance ID to be queried.
    isp str
    Line types for shared bandwidth packages.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    project_name str
    The project name of the bandwidth package to be queried.
    protocol str
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    security_protection_enabled bool
    Security protection types for shared bandwidth packages.
    tag_filters Sequence[BandwidthPackagesTagFilter]
    A list of tags.
    bandwidthPackageName String
    Shared bandwidth package name to be queried.
    ids List<String>
    Shared bandwidth package instance ID to be queried.
    isp String
    Line types for shared bandwidth packages.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of the bandwidth package to be queried.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionEnabled Boolean
    Security protection types for shared bandwidth packages.
    tagFilters List<Property Map>
    A list of tags.

    BandwidthPackages Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Packages List<Volcengine.BandwidthPackagesPackage>
    The collection of query.
    TotalCount int
    The total count of query.
    BandwidthPackageName string
    The name of the bandwidth package.
    Ids List<string>
    Isp string
    The line type.
    NameRegex string
    OutputFile string
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The protocol of the bandwidth package.
    SecurityProtectionEnabled bool
    TagFilters List<Volcengine.BandwidthPackagesTagFilter>
    Id string
    The provider-assigned unique ID for this managed resource.
    Packages []BandwidthPackagesPackage
    The collection of query.
    TotalCount int
    The total count of query.
    BandwidthPackageName string
    The name of the bandwidth package.
    Ids []string
    Isp string
    The line type.
    NameRegex string
    OutputFile string
    ProjectName string
    The project name of the bandwidth package.
    Protocol string
    The protocol of the bandwidth package.
    SecurityProtectionEnabled bool
    TagFilters []BandwidthPackagesTagFilter
    id String
    The provider-assigned unique ID for this managed resource.
    packages List<BandwidthPackagesPackage>
    The collection of query.
    totalCount Integer
    The total count of query.
    bandwidthPackageName String
    The name of the bandwidth package.
    ids List<String>
    isp String
    The line type.
    nameRegex String
    outputFile String
    projectName String
    The project name of the bandwidth package.
    protocol String
    The protocol of the bandwidth package.
    securityProtectionEnabled Boolean
    tagFilters List<BandwidthPackagesTagFilter>
    id string
    The provider-assigned unique ID for this managed resource.
    packages BandwidthPackagesPackage[]
    The collection of query.
    totalCount number
    The total count of query.
    bandwidthPackageName string
    The name of the bandwidth package.
    ids string[]
    isp string
    The line type.
    nameRegex string
    outputFile string
    projectName string
    The project name of the bandwidth package.
    protocol string
    The protocol of the bandwidth package.
    securityProtectionEnabled boolean
    tagFilters BandwidthPackagesTagFilter[]
    id str
    The provider-assigned unique ID for this managed resource.
    packages Sequence[BandwidthPackagesPackage]
    The collection of query.
    total_count int
    The total count of query.
    bandwidth_package_name str
    The name of the bandwidth package.
    ids Sequence[str]
    isp str
    The line type.
    name_regex str
    output_file str
    project_name str
    The project name of the bandwidth package.
    protocol str
    The protocol of the bandwidth package.
    security_protection_enabled bool
    tag_filters Sequence[BandwidthPackagesTagFilter]
    id String
    The provider-assigned unique ID for this managed resource.
    packages List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    bandwidthPackageName String
    The name of the bandwidth package.
    ids List<String>
    isp String
    The line type.
    nameRegex String
    outputFile String
    projectName String
    The project name of the bandwidth package.
    protocol String
    The protocol of the bandwidth package.
    securityProtectionEnabled Boolean
    tagFilters List<Property Map>

    Supporting Types

    BandwidthPackagesPackage

    Bandwidth int
    The bandwidth of the bandwidth package.
    BandwidthPackageId string
    The id of the bandwidth package.
    BandwidthPackageName string
    Shared bandwidth package name to be queried.
    BillingType string
    The billing type of the bandwidth package.
    BusinessStatus string
    The business status of the bandwidth package.
    CreationTime string
    The creation time of the bandwidth package.
    DeletedTime string
    The deleted time of the bandwidth package.
    EipAddresses List<Volcengine.BandwidthPackagesPackageEipAddress>
    List of public IP information included in the shared bandwidth package.
    ExpiredTime string
    The expiration time of the bandwidth package.
    Id string
    The id of the bandwidth package.
    Isp string
    Line types for shared bandwidth packages.
    OverdueTime string
    The overdue time of the bandwidth package.
    ProjectName string
    The project name of the bandwidth package to be queried.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes List<string>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    Status string
    The status of the bandwidth package.
    Tags List<Volcengine.BandwidthPackagesPackageTag>
    Tags.
    UpdateTime string
    The update time of the bandwidth package.
    Bandwidth int
    The bandwidth of the bandwidth package.
    BandwidthPackageId string
    The id of the bandwidth package.
    BandwidthPackageName string
    Shared bandwidth package name to be queried.
    BillingType string
    The billing type of the bandwidth package.
    BusinessStatus string
    The business status of the bandwidth package.
    CreationTime string
    The creation time of the bandwidth package.
    DeletedTime string
    The deleted time of the bandwidth package.
    EipAddresses []BandwidthPackagesPackageEipAddress
    List of public IP information included in the shared bandwidth package.
    ExpiredTime string
    The expiration time of the bandwidth package.
    Id string
    The id of the bandwidth package.
    Isp string
    Line types for shared bandwidth packages.
    OverdueTime string
    The overdue time of the bandwidth package.
    ProjectName string
    The project name of the bandwidth package to be queried.
    Protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    SecurityProtectionTypes []string
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    Status string
    The status of the bandwidth package.
    Tags []BandwidthPackagesPackageTag
    Tags.
    UpdateTime string
    The update time of the bandwidth package.
    bandwidth Integer
    The bandwidth of the bandwidth package.
    bandwidthPackageId String
    The id of the bandwidth package.
    bandwidthPackageName String
    Shared bandwidth package name to be queried.
    billingType String
    The billing type of the bandwidth package.
    businessStatus String
    The business status of the bandwidth package.
    creationTime String
    The creation time of the bandwidth package.
    deletedTime String
    The deleted time of the bandwidth package.
    eipAddresses List<BandwidthPackagesPackageEipAddress>
    List of public IP information included in the shared bandwidth package.
    expiredTime String
    The expiration time of the bandwidth package.
    id String
    The id of the bandwidth package.
    isp String
    Line types for shared bandwidth packages.
    overdueTime String
    The overdue time of the bandwidth package.
    projectName String
    The project name of the bandwidth package to be queried.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    status String
    The status of the bandwidth package.
    tags List<BandwidthPackagesPackageTag>
    Tags.
    updateTime String
    The update time of the bandwidth package.
    bandwidth number
    The bandwidth of the bandwidth package.
    bandwidthPackageId string
    The id of the bandwidth package.
    bandwidthPackageName string
    Shared bandwidth package name to be queried.
    billingType string
    The billing type of the bandwidth package.
    businessStatus string
    The business status of the bandwidth package.
    creationTime string
    The creation time of the bandwidth package.
    deletedTime string
    The deleted time of the bandwidth package.
    eipAddresses BandwidthPackagesPackageEipAddress[]
    List of public IP information included in the shared bandwidth package.
    expiredTime string
    The expiration time of the bandwidth package.
    id string
    The id of the bandwidth package.
    isp string
    Line types for shared bandwidth packages.
    overdueTime string
    The overdue time of the bandwidth package.
    projectName string
    The project name of the bandwidth package to be queried.
    protocol string
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes string[]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    status string
    The status of the bandwidth package.
    tags BandwidthPackagesPackageTag[]
    Tags.
    updateTime string
    The update time of the bandwidth package.
    bandwidth int
    The bandwidth of the bandwidth package.
    bandwidth_package_id str
    The id of the bandwidth package.
    bandwidth_package_name str
    Shared bandwidth package name to be queried.
    billing_type str
    The billing type of the bandwidth package.
    business_status str
    The business status of the bandwidth package.
    creation_time str
    The creation time of the bandwidth package.
    deleted_time str
    The deleted time of the bandwidth package.
    eip_addresses Sequence[BandwidthPackagesPackageEipAddress]
    List of public IP information included in the shared bandwidth package.
    expired_time str
    The expiration time of the bandwidth package.
    id str
    The id of the bandwidth package.
    isp str
    Line types for shared bandwidth packages.
    overdue_time str
    The overdue time of the bandwidth package.
    project_name str
    The project name of the bandwidth package to be queried.
    protocol str
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    security_protection_types Sequence[str]
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    status str
    The status of the bandwidth package.
    tags Sequence[BandwidthPackagesPackageTag]
    Tags.
    update_time str
    The update time of the bandwidth package.
    bandwidth Number
    The bandwidth of the bandwidth package.
    bandwidthPackageId String
    The id of the bandwidth package.
    bandwidthPackageName String
    Shared bandwidth package name to be queried.
    billingType String
    The billing type of the bandwidth package.
    businessStatus String
    The business status of the bandwidth package.
    creationTime String
    The creation time of the bandwidth package.
    deletedTime String
    The deleted time of the bandwidth package.
    eipAddresses List<Property Map>
    List of public IP information included in the shared bandwidth package.
    expiredTime String
    The expiration time of the bandwidth package.
    id String
    The id of the bandwidth package.
    isp String
    Line types for shared bandwidth packages.
    overdueTime String
    The overdue time of the bandwidth package.
    projectName String
    The project name of the bandwidth package to be queried.
    protocol String
    The IP protocol values for shared bandwidth packages are as follows: IPv4: IPv4 protocol. IPv6: IPv6 protocol.
    securityProtectionTypes List<String>
    Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced.
    status String
    The status of the bandwidth package.
    tags List<Property Map>
    Tags.
    updateTime String
    The update time of the bandwidth package.

    BandwidthPackagesPackageEipAddress

    AllocationId string
    The id of the eip.
    EipAddress string
    The eip address.
    AllocationId string
    The id of the eip.
    EipAddress string
    The eip address.
    allocationId String
    The id of the eip.
    eipAddress String
    The eip address.
    allocationId string
    The id of the eip.
    eipAddress string
    The eip address.
    allocation_id str
    The id of the eip.
    eip_address str
    The eip address.
    allocationId String
    The id of the eip.
    eipAddress String
    The eip address.

    BandwidthPackagesPackageTag

    Key string
    The key of the tag.
    Value string
    The Value of Tags.
    Key string
    The key of the tag.
    Value string
    The Value of Tags.
    key String
    The key of the tag.
    value String
    The Value of Tags.
    key string
    The key of the tag.
    value string
    The Value of Tags.
    key str
    The key of the tag.
    value str
    The Value of Tags.
    key String
    The key of the tag.
    value String
    The Value of Tags.

    BandwidthPackagesTagFilter

    Key string
    The key of the tag.
    Values List<string>
    The values of the tag.
    Key string
    The key of the tag.
    Values []string
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.
    key string
    The key of the tag.
    values string[]
    The values of the tag.
    key str
    The key of the tag.
    values Sequence[str]
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.

    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.23 published on Wednesday, Jan 3, 2024 by Volcengine