Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.financial_relation.FinancialRelations
Explore with Pulumi AI
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"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.financial_relation.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.FinancialRelations(ctx, &financial_relation.FinancialRelationsArgs{
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.FinancialRelations.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.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());
}
}
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)
public static Output<FinancialRelationsResult> financialRelations(FinancialRelationsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:financial_relation:FinancialRelations
arguments:
# arguments dictionary
The 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
.
FinancialRelations Result
The following output properties are available:
- Financial
Relations List<FinancialRelations 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 []FinancialRelations 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<FinancialRelations 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 FinancialRelations 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[FinancialRelations 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
FinancialRelationsFinancialRelation
- Account
Alias This property is required. string - The display name of the sub account.
- Auth
Infos This property is required. List<FinancialRelations Financial Relation Auth Info> - 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. string - 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. string - 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. string - The relation description of the financial.
- Relation
Id 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
. - Status
Desc This property is required. string - 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. string - The name of the sub account.
- Update
Time This property is required. string - The update time of the financial relation.
- Account
Alias This property is required. string - The display name of the sub account.
- Auth
Infos This property is required. []FinancialRelations Financial Relation Auth Info - 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. string - 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. string - 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. string - The relation description of the financial.
- Relation
Id 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
. - Status
Desc This property is required. string - 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. string - The name of the sub account.
- Update
Time This property is required. string - The update time of the financial relation.
- account
Alias This property is required. String - The display name of the sub account.
- auth
Infos This property is required. List<FinancialRelations Financial Relation Auth Info> - The authorization info of the financial relation.
- filiation
This property is required. Integer - The filiation of the financial relation.
- filiation
Desc This property is required. String - The filiation description of the financial relation.
- major
Account Id This property is required. Integer - The id of the major account.
- major
Account Name 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
. - relation
Desc This property is required. String - The relation description of the financial.
- relation
Id 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
. - status
Desc This property is required. String - The status description of the financial relation.
- sub
Account Id This property is required. Integer - The id of the sub account.
- sub
Account Name This property is required. String - The name of the sub account.
- update
Time This property is required. String - The update time of the financial relation.
- account
Alias This property is required. string - The display name of the sub account.
- auth
Infos This property is required. FinancialRelations Financial Relation Auth Info[] - The authorization info of the financial relation.
- filiation
This property is required. number - The filiation of the financial relation.
- filiation
Desc This property is required. string - The filiation description of the financial relation.
- major
Account Id This property is required. number - The id of the major account.
- major
Account Name 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
. - relation
Desc This property is required. string - The relation description of the financial.
- relation
Id 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
. - status
Desc This property is required. string - The status description of the financial relation.
- sub
Account Id This property is required. number - The id of the sub account.
- sub
Account Name This property is required. string - The name of the sub account.
- update
Time 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[FinancialRelations Financial Relation Auth Info] - 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.
- account
Alias This property is required. String - The display name of the sub account.
- auth
Infos 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.
- filiation
Desc This property is required. String - The filiation description of the financial relation.
- major
Account Id This property is required. Number - The id of the major account.
- major
Account Name 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
. - relation
Desc This property is required. String - The relation description of the financial.
- relation
Id 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
. - status
Desc This property is required. String - The status description of the financial relation.
- sub
Account Id This property is required. Number - The id of the sub account.
- sub
Account Name This property is required. String - The name of the sub account.
- update
Time This property is required. String - The update time of the financial relation.
FinancialRelationsFinancialRelationAuthInfo
- Auth
Id This property is required. string - The auth id of the financial relation.
- Auth
Lists This property is required. List<int> - The auth list of the financial relation.
- Auth
Status This property is required. int - The auth status of the financial relation.
- Auth
Id This property is required. string - The auth id of the financial relation.
- Auth
Lists This property is required. []int - The auth list of the financial relation.
- Auth
Status This property is required. int - The auth status of the financial relation.
- auth
Id This property is required. String - The auth id of the financial relation.
- auth
Lists This property is required. List<Integer> - The auth list of the financial relation.
- auth
Status This property is required. Integer - The auth status of the financial relation.
- auth
Id This property is required. string - The auth id of the financial relation.
- auth
Lists This property is required. number[] - The auth list of the financial relation.
- auth
Status 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.
- auth
Id This property is required. String - The auth id of the financial relation.
- auth
Lists This property is required. List<Number> - The auth list of the financial relation.
- auth
Status 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.