1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getDcInternetAddressQuota
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getDcInternetAddressQuota

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of dc internet_address_quota

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const internetAddressQuota = tencentcloud.getDcInternetAddressQuota({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    internet_address_quota = tencentcloud.get_dc_internet_address_quota()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetDcInternetAddressQuota(ctx, &tencentcloud.GetDcInternetAddressQuotaArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var internetAddressQuota = Tencentcloud.GetDcInternetAddressQuota.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDcInternetAddressQuotaArgs;
    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 internetAddressQuota = TencentcloudFunctions.getDcInternetAddressQuota();
    
        }
    }
    
    variables:
      internetAddressQuota:
        fn::invoke:
          function: tencentcloud:getDcInternetAddressQuota
          arguments: {}
    

    Using getDcInternetAddressQuota

    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 getDcInternetAddressQuota(args: GetDcInternetAddressQuotaArgs, opts?: InvokeOptions): Promise<GetDcInternetAddressQuotaResult>
    function getDcInternetAddressQuotaOutput(args: GetDcInternetAddressQuotaOutputArgs, opts?: InvokeOptions): Output<GetDcInternetAddressQuotaResult>
    def get_dc_internet_address_quota(id: Optional[str] = None,
                                      result_output_file: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetDcInternetAddressQuotaResult
    def get_dc_internet_address_quota_output(id: Optional[pulumi.Input[str]] = None,
                                      result_output_file: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetDcInternetAddressQuotaResult]
    func GetDcInternetAddressQuota(ctx *Context, args *GetDcInternetAddressQuotaArgs, opts ...InvokeOption) (*GetDcInternetAddressQuotaResult, error)
    func GetDcInternetAddressQuotaOutput(ctx *Context, args *GetDcInternetAddressQuotaOutputArgs, opts ...InvokeOption) GetDcInternetAddressQuotaResultOutput

    > Note: This function is named GetDcInternetAddressQuota in the Go SDK.

    public static class GetDcInternetAddressQuota 
    {
        public static Task<GetDcInternetAddressQuotaResult> InvokeAsync(GetDcInternetAddressQuotaArgs args, InvokeOptions? opts = null)
        public static Output<GetDcInternetAddressQuotaResult> Invoke(GetDcInternetAddressQuotaInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDcInternetAddressQuotaResult> getDcInternetAddressQuota(GetDcInternetAddressQuotaArgs args, InvokeOptions options)
    public static Output<GetDcInternetAddressQuotaResult> getDcInternetAddressQuota(GetDcInternetAddressQuotaArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDcInternetAddressQuota:getDcInternetAddressQuota
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getDcInternetAddressQuota Result

    The following output properties are available:

    Id string
    Ipv4BgpNum double
    Number of used BGP type IPv4 Internet addresses.
    Ipv4BgpQuota double
    BGP type IPv4 Internet address quota.
    Ipv4OtherNum double
    The number of non-BGP Internet addresses used.
    Ipv4OtherQuota double
    Non-BGP type IPv4 Internet address quota.
    Ipv6PrefixLen double
    The minimum prefix length allowed on the IPv6 Internet public network.
    ResultOutputFile string
    Id string
    Ipv4BgpNum float64
    Number of used BGP type IPv4 Internet addresses.
    Ipv4BgpQuota float64
    BGP type IPv4 Internet address quota.
    Ipv4OtherNum float64
    The number of non-BGP Internet addresses used.
    Ipv4OtherQuota float64
    Non-BGP type IPv4 Internet address quota.
    Ipv6PrefixLen float64
    The minimum prefix length allowed on the IPv6 Internet public network.
    ResultOutputFile string
    id String
    ipv4BgpNum Double
    Number of used BGP type IPv4 Internet addresses.
    ipv4BgpQuota Double
    BGP type IPv4 Internet address quota.
    ipv4OtherNum Double
    The number of non-BGP Internet addresses used.
    ipv4OtherQuota Double
    Non-BGP type IPv4 Internet address quota.
    ipv6PrefixLen Double
    The minimum prefix length allowed on the IPv6 Internet public network.
    resultOutputFile String
    id string
    ipv4BgpNum number
    Number of used BGP type IPv4 Internet addresses.
    ipv4BgpQuota number
    BGP type IPv4 Internet address quota.
    ipv4OtherNum number
    The number of non-BGP Internet addresses used.
    ipv4OtherQuota number
    Non-BGP type IPv4 Internet address quota.
    ipv6PrefixLen number
    The minimum prefix length allowed on the IPv6 Internet public network.
    resultOutputFile string
    id str
    ipv4_bgp_num float
    Number of used BGP type IPv4 Internet addresses.
    ipv4_bgp_quota float
    BGP type IPv4 Internet address quota.
    ipv4_other_num float
    The number of non-BGP Internet addresses used.
    ipv4_other_quota float
    Non-BGP type IPv4 Internet address quota.
    ipv6_prefix_len float
    The minimum prefix length allowed on the IPv6 Internet public network.
    result_output_file str
    id String
    ipv4BgpNum Number
    Number of used BGP type IPv4 Internet addresses.
    ipv4BgpQuota Number
    BGP type IPv4 Internet address quota.
    ipv4OtherNum Number
    The number of non-BGP Internet addresses used.
    ipv4OtherQuota Number
    Non-BGP type IPv4 Internet address quota.
    ipv6PrefixLen Number
    The minimum prefix length allowed on the IPv6 Internet public network.
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack