tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDcInternetAddressQuota
Explore with Pulumi AI
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
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getDcInternetAddressQuota Result
The following output properties are available:
- Id string
- Ipv4Bgp
Num double - Number of used BGP type IPv4 Internet addresses.
- Ipv4Bgp
Quota double - BGP type IPv4 Internet address quota.
- Ipv4Other
Num double - The number of non-BGP Internet addresses used.
- Ipv4Other
Quota double - Non-BGP type IPv4 Internet address quota.
- Ipv6Prefix
Len double - The minimum prefix length allowed on the IPv6 Internet public network.
- Result
Output stringFile
- Id string
- Ipv4Bgp
Num float64 - Number of used BGP type IPv4 Internet addresses.
- Ipv4Bgp
Quota float64 - BGP type IPv4 Internet address quota.
- Ipv4Other
Num float64 - The number of non-BGP Internet addresses used.
- Ipv4Other
Quota float64 - Non-BGP type IPv4 Internet address quota.
- Ipv6Prefix
Len float64 - The minimum prefix length allowed on the IPv6 Internet public network.
- Result
Output stringFile
- id String
- ipv4Bgp
Num Double - Number of used BGP type IPv4 Internet addresses.
- ipv4Bgp
Quota Double - BGP type IPv4 Internet address quota.
- ipv4Other
Num Double - The number of non-BGP Internet addresses used.
- ipv4Other
Quota Double - Non-BGP type IPv4 Internet address quota.
- ipv6Prefix
Len Double - The minimum prefix length allowed on the IPv6 Internet public network.
- result
Output StringFile
- id string
- ipv4Bgp
Num number - Number of used BGP type IPv4 Internet addresses.
- ipv4Bgp
Quota number - BGP type IPv4 Internet address quota.
- ipv4Other
Num number - The number of non-BGP Internet addresses used.
- ipv4Other
Quota number - Non-BGP type IPv4 Internet address quota.
- ipv6Prefix
Len number - The minimum prefix length allowed on the IPv6 Internet public network.
- result
Output stringFile
- id str
- ipv4_
bgp_ floatnum - Number of used BGP type IPv4 Internet addresses.
- ipv4_
bgp_ floatquota - BGP type IPv4 Internet address quota.
- ipv4_
other_ floatnum - The number of non-BGP Internet addresses used.
- ipv4_
other_ floatquota - Non-BGP type IPv4 Internet address quota.
- ipv6_
prefix_ floatlen - The minimum prefix length allowed on the IPv6 Internet public network.
- result_
output_ strfile
- id String
- ipv4Bgp
Num Number - Number of used BGP type IPv4 Internet addresses.
- ipv4Bgp
Quota Number - BGP type IPv4 Internet address quota.
- ipv4Other
Num Number - The number of non-BGP Internet addresses used.
- ipv4Other
Quota Number - Non-BGP type IPv4 Internet address quota.
- ipv6Prefix
Len Number - The minimum prefix length allowed on the IPv6 Internet public network.
- result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack