1. Packages
  2. Volcengine
  3. API Docs
  4. financial_relation
  5. FinancialRelations
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.financial_relation.FinancialRelations

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of financial relations

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Financial_relation.FinancialRelations.Invoke(new()
        {
            AccountIds = new[]
            {
                "210026****",
            },
            Relations = new[]
            {
                "1",
            },
            Statuses = new[]
            {
                "200",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/financial_relation"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := financial_relation.FinancialRelations(ctx, &financial_relation.FinancialRelationsArgs{
    			AccountIds: []string{
    				"210026****",
    			},
    			Relations: []string{
    				"1",
    			},
    			Statuses: []string{
    				"200",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.financial_relation.Financial_relationFunctions;
    import com.pulumi.volcengine.financial_relation.inputs.FinancialRelationsArgs;
    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 foo = Financial_relationFunctions.FinancialRelations(FinancialRelationsArgs.builder()
                .accountIds("210026****")
                .relations("1")
                .statuses("200")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.financial_relation.financial_relations(account_ids=["210026****"],
        relations=["1"],
        statuses=["200"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.financial_relation.FinancialRelations({
        accountIds: ["210026****"],
        relations: ["1"],
        statuses: ["200"],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:financial_relation:FinancialRelations
          Arguments:
            accountIds:
              - 210026****
            relations:
              - '1'
            statuses:
              - '200'
    

    Using FinancialRelations

    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 financialRelations(args: FinancialRelationsArgs, opts?: InvokeOptions): Promise<FinancialRelationsResult>
    function financialRelationsOutput(args: FinancialRelationsOutputArgs, opts?: InvokeOptions): Output<FinancialRelationsResult>
    def financial_relations(account_ids: Optional[Sequence[str]] = None,
                            output_file: Optional[str] = None,
                            relations: Optional[Sequence[str]] = None,
                            statuses: Optional[Sequence[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> FinancialRelationsResult
    def financial_relations_output(account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            output_file: Optional[pulumi.Input[str]] = None,
                            relations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[FinancialRelationsResult]
    func FinancialRelations(ctx *Context, args *FinancialRelationsArgs, opts ...InvokeOption) (*FinancialRelationsResult, error)
    func FinancialRelationsOutput(ctx *Context, args *FinancialRelationsOutputArgs, opts ...InvokeOption) FinancialRelationsResultOutput
    public static class FinancialRelations 
    {
        public static Task<FinancialRelationsResult> InvokeAsync(FinancialRelationsArgs args, InvokeOptions? opts = null)
        public static Output<FinancialRelationsResult> Invoke(FinancialRelationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<FinancialRelationsResult> financialRelations(FinancialRelationsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:financial_relation:FinancialRelations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountIds List<string>
    A list of sub account IDs.
    OutputFile string
    File name where to save data source results.
    Relations List<string>
    A list of relation. Valid values: 1, 4.
    Statuses List<string>
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    AccountIds []string
    A list of sub account IDs.
    OutputFile string
    File name where to save data source results.
    Relations []string
    A list of relation. Valid values: 1, 4.
    Statuses []string
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    accountIds List<String>
    A list of sub account IDs.
    outputFile String
    File name where to save data source results.
    relations List<String>
    A list of relation. Valid values: 1, 4.
    statuses List<String>
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    accountIds string[]
    A list of sub account IDs.
    outputFile string
    File name where to save data source results.
    relations string[]
    A list of relation. Valid values: 1, 4.
    statuses string[]
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    account_ids Sequence[str]
    A list of sub account IDs.
    output_file str
    File name where to save data source results.
    relations Sequence[str]
    A list of relation. Valid values: 1, 4.
    statuses Sequence[str]
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    accountIds List<String>
    A list of sub account IDs.
    outputFile String
    File name where to save data source results.
    relations List<String>
    A list of relation. Valid values: 1, 4.
    statuses List<String>
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.

    FinancialRelations Result

    The following output properties are available:

    FinancialRelations List<FinancialRelationsFinancialRelation>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    AccountIds List<string>
    OutputFile string
    Relations List<string>
    The relation of the financial.
    Statuses List<string>
    The status of the financial relation.
    FinancialRelations []FinancialRelationsFinancialRelation
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    AccountIds []string
    OutputFile string
    Relations []string
    The relation of the financial.
    Statuses []string
    The status of the financial relation.
    financialRelations List<FinancialRelationsFinancialRelation>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    accountIds List<String>
    outputFile String
    relations List<String>
    The relation of the financial.
    statuses List<String>
    The status of the financial relation.
    financialRelations FinancialRelationsFinancialRelation[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    accountIds string[]
    outputFile string
    relations string[]
    The relation of the financial.
    statuses string[]
    The status of the financial relation.
    financial_relations Sequence[FinancialRelationsFinancialRelation]
    The collection of query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    account_ids Sequence[str]
    output_file str
    relations Sequence[str]
    The relation of the financial.
    statuses Sequence[str]
    The status of the financial relation.
    financialRelations List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    accountIds List<String>
    outputFile String
    relations List<String>
    The relation of the financial.
    statuses List<String>
    The status of the financial relation.

    Supporting Types

    FinancialRelationsFinancialRelation

    AccountAlias string
    The display name of the sub account.
    AuthInfos List<FinancialRelationsFinancialRelationAuthInfo>
    The authorization info of the financial relation.
    Filiation int
    The filiation of the financial relation.
    FiliationDesc string
    The filiation description of the financial relation.
    MajorAccountId int
    The id of the major account.
    MajorAccountName string
    The name of the major account.
    Relation int
    A list of relation. Valid values: 1, 4.
    RelationDesc string
    The relation description of the financial.
    RelationId string
    The id of the financial relation.
    Status int
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    StatusDesc string
    The status description of the financial relation.
    SubAccountId int
    The id of the sub account.
    SubAccountName string
    The name of the sub account.
    UpdateTime string
    The update time of the financial relation.
    AccountAlias string
    The display name of the sub account.
    AuthInfos []FinancialRelationsFinancialRelationAuthInfo
    The authorization info of the financial relation.
    Filiation int
    The filiation of the financial relation.
    FiliationDesc string
    The filiation description of the financial relation.
    MajorAccountId int
    The id of the major account.
    MajorAccountName string
    The name of the major account.
    Relation int
    A list of relation. Valid values: 1, 4.
    RelationDesc string
    The relation description of the financial.
    RelationId string
    The id of the financial relation.
    Status int
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    StatusDesc string
    The status description of the financial relation.
    SubAccountId int
    The id of the sub account.
    SubAccountName string
    The name of the sub account.
    UpdateTime string
    The update time of the financial relation.
    accountAlias String
    The display name of the sub account.
    authInfos List<FinancialRelationsFinancialRelationAuthInfo>
    The authorization info of the financial relation.
    filiation Integer
    The filiation of the financial relation.
    filiationDesc String
    The filiation description of the financial relation.
    majorAccountId Integer
    The id of the major account.
    majorAccountName String
    The name of the major account.
    relation Integer
    A list of relation. Valid values: 1, 4.
    relationDesc String
    The relation description of the financial.
    relationId String
    The id of the financial relation.
    status Integer
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    statusDesc String
    The status description of the financial relation.
    subAccountId Integer
    The id of the sub account.
    subAccountName String
    The name of the sub account.
    updateTime String
    The update time of the financial relation.
    accountAlias string
    The display name of the sub account.
    authInfos FinancialRelationsFinancialRelationAuthInfo[]
    The authorization info of the financial relation.
    filiation number
    The filiation of the financial relation.
    filiationDesc string
    The filiation description of the financial relation.
    majorAccountId number
    The id of the major account.
    majorAccountName string
    The name of the major account.
    relation number
    A list of relation. Valid values: 1, 4.
    relationDesc string
    The relation description of the financial.
    relationId string
    The id of the financial relation.
    status number
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    statusDesc string
    The status description of the financial relation.
    subAccountId number
    The id of the sub account.
    subAccountName string
    The name of the sub account.
    updateTime string
    The update time of the financial relation.
    account_alias str
    The display name of the sub account.
    auth_infos Sequence[FinancialRelationsFinancialRelationAuthInfo]
    The authorization info of the financial relation.
    filiation int
    The filiation of the financial relation.
    filiation_desc str
    The filiation description of the financial relation.
    major_account_id int
    The id of the major account.
    major_account_name str
    The name of the major account.
    relation int
    A list of relation. Valid values: 1, 4.
    relation_desc str
    The relation description of the financial.
    relation_id str
    The id of the financial relation.
    status int
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    status_desc str
    The status description of the financial relation.
    sub_account_id int
    The id of the sub account.
    sub_account_name str
    The name of the sub account.
    update_time str
    The update time of the financial relation.
    accountAlias String
    The display name of the sub account.
    authInfos List<Property Map>
    The authorization info of the financial relation.
    filiation Number
    The filiation of the financial relation.
    filiationDesc String
    The filiation description of the financial relation.
    majorAccountId Number
    The id of the major account.
    majorAccountName String
    The name of the major account.
    relation Number
    A list of relation. Valid values: 1, 4.
    relationDesc String
    The relation description of the financial.
    relationId String
    The id of the financial relation.
    status Number
    A list of status. Valid values: 100, 200, 250, 300, 400, 500.
    statusDesc String
    The status description of the financial relation.
    subAccountId Number
    The id of the sub account.
    subAccountName String
    The name of the sub account.
    updateTime String
    The update time of the financial relation.

    FinancialRelationsFinancialRelationAuthInfo

    AuthId string
    The auth id of the financial relation.
    AuthLists List<int>
    The auth list of the financial relation.
    AuthStatus int
    The auth status of the financial relation.
    AuthId string
    The auth id of the financial relation.
    AuthLists []int
    The auth list of the financial relation.
    AuthStatus int
    The auth status of the financial relation.
    authId String
    The auth id of the financial relation.
    authLists List<Integer>
    The auth list of the financial relation.
    authStatus Integer
    The auth status of the financial relation.
    authId string
    The auth id of the financial relation.
    authLists number[]
    The auth list of the financial relation.
    authStatus number
    The auth status of the financial relation.
    auth_id str
    The auth id of the financial relation.
    auth_lists Sequence[int]
    The auth list of the financial relation.
    auth_status int
    The auth status of the financial relation.
    authId String
    The auth id of the financial relation.
    authLists List<Number>
    The auth list of the financial relation.
    authStatus Number
    The auth status of the financial relation.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine