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

tencentcloud.getOrganizationOrgFinancialByMember

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 organization org_financial_by_member

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const orgFinancialByMember = tencentcloud.getOrganizationOrgFinancialByMember({
        endMonth: "2023-10",
        memberUins: [
            100015591986,
            100029796005,
        ],
        month: "2023-05",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    org_financial_by_member = tencentcloud.get_organization_org_financial_by_member(end_month="2023-10",
        member_uins=[
            100015591986,
            100029796005,
        ],
        month="2023-05")
    
    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.GetOrganizationOrgFinancialByMember(ctx, &tencentcloud.GetOrganizationOrgFinancialByMemberArgs{
    			EndMonth: pulumi.StringRef("2023-10"),
    			MemberUins: []float64{
    				100015591986,
    				100029796005,
    			},
    			Month: "2023-05",
    		}, 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 orgFinancialByMember = Tencentcloud.GetOrganizationOrgFinancialByMember.Invoke(new()
        {
            EndMonth = "2023-10",
            MemberUins = new[]
            {
                100015591986,
                100029796005,
            },
            Month = "2023-05",
        });
    
    });
    
    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.GetOrganizationOrgFinancialByMemberArgs;
    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 orgFinancialByMember = TencentcloudFunctions.getOrganizationOrgFinancialByMember(GetOrganizationOrgFinancialByMemberArgs.builder()
                .endMonth("2023-10")
                .memberUins(            
                    100015591986,
                    100029796005)
                .month("2023-05")
                .build());
    
        }
    }
    
    variables:
      orgFinancialByMember:
        fn::invoke:
          function: tencentcloud:getOrganizationOrgFinancialByMember
          arguments:
            endMonth: 2023-10
            memberUins:
              - 1.00015591986e+11
              - 1.00029796005e+11
            month: 2023-05
    

    Using getOrganizationOrgFinancialByMember

    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 getOrganizationOrgFinancialByMember(args: GetOrganizationOrgFinancialByMemberArgs, opts?: InvokeOptions): Promise<GetOrganizationOrgFinancialByMemberResult>
    function getOrganizationOrgFinancialByMemberOutput(args: GetOrganizationOrgFinancialByMemberOutputArgs, opts?: InvokeOptions): Output<GetOrganizationOrgFinancialByMemberResult>
    def get_organization_org_financial_by_member(end_month: Optional[str] = None,
                                                 id: Optional[str] = None,
                                                 member_uins: Optional[Sequence[float]] = None,
                                                 month: Optional[str] = None,
                                                 product_codes: Optional[Sequence[str]] = None,
                                                 result_output_file: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetOrganizationOrgFinancialByMemberResult
    def get_organization_org_financial_by_member_output(end_month: Optional[pulumi.Input[str]] = None,
                                                 id: Optional[pulumi.Input[str]] = None,
                                                 member_uins: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                                                 month: Optional[pulumi.Input[str]] = None,
                                                 product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                 result_output_file: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationOrgFinancialByMemberResult]
    func GetOrganizationOrgFinancialByMember(ctx *Context, args *GetOrganizationOrgFinancialByMemberArgs, opts ...InvokeOption) (*GetOrganizationOrgFinancialByMemberResult, error)
    func GetOrganizationOrgFinancialByMemberOutput(ctx *Context, args *GetOrganizationOrgFinancialByMemberOutputArgs, opts ...InvokeOption) GetOrganizationOrgFinancialByMemberResultOutput

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

    public static class GetOrganizationOrgFinancialByMember 
    {
        public static Task<GetOrganizationOrgFinancialByMemberResult> InvokeAsync(GetOrganizationOrgFinancialByMemberArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationOrgFinancialByMemberResult> Invoke(GetOrganizationOrgFinancialByMemberInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationOrgFinancialByMemberResult> getOrganizationOrgFinancialByMember(GetOrganizationOrgFinancialByMemberArgs args, InvokeOptions options)
    public static Output<GetOrganizationOrgFinancialByMemberResult> getOrganizationOrgFinancialByMember(GetOrganizationOrgFinancialByMemberArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getOrganizationOrgFinancialByMember:getOrganizationOrgFinancialByMember
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Month string
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    EndMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    Id string
    MemberUins List<double>
    Member uin list. Up to 100.
    ProductCodes List<string>
    Product code list. Up to 100.
    ResultOutputFile string
    Used to save results.
    Month string
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    EndMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    Id string
    MemberUins []float64
    Member uin list. Up to 100.
    ProductCodes []string
    Product code list. Up to 100.
    ResultOutputFile string
    Used to save results.
    month String
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    endMonth String
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    id String
    memberUins List<Double>
    Member uin list. Up to 100.
    productCodes List<String>
    Product code list. Up to 100.
    resultOutputFile String
    Used to save results.
    month string
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    endMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    id string
    memberUins number[]
    Member uin list. Up to 100.
    productCodes string[]
    Product code list. Up to 100.
    resultOutputFile string
    Used to save results.
    month str
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    end_month str
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    id str
    member_uins Sequence[float]
    Member uin list. Up to 100.
    product_codes Sequence[str]
    Product code list. Up to 100.
    result_output_file str
    Used to save results.
    month String
    Query for the start month. Format:yyyy-mm, for example:2021-01.
    endMonth String
    Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the Month.
    id String
    memberUins List<Number>
    Member uin list. Up to 100.
    productCodes List<String>
    Product code list. Up to 100.
    resultOutputFile String
    Used to save results.

    getOrganizationOrgFinancialByMember Result

    The following output properties are available:

    Id string
    Items List<GetOrganizationOrgFinancialByMemberItem>
    Member financial detail.
    Month string
    TotalCost double
    Total cost of the member.
    EndMonth string
    MemberUins List<double>
    ProductCodes List<string>
    ResultOutputFile string
    Id string
    Items []GetOrganizationOrgFinancialByMemberItem
    Member financial detail.
    Month string
    TotalCost float64
    Total cost of the member.
    EndMonth string
    MemberUins []float64
    ProductCodes []string
    ResultOutputFile string
    id String
    items List<GetOrganizationOrgFinancialByMemberItem>
    Member financial detail.
    month String
    totalCost Double
    Total cost of the member.
    endMonth String
    memberUins List<Double>
    productCodes List<String>
    resultOutputFile String
    id string
    items GetOrganizationOrgFinancialByMemberItem[]
    Member financial detail.
    month string
    totalCost number
    Total cost of the member.
    endMonth string
    memberUins number[]
    productCodes string[]
    resultOutputFile string
    id str
    items Sequence[GetOrganizationOrgFinancialByMemberItem]
    Member financial detail.
    month str
    total_cost float
    Total cost of the member.
    end_month str
    member_uins Sequence[float]
    product_codes Sequence[str]
    result_output_file str
    id String
    items List<Property Map>
    Member financial detail.
    month String
    totalCost Number
    Total cost of the member.
    endMonth String
    memberUins List<Number>
    productCodes List<String>
    resultOutputFile String

    Supporting Types

    GetOrganizationOrgFinancialByMemberItem

    MemberName string
    Member name.
    MemberUin double
    Member uin.
    Ratio string
    The percentage of the organization total cost that is accounted for by the member.
    TotalCost double
    Total cost of the member.
    MemberName string
    Member name.
    MemberUin float64
    Member uin.
    Ratio string
    The percentage of the organization total cost that is accounted for by the member.
    TotalCost float64
    Total cost of the member.
    memberName String
    Member name.
    memberUin Double
    Member uin.
    ratio String
    The percentage of the organization total cost that is accounted for by the member.
    totalCost Double
    Total cost of the member.
    memberName string
    Member name.
    memberUin number
    Member uin.
    ratio string
    The percentage of the organization total cost that is accounted for by the member.
    totalCost number
    Total cost of the member.
    member_name str
    Member name.
    member_uin float
    Member uin.
    ratio str
    The percentage of the organization total cost that is accounted for by the member.
    total_cost float
    Total cost of the member.
    memberName String
    Member name.
    memberUin Number
    Member uin.
    ratio String
    The percentage of the organization total cost that is accounted for by the member.
    totalCost Number
    Total cost of the member.

    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