Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.organization.Accounts
Explore with Pulumi AI
Use this data source to query detailed information of organization accounts
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.organization.Accounts({
    search: "210061****",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.organization.accounts(search="210061****")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/organization"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := organization.Accounts(ctx, &organization.AccountsArgs{
			Search: pulumi.StringRef("210061****"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Organization.Accounts.Invoke(new()
    {
        Search = "210061****",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.organization.OrganizationFunctions;
import com.pulumi.volcengine.organization.inputs.AccountsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var foo = OrganizationFunctions.Accounts(AccountsArgs.builder()
            .search("210061****")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:organization:Accounts
      Arguments:
        search: 210061****
Using Accounts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function accounts(args: AccountsArgs, opts?: InvokeOptions): Promise<AccountsResult>
function accountsOutput(args: AccountsOutputArgs, opts?: InvokeOptions): Output<AccountsResult>def accounts(name_regex: Optional[str] = None,
             org_unit_id: Optional[str] = None,
             output_file: Optional[str] = None,
             search: Optional[str] = None,
             verification_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> AccountsResult
def accounts_output(name_regex: Optional[pulumi.Input[str]] = None,
             org_unit_id: Optional[pulumi.Input[str]] = None,
             output_file: Optional[pulumi.Input[str]] = None,
             search: Optional[pulumi.Input[str]] = None,
             verification_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[AccountsResult]func Accounts(ctx *Context, args *AccountsArgs, opts ...InvokeOption) (*AccountsResult, error)
func AccountsOutput(ctx *Context, args *AccountsOutputArgs, opts ...InvokeOption) AccountsResultOutputpublic static class Accounts 
{
    public static Task<AccountsResult> InvokeAsync(AccountsArgs args, InvokeOptions? opts = null)
    public static Output<AccountsResult> Invoke(AccountsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<AccountsResult> accounts(AccountsArgs args, InvokeOptions options)
public static Output<AccountsResult> accounts(AccountsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:organization:Accounts
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NameRegex string
- A Name Regex of Resource.
- OrgUnit stringId 
- The id of the organization unit.
- OutputFile string
- File name where to save data source results.
- Search string
- The id or the show name of the account. This field supports fuzzy query.
- VerificationId string
- The id of the verification.
- NameRegex string
- A Name Regex of Resource.
- OrgUnit stringId 
- The id of the organization unit.
- OutputFile string
- File name where to save data source results.
- Search string
- The id or the show name of the account. This field supports fuzzy query.
- VerificationId string
- The id of the verification.
- nameRegex String
- A Name Regex of Resource.
- orgUnit StringId 
- The id of the organization unit.
- outputFile String
- File name where to save data source results.
- search String
- The id or the show name of the account. This field supports fuzzy query.
- verificationId String
- The id of the verification.
- nameRegex string
- A Name Regex of Resource.
- orgUnit stringId 
- The id of the organization unit.
- outputFile string
- File name where to save data source results.
- search string
- The id or the show name of the account. This field supports fuzzy query.
- verificationId string
- The id of the verification.
- name_regex str
- A Name Regex of Resource.
- org_unit_ strid 
- The id of the organization unit.
- output_file str
- File name where to save data source results.
- search str
- The id or the show name of the account. This field supports fuzzy query.
- verification_id str
- The id of the verification.
- nameRegex String
- A Name Regex of Resource.
- orgUnit StringId 
- The id of the organization unit.
- outputFile String
- File name where to save data source results.
- search String
- The id or the show name of the account. This field supports fuzzy query.
- verificationId String
- The id of the verification.
Accounts Result
The following output properties are available:
- Accounts
List<AccountsAccount> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- NameRegex string
- OrgUnit stringId 
- The id of the organization unit.
- OutputFile string
- Search string
- VerificationId string
- Accounts
[]AccountsAccount 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- NameRegex string
- OrgUnit stringId 
- The id of the organization unit.
- OutputFile string
- Search string
- VerificationId string
- accounts
List<AccountsAccount> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- nameRegex String
- orgUnit StringId 
- The id of the organization unit.
- outputFile String
- search String
- verificationId String
- accounts
AccountsAccount[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- nameRegex string
- orgUnit stringId 
- The id of the organization unit.
- outputFile string
- search string
- verificationId string
- accounts
Sequence[AccountsAccount] 
- The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_count int
- The total count of query.
- name_regex str
- org_unit_ strid 
- The id of the organization unit.
- output_file str
- search str
- verification_id str
- accounts List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of query.
- nameRegex String
- orgUnit StringId 
- The id of the organization unit.
- outputFile String
- search String
- verificationId String
Supporting Types
AccountsAccount 
- AccountId string
- The id of the account.
- AccountName string
- The name of the account.
- AllowConsole int
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- AllowExit int
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- CreatedTime string
- The created time of the account.
- DeleteUk string
- The delete uk of the account.
- DeletedTime string
- The deleted time of the account.
- Description string
- The description of the account.
- IamRole string
- The name of the iam role.
- Id string
- The id of the account.
- IsOwner int
- Whether the account is owner. 0means not owner,1means owner.
- JoinType int
- The join type of the account. 0means create,1means invitation.
- OrgId string
- The id of the organization.
- OrgType int
- The type of the organization. 1means business organization.
- OrgUnit stringId 
- The id of the organization unit.
- OrgUnit stringName 
- The name of the organization unit.
- OrgVerification stringId 
- The id of the organization verification.
- Owner string
- The owner id of the account.
- ShowName string
- The show name of the account.
- 
List<AccountsAccount Tag> 
- Tags.
- UpdatedTime string
- The updated time of the account.
- AccountId string
- The id of the account.
- AccountName string
- The name of the account.
- AllowConsole int
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- AllowExit int
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- CreatedTime string
- The created time of the account.
- DeleteUk string
- The delete uk of the account.
- DeletedTime string
- The deleted time of the account.
- Description string
- The description of the account.
- IamRole string
- The name of the iam role.
- Id string
- The id of the account.
- IsOwner int
- Whether the account is owner. 0means not owner,1means owner.
- JoinType int
- The join type of the account. 0means create,1means invitation.
- OrgId string
- The id of the organization.
- OrgType int
- The type of the organization. 1means business organization.
- OrgUnit stringId 
- The id of the organization unit.
- OrgUnit stringName 
- The name of the organization unit.
- OrgVerification stringId 
- The id of the organization verification.
- Owner string
- The owner id of the account.
- ShowName string
- The show name of the account.
- 
[]AccountsAccount Tag 
- Tags.
- UpdatedTime string
- The updated time of the account.
- accountId String
- The id of the account.
- accountName String
- The name of the account.
- allowConsole Integer
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- allowExit Integer
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- createdTime String
- The created time of the account.
- deleteUk String
- The delete uk of the account.
- deletedTime String
- The deleted time of the account.
- description String
- The description of the account.
- iamRole String
- The name of the iam role.
- id String
- The id of the account.
- isOwner Integer
- Whether the account is owner. 0means not owner,1means owner.
- joinType Integer
- The join type of the account. 0means create,1means invitation.
- orgId String
- The id of the organization.
- orgType Integer
- The type of the organization. 1means business organization.
- orgUnit StringId 
- The id of the organization unit.
- orgUnit StringName 
- The name of the organization unit.
- orgVerification StringId 
- The id of the organization verification.
- owner String
- The owner id of the account.
- showName String
- The show name of the account.
- 
List<AccountsAccount Tag> 
- Tags.
- updatedTime String
- The updated time of the account.
- accountId string
- The id of the account.
- accountName string
- The name of the account.
- allowConsole number
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- allowExit number
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- createdTime string
- The created time of the account.
- deleteUk string
- The delete uk of the account.
- deletedTime string
- The deleted time of the account.
- description string
- The description of the account.
- iamRole string
- The name of the iam role.
- id string
- The id of the account.
- isOwner number
- Whether the account is owner. 0means not owner,1means owner.
- joinType number
- The join type of the account. 0means create,1means invitation.
- orgId string
- The id of the organization.
- orgType number
- The type of the organization. 1means business organization.
- orgUnit stringId 
- The id of the organization unit.
- orgUnit stringName 
- The name of the organization unit.
- orgVerification stringId 
- The id of the organization verification.
- owner string
- The owner id of the account.
- showName string
- The show name of the account.
- 
AccountsAccount Tag[] 
- Tags.
- updatedTime string
- The updated time of the account.
- account_id str
- The id of the account.
- account_name str
- The name of the account.
- allow_console int
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- allow_exit int
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- created_time str
- The created time of the account.
- delete_uk str
- The delete uk of the account.
- deleted_time str
- The deleted time of the account.
- description str
- The description of the account.
- iam_role str
- The name of the iam role.
- id str
- The id of the account.
- is_owner int
- Whether the account is owner. 0means not owner,1means owner.
- join_type int
- The join type of the account. 0means create,1means invitation.
- org_id str
- The id of the organization.
- org_type int
- The type of the organization. 1means business organization.
- org_unit_ strid 
- The id of the organization unit.
- org_unit_ strname 
- The name of the organization unit.
- org_verification_ strid 
- The id of the organization verification.
- owner str
- The owner id of the account.
- show_name str
- The show name of the account.
- 
Sequence[AccountsAccount Tag] 
- Tags.
- updated_time str
- The updated time of the account.
- accountId String
- The id of the account.
- accountName String
- The name of the account.
- allowConsole Number
- Whether to allow the account enable console. 0means allowed,1means not allowed.
- allowExit Number
- Whether to allow exit the organization. 0means allowed,1means not allowed.
- createdTime String
- The created time of the account.
- deleteUk String
- The delete uk of the account.
- deletedTime String
- The deleted time of the account.
- description String
- The description of the account.
- iamRole String
- The name of the iam role.
- id String
- The id of the account.
- isOwner Number
- Whether the account is owner. 0means not owner,1means owner.
- joinType Number
- The join type of the account. 0means create,1means invitation.
- orgId String
- The id of the organization.
- orgType Number
- The type of the organization. 1means business organization.
- orgUnit StringId 
- The id of the organization unit.
- orgUnit StringName 
- The name of the organization unit.
- orgVerification StringId 
- The id of the organization verification.
- owner String
- The owner id of the account.
- showName String
- The show name of the account.
- List<Property Map>
- Tags.
- updatedTime String
- The updated time of the account.
AccountsAccountTag  
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.