1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getScfAccountInfo
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.getScfAccountInfo

Explore with Pulumi AI

Use this data source to query detailed information of scf account_info

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const accountInfo = tencentcloud.getScfAccountInfo({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

account_info = tencentcloud.get_scf_account_info()
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.GetScfAccountInfo(ctx, &tencentcloud.GetScfAccountInfoArgs{}, 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 accountInfo = Tencentcloud.GetScfAccountInfo.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.GetScfAccountInfoArgs;
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 accountInfo = TencentcloudFunctions.getScfAccountInfo();

    }
}
Copy
variables:
  accountInfo:
    fn::invoke:
      function: tencentcloud:getScfAccountInfo
      arguments: {}
Copy

Using getScfAccountInfo

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 getScfAccountInfo(args: GetScfAccountInfoArgs, opts?: InvokeOptions): Promise<GetScfAccountInfoResult>
function getScfAccountInfoOutput(args: GetScfAccountInfoOutputArgs, opts?: InvokeOptions): Output<GetScfAccountInfoResult>
Copy
def get_scf_account_info(id: Optional[str] = None,
                         result_output_file: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetScfAccountInfoResult
def get_scf_account_info_output(id: Optional[pulumi.Input[str]] = None,
                         result_output_file: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetScfAccountInfoResult]
Copy
func GetScfAccountInfo(ctx *Context, args *GetScfAccountInfoArgs, opts ...InvokeOption) (*GetScfAccountInfoResult, error)
func GetScfAccountInfoOutput(ctx *Context, args *GetScfAccountInfoOutputArgs, opts ...InvokeOption) GetScfAccountInfoResultOutput
Copy

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

public static class GetScfAccountInfo 
{
    public static Task<GetScfAccountInfoResult> InvokeAsync(GetScfAccountInfoArgs args, InvokeOptions? opts = null)
    public static Output<GetScfAccountInfoResult> Invoke(GetScfAccountInfoInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetScfAccountInfoResult> getScfAccountInfo(GetScfAccountInfoArgs args, InvokeOptions options)
public static Output<GetScfAccountInfoResult> getScfAccountInfo(GetScfAccountInfoArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getScfAccountInfo:getScfAccountInfo
  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.

getScfAccountInfo Result

The following output properties are available:

AccountLimits []GetScfAccountInfoAccountLimit
Namespace limit information.
AccountUsages []GetScfAccountInfoAccountUsage
Namespace usage information.
Id string
ResultOutputFile string
accountLimits GetScfAccountInfoAccountLimit[]
Namespace limit information.
accountUsages GetScfAccountInfoAccountUsage[]
Namespace usage information.
id string
resultOutputFile string
accountLimits List<Property Map>
Namespace limit information.
accountUsages List<Property Map>
Namespace usage information.
id String
resultOutputFile String

Supporting Types

GetScfAccountInfoAccountLimit

Namespaces This property is required. List<GetScfAccountInfoAccountLimitNamespace>
Namespace name.
NamespacesCount This property is required. double
Number of namespaces.
Namespaces This property is required. []GetScfAccountInfoAccountLimitNamespace
Namespace name.
NamespacesCount This property is required. float64
Number of namespaces.
namespaces This property is required. List<GetScfAccountInfoAccountLimitNamespace>
Namespace name.
namespacesCount This property is required. Double
Number of namespaces.
namespaces This property is required. GetScfAccountInfoAccountLimitNamespace[]
Namespace name.
namespacesCount This property is required. number
Number of namespaces.
namespaces This property is required. Sequence[GetScfAccountInfoAccountLimitNamespace]
Namespace name.
namespaces_count This property is required. float
Number of namespaces.
namespaces This property is required. List<Property Map>
Namespace name.
namespacesCount This property is required. Number
Number of namespaces.

GetScfAccountInfoAccountLimitNamespace

ConcurrentExecutions This property is required. double
Concurrency.
FunctionsCount This property is required. double
Number of functions in namespace.
InitTimeoutLimit This property is required. double
Initialization timeout limit.
MaxMsgTtl This property is required. double
Upper limit of message retention time for async retry.
MinMsgTtl This property is required. double
Lower limit of message retention time for async retry.
Namespace This property is required. string
Namespace name.
RetryNumLimit This property is required. double
Limit of async retry attempt quantity.
TestModelLimit This property is required. double
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
TimeoutLimit This property is required. double
Timeout limit.
Triggers This property is required. List<GetScfAccountInfoAccountLimitNamespaceTrigger>
Trigger information.
ConcurrentExecutions This property is required. float64
Concurrency.
FunctionsCount This property is required. float64
Number of functions in namespace.
InitTimeoutLimit This property is required. float64
Initialization timeout limit.
MaxMsgTtl This property is required. float64
Upper limit of message retention time for async retry.
MinMsgTtl This property is required. float64
Lower limit of message retention time for async retry.
Namespace This property is required. string
Namespace name.
RetryNumLimit This property is required. float64
Limit of async retry attempt quantity.
TestModelLimit This property is required. float64
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
TimeoutLimit This property is required. float64
Timeout limit.
Triggers This property is required. []GetScfAccountInfoAccountLimitNamespaceTrigger
Trigger information.
concurrentExecutions This property is required. Double
Concurrency.
functionsCount This property is required. Double
Number of functions in namespace.
initTimeoutLimit This property is required. Double
Initialization timeout limit.
maxMsgTtl This property is required. Double
Upper limit of message retention time for async retry.
minMsgTtl This property is required. Double
Lower limit of message retention time for async retry.
namespace This property is required. String
Namespace name.
retryNumLimit This property is required. Double
Limit of async retry attempt quantity.
testModelLimit This property is required. Double
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
timeoutLimit This property is required. Double
Timeout limit.
triggers This property is required. List<GetScfAccountInfoAccountLimitNamespaceTrigger>
Trigger information.
concurrentExecutions This property is required. number
Concurrency.
functionsCount This property is required. number
Number of functions in namespace.
initTimeoutLimit This property is required. number
Initialization timeout limit.
maxMsgTtl This property is required. number
Upper limit of message retention time for async retry.
minMsgTtl This property is required. number
Lower limit of message retention time for async retry.
namespace This property is required. string
Namespace name.
retryNumLimit This property is required. number
Limit of async retry attempt quantity.
testModelLimit This property is required. number
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
timeoutLimit This property is required. number
Timeout limit.
triggers This property is required. GetScfAccountInfoAccountLimitNamespaceTrigger[]
Trigger information.
concurrent_executions This property is required. float
Concurrency.
functions_count This property is required. float
Number of functions in namespace.
init_timeout_limit This property is required. float
Initialization timeout limit.
max_msg_ttl This property is required. float
Upper limit of message retention time for async retry.
min_msg_ttl This property is required. float
Lower limit of message retention time for async retry.
namespace This property is required. str
Namespace name.
retry_num_limit This property is required. float
Limit of async retry attempt quantity.
test_model_limit This property is required. float
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
timeout_limit This property is required. float
Timeout limit.
triggers This property is required. Sequence[GetScfAccountInfoAccountLimitNamespaceTrigger]
Trigger information.
concurrentExecutions This property is required. Number
Concurrency.
functionsCount This property is required. Number
Number of functions in namespace.
initTimeoutLimit This property is required. Number
Initialization timeout limit.
maxMsgTtl This property is required. Number
Upper limit of message retention time for async retry.
minMsgTtl This property is required. Number
Lower limit of message retention time for async retry.
namespace This property is required. String
Namespace name.
retryNumLimit This property is required. Number
Limit of async retry attempt quantity.
testModelLimit This property is required. Number
Test event limit Note: this field may return null, indicating that no valid values can be obtained.
timeoutLimit This property is required. Number
Timeout limit.
triggers This property is required. List<Property Map>
Trigger information.

GetScfAccountInfoAccountLimitNamespaceTrigger

Apigw This property is required. double
Number of API Gateway triggers.
Ckafka This property is required. double
Number of CKafka triggers.
Clb This property is required. double
Number of CLB triggers.
Cls This property is required. double
Number of CLS triggers.
Cm This property is required. double
Number of CM triggers.
Cmq This property is required. double
Number of CMQ triggers.
Cos This property is required. double
Number of COS triggers.
Eb This property is required. double
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
Mps This property is required. double
Number of MPS triggers.
Timer This property is required. double
Number of timer triggers.
Total This property is required. double
Total number of triggers.
Vod This property is required. double
Number of VOD triggers.
Apigw This property is required. float64
Number of API Gateway triggers.
Ckafka This property is required. float64
Number of CKafka triggers.
Clb This property is required. float64
Number of CLB triggers.
Cls This property is required. float64
Number of CLS triggers.
Cm This property is required. float64
Number of CM triggers.
Cmq This property is required. float64
Number of CMQ triggers.
Cos This property is required. float64
Number of COS triggers.
Eb This property is required. float64
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
Mps This property is required. float64
Number of MPS triggers.
Timer This property is required. float64
Number of timer triggers.
Total This property is required. float64
Total number of triggers.
Vod This property is required. float64
Number of VOD triggers.
apigw This property is required. Double
Number of API Gateway triggers.
ckafka This property is required. Double
Number of CKafka triggers.
clb This property is required. Double
Number of CLB triggers.
cls This property is required. Double
Number of CLS triggers.
cm This property is required. Double
Number of CM triggers.
cmq This property is required. Double
Number of CMQ triggers.
cos This property is required. Double
Number of COS triggers.
eb This property is required. Double
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
mps This property is required. Double
Number of MPS triggers.
timer This property is required. Double
Number of timer triggers.
total This property is required. Double
Total number of triggers.
vod This property is required. Double
Number of VOD triggers.
apigw This property is required. number
Number of API Gateway triggers.
ckafka This property is required. number
Number of CKafka triggers.
clb This property is required. number
Number of CLB triggers.
cls This property is required. number
Number of CLS triggers.
cm This property is required. number
Number of CM triggers.
cmq This property is required. number
Number of CMQ triggers.
cos This property is required. number
Number of COS triggers.
eb This property is required. number
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
mps This property is required. number
Number of MPS triggers.
timer This property is required. number
Number of timer triggers.
total This property is required. number
Total number of triggers.
vod This property is required. number
Number of VOD triggers.
apigw This property is required. float
Number of API Gateway triggers.
ckafka This property is required. float
Number of CKafka triggers.
clb This property is required. float
Number of CLB triggers.
cls This property is required. float
Number of CLS triggers.
cm This property is required. float
Number of CM triggers.
cmq This property is required. float
Number of CMQ triggers.
cos This property is required. float
Number of COS triggers.
eb This property is required. float
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
mps This property is required. float
Number of MPS triggers.
timer This property is required. float
Number of timer triggers.
total This property is required. float
Total number of triggers.
vod This property is required. float
Number of VOD triggers.
apigw This property is required. Number
Number of API Gateway triggers.
ckafka This property is required. Number
Number of CKafka triggers.
clb This property is required. Number
Number of CLB triggers.
cls This property is required. Number
Number of CLS triggers.
cm This property is required. Number
Number of CM triggers.
cmq This property is required. Number
Number of CMQ triggers.
cos This property is required. Number
Number of COS triggers.
eb This property is required. Number
Number of EventBridge triggers Note: This field may return null, indicating that no valid values can be obtained.
mps This property is required. Number
Number of MPS triggers.
timer This property is required. Number
Number of timer triggers.
total This property is required. Number
Total number of triggers.
vod This property is required. Number
Number of VOD triggers.

GetScfAccountInfoAccountUsage

Namespaces This property is required. List<GetScfAccountInfoAccountUsageNamespace>
Namespace name.
NamespacesCount This property is required. double
Number of namespaces.
TotalAllocatedConcurrencyMem This property is required. double
Quota of configured user concurrency memory in the current region.
TotalConcurrencyMem This property is required. double
Upper limit of user concurrency memory in the current region.
UserConcurrencyMemLimit This property is required. double
Quota of account concurrency actually configured by user.
Namespaces This property is required. []GetScfAccountInfoAccountUsageNamespace
Namespace name.
NamespacesCount This property is required. float64
Number of namespaces.
TotalAllocatedConcurrencyMem This property is required. float64
Quota of configured user concurrency memory in the current region.
TotalConcurrencyMem This property is required. float64
Upper limit of user concurrency memory in the current region.
UserConcurrencyMemLimit This property is required. float64
Quota of account concurrency actually configured by user.
namespaces This property is required. List<GetScfAccountInfoAccountUsageNamespace>
Namespace name.
namespacesCount This property is required. Double
Number of namespaces.
totalAllocatedConcurrencyMem This property is required. Double
Quota of configured user concurrency memory in the current region.
totalConcurrencyMem This property is required. Double
Upper limit of user concurrency memory in the current region.
userConcurrencyMemLimit This property is required. Double
Quota of account concurrency actually configured by user.
namespaces This property is required. GetScfAccountInfoAccountUsageNamespace[]
Namespace name.
namespacesCount This property is required. number
Number of namespaces.
totalAllocatedConcurrencyMem This property is required. number
Quota of configured user concurrency memory in the current region.
totalConcurrencyMem This property is required. number
Upper limit of user concurrency memory in the current region.
userConcurrencyMemLimit This property is required. number
Quota of account concurrency actually configured by user.
namespaces This property is required. Sequence[GetScfAccountInfoAccountUsageNamespace]
Namespace name.
namespaces_count This property is required. float
Number of namespaces.
total_allocated_concurrency_mem This property is required. float
Quota of configured user concurrency memory in the current region.
total_concurrency_mem This property is required. float
Upper limit of user concurrency memory in the current region.
user_concurrency_mem_limit This property is required. float
Quota of account concurrency actually configured by user.
namespaces This property is required. List<Property Map>
Namespace name.
namespacesCount This property is required. Number
Number of namespaces.
totalAllocatedConcurrencyMem This property is required. Number
Quota of configured user concurrency memory in the current region.
totalConcurrencyMem This property is required. Number
Upper limit of user concurrency memory in the current region.
userConcurrencyMemLimit This property is required. Number
Quota of account concurrency actually configured by user.

GetScfAccountInfoAccountUsageNamespace

Functions This property is required. List<string>
Function array.
FunctionsCount This property is required. double
Number of functions in namespace.
Namespace This property is required. string
Namespace name.
TotalAllocatedConcurrencyMem This property is required. double
Quota of configured user concurrency memory in the current region.
TotalAllocatedProvisionedMem This property is required. double
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
TotalConcurrencyMem This property is required. double
Upper limit of user concurrency memory in the current region.
Functions This property is required. []string
Function array.
FunctionsCount This property is required. float64
Number of functions in namespace.
Namespace This property is required. string
Namespace name.
TotalAllocatedConcurrencyMem This property is required. float64
Quota of configured user concurrency memory in the current region.
TotalAllocatedProvisionedMem This property is required. float64
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
TotalConcurrencyMem This property is required. float64
Upper limit of user concurrency memory in the current region.
functions This property is required. List<String>
Function array.
functionsCount This property is required. Double
Number of functions in namespace.
namespace This property is required. String
Namespace name.
totalAllocatedConcurrencyMem This property is required. Double
Quota of configured user concurrency memory in the current region.
totalAllocatedProvisionedMem This property is required. Double
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
totalConcurrencyMem This property is required. Double
Upper limit of user concurrency memory in the current region.
functions This property is required. string[]
Function array.
functionsCount This property is required. number
Number of functions in namespace.
namespace This property is required. string
Namespace name.
totalAllocatedConcurrencyMem This property is required. number
Quota of configured user concurrency memory in the current region.
totalAllocatedProvisionedMem This property is required. number
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
totalConcurrencyMem This property is required. number
Upper limit of user concurrency memory in the current region.
functions This property is required. Sequence[str]
Function array.
functions_count This property is required. float
Number of functions in namespace.
namespace This property is required. str
Namespace name.
total_allocated_concurrency_mem This property is required. float
Quota of configured user concurrency memory in the current region.
total_allocated_provisioned_mem This property is required. float
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
total_concurrency_mem This property is required. float
Upper limit of user concurrency memory in the current region.
functions This property is required. List<String>
Function array.
functionsCount This property is required. Number
Number of functions in namespace.
namespace This property is required. String
Namespace name.
totalAllocatedConcurrencyMem This property is required. Number
Quota of configured user concurrency memory in the current region.
totalAllocatedProvisionedMem This property is required. Number
Provisioned concurrency usage of the namespace Note: This field may return null, indicating that no valid value can be obtained.
totalConcurrencyMem This property is required. Number
Upper limit of user concurrency memory in the current region.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.