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

tencentcloud.getOrganizationOrgFinancialByMonth

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_month

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const orgFinancialByMonth = tencentcloud.getOrganizationOrgFinancialByMonth({
        endMonth: "2023-05",
        memberUins: [100026517717],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    org_financial_by_month = tencentcloud.get_organization_org_financial_by_month(end_month="2023-05",
        member_uins=[100026517717])
    
    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.GetOrganizationOrgFinancialByMonth(ctx, &tencentcloud.GetOrganizationOrgFinancialByMonthArgs{
    			EndMonth: pulumi.StringRef("2023-05"),
    			MemberUins: []float64{
    				100026517717,
    			},
    		}, 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 orgFinancialByMonth = Tencentcloud.GetOrganizationOrgFinancialByMonth.Invoke(new()
        {
            EndMonth = "2023-05",
            MemberUins = new[]
            {
                100026517717,
            },
        });
    
    });
    
    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.GetOrganizationOrgFinancialByMonthArgs;
    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 orgFinancialByMonth = TencentcloudFunctions.getOrganizationOrgFinancialByMonth(GetOrganizationOrgFinancialByMonthArgs.builder()
                .endMonth("2023-05")
                .memberUins(100026517717)
                .build());
    
        }
    }
    
    variables:
      orgFinancialByMonth:
        fn::invoke:
          function: tencentcloud:getOrganizationOrgFinancialByMonth
          arguments:
            endMonth: 2023-05
            memberUins:
              - 1.00026517717e+11
    

    Using getOrganizationOrgFinancialByMonth

    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 getOrganizationOrgFinancialByMonth(args: GetOrganizationOrgFinancialByMonthArgs, opts?: InvokeOptions): Promise<GetOrganizationOrgFinancialByMonthResult>
    function getOrganizationOrgFinancialByMonthOutput(args: GetOrganizationOrgFinancialByMonthOutputArgs, opts?: InvokeOptions): Output<GetOrganizationOrgFinancialByMonthResult>
    def get_organization_org_financial_by_month(end_month: Optional[str] = None,
                                                id: Optional[str] = None,
                                                member_uins: Optional[Sequence[float]] = None,
                                                product_codes: Optional[Sequence[str]] = None,
                                                result_output_file: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetOrganizationOrgFinancialByMonthResult
    def get_organization_org_financial_by_month_output(end_month: Optional[pulumi.Input[str]] = None,
                                                id: Optional[pulumi.Input[str]] = None,
                                                member_uins: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                                                product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                result_output_file: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationOrgFinancialByMonthResult]
    func GetOrganizationOrgFinancialByMonth(ctx *Context, args *GetOrganizationOrgFinancialByMonthArgs, opts ...InvokeOption) (*GetOrganizationOrgFinancialByMonthResult, error)
    func GetOrganizationOrgFinancialByMonthOutput(ctx *Context, args *GetOrganizationOrgFinancialByMonthOutputArgs, opts ...InvokeOption) GetOrganizationOrgFinancialByMonthResultOutput

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

    public static class GetOrganizationOrgFinancialByMonth 
    {
        public static Task<GetOrganizationOrgFinancialByMonthResult> InvokeAsync(GetOrganizationOrgFinancialByMonthArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationOrgFinancialByMonthResult> Invoke(GetOrganizationOrgFinancialByMonthInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationOrgFinancialByMonthResult> getOrganizationOrgFinancialByMonth(GetOrganizationOrgFinancialByMonthArgs args, InvokeOptions options)
    public static Output<GetOrganizationOrgFinancialByMonthResult> getOrganizationOrgFinancialByMonth(GetOrganizationOrgFinancialByMonthArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getOrganizationOrgFinancialByMonth:getOrganizationOrgFinancialByMonth
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    Id string
    Record ID.
    MemberUins List<double>
    Member uin list. Up to 100.
    ProductCodes List<string>
    Product code list. Up to 100.
    ResultOutputFile string
    Used to save results.
    EndMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    Id string
    Record ID.
    MemberUins []float64
    Member uin list. Up to 100.
    ProductCodes []string
    Product code list. Up to 100.
    ResultOutputFile string
    Used to save results.
    endMonth String
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    id String
    Record ID.
    memberUins List<Double>
    Member uin list. Up to 100.
    productCodes List<String>
    Product code list. Up to 100.
    resultOutputFile String
    Used to save results.
    endMonth string
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    id string
    Record ID.
    memberUins number[]
    Member uin list. Up to 100.
    productCodes string[]
    Product code list. Up to 100.
    resultOutputFile string
    Used to save results.
    end_month str
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    id str
    Record ID.
    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.
    endMonth String
    Query for the end month. Format:yyyy-mm, for example:2021-01.
    id String
    Record ID.
    memberUins List<Number>
    Member uin list. Up to 100.
    productCodes List<String>
    Product code list. Up to 100.
    resultOutputFile String
    Used to save results.

    getOrganizationOrgFinancialByMonth Result

    The following output properties are available:

    Id string
    Record ID.
    Items List<GetOrganizationOrgFinancialByMonthItem>
    Organization financial info by month.
    EndMonth string
    MemberUins List<double>
    ProductCodes List<string>
    ResultOutputFile string
    Id string
    Record ID.
    Items []GetOrganizationOrgFinancialByMonthItem
    Organization financial info by month.
    EndMonth string
    MemberUins []float64
    ProductCodes []string
    ResultOutputFile string
    id String
    Record ID.
    items List<GetOrganizationOrgFinancialByMonthItem>
    Organization financial info by month.
    endMonth String
    memberUins List<Double>
    productCodes List<String>
    resultOutputFile String
    id string
    Record ID.
    items GetOrganizationOrgFinancialByMonthItem[]
    Organization financial info by month.
    endMonth string
    memberUins number[]
    productCodes string[]
    resultOutputFile string
    id str
    Record ID.
    items Sequence[GetOrganizationOrgFinancialByMonthItem]
    Organization financial info by month.
    end_month str
    member_uins Sequence[float]
    product_codes Sequence[str]
    result_output_file str
    id String
    Record ID.
    items List<Property Map>
    Organization financial info by month.
    endMonth String
    memberUins List<Number>
    productCodes List<String>
    resultOutputFile String

    Supporting Types

    GetOrganizationOrgFinancialByMonthItem

    GrowthRate string
    Growth rate compared to last month.
    Id double
    Record ID.
    Month string
    Month.
    TotalCost double
    Total cost of the month.
    GrowthRate string
    Growth rate compared to last month.
    Id float64
    Record ID.
    Month string
    Month.
    TotalCost float64
    Total cost of the month.
    growthRate String
    Growth rate compared to last month.
    id Double
    Record ID.
    month String
    Month.
    totalCost Double
    Total cost of the month.
    growthRate string
    Growth rate compared to last month.
    id number
    Record ID.
    month string
    Month.
    totalCost number
    Total cost of the month.
    growth_rate str
    Growth rate compared to last month.
    id float
    Record ID.
    month str
    Month.
    total_cost float
    Total cost of the month.
    growthRate String
    Growth rate compared to last month.
    id Number
    Record ID.
    month String
    Month.
    totalCost Number
    Total cost of the month.

    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