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

tencentcloud.getAsLimits

Explore with Pulumi AI

tencentcloud 1.81.183 published on Wednesday, Apr 16, 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({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

limits = tencentcloud.get_as_limits()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var limits = Tencentcloud.GetAsLimits.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  limits:
    fn::invoke:
      function: tencentcloud:getAsLimits
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetAsLimits(ctx *Context, args *GetAsLimitsArgs, opts ...InvokeOption) (*GetAsLimitsResult, error)
func GetAsLimitsOutput(ctx *Context, args *GetAsLimitsOutputArgs, opts ...InvokeOption) GetAsLimitsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAsLimitsResult> getAsLimits(GetAsLimitsArgs args, InvokeOptions options)
public static Output<GetAsLimitsResult> getAsLimits(GetAsLimitsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getAsLimits:getAsLimits
  arguments:
    # arguments dictionary
Copy

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 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack