1. Registry
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. billing
  6. FinancialRelation
Viewing docs for bytepluscc v0.0.56
published on Monday, Oct 26, 2026 by Byteplus
bytepluscc logo bytepluscc
Viewing docs for bytepluscc v0.0.56
published on Monday, Oct 26, 2026 by Byteplus

    Enterprise financial management provides multi-account enterprise customers with a cloud-based, cross-account solution for integrated business and fulfillment (funds, invoices, billing) management.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const example = new bytepluscc.billing.FinancialRelation("example", {
        accountAlias: "ccapi_test-dx-0",
        subAccountId: "2100000000",
        relation: 1,
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    example = bytepluscc.billing.FinancialRelation("example",
        account_alias="ccapi_test-dx-0",
        sub_account_id="2100000000",
        relation=1)
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/billing"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := billing.NewFinancialRelation(ctx, "example", &billing.FinancialRelationArgs{
    			AccountAlias: pulumi.String("ccapi_test-dx-0"),
    			SubAccountId: pulumi.String("2100000000"),
    			Relation:     pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Bytepluscc.Billing.FinancialRelation("example", new()
        {
            AccountAlias = "ccapi_test-dx-0",
            SubAccountId = "2100000000",
            Relation = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.billing.FinancialRelation;
    import com.byteplus.bytepluscc.billing.FinancialRelationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var example = new FinancialRelation("example", FinancialRelationArgs.builder()
                .accountAlias("ccapi_test-dx-0")
                .subAccountId("2100000000")
                .relation(1)
                .build());
    
        }
    }
    
    resources:
      example:
        type: bytepluscc:billing:FinancialRelation
        properties:
          accountAlias: ccapi_test-dx-0
          subAccountId: '2100000000'
          relation: 1
    
    pulumi {
      required_providers {
        bytepluscc = {
          source = "pulumi/bytepluscc"
        }
      }
    }
    
    resource "bytepluscc_billing_financialrelation" "example" {
      account_alias  = "ccapi_test-dx-0"
      sub_account_id = "2100000000"
      relation       = 1
    }
    

    Create FinancialRelation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FinancialRelation(name: string, args: FinancialRelationArgs, opts?: CustomResourceOptions);
    @overload
    def FinancialRelation(resource_name: str,
                          args: FinancialRelationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def FinancialRelation(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          relation: Optional[int] = None,
                          sub_account_id: Optional[str] = None,
                          account_alias: Optional[str] = None,
                          auth_list_str: Optional[str] = None,
                          cancel_invitation: Optional[bool] = None)
    func NewFinancialRelation(ctx *Context, name string, args FinancialRelationArgs, opts ...ResourceOption) (*FinancialRelation, error)
    public FinancialRelation(string name, FinancialRelationArgs args, CustomResourceOptions? opts = null)
    public FinancialRelation(String name, FinancialRelationArgs args)
    public FinancialRelation(String name, FinancialRelationArgs args, CustomResourceOptions options)
    
    type: bytepluscc:billing:FinancialRelation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_billing_financial_relation" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FinancialRelationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FinancialRelationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FinancialRelationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FinancialRelationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FinancialRelationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var financialRelationResource = new Bytepluscc.Billing.FinancialRelation("financialRelationResource", new()
    {
        Relation = 0,
        SubAccountId = "string",
        AccountAlias = "string",
        AuthListStr = "string",
        CancelInvitation = false,
    });
    
    example, err := billing.NewFinancialRelation(ctx, "financialRelationResource", &billing.FinancialRelationArgs{
    	Relation:         pulumi.Int(0),
    	SubAccountId:     pulumi.String("string"),
    	AccountAlias:     pulumi.String("string"),
    	AuthListStr:      pulumi.String("string"),
    	CancelInvitation: pulumi.Bool(false),
    })
    
    resource "bytepluscc_billing_financial_relation" "financialRelationResource" {
      lifecycle {
        create_before_destroy = true
      }
      relation          = 0
      sub_account_id    = "string"
      account_alias     = "string"
      auth_list_str     = "string"
      cancel_invitation = false
    }
    
    var financialRelationResource = new FinancialRelation("financialRelationResource", FinancialRelationArgs.builder()
        .relation(0)
        .subAccountId("string")
        .accountAlias("string")
        .authListStr("string")
        .cancelInvitation(false)
        .build());
    
    financial_relation_resource = bytepluscc.billing.FinancialRelation("financialRelationResource",
        relation=0,
        sub_account_id="string",
        account_alias="string",
        auth_list_str="string",
        cancel_invitation=False)
    
    const financialRelationResource = new bytepluscc.billing.FinancialRelation("financialRelationResource", {
        relation: 0,
        subAccountId: "string",
        accountAlias: "string",
        authListStr: "string",
        cancelInvitation: false,
    });
    
    type: bytepluscc:billing:FinancialRelation
    properties:
        accountAlias: string
        authListStr: string
        cancelInvitation: false
        relation: 0
        subAccountId: string
    

    FinancialRelation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FinancialRelation resource accepts the following input properties:

    Relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    SubAccountId string
    Sub-account UID.
    AccountAlias string
    Display name, used for page display to clarify account usage scenarios.
    AuthListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    CancelInvitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    Relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    SubAccountId string
    Sub-account UID.
    AccountAlias string
    Display name, used for page display to clarify account usage scenarios.
    AuthListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    CancelInvitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    relation number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    sub_account_id string
    Sub-account UID.
    account_alias string
    Display name, used for page display to clarify account usage scenarios.
    auth_list_str string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancel_invitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    relation Integer
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    subAccountId String
    Sub-account UID.
    accountAlias String
    Display name, used for page display to clarify account usage scenarios.
    authListStr String
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation Boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    relation number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    subAccountId string
    Sub-account UID.
    accountAlias string
    Display name, used for page display to clarify account usage scenarios.
    authListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    sub_account_id str
    Sub-account UID.
    account_alias str
    Display name, used for page display to clarify account usage scenarios.
    auth_list_str str
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancel_invitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    relation Number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    subAccountId String
    Sub-account UID.
    accountAlias String
    Display name, used for page display to clarify account usage scenarios.
    authListStr String
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation Boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FinancialRelation resource produces the following output properties:

    AuthInfos List<Byteplus.FinancialRelationAuthInfo>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    FiliationDesc string
    Description of main-sub relationship.
    Id string
    The provider-assigned unique ID for this managed resource.
    MajorAccountId int
    Main account UID.
    MajorAccountName string
    Main account name.
    RelationDesc string
    Description of relationship type.
    RelationId string
    Relationship ID.
    Status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    StatusDesc string
    Description of financial relationship status.
    SubAccountName string
    Sub-account name.
    UpdatedTime string
    Update time.
    AuthInfos []FinancialRelationAuthInfo
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    FiliationDesc string
    Description of main-sub relationship.
    Id string
    The provider-assigned unique ID for this managed resource.
    MajorAccountId int
    Main account UID.
    MajorAccountName string
    Main account name.
    RelationDesc string
    Description of relationship type.
    RelationId string
    Relationship ID.
    Status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    StatusDesc string
    Description of financial relationship status.
    SubAccountName string
    Sub-account name.
    UpdatedTime string
    Update time.
    auth_infos list(object)
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    filiation number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiation_desc string
    Description of main-sub relationship.
    id string
    The provider-assigned unique ID for this managed resource.
    major_account_id number
    Main account UID.
    major_account_name string
    Main account name.
    relation_desc string
    Description of relationship type.
    relation_id string
    Relationship ID.
    status number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    status_desc string
    Description of financial relationship status.
    sub_account_name string
    Sub-account name.
    updated_time string
    Update time.
    authInfos List<FinancialRelationAuthInfo>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    filiation Integer
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc String
    Description of main-sub relationship.
    id String
    The provider-assigned unique ID for this managed resource.
    majorAccountId Integer
    Main account UID.
    majorAccountName String
    Main account name.
    relationDesc String
    Description of relationship type.
    relationId String
    Relationship ID.
    status Integer
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc String
    Description of financial relationship status.
    subAccountName String
    Sub-account name.
    updatedTime String
    Update time.
    authInfos FinancialRelationAuthInfo[]
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    filiation number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc string
    Description of main-sub relationship.
    id string
    The provider-assigned unique ID for this managed resource.
    majorAccountId number
    Main account UID.
    majorAccountName string
    Main account name.
    relationDesc string
    Description of relationship type.
    relationId string
    Relationship ID.
    status number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc string
    Description of financial relationship status.
    subAccountName string
    Sub-account name.
    updatedTime string
    Update time.
    auth_infos Sequence[FinancialRelationAuthInfo]
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiation_desc str
    Description of main-sub relationship.
    id str
    The provider-assigned unique ID for this managed resource.
    major_account_id int
    Main account UID.
    major_account_name str
    Main account name.
    relation_desc str
    Description of relationship type.
    relation_id str
    Relationship ID.
    status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    status_desc str
    Description of financial relationship status.
    sub_account_name str
    Sub-account name.
    updated_time str
    Update time.
    authInfos List<Property Map>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    filiation Number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc String
    Description of main-sub relationship.
    id String
    The provider-assigned unique ID for this managed resource.
    majorAccountId Number
    Main account UID.
    majorAccountName String
    Main account name.
    relationDesc String
    Description of relationship type.
    relationId String
    Relationship ID.
    status Number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc String
    Description of financial relationship status.
    subAccountName String
    Sub-account name.
    updatedTime String
    Update time.

    Look up Existing FinancialRelation Resource

    Get an existing FinancialRelation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FinancialRelationState, opts?: CustomResourceOptions): FinancialRelation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_alias: Optional[str] = None,
            auth_infos: Optional[Sequence[FinancialRelationAuthInfoArgs]] = None,
            auth_list_str: Optional[str] = None,
            cancel_invitation: Optional[bool] = None,
            filiation: Optional[int] = None,
            filiation_desc: Optional[str] = None,
            major_account_id: Optional[int] = None,
            major_account_name: Optional[str] = None,
            relation: Optional[int] = None,
            relation_desc: Optional[str] = None,
            relation_id: Optional[str] = None,
            status: Optional[int] = None,
            status_desc: Optional[str] = None,
            sub_account_id: Optional[str] = None,
            sub_account_name: Optional[str] = None,
            updated_time: Optional[str] = None) -> FinancialRelation
    func GetFinancialRelation(ctx *Context, name string, id IDInput, state *FinancialRelationState, opts ...ResourceOption) (*FinancialRelation, error)
    public static FinancialRelation Get(string name, Input<string> id, FinancialRelationState? state, CustomResourceOptions? opts = null)
    public static FinancialRelation get(String name, Output<String> id, FinancialRelationState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:billing:FinancialRelation    get:      id: ${id}
    import {
      to = bytepluscc_billing_financial_relation.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountAlias string
    Display name, used for page display to clarify account usage scenarios.
    AuthInfos List<Byteplus.FinancialRelationAuthInfo>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    AuthListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    CancelInvitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    Filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    FiliationDesc string
    Description of main-sub relationship.
    MajorAccountId int
    Main account UID.
    MajorAccountName string
    Main account name.
    Relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    RelationDesc string
    Description of relationship type.
    RelationId string
    Relationship ID.
    Status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    StatusDesc string
    Description of financial relationship status.
    SubAccountId string
    Sub-account UID.
    SubAccountName string
    Sub-account name.
    UpdatedTime string
    Update time.
    AccountAlias string
    Display name, used for page display to clarify account usage scenarios.
    AuthInfos []FinancialRelationAuthInfoArgs
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    AuthListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    CancelInvitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    Filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    FiliationDesc string
    Description of main-sub relationship.
    MajorAccountId int
    Main account UID.
    MajorAccountName string
    Main account name.
    Relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    RelationDesc string
    Description of relationship type.
    RelationId string
    Relationship ID.
    Status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    StatusDesc string
    Description of financial relationship status.
    SubAccountId string
    Sub-account UID.
    SubAccountName string
    Sub-account name.
    UpdatedTime string
    Update time.
    account_alias string
    Display name, used for page display to clarify account usage scenarios.
    auth_infos list(object)
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    auth_list_str string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancel_invitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    filiation number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiation_desc string
    Description of main-sub relationship.
    major_account_id number
    Main account UID.
    major_account_name string
    Main account name.
    relation number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    relation_desc string
    Description of relationship type.
    relation_id string
    Relationship ID.
    status number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    status_desc string
    Description of financial relationship status.
    sub_account_id string
    Sub-account UID.
    sub_account_name string
    Sub-account name.
    updated_time string
    Update time.
    accountAlias String
    Display name, used for page display to clarify account usage scenarios.
    authInfos List<FinancialRelationAuthInfo>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    authListStr String
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation Boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    filiation Integer
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc String
    Description of main-sub relationship.
    majorAccountId Integer
    Main account UID.
    majorAccountName String
    Main account name.
    relation Integer
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    relationDesc String
    Description of relationship type.
    relationId String
    Relationship ID.
    status Integer
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc String
    Description of financial relationship status.
    subAccountId String
    Sub-account UID.
    subAccountName String
    Sub-account name.
    updatedTime String
    Update time.
    accountAlias string
    Display name, used for page display to clarify account usage scenarios.
    authInfos FinancialRelationAuthInfo[]
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    authListStr string
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    filiation number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc string
    Description of main-sub relationship.
    majorAccountId number
    Main account UID.
    majorAccountName string
    Main account name.
    relation number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    relationDesc string
    Description of relationship type.
    relationId string
    Relationship ID.
    status number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc string
    Description of financial relationship status.
    subAccountId string
    Sub-account UID.
    subAccountName string
    Sub-account name.
    updatedTime string
    Update time.
    account_alias str
    Display name, used for page display to clarify account usage scenarios.
    auth_infos Sequence[FinancialRelationAuthInfoArgs]
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    auth_list_str str
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancel_invitation bool
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    filiation int
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiation_desc str
    Description of main-sub relationship.
    major_account_id int
    Main account UID.
    major_account_name str
    Main account name.
    relation int
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    relation_desc str
    Description of relationship type.
    relation_id str
    Relationship ID.
    status int
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    status_desc str
    Description of financial relationship status.
    sub_account_id str
    Sub-account UID.
    sub_account_name str
    Sub-account name.
    updated_time str
    Update time.
    accountAlias String
    Display name, used for page display to clarify account usage scenarios.
    authInfos List<Property Map>
    Financial relationship authorization point. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    authListStr String
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    cancelInvitation Boolean
    Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
    filiation Number
    Main-sub relationship enumeration values. 1: Main; 2: Sub.
    filiationDesc String
    Description of main-sub relationship.
    majorAccountId Number
    Main account UID.
    majorAccountName String
    Main account name.
    relation Number
    Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
    relationDesc String
    Description of relationship type.
    relationId String
    Relationship ID.
    status Number
    Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
    statusDesc String
    Description of financial relationship status.
    subAccountId String
    Sub-account UID.
    subAccountName String
    Sub-account name.
    updatedTime String
    Update time.

    Supporting Types

    FinancialRelationAuthInfo, FinancialRelationAuthInfoArgs

    AuthId string
    Financial relationship authorization ID.
    AuthLists List<int>
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    AuthStatus int
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    AuthId string
    Financial relationship authorization ID.
    AuthLists []int
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    AuthStatus int
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    auth_id string
    Financial relationship authorization ID.
    auth_lists list(number)
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    auth_status number
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    authId String
    Financial relationship authorization ID.
    authLists List<Integer>
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    authStatus Integer
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    authId string
    Financial relationship authorization ID.
    authLists number[]
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    authStatus number
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    auth_id str
    Financial relationship authorization ID.
    auth_lists Sequence[int]
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    auth_status int
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.
    authId String
    Financial relationship authorization ID.
    authLists List<Number>
    Authorization list, separated by commas. Permission points are as follows: 1 Allow sub-account to share contract discounts of the main account; 2 Allow main account to view the sub-account's fund balance; 3 Allow main account to allocate and reclaim credit limits for the sub-account; 4 Allow main account to view the sub-account's billing information; 5 Allow main account to assist the sub-account with invoice management.
    authStatus Number
    Authorization status enumeration values. 100: Authorization in progress; 200: Authorization established; 250: Authorization change rejected by sub-account; 300: Authorization change canceled by main account; 400: Authorization revoked.

    Import

    $ pulumi import bytepluscc:billing/financialRelation:FinancialRelation example "sub_account_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo bytepluscc
    Viewing docs for bytepluscc v0.0.56
    published on Monday, Oct 26, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial