published on Monday, Oct 26, 2026 by Byteplus
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.
- Sub
Account stringId - Sub-account UID.
- Account
Alias string - Display name, used for page display to clarify account usage scenarios.
- Auth
List stringStr - 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 int
- Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
- Sub
Account stringId - Sub-account UID.
- Account
Alias string - Display name, used for page display to clarify account usage scenarios.
- Auth
List stringStr - 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.
- sub_
account_ stringid - Sub-account UID.
- account_
alias string - Display name, used for page display to clarify account usage scenarios.
- auth_
list_ stringstr - 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.
- sub
Account StringId - Sub-account UID.
- account
Alias String - Display name, used for page display to clarify account usage scenarios.
- auth
List StringStr - 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 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.
- sub
Account stringId - Sub-account UID.
- account
Alias string - Display name, used for page display to clarify account usage scenarios.
- auth
List stringStr - 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 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_ strid - Sub-account UID.
- account_
alias str - Display name, used for page display to clarify account usage scenarios.
- auth_
list_ strstr - 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.
- sub
Account StringId - Sub-account UID.
- account
Alias String - Display name, used for page display to clarify account usage scenarios.
- auth
List StringStr - 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 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:
- Auth
Infos List<Byteplus.Financial Relation Auth Info> - 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 string - Description of main-sub relationship.
- Id string
- The provider-assigned unique ID for this managed resource.
- Major
Account intId - Main account UID.
- Major
Account stringName - Main account name.
- Relation
Desc string - Description of relationship type.
- Relation
Id 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).
- Status
Desc string - Description of financial relationship status.
- Sub
Account stringName - Sub-account name.
- Updated
Time string - Update time.
- Auth
Infos []FinancialRelation Auth Info - 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 string - Description of main-sub relationship.
- Id string
- The provider-assigned unique ID for this managed resource.
- Major
Account intId - Main account UID.
- Major
Account stringName - Main account name.
- Relation
Desc string - Description of relationship type.
- Relation
Id 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).
- Status
Desc string - Description of financial relationship status.
- Sub
Account stringName - Sub-account name.
- Updated
Time 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_ numberid - Main account UID.
- major_
account_ stringname - 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_ stringname - Sub-account name.
- updated_
time string - Update time.
- auth
Infos List<FinancialRelation Auth Info> - 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.
- filiation
Desc String - Description of main-sub relationship.
- id String
- The provider-assigned unique ID for this managed resource.
- major
Account IntegerId - Main account UID.
- major
Account StringName - Main account name.
- relation
Desc String - Description of relationship type.
- relation
Id 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).
- status
Desc String - Description of financial relationship status.
- sub
Account StringName - Sub-account name.
- updated
Time String - Update time.
- auth
Infos FinancialRelation Auth Info[] - 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 numberId - Main account UID.
- major
Account stringName - 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 stringName - Sub-account name.
- updated
Time string - Update time.
- auth_
infos Sequence[FinancialRelation Auth Info] - 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_ intid - Main account UID.
- major_
account_ strname - 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_ strname - Sub-account name.
- updated_
time str - Update time.
- auth
Infos 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.
- filiation
Desc String - Description of main-sub relationship.
- id String
- The provider-assigned unique ID for this managed resource.
- major
Account NumberId - Main account UID.
- major
Account StringName - 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 StringName - Sub-account name.
- updated
Time 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) -> FinancialRelationfunc 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.
- Account
Alias string - Display name, used for page display to clarify account usage scenarios.
- Auth
Infos List<Byteplus.Financial Relation Auth Info> - 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 stringStr - 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 string - Description of main-sub relationship.
- Major
Account intId - Main account UID.
- Major
Account stringName - Main account name.
- Relation int
- 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 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 string - Description of financial relationship status.
- Sub
Account stringId - Sub-account UID.
- Sub
Account stringName - Sub-account name.
- Updated
Time string - Update time.
- Account
Alias string - Display name, used for page display to clarify account usage scenarios.
- Auth
Infos []FinancialRelation Auth Info Args - 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 stringStr - 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 string - Description of main-sub relationship.
- Major
Account intId - Main account UID.
- Major
Account stringName - Main account name.
- Relation int
- 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 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 string - Description of financial relationship status.
- Sub
Account stringId - Sub-account UID.
- Sub
Account stringName - Sub-account name.
- Updated
Time 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_ stringstr - 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_ numberid - Main account UID.
- major_
account_ stringname - 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_ stringid - Sub-account UID.
- sub_
account_ stringname - Sub-account name.
- updated_
time string - Update time.
- account
Alias String - Display name, used for page display to clarify account usage scenarios.
- auth
Infos List<FinancialRelation Auth Info> - 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 StringStr - 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 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.
- filiation
Desc String - Description of main-sub relationship.
- major
Account IntegerId - Main account UID.
- major
Account StringName - Main account name.
- relation Integer
- 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 Integer
- 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 StringId - Sub-account UID.
- sub
Account StringName - Sub-account name.
- updated
Time String - Update time.
- account
Alias string - Display name, used for page display to clarify account usage scenarios.
- auth
Infos FinancialRelation Auth Info[] - 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 stringStr - 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 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.
- filiation
Desc string - Description of main-sub relationship.
- major
Account numberId - Main account UID.
- major
Account stringName - 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 stringId - Sub-account UID.
- sub
Account stringName - Sub-account name.
- updated
Time string - Update time.
- account_
alias str - Display name, used for page display to clarify account usage scenarios.
- auth_
infos Sequence[FinancialRelation Auth Info Args] - 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_ strstr - 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_ intid - Main account UID.
- major_
account_ strname - 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_ strid - Sub-account UID.
- sub_
account_ strname - Sub-account name.
- updated_
time str - Update time.
- account
Alias String - Display name, used for page display to clarify account usage scenarios.
- auth
Infos 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.
- auth
List StringStr - 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 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.
- filiation
Desc String - Description of main-sub relationship.
- major
Account NumberId - Main account UID.
- major
Account StringName - 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 StringId - Sub-account UID.
- sub
Account StringName - Sub-account name.
- updated
Time String - Update time.
Supporting Types
FinancialRelationAuthInfo, FinancialRelationAuthInfoArgs
- Auth
Id string - Financial relationship authorization ID.
- Auth
Lists 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.
- 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.
- Auth
Id string - Financial relationship authorization ID.
- Auth
Lists []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.
- 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.
- auth
Id String - Financial relationship authorization ID.
- auth
Lists 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.
- auth
Status 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.
- auth
Id string - Financial relationship authorization ID.
- auth
Lists 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.
- 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.
- 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.
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
byteplusccTerraform Provider.
published on Monday, Oct 26, 2026 by Byteplus