Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of financial relations
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.financial_relation.getFinancialRelations({
accountIds: ["210026****"],
relations: ["1"],
statuses: ["200"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.financial_relation.get_financial_relations(account_ids=["210026****"],
relations=["1"],
statuses=["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.GetFinancialRelations(ctx, &financial_relation.GetFinancialRelationsArgs{
AccountIds: []string{
"210026****",
},
Relations: []string{
"1",
},
Statuses: []string{
"200",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Financial_relation.GetFinancialRelations.Invoke(new()
{
AccountIds = new[]
{
"210026****",
},
Relations = new[]
{
"1",
},
Statuses = new[]
{
"200",
},
});
});
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.GetFinancialRelationsArgs;
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.getFinancialRelations(GetFinancialRelationsArgs.builder()
.accountIds("210026****")
.relations("1")
.statuses("200")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:financial_relation:getFinancialRelations
Arguments:
accountIds:
- 210026****
relations:
- '1'
statuses:
- '200'
Using getFinancialRelations
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 getFinancialRelations(args: GetFinancialRelationsArgs, opts?: InvokeOptions): Promise<GetFinancialRelationsResult>
function getFinancialRelationsOutput(args: GetFinancialRelationsOutputArgs, opts?: InvokeOptions): Output<GetFinancialRelationsResult>def get_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) -> GetFinancialRelationsResult
def get_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[GetFinancialRelationsResult]func GetFinancialRelations(ctx *Context, args *GetFinancialRelationsArgs, opts ...InvokeOption) (*GetFinancialRelationsResult, error)
func GetFinancialRelationsOutput(ctx *Context, args *GetFinancialRelationsOutputArgs, opts ...InvokeOption) GetFinancialRelationsResultOutput> Note: This function is named GetFinancialRelations in the Go SDK.
public static class GetFinancialRelations
{
public static Task<GetFinancialRelationsResult> InvokeAsync(GetFinancialRelationsArgs args, InvokeOptions? opts = null)
public static Output<GetFinancialRelationsResult> Invoke(GetFinancialRelationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFinancialRelationsResult> getFinancialRelations(GetFinancialRelationsArgs args, InvokeOptions options)
public static Output<GetFinancialRelationsResult> getFinancialRelations(GetFinancialRelationsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:financial_relation/getFinancialRelations:getFinancialRelations
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Ids List<string> - A list of sub account IDs.
- Output
File 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.
- Account
Ids []string - A list of sub account IDs.
- Output
File 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 List<String> - A list of sub account IDs.
- output
File 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.
- account
Ids string[] - A list of sub account IDs.
- output
File 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.
- account
Ids List<String> - A list of sub account IDs.
- output
File 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.
getFinancialRelations Result
The following output properties are available:
- Financial
Relations List<GetFinancial Relations Financial Relation> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Account
Ids List<string> - Output
File string - Relations List<string>
- The relation of the financial.
- Statuses List<string>
- The status of the financial relation.
- Financial
Relations []GetFinancial Relations Financial Relation - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Account
Ids []string - Output
File string - Relations []string
- The relation of the financial.
- Statuses []string
- The status of the financial relation.
- financial
Relations List<GetFinancial Relations Financial Relation> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- account
Ids List<String> - output
File String - relations List<String>
- The relation of the financial.
- statuses List<String>
- The status of the financial relation.
- financial
Relations GetFinancial Relations Financial Relation[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- account
Ids string[] - output
File string - relations string[]
- The relation of the financial.
- statuses string[]
- The status of the financial relation.
- financial_
relations Sequence[GetFinancial Relations Financial Relation] - 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.
- financial
Relations List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- account
Ids List<String> - output
File String - relations List<String>
- The relation of the financial.
- statuses List<String>
- The status of the financial relation.
Supporting Types
GetFinancialRelationsFinancialRelation
- Account
Alias string - The display name of the sub account.
- Auth
Infos List<GetFinancial Relations Financial Relation Auth Info> - The authorization info of the financial relation.
- Filiation int
- The filiation of the financial relation.
- Filiation
Desc string - The filiation description of the financial relation.
- Major
Account intId - The id of the major account.
- Major
Account stringName - The name of the major account.
- Relation int
- A list of relation. Valid values:
1,4. - Relation
Desc string - The relation description of the financial.
- Relation
Id string - The id of the financial relation.
- Status int
- A list of status. Valid values:
100,200,250,300,400,500. - Status
Desc string - The status description of the financial relation.
- Sub
Account intId - The id of the sub account.
- Sub
Account stringName - The name of the sub account.
- Update
Time string - The update time of the financial relation.
- Account
Alias string - The display name of the sub account.
- Auth
Infos []GetFinancial Relations Financial Relation Auth Info - The authorization info of the financial relation.
- Filiation int
- The filiation of the financial relation.
- Filiation
Desc string - The filiation description of the financial relation.
- Major
Account intId - The id of the major account.
- Major
Account stringName - The name of the major account.
- Relation int
- A list of relation. Valid values:
1,4. - Relation
Desc string - The relation description of the financial.
- Relation
Id string - The id of the financial relation.
- Status int
- A list of status. Valid values:
100,200,250,300,400,500. - Status
Desc string - The status description of the financial relation.
- Sub
Account intId - The id of the sub account.
- Sub
Account stringName - The name of the sub account.
- Update
Time string - The update time of the financial relation.
- account
Alias String - The display name of the sub account.
- auth
Infos List<GetFinancial Relations Financial Relation Auth Info> - The authorization info of the financial relation.
- filiation Integer
- The filiation of the financial relation.
- filiation
Desc String - The filiation description of the financial relation.
- major
Account IntegerId - The id of the major account.
- major
Account StringName - The name of the major account.
- relation Integer
- A list of relation. Valid values:
1,4. - relation
Desc String - The relation description of the financial.
- relation
Id String - The id of the financial relation.
- status Integer
- A list of status. Valid values:
100,200,250,300,400,500. - status
Desc String - The status description of the financial relation.
- sub
Account IntegerId - The id of the sub account.
- sub
Account StringName - The name of the sub account.
- update
Time String - The update time of the financial relation.
- account
Alias string - The display name of the sub account.
- auth
Infos GetFinancial Relations Financial Relation Auth Info[] - The authorization info of the financial relation.
- filiation number
- The filiation of the financial relation.
- filiation
Desc string - The filiation description of the financial relation.
- major
Account numberId - The id of the major account.
- major
Account stringName - The name of the major account.
- relation number
- A list of relation. Valid values:
1,4. - relation
Desc string - The relation description of the financial.
- relation
Id string - The id of the financial relation.
- status number
- A list of status. Valid values:
100,200,250,300,400,500. - status
Desc string - The status description of the financial relation.
- sub
Account numberId - The id of the sub account.
- sub
Account stringName - The name of the sub account.
- update
Time string - The update time of the financial relation.
- account_
alias str - The display name of the sub account.
- auth_
infos Sequence[GetFinancial Relations Financial Relation Auth Info] - 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_ intid - The id of the major account.
- major_
account_ strname - 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_ intid - The id of the sub account.
- sub_
account_ strname - The name of the sub account.
- update_
time str - The update time of the financial relation.
- account
Alias String - The display name of the sub account.
- auth
Infos List<Property Map> - The authorization info of the financial relation.
- filiation Number
- The filiation of the financial relation.
- filiation
Desc String - The filiation description of the financial relation.
- major
Account NumberId - The id of the major account.
- major
Account StringName - The name of the major account.
- relation Number
- A list of relation. Valid values:
1,4. - relation
Desc String - The relation description of the financial.
- relation
Id String - The id of the financial relation.
- status Number
- A list of status. Valid values:
100,200,250,300,400,500. - status
Desc String - The status description of the financial relation.
- sub
Account NumberId - The id of the sub account.
- sub
Account StringName - The name of the sub account.
- update
Time String - The update time of the financial relation.
GetFinancialRelationsFinancialRelationAuthInfo
- Auth
Id string - The auth id of the financial relation.
- Auth
Lists List<int> - The auth list of the financial relation.
- Auth
Status int - The auth status of the financial relation.
- Auth
Id string - The auth id of the financial relation.
- Auth
Lists []int - The auth list of the financial relation.
- Auth
Status int - The auth status of the financial relation.
- auth
Id String - The auth id of the financial relation.
- auth
Lists List<Integer> - The auth list of the financial relation.
- auth
Status Integer - The auth status of the financial relation.
- auth
Id string - The auth id of the financial relation.
- auth
Lists number[] - The auth list of the financial relation.
- auth
Status 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.
- auth
Id String - The auth id of the financial relation.
- auth
Lists List<Number> - The auth list of the financial relation.
- auth
Status 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
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
