@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
108 lines (107 loc) • 2.98 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****",
* });
* ```
*/
/** @deprecated volcengine.organization.Accounts has been deprecated in favor of volcengine.organization.getAccounts */
export declare function accounts(args?: AccountsArgs, opts?: pulumi.InvokeOptions): Promise<AccountsResult>;
/**
* A collection of arguments for invoking Accounts.
*/
export interface AccountsArgs {
/**
* 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 Accounts.
*/
export interface AccountsResult {
/**
* The collection of query.
*/
readonly accounts: outputs.organization.AccountsAccount[];
/**
* 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****",
* });
* ```
*/
/** @deprecated volcengine.organization.Accounts has been deprecated in favor of volcengine.organization.getAccounts */
export declare function accountsOutput(args?: AccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AccountsResult>;
/**
* A collection of arguments for invoking Accounts.
*/
export interface AccountsOutputArgs {
/**
* 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>;
}