1. Packages
  2. Volcengine
  3. API Docs
  4. financial_relation
  5. FinancialRelations
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.financial_relation.FinancialRelations

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.FinancialRelations({
    accountIds: ["210026****"],
    relations: ["1"],
    statuses: ["200"],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.financial_relation.financial_relations(account_ids=["210026****"],
    relations=["1"],
    statuses=["200"])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:financial_relation:FinancialRelations
      Arguments:
        accountIds:
          - 210026****
        relations:
          - '1'
        statuses:
          - '200'
Copy

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>
Copy
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]
Copy
func FinancialRelations(ctx *Context, args *FinancialRelationsArgs, opts ...InvokeOption) (*FinancialRelationsResult, error)
func FinancialRelationsOutput(ctx *Context, args *FinancialRelationsOutputArgs, opts ...InvokeOption) FinancialRelationsResultOutput
Copy
public static class FinancialRelations 
{
    public static Task<FinancialRelationsResult> InvokeAsync(FinancialRelationsArgs args, InvokeOptions? opts = null)
    public static Output<FinancialRelationsResult> Invoke(FinancialRelationsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<FinancialRelationsResult> financialRelations(FinancialRelationsArgs args, InvokeOptions options)
public static Output<FinancialRelationsResult> financialRelations(FinancialRelationsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:financial_relation:FinancialRelations
  arguments:
    # arguments dictionary
Copy

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

FinancialRelationsFinancialRelationAuthInfo

AuthId This property is required. string
The auth id of the financial relation.
AuthLists This property is required. List<int>
The auth list of the financial relation.
AuthStatus This property is required. int
The auth status of the financial relation.
AuthId This property is required. string
The auth id of the financial relation.
AuthLists This property is required. []int
The auth list of the financial relation.
AuthStatus This property is required. int
The auth status of the financial relation.
authId This property is required. String
The auth id of the financial relation.
authLists This property is required. List<Integer>
The auth list of the financial relation.
authStatus This property is required. Integer
The auth status of the financial relation.
authId This property is required. string
The auth id of the financial relation.
authLists This property is required. number[]
The auth list of the financial relation.
authStatus This property is required. number
The auth status of the financial relation.
auth_id This property is required. str
The auth id of the financial relation.
auth_lists This property is required. Sequence[int]
The auth list of the financial relation.
auth_status This property is required. int
The auth status of the financial relation.
authId This property is required. String
The auth id of the financial relation.
authLists This property is required. List<Number>
The auth list of the financial relation.
authStatus This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine