@byteplus/pulumi-bytepluscc 0.0.52 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/billing/financialRelation.d.ts +211 -0
- package/billing/financialRelation.d.ts.map +1 -0
- package/billing/financialRelation.js +130 -0
- package/billing/financialRelation.js.map +1 -0
- package/billing/getFinancialRelation.d.ts +102 -0
- package/billing/getFinancialRelation.d.ts.map +1 -0
- package/billing/getFinancialRelation.js +51 -0
- package/billing/getFinancialRelation.js.map +1 -0
- package/billing/getFinancialRelations.d.ts +23 -0
- package/billing/getFinancialRelations.d.ts.map +1 -0
- package/billing/getFinancialRelations.js +47 -0
- package/billing/getFinancialRelations.js.map +1 -0
- package/billing/index.d.ts +10 -0
- package/billing/index.d.ts.map +1 -0
- package/billing/index.js +51 -0
- package/billing/index.js.map +1 -0
- package/cloudmonitor/alertTemplate.d.ts +252 -0
- package/cloudmonitor/alertTemplate.d.ts.map +1 -0
- package/cloudmonitor/alertTemplate.js +172 -0
- package/cloudmonitor/alertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplate.d.ts +90 -0
- package/cloudmonitor/getAlertTemplate.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplate.js +51 -0
- package/cloudmonitor/getAlertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplates.d.ts +23 -0
- package/cloudmonitor/getAlertTemplates.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplates.js +47 -0
- package/cloudmonitor/getAlertTemplates.js.map +1 -0
- package/cloudmonitor/getObjectGroup.d.ts +66 -0
- package/cloudmonitor/getObjectGroup.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroup.js +51 -0
- package/cloudmonitor/getObjectGroup.js.map +1 -0
- package/cloudmonitor/getObjectGroups.d.ts +23 -0
- package/cloudmonitor/getObjectGroups.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroups.js +47 -0
- package/cloudmonitor/getObjectGroups.js.map +1 -0
- package/cloudmonitor/index.d.ts +18 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +23 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cloudmonitor/objectGroup.d.ts +143 -0
- package/cloudmonitor/objectGroup.d.ts.map +1 -0
- package/cloudmonitor/objectGroup.js +124 -0
- package/cloudmonitor/objectGroup.js.map +1 -0
- package/ecs/getInstance.d.ts +1 -0
- package/ecs/getInstance.d.ts.map +1 -1
- package/ecs/getInstance.js.map +1 -1
- package/ecs/instance.d.ts +8 -0
- package/ecs/instance.d.ts.map +1 -1
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/hbase/instance.d.ts +0 -5
- package/hbase/instance.d.ts.map +1 -1
- package/hbase/instance.js +1 -1
- package/hbase/instance.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/mongodb/getInstance.d.ts +25 -1
- package/mongodb/getInstance.d.ts.map +1 -1
- package/mongodb/getInstance.js.map +1 -1
- package/mongodb/instance.d.ts +71 -3
- package/mongodb/instance.d.ts.map +1 -1
- package/mongodb/instance.js +12 -0
- package/mongodb/instance.js.map +1 -1
- package/package.json +1 -1
- package/rdsmssql/getInstance.d.ts +12 -0
- package/rdsmssql/getInstance.d.ts.map +1 -1
- package/rdsmssql/getInstance.js.map +1 -1
- package/rdsmssql/instance.d.ts +32 -0
- package/rdsmssql/instance.d.ts.map +1 -1
- package/rdsmssql/instance.js +6 -0
- package/rdsmssql/instance.js.map +1 -1
- package/rdspostgresql/getInstance.d.ts +4 -0
- package/rdspostgresql/getInstance.d.ts.map +1 -1
- package/rdspostgresql/getInstance.js.map +1 -1
- package/rdspostgresql/instance.d.ts +12 -0
- package/rdspostgresql/instance.d.ts.map +1 -1
- package/rdspostgresql/instance.js +2 -0
- package/rdspostgresql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.d.ts.map +1 -1
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +12 -0
- package/redis/instance.d.ts.map +1 -1
- package/redis/instance.js +2 -0
- package/redis/instance.js.map +1 -1
- package/securitycenter/agent.d.ts +221 -0
- package/securitycenter/agent.d.ts.map +1 -0
- package/securitycenter/agent.js +131 -0
- package/securitycenter/agent.js.map +1 -0
- package/securitycenter/getAgent.d.ts +118 -0
- package/securitycenter/getAgent.d.ts.map +1 -0
- package/securitycenter/getAgent.js +51 -0
- package/securitycenter/getAgent.js.map +1 -0
- package/securitycenter/getAgents.d.ts +23 -0
- package/securitycenter/getAgents.d.ts.map +1 -0
- package/securitycenter/getAgents.js +47 -0
- package/securitycenter/getAgents.js.map +1 -0
- package/securitycenter/index.d.ts +10 -0
- package/securitycenter/index.d.ts.map +1 -0
- package/securitycenter/index.js +51 -0
- package/securitycenter/index.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js +47 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts +77 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js +51 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts +73 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js +51 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts +23 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js +47 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.d.ts.map +1 -1
- package/transitrouter/index.js +24 -2
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts +166 -0
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js +127 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts +148 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.js +117 -0
- package/transitrouter/transitRouterRoutePolicyTable.js.map +1 -0
- package/types/input.d.ts +774 -81
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1594 -221
- package/types/output.d.ts.map +1 -1
- package/vke/getNodePool.d.ts +3 -3
- package/vke/getNodepoolScalingPolicies.d.ts +23 -0
- package/vke/getNodepoolScalingPolicies.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicies.js +47 -0
- package/vke/getNodepoolScalingPolicies.js.map +1 -0
- package/vke/getNodepoolScalingPolicy.d.ts +82 -0
- package/vke/getNodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicy.js +51 -0
- package/vke/getNodepoolScalingPolicy.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.d.ts.map +1 -1
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +9 -9
- package/vke/nodepoolScalingPolicy.d.ts +191 -0
- package/vke/nodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/nodepoolScalingPolicy.js +140 -0
- package/vke/nodepoolScalingPolicy.js.map +1 -0
- package/vpc/getIpamResourceDiscoveries.d.ts +23 -0
- package/vpc/getIpamResourceDiscoveries.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscoveries.js +47 -0
- package/vpc/getIpamResourceDiscoveries.js.map +1 -0
- package/vpc/getIpamResourceDiscovery.d.ts +90 -0
- package/vpc/getIpamResourceDiscovery.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscovery.js +51 -0
- package/vpc/getIpamResourceDiscovery.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +14 -3
- package/vpc/index.js.map +1 -1
- package/vpc/ipamResourceDiscovery.d.ts +194 -0
- package/vpc/ipamResourceDiscovery.d.ts.map +1 -0
- package/vpc/ipamResourceDiscovery.js +128 -0
- package/vpc/ipamResourceDiscovery.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +316 -0
- package/waf/botAnalyseProtectRule.d.ts.map +1 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/customBot.d.ts +207 -0
- package/waf/customBot.d.ts.map +1 -0
- package/waf/customBot.js +150 -0
- package/waf/customBot.js.map +1 -0
- package/waf/getBotAnalyseProtectRule.d.ts +126 -0
- package/waf/getBotAnalyseProtectRule.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRule.js +51 -0
- package/waf/getBotAnalyseProtectRule.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +23 -0
- package/waf/getBotAnalyseProtectRules.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRules.js +47 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCustomBot.d.ts +86 -0
- package/waf/getCustomBot.d.ts.map +1 -0
- package/waf/getCustomBot.js +51 -0
- package/waf/getCustomBot.js.map +1 -0
- package/waf/getCustomBots.d.ts +23 -0
- package/waf/getCustomBots.d.ts.map +1 -0
- package/waf/getCustomBots.js +47 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/index.d.ts +18 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +23 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Enterprise financial management provides multi-account enterprise customers with a cloud-based, cross-account solution for integrated business and fulfillment (funds, invoices, billing) management.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new bytepluscc.billing.FinancialRelation("example", {
|
|
14
|
+
* accountAlias: "ccapi_test-dx-0",
|
|
15
|
+
* subAccountId: "2100000000",
|
|
16
|
+
* relation: 1,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import bytepluscc:billing/financialRelation:FinancialRelation example "sub_account_id"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class FinancialRelation extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing FinancialRelation resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FinancialRelationState, opts?: pulumi.CustomResourceOptions): FinancialRelation;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of FinancialRelation. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is FinancialRelation;
|
|
42
|
+
/**
|
|
43
|
+
* Display name, used for page display to clarify account usage scenarios.
|
|
44
|
+
*/
|
|
45
|
+
readonly accountAlias: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Financial relationship authorization point.
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
readonly authInfos: pulumi.Output<outputs.billing.FinancialRelationAuthInfo[]>;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
54
|
+
readonly authListStr: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
|
|
57
|
+
*/
|
|
58
|
+
readonly cancelInvitation: pulumi.Output<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Main-sub relationship enumeration values. 1: Main; 2: Sub.
|
|
61
|
+
*/
|
|
62
|
+
readonly filiation: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* Description of main-sub relationship.
|
|
65
|
+
*/
|
|
66
|
+
readonly filiationDesc: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Main account UID.
|
|
69
|
+
*/
|
|
70
|
+
readonly majorAccountId: pulumi.Output<number>;
|
|
71
|
+
/**
|
|
72
|
+
* Main account name.
|
|
73
|
+
*/
|
|
74
|
+
readonly majorAccountName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
|
|
77
|
+
*/
|
|
78
|
+
readonly relation: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Description of relationship type.
|
|
81
|
+
*/
|
|
82
|
+
readonly relationDesc: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Relationship ID.
|
|
85
|
+
*/
|
|
86
|
+
readonly relationId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
|
|
89
|
+
*/
|
|
90
|
+
readonly status: pulumi.Output<number>;
|
|
91
|
+
/**
|
|
92
|
+
* Description of financial relationship status.
|
|
93
|
+
*/
|
|
94
|
+
readonly statusDesc: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Sub-account UID.
|
|
97
|
+
*/
|
|
98
|
+
readonly subAccountId: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Sub-account name.
|
|
101
|
+
*/
|
|
102
|
+
readonly subAccountName: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Update time.
|
|
105
|
+
*/
|
|
106
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Create a FinancialRelation resource with the given unique name, arguments, and options.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resource.
|
|
111
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
112
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
113
|
+
*/
|
|
114
|
+
constructor(name: string, args: FinancialRelationArgs, opts?: pulumi.CustomResourceOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Input properties used for looking up and filtering FinancialRelation resources.
|
|
118
|
+
*/
|
|
119
|
+
export interface FinancialRelationState {
|
|
120
|
+
/**
|
|
121
|
+
* Display name, used for page display to clarify account usage scenarios.
|
|
122
|
+
*/
|
|
123
|
+
accountAlias?: pulumi.Input<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Financial relationship authorization point.
|
|
126
|
+
* 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.
|
|
127
|
+
*/
|
|
128
|
+
authInfos?: pulumi.Input<pulumi.Input<inputs.billing.FinancialRelationAuthInfo>[] | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* 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.
|
|
131
|
+
*/
|
|
132
|
+
authListStr?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
|
|
135
|
+
*/
|
|
136
|
+
cancelInvitation?: pulumi.Input<boolean | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Main-sub relationship enumeration values. 1: Main; 2: Sub.
|
|
139
|
+
*/
|
|
140
|
+
filiation?: pulumi.Input<number | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* Description of main-sub relationship.
|
|
143
|
+
*/
|
|
144
|
+
filiationDesc?: pulumi.Input<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* Main account UID.
|
|
147
|
+
*/
|
|
148
|
+
majorAccountId?: pulumi.Input<number | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* Main account name.
|
|
151
|
+
*/
|
|
152
|
+
majorAccountName?: pulumi.Input<string | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
|
|
155
|
+
*/
|
|
156
|
+
relation?: pulumi.Input<number | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Description of relationship type.
|
|
159
|
+
*/
|
|
160
|
+
relationDesc?: pulumi.Input<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* Relationship ID.
|
|
163
|
+
*/
|
|
164
|
+
relationId?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
|
|
167
|
+
*/
|
|
168
|
+
status?: pulumi.Input<number | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* Description of financial relationship status.
|
|
171
|
+
*/
|
|
172
|
+
statusDesc?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Sub-account UID.
|
|
175
|
+
*/
|
|
176
|
+
subAccountId?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Sub-account name.
|
|
179
|
+
*/
|
|
180
|
+
subAccountName?: pulumi.Input<string | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* Update time.
|
|
183
|
+
*/
|
|
184
|
+
updatedTime?: pulumi.Input<string | undefined>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The set of arguments for constructing a FinancialRelation resource.
|
|
188
|
+
*/
|
|
189
|
+
export interface FinancialRelationArgs {
|
|
190
|
+
/**
|
|
191
|
+
* Display name, used for page display to clarify account usage scenarios.
|
|
192
|
+
*/
|
|
193
|
+
accountAlias?: pulumi.Input<string | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* 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.
|
|
196
|
+
*/
|
|
197
|
+
authListStr?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
|
|
200
|
+
*/
|
|
201
|
+
cancelInvitation?: pulumi.Input<boolean | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
|
|
204
|
+
*/
|
|
205
|
+
relation: pulumi.Input<number>;
|
|
206
|
+
/**
|
|
207
|
+
* Sub-account UID.
|
|
208
|
+
*/
|
|
209
|
+
subAccountId: pulumi.Input<string>;
|
|
210
|
+
}
|
|
211
|
+
//# sourceMappingURL=financialRelation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"financialRelation.d.ts","sourceRoot":"","sources":["../../billing/financialRelation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;;OAGG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;IACtG;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;I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AC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.FinancialRelation = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Enterprise financial management provides multi-account enterprise customers with a cloud-based, cross-account solution for integrated business and fulfillment (funds, invoices, billing) management.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.billing.FinancialRelation("example", {
|
|
41
|
+
* accountAlias: "ccapi_test-dx-0",
|
|
42
|
+
* subAccountId: "2100000000",
|
|
43
|
+
* relation: 1,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import bytepluscc:billing/financialRelation:FinancialRelation example "sub_account_id"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class FinancialRelation extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing FinancialRelation resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new FinancialRelation(name, state, { ...opts, id: id });
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
static __pulumiType = 'bytepluscc:billing/financialRelation:FinancialRelation';
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of FinancialRelation. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === FinancialRelation.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
constructor(name, argsOrState, opts) {
|
|
79
|
+
let resourceInputs = {};
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
if (opts.id) {
|
|
82
|
+
const state = argsOrState;
|
|
83
|
+
resourceInputs["accountAlias"] = state?.accountAlias;
|
|
84
|
+
resourceInputs["authInfos"] = state?.authInfos;
|
|
85
|
+
resourceInputs["authListStr"] = state?.authListStr;
|
|
86
|
+
resourceInputs["cancelInvitation"] = state?.cancelInvitation;
|
|
87
|
+
resourceInputs["filiation"] = state?.filiation;
|
|
88
|
+
resourceInputs["filiationDesc"] = state?.filiationDesc;
|
|
89
|
+
resourceInputs["majorAccountId"] = state?.majorAccountId;
|
|
90
|
+
resourceInputs["majorAccountName"] = state?.majorAccountName;
|
|
91
|
+
resourceInputs["relation"] = state?.relation;
|
|
92
|
+
resourceInputs["relationDesc"] = state?.relationDesc;
|
|
93
|
+
resourceInputs["relationId"] = state?.relationId;
|
|
94
|
+
resourceInputs["status"] = state?.status;
|
|
95
|
+
resourceInputs["statusDesc"] = state?.statusDesc;
|
|
96
|
+
resourceInputs["subAccountId"] = state?.subAccountId;
|
|
97
|
+
resourceInputs["subAccountName"] = state?.subAccountName;
|
|
98
|
+
resourceInputs["updatedTime"] = state?.updatedTime;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const args = argsOrState;
|
|
102
|
+
if (args?.relation === undefined && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'relation'");
|
|
104
|
+
}
|
|
105
|
+
if (args?.subAccountId === undefined && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'subAccountId'");
|
|
107
|
+
}
|
|
108
|
+
resourceInputs["accountAlias"] = args?.accountAlias;
|
|
109
|
+
resourceInputs["authListStr"] = args?.authListStr;
|
|
110
|
+
resourceInputs["cancelInvitation"] = args?.cancelInvitation;
|
|
111
|
+
resourceInputs["relation"] = args?.relation;
|
|
112
|
+
resourceInputs["subAccountId"] = args?.subAccountId;
|
|
113
|
+
resourceInputs["authInfos"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["filiation"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["filiationDesc"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["majorAccountId"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["majorAccountName"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["relationDesc"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["relationId"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["statusDesc"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["subAccountName"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
124
|
+
}
|
|
125
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
126
|
+
super(FinancialRelation.__pulumiType, name, resourceInputs, opts);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.FinancialRelation = FinancialRelation;
|
|
130
|
+
//# sourceMappingURL=financialRelation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"financialRelation.js","sourceRoot":"","sources":["../../billing/financialRelation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA4ED,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,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../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::Billing::FinancialRelation
|
|
5
|
+
*/
|
|
6
|
+
export declare function getFinancialRelation(args: GetFinancialRelationArgs, opts?: pulumi.InvokeOptions): Promise<GetFinancialRelationResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getFinancialRelation.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetFinancialRelationArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getFinancialRelation.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetFinancialRelationResult {
|
|
20
|
+
/**
|
|
21
|
+
* Display name, used for page display to clarify account usage scenarios.
|
|
22
|
+
*/
|
|
23
|
+
readonly accountAlias: string;
|
|
24
|
+
/**
|
|
25
|
+
* Financial relationship authorization point.
|
|
26
|
+
*/
|
|
27
|
+
readonly authInfos: outputs.billing.GetFinancialRelationAuthInfo[];
|
|
28
|
+
/**
|
|
29
|
+
* 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.
|
|
30
|
+
*/
|
|
31
|
+
readonly authListStr: string;
|
|
32
|
+
/**
|
|
33
|
+
* Cancel authorization invitation. false: Do not cancel; true: Cancel. To initiate a new authorization invitation, please cancel the existing one first.
|
|
34
|
+
*/
|
|
35
|
+
readonly cancelInvitation: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Main-sub relationship enumeration values. 1: Main; 2: Sub.
|
|
38
|
+
*/
|
|
39
|
+
readonly filiation: number;
|
|
40
|
+
/**
|
|
41
|
+
* Description of main-sub relationship.
|
|
42
|
+
*/
|
|
43
|
+
readonly filiationDesc: string;
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Main account UID.
|
|
50
|
+
*/
|
|
51
|
+
readonly majorAccountId: number;
|
|
52
|
+
/**
|
|
53
|
+
* Main account name.
|
|
54
|
+
*/
|
|
55
|
+
readonly majorAccountName: string;
|
|
56
|
+
/**
|
|
57
|
+
* Relationship type. Currently, only Enterprise Finance is supported: 1 Financial Custody; 4 Financial Management.
|
|
58
|
+
*/
|
|
59
|
+
readonly relation: number;
|
|
60
|
+
/**
|
|
61
|
+
* Description of relationship type.
|
|
62
|
+
*/
|
|
63
|
+
readonly relationDesc: string;
|
|
64
|
+
/**
|
|
65
|
+
* Relationship ID.
|
|
66
|
+
*/
|
|
67
|
+
readonly relationId: string;
|
|
68
|
+
/**
|
|
69
|
+
* Financial relationship status enumeration values. 100: In progress; 200: Established; 250: Rejected; 300: Canceled; 400: Revoked; 500: Deleted (not visible on the page).
|
|
70
|
+
*/
|
|
71
|
+
readonly status: number;
|
|
72
|
+
/**
|
|
73
|
+
* Description of financial relationship status.
|
|
74
|
+
*/
|
|
75
|
+
readonly statusDesc: string;
|
|
76
|
+
/**
|
|
77
|
+
* Sub-account UID.
|
|
78
|
+
*/
|
|
79
|
+
readonly subAccountId: string;
|
|
80
|
+
/**
|
|
81
|
+
* Sub-account name.
|
|
82
|
+
*/
|
|
83
|
+
readonly subAccountName: string;
|
|
84
|
+
/**
|
|
85
|
+
* Update time.
|
|
86
|
+
*/
|
|
87
|
+
readonly updatedTime: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Data Source schema for Byteplus::Billing::FinancialRelation
|
|
91
|
+
*/
|
|
92
|
+
export declare function getFinancialRelationOutput(args: GetFinancialRelationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFinancialRelationResult>;
|
|
93
|
+
/**
|
|
94
|
+
* A collection of arguments for invoking getFinancialRelation.
|
|
95
|
+
*/
|
|
96
|
+
export interface GetFinancialRelationOutputArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Uniquely identifies the resource.
|
|
99
|
+
*/
|
|
100
|
+
id: pulumi.Input<string>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=getFinancialRelation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFinancialRelation.d.ts","sourceRoot":"","sources":["../../billing/getFinancialRelation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,4BAA4B,EAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAK7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getFinancialRelationOutput = exports.getFinancialRelation = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::Billing::FinancialRelation
|
|
33
|
+
*/
|
|
34
|
+
function getFinancialRelation(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:billing/getFinancialRelation:getFinancialRelation", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getFinancialRelation = getFinancialRelation;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::Billing::FinancialRelation
|
|
43
|
+
*/
|
|
44
|
+
function getFinancialRelationOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:billing/getFinancialRelation:getFinancialRelation", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getFinancialRelationOutput = getFinancialRelationOutput;
|
|
51
|
+
//# sourceMappingURL=getFinancialRelation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFinancialRelation.js","sourceRoot":"","sources":["../../billing/getFinancialRelation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAqFD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::Billing::FinancialRelation
|
|
4
|
+
*/
|
|
5
|
+
export declare function getFinancialRelations(opts?: pulumi.InvokeOptions): Promise<GetFinancialRelationsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getFinancialRelations.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetFinancialRelationsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Byteplus::Billing::FinancialRelation
|
|
21
|
+
*/
|
|
22
|
+
export declare function getFinancialRelationsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFinancialRelationsResult>;
|
|
23
|
+
//# sourceMappingURL=getFinancialRelations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFinancialRelations.d.ts","sourceRoot":"","sources":["../../billing/getFinancialRelations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAIvG;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAIzH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getFinancialRelationsOutput = exports.getFinancialRelations = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::Billing::FinancialRelation
|
|
33
|
+
*/
|
|
34
|
+
function getFinancialRelations(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:billing/getFinancialRelations:getFinancialRelations", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getFinancialRelations = getFinancialRelations;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::Billing::FinancialRelation
|
|
41
|
+
*/
|
|
42
|
+
function getFinancialRelationsOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:billing/getFinancialRelations:getFinancialRelations", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getFinancialRelationsOutput = getFinancialRelationsOutput;
|
|
47
|
+
//# sourceMappingURL=getFinancialRelations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFinancialRelations.js","sourceRoot":"","sources":["../../billing/getFinancialRelations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE,EAC9F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC;AAeD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAiC;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE,EACpG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kEAIC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { FinancialRelationArgs, FinancialRelationState } from "./financialRelation";
|
|
2
|
+
export type FinancialRelation = import("./financialRelation").FinancialRelation;
|
|
3
|
+
export declare const FinancialRelation: typeof import("./financialRelation").FinancialRelation;
|
|
4
|
+
export { GetFinancialRelationArgs, GetFinancialRelationResult, GetFinancialRelationOutputArgs } from "./getFinancialRelation";
|
|
5
|
+
export declare const getFinancialRelation: typeof import("./getFinancialRelation").getFinancialRelation;
|
|
6
|
+
export declare const getFinancialRelationOutput: typeof import("./getFinancialRelation").getFinancialRelationOutput;
|
|
7
|
+
export { GetFinancialRelationsResult } from "./getFinancialRelations";
|
|
8
|
+
export declare const getFinancialRelations: typeof import("./getFinancialRelations").getFinancialRelations;
|
|
9
|
+
export declare const getFinancialRelationsOutput: typeof import("./getFinancialRelations").getFinancialRelationsOutput;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../billing/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,OAAO,qBAAqB,EAAE,iBAAiB,CAAC;AAChF,eAAO,MAAM,iBAAiB,EAAE,cAAc,qBAAqB,EAAE,iBAA+B,CAAC;AAGrG,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAC9H,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAC9G,eAAO,MAAM,0BAA0B,EAAE,cAAc,wBAAwB,EAAE,0BAAwC,CAAC;AAG1H,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAE,cAAc,yBAAyB,EAAE,qBAAmC,CAAC;AACjH,eAAO,MAAM,2BAA2B,EAAE,cAAc,yBAAyB,EAAE,2BAAyC,CAAC"}
|