@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
106 lines (105 loc) • 2.77 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of organization accounts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.organization.getAccounts({
* search: "210061****",
* });
* ```
*/
export declare function getAccounts(args?: GetAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
/**
* A collection of arguments for invoking getAccounts.
*/
export interface GetAccountsArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* The id of the organization unit.
*/
orgUnitId?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The id or the show name of the account. This field supports fuzzy query.
*/
search?: string;
/**
* The id of the verification.
*/
verificationId?: string;
}
/**
* A collection of values returned by getAccounts.
*/
export interface GetAccountsResult {
/**
* The collection of query.
*/
readonly accounts: outputs.organization.GetAccountsAccount[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
/**
* The id of the organization unit.
*/
readonly orgUnitId?: string;
readonly outputFile?: string;
readonly search?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
readonly verificationId?: string;
}
/**
* Use this data source to query detailed information of organization accounts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.organization.getAccounts({
* search: "210061****",
* });
* ```
*/
export declare function getAccountsOutput(args?: GetAccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountsResult>;
/**
* A collection of arguments for invoking getAccounts.
*/
export interface GetAccountsOutputArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* The id of the organization unit.
*/
orgUnitId?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The id or the show name of the account. This field supports fuzzy query.
*/
search?: pulumi.Input<string>;
/**
* The id of the verification.
*/
verificationId?: pulumi.Input<string>;
}