@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
104 lines (103 loc) • 3.02 kB
TypeScript
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"],
* });
* ```
*/
export declare function getFinancialRelations(args?: GetFinancialRelationsArgs, opts?: pulumi.InvokeOptions): Promise<GetFinancialRelationsResult>;
/**
* A collection of arguments for invoking getFinancialRelations.
*/
export interface GetFinancialRelationsArgs {
/**
* 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 getFinancialRelations.
*/
export interface GetFinancialRelationsResult {
readonly accountIds?: string[];
/**
* The collection of query.
*/
readonly financialRelations: outputs.financial_relation.GetFinancialRelationsFinancialRelation[];
/**
* 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"],
* });
* ```
*/
export declare function getFinancialRelationsOutput(args?: GetFinancialRelationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFinancialRelationsResult>;
/**
* A collection of arguments for invoking getFinancialRelations.
*/
export interface GetFinancialRelationsOutputArgs {
/**
* 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>[]>;
}