tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getOrganizationOrgFinancialByProduct
Start a Neo task
Explain and create a tencentcloud.getOrganizationOrgFinancialByProduct resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of organization org_financial_by_product
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const orgFinancialByProduct = tencentcloud.getOrganizationOrgFinancialByProduct({
month: "2023-05",
endMonth: "2023-09",
productCodes: ["p_eip"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
org_financial_by_product = tencentcloud.get_organization_org_financial_by_product(month="2023-05",
end_month="2023-09",
product_codes=["p_eip"])
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.GetOrganizationOrgFinancialByProduct(ctx, &tencentcloud.GetOrganizationOrgFinancialByProductArgs{
Month: "2023-05",
EndMonth: pulumi.StringRef("2023-09"),
ProductCodes: []string{
"p_eip",
},
}, 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 orgFinancialByProduct = Tencentcloud.GetOrganizationOrgFinancialByProduct.Invoke(new()
{
Month = "2023-05",
EndMonth = "2023-09",
ProductCodes = new[]
{
"p_eip",
},
});
});
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.GetOrganizationOrgFinancialByProductArgs;
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 orgFinancialByProduct = TencentcloudFunctions.getOrganizationOrgFinancialByProduct(GetOrganizationOrgFinancialByProductArgs.builder()
.month("2023-05")
.endMonth("2023-09")
.productCodes("p_eip")
.build());
}
}
variables:
orgFinancialByProduct:
fn::invoke:
function: tencentcloud:getOrganizationOrgFinancialByProduct
arguments:
month: 2023-05
endMonth: 2023-09
productCodes:
- p_eip
Using getOrganizationOrgFinancialByProduct
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 getOrganizationOrgFinancialByProduct(args: GetOrganizationOrgFinancialByProductArgs, opts?: InvokeOptions): Promise<GetOrganizationOrgFinancialByProductResult>
function getOrganizationOrgFinancialByProductOutput(args: GetOrganizationOrgFinancialByProductOutputArgs, opts?: InvokeOptions): Output<GetOrganizationOrgFinancialByProductResult>def get_organization_org_financial_by_product(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) -> GetOrganizationOrgFinancialByProductResult
def get_organization_org_financial_by_product_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[GetOrganizationOrgFinancialByProductResult]func GetOrganizationOrgFinancialByProduct(ctx *Context, args *GetOrganizationOrgFinancialByProductArgs, opts ...InvokeOption) (*GetOrganizationOrgFinancialByProductResult, error)
func GetOrganizationOrgFinancialByProductOutput(ctx *Context, args *GetOrganizationOrgFinancialByProductOutputArgs, opts ...InvokeOption) GetOrganizationOrgFinancialByProductResultOutput> Note: This function is named GetOrganizationOrgFinancialByProduct in the Go SDK.
public static class GetOrganizationOrgFinancialByProduct
{
public static Task<GetOrganizationOrgFinancialByProductResult> InvokeAsync(GetOrganizationOrgFinancialByProductArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationOrgFinancialByProductResult> Invoke(GetOrganizationOrgFinancialByProductInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationOrgFinancialByProductResult> getOrganizationOrgFinancialByProduct(GetOrganizationOrgFinancialByProductArgs args, InvokeOptions options)
public static Output<GetOrganizationOrgFinancialByProductResult> getOrganizationOrgFinancialByProduct(GetOrganizationOrgFinancialByProductArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getOrganizationOrgFinancialByProduct:getOrganizationOrgFinancialByProduct
arguments:
# arguments dictionaryThe following arguments are supported:
- Month string
- Query for the start month. Format:yyyy-mm, for example:2021-01.
- End
Month string - Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the
Month. - Id string
- Member
Uins List<double> - Member uin list. Up to 100.
- Product
Codes List<string> - Product code list. Up to 100.
- Result
Output stringFile - Used to save results.
- Month string
- Query for the start month. Format:yyyy-mm, for example:2021-01.
- End
Month string - Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the
Month. - Id string
- Member
Uins []float64 - Member uin list. Up to 100.
- Product
Codes []string - Product code list. Up to 100.
- Result
Output stringFile - Used to save results.
- month String
- Query for the start month. Format:yyyy-mm, for example:2021-01.
- end
Month String - Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the
Month. - id String
- member
Uins List<Double> - Member uin list. Up to 100.
- product
Codes List<String> - Product code list. Up to 100.
- result
Output StringFile - Used to save results.
- month string
- Query for the start month. Format:yyyy-mm, for example:2021-01.
- end
Month string - Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the
Month. - id string
- member
Uins number[] - Member uin list. Up to 100.
- product
Codes string[] - Product code list. Up to 100.
- result
Output stringFile - 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_ strfile - Used to save results.
- month String
- Query for the start month. Format:yyyy-mm, for example:2021-01.
- end
Month String - Query for the end month. Format:yyyy-mm, for example:2021-01.The default value is the
Month. - id String
- member
Uins List<Number> - Member uin list. Up to 100.
- product
Codes List<String> - Product code list. Up to 100.
- result
Output StringFile - Used to save results.
getOrganizationOrgFinancialByProduct Result
The following output properties are available:
- Id string
- Items
List<Get
Organization Org Financial By Product Item> - Organization financial info by products.
- Month string
- Total
Cost double - Total cost of the product.
- End
Month string - Member
Uins List<double> - Product
Codes List<string> - Result
Output stringFile
- Id string
- Items
[]Get
Organization Org Financial By Product Item - Organization financial info by products.
- Month string
- Total
Cost float64 - Total cost of the product.
- End
Month string - Member
Uins []float64 - Product
Codes []string - Result
Output stringFile
- id String
- items
List<Get
Organization Org Financial By Product Item> - Organization financial info by products.
- month String
- total
Cost Double - Total cost of the product.
- end
Month String - member
Uins List<Double> - product
Codes List<String> - result
Output StringFile
- id string
- items
Get
Organization Org Financial By Product Item[] - Organization financial info by products.
- month string
- total
Cost number - Total cost of the product.
- end
Month string - member
Uins number[] - product
Codes string[] - result
Output stringFile
- id str
- items
Sequence[Get
Organization Org Financial By Product Item] - Organization financial info by products.
- month str
- total_
cost float - Total cost of the product.
- end_
month str - member_
uins Sequence[float] - product_
codes Sequence[str] - result_
output_ strfile
- id String
- items List<Property Map>
- Organization financial info by products.
- month String
- total
Cost Number - Total cost of the product.
- end
Month String - member
Uins List<Number> - product
Codes List<String> - result
Output StringFile
Supporting Types
GetOrganizationOrgFinancialByProductItem
- Product
Code string - Product code.
- Product
Name string - Product name.
- Ratio string
- The percentage of the organization total cost that is accounted for by the product.
- Total
Cost double - Total cost of the product.
- Product
Code string - Product code.
- Product
Name string - Product name.
- Ratio string
- The percentage of the organization total cost that is accounted for by the product.
- Total
Cost float64 - Total cost of the product.
- product
Code String - Product code.
- product
Name String - Product name.
- ratio String
- The percentage of the organization total cost that is accounted for by the product.
- total
Cost Double - Total cost of the product.
- product
Code string - Product code.
- product
Name string - Product name.
- ratio string
- The percentage of the organization total cost that is accounted for by the product.
- total
Cost number - Total cost of the product.
- product_
code str - Product code.
- product_
name str - Product name.
- ratio str
- The percentage of the organization total cost that is accounted for by the product.
- total_
cost float - Total cost of the product.
- product
Code String - Product code.
- product
Name String - Product name.
- ratio String
- The percentage of the organization total cost that is accounted for by the product.
- total
Cost Number - Total cost of the product.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
