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

tencentcloud.getEipAddressQuota

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 vpc address_quota

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const addressQuota = tencentcloud.getEipAddressQuota({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    address_quota = tencentcloud.get_eip_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.GetEipAddressQuota(ctx, &tencentcloud.GetEipAddressQuotaArgs{}, 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 addressQuota = Tencentcloud.GetEipAddressQuota.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.GetEipAddressQuotaArgs;
    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 addressQuota = TencentcloudFunctions.getEipAddressQuota();
    
        }
    }
    
    variables:
      addressQuota:
        fn::invoke:
          function: tencentcloud:getEipAddressQuota
          arguments: {}
    

    Using getEipAddressQuota

    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 getEipAddressQuota(args: GetEipAddressQuotaArgs, opts?: InvokeOptions): Promise<GetEipAddressQuotaResult>
    function getEipAddressQuotaOutput(args: GetEipAddressQuotaOutputArgs, opts?: InvokeOptions): Output<GetEipAddressQuotaResult>
    def get_eip_address_quota(id: Optional[str] = None,
                              result_output_file: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetEipAddressQuotaResult
    def get_eip_address_quota_output(id: Optional[pulumi.Input[str]] = None,
                              result_output_file: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetEipAddressQuotaResult]
    func GetEipAddressQuota(ctx *Context, args *GetEipAddressQuotaArgs, opts ...InvokeOption) (*GetEipAddressQuotaResult, error)
    func GetEipAddressQuotaOutput(ctx *Context, args *GetEipAddressQuotaOutputArgs, opts ...InvokeOption) GetEipAddressQuotaResultOutput

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

    public static class GetEipAddressQuota 
    {
        public static Task<GetEipAddressQuotaResult> InvokeAsync(GetEipAddressQuotaArgs args, InvokeOptions? opts = null)
        public static Output<GetEipAddressQuotaResult> Invoke(GetEipAddressQuotaInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEipAddressQuotaResult> getEipAddressQuota(GetEipAddressQuotaArgs args, InvokeOptions options)
    public static Output<GetEipAddressQuotaResult> getEipAddressQuota(GetEipAddressQuotaArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getEipAddressQuota:getEipAddressQuota
      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.

    getEipAddressQuota Result

    The following output properties are available:

    Id string
    QuotaSets List<GetEipAddressQuotaQuotaSet>
    The specified account EIP quota information.
    ResultOutputFile string
    Id string
    QuotaSets []GetEipAddressQuotaQuotaSet
    The specified account EIP quota information.
    ResultOutputFile string
    id String
    quotaSets List<GetEipAddressQuotaQuotaSet>
    The specified account EIP quota information.
    resultOutputFile String
    id string
    quotaSets GetEipAddressQuotaQuotaSet[]
    The specified account EIP quota information.
    resultOutputFile string
    id str
    quota_sets Sequence[GetEipAddressQuotaQuotaSet]
    The specified account EIP quota information.
    result_output_file str
    id String
    quotaSets List<Property Map>
    The specified account EIP quota information.
    resultOutputFile String

    Supporting Types

    GetEipAddressQuotaQuotaSet

    QuotaCurrent double
    Current count.
    QuotaId string
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    QuotaLimit double
    quota count.
    QuotaCurrent float64
    Current count.
    QuotaId string
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    QuotaLimit float64
    quota count.
    quotaCurrent Double
    Current count.
    quotaId String
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    quotaLimit Double
    quota count.
    quotaCurrent number
    Current count.
    quotaId string
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    quotaLimit number
    quota count.
    quota_current float
    Current count.
    quota_id str
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    quota_limit float
    quota count.
    quotaCurrent Number
    Current count.
    quotaId String
    Quota name: TOTAL_EIP_QUOTA,DAILY_EIP_APPLY,DAILY_PUBLIC_IP_ASSIGN.
    quotaLimit Number
    quota count.

    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