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

tencentcloud.getCamAccountSummary

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 cam account_summary

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const accountSummary = tencentcloud.getCamAccountSummary({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    account_summary = tencentcloud.get_cam_account_summary()
    
    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.GetCamAccountSummary(ctx, &tencentcloud.GetCamAccountSummaryArgs{}, 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 accountSummary = Tencentcloud.GetCamAccountSummary.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.GetCamAccountSummaryArgs;
    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 accountSummary = TencentcloudFunctions.getCamAccountSummary();
    
        }
    }
    
    variables:
      accountSummary:
        fn::invoke:
          function: tencentcloud:getCamAccountSummary
          arguments: {}
    

    Using getCamAccountSummary

    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 getCamAccountSummary(args: GetCamAccountSummaryArgs, opts?: InvokeOptions): Promise<GetCamAccountSummaryResult>
    function getCamAccountSummaryOutput(args: GetCamAccountSummaryOutputArgs, opts?: InvokeOptions): Output<GetCamAccountSummaryResult>
    def get_cam_account_summary(id: Optional[str] = None,
                                result_output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCamAccountSummaryResult
    def get_cam_account_summary_output(id: Optional[pulumi.Input[str]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCamAccountSummaryResult]
    func GetCamAccountSummary(ctx *Context, args *GetCamAccountSummaryArgs, opts ...InvokeOption) (*GetCamAccountSummaryResult, error)
    func GetCamAccountSummaryOutput(ctx *Context, args *GetCamAccountSummaryOutputArgs, opts ...InvokeOption) GetCamAccountSummaryResultOutput

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

    public static class GetCamAccountSummary 
    {
        public static Task<GetCamAccountSummaryResult> InvokeAsync(GetCamAccountSummaryArgs args, InvokeOptions? opts = null)
        public static Output<GetCamAccountSummaryResult> Invoke(GetCamAccountSummaryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCamAccountSummaryResult> getCamAccountSummary(GetCamAccountSummaryArgs args, InvokeOptions options)
    public static Output<GetCamAccountSummaryResult> getCamAccountSummary(GetCamAccountSummaryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCamAccountSummary:getCamAccountSummary
      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.

    getCamAccountSummary Result

    The following output properties are available:

    Group double
    The number of Group.
    Id string
    IdentityProviders double
    The number of identity provider.
    Member double
    The number of grouped users.
    Policies double
    The number of policy.
    Roles double
    The number of role.
    User double
    The number of Sub-user.
    ResultOutputFile string
    Group float64
    The number of Group.
    Id string
    IdentityProviders float64
    The number of identity provider.
    Member float64
    The number of grouped users.
    Policies float64
    The number of policy.
    Roles float64
    The number of role.
    User float64
    The number of Sub-user.
    ResultOutputFile string
    group Double
    The number of Group.
    id String
    identityProviders Double
    The number of identity provider.
    member Double
    The number of grouped users.
    policies Double
    The number of policy.
    roles Double
    The number of role.
    user Double
    The number of Sub-user.
    resultOutputFile String
    group number
    The number of Group.
    id string
    identityProviders number
    The number of identity provider.
    member number
    The number of grouped users.
    policies number
    The number of policy.
    roles number
    The number of role.
    user number
    The number of Sub-user.
    resultOutputFile string
    group float
    The number of Group.
    id str
    identity_providers float
    The number of identity provider.
    member float
    The number of grouped users.
    policies float
    The number of policy.
    roles float
    The number of role.
    user float
    The number of Sub-user.
    result_output_file str
    group Number
    The number of Group.
    id String
    identityProviders Number
    The number of identity provider.
    member Number
    The number of grouped users.
    policies Number
    The number of policy.
    roles Number
    The number of role.
    user Number
    The number of Sub-user.
    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