UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

106 lines (105 loc) 3.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of financial relations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.financial_relation.getFinancialRelations({ * accountIds: ["210026****"], * relations: ["1"], * statuses: ["200"], * }); * ``` */ /** @deprecated volcengine.financial_relation.FinancialRelations has been deprecated in favor of volcengine.financial_relation.getFinancialRelations */ export declare function financialRelations(args?: FinancialRelationsArgs, opts?: pulumi.InvokeOptions): Promise<FinancialRelationsResult>; /** * A collection of arguments for invoking FinancialRelations. */ export interface FinancialRelationsArgs { /** * A list of sub account IDs. */ accountIds?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * A list of relation. Valid values: `1`, `4`. */ relations?: string[]; /** * A list of status. Valid values: `100`, `200`, `250`, `300`, `400`, `500`. */ statuses?: string[]; } /** * A collection of values returned by FinancialRelations. */ export interface FinancialRelationsResult { readonly accountIds?: string[]; /** * The collection of query. */ readonly financialRelations: outputs.financial_relation.FinancialRelationsFinancialRelation[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The relation of the financial. */ readonly relations?: string[]; /** * The status of the financial relation. */ readonly statuses?: string[]; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of financial relations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.financial_relation.getFinancialRelations({ * accountIds: ["210026****"], * relations: ["1"], * statuses: ["200"], * }); * ``` */ /** @deprecated volcengine.financial_relation.FinancialRelations has been deprecated in favor of volcengine.financial_relation.getFinancialRelations */ export declare function financialRelationsOutput(args?: FinancialRelationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FinancialRelationsResult>; /** * A collection of arguments for invoking FinancialRelations. */ export interface FinancialRelationsOutputArgs { /** * A list of sub account IDs. */ accountIds?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * A list of relation. Valid values: `1`, `4`. */ relations?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of status. Valid values: `100`, `200`, `250`, `300`, `400`, `500`. */ statuses?: pulumi.Input<pulumi.Input<string>[]>; }