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

tencentcloud.getAsLimits

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 as limits

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const limits = tencentcloud.getAsLimits({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    limits = tencentcloud.get_as_limits()
    
    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.GetAsLimits(ctx, &tencentcloud.GetAsLimitsArgs{}, 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 limits = Tencentcloud.GetAsLimits.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.GetAsLimitsArgs;
    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 limits = TencentcloudFunctions.getAsLimits();
    
        }
    }
    
    variables:
      limits:
        fn::invoke:
          function: tencentcloud:getAsLimits
          arguments: {}
    

    Using getAsLimits

    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 getAsLimits(args: GetAsLimitsArgs, opts?: InvokeOptions): Promise<GetAsLimitsResult>
    function getAsLimitsOutput(args: GetAsLimitsOutputArgs, opts?: InvokeOptions): Output<GetAsLimitsResult>
    def get_as_limits(id: Optional[str] = None,
                      result_output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAsLimitsResult
    def get_as_limits_output(id: Optional[pulumi.Input[str]] = None,
                      result_output_file: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAsLimitsResult]
    func GetAsLimits(ctx *Context, args *GetAsLimitsArgs, opts ...InvokeOption) (*GetAsLimitsResult, error)
    func GetAsLimitsOutput(ctx *Context, args *GetAsLimitsOutputArgs, opts ...InvokeOption) GetAsLimitsResultOutput

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

    public static class GetAsLimits 
    {
        public static Task<GetAsLimitsResult> InvokeAsync(GetAsLimitsArgs args, InvokeOptions? opts = null)
        public static Output<GetAsLimitsResult> Invoke(GetAsLimitsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAsLimitsResult> getAsLimits(GetAsLimitsArgs args, InvokeOptions options)
    public static Output<GetAsLimitsResult> getAsLimits(GetAsLimitsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getAsLimits:getAsLimits
      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.

    getAsLimits Result

    The following output properties are available:

    Id string
    MaxNumberOfAutoScalingGroups double
    Maximum number of auto scaling groups allowed for creation by the user account.
    MaxNumberOfLaunchConfigurations double
    Maximum number of launch configurations allowed for creation by the user account.
    NumberOfAutoScalingGroups double
    Current number of auto scaling groups under the user account.
    NumberOfLaunchConfigurations double
    Current number of launch configurations under the user account.
    ResultOutputFile string
    Id string
    MaxNumberOfAutoScalingGroups float64
    Maximum number of auto scaling groups allowed for creation by the user account.
    MaxNumberOfLaunchConfigurations float64
    Maximum number of launch configurations allowed for creation by the user account.
    NumberOfAutoScalingGroups float64
    Current number of auto scaling groups under the user account.
    NumberOfLaunchConfigurations float64
    Current number of launch configurations under the user account.
    ResultOutputFile string
    id String
    maxNumberOfAutoScalingGroups Double
    Maximum number of auto scaling groups allowed for creation by the user account.
    maxNumberOfLaunchConfigurations Double
    Maximum number of launch configurations allowed for creation by the user account.
    numberOfAutoScalingGroups Double
    Current number of auto scaling groups under the user account.
    numberOfLaunchConfigurations Double
    Current number of launch configurations under the user account.
    resultOutputFile String
    id string
    maxNumberOfAutoScalingGroups number
    Maximum number of auto scaling groups allowed for creation by the user account.
    maxNumberOfLaunchConfigurations number
    Maximum number of launch configurations allowed for creation by the user account.
    numberOfAutoScalingGroups number
    Current number of auto scaling groups under the user account.
    numberOfLaunchConfigurations number
    Current number of launch configurations under the user account.
    resultOutputFile string
    id str
    max_number_of_auto_scaling_groups float
    Maximum number of auto scaling groups allowed for creation by the user account.
    max_number_of_launch_configurations float
    Maximum number of launch configurations allowed for creation by the user account.
    number_of_auto_scaling_groups float
    Current number of auto scaling groups under the user account.
    number_of_launch_configurations float
    Current number of launch configurations under the user account.
    result_output_file str
    id String
    maxNumberOfAutoScalingGroups Number
    Maximum number of auto scaling groups allowed for creation by the user account.
    maxNumberOfLaunchConfigurations Number
    Maximum number of launch configurations allowed for creation by the user account.
    numberOfAutoScalingGroups Number
    Current number of auto scaling groups under the user account.
    numberOfLaunchConfigurations Number
    Current number of launch configurations under the user account.
    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