Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.organization.Accounts
Explore with Pulumi AI
Use this data source to query detailed information of organization accounts
Example Usage
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 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
})
}
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());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.organization.accounts(search="210061****")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.organization.Accounts({
search: "210061****",
});
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) AccountsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:organization:Accounts
arguments:
# arguments dictionary
The following arguments are supported:
- Name
Regex string - A Name Regex of Resource.
- Org
Unit stringId - The id of the organization unit.
- Output
File 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.
- Verification
Id string - The id of the verification.
- Name
Regex string - A Name Regex of Resource.
- Org
Unit stringId - The id of the organization unit.
- Output
File 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.
- Verification
Id string - The id of the verification.
- name
Regex String - A Name Regex of Resource.
- org
Unit StringId - The id of the organization unit.
- output
File 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.
- verification
Id String - The id of the verification.
- name
Regex string - A Name Regex of Resource.
- org
Unit stringId - The id of the organization unit.
- output
File 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.
- verification
Id 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.
- name
Regex String - A Name Regex of Resource.
- org
Unit StringId - The id of the organization unit.
- output
File 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.
- verification
Id String - The id of the verification.
Accounts Result
The following output properties are available:
- Accounts
List<Accounts
Account> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Name
Regex string - Org
Unit stringId - The id of the organization unit.
- Output
File string - Search string
- Verification
Id string
- Accounts
[]Accounts
Account - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Name
Regex string - Org
Unit stringId - The id of the organization unit.
- Output
File string - Search string
- Verification
Id string
- accounts
List<Accounts
Account> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- name
Regex String - org
Unit StringId - The id of the organization unit.
- output
File String - search String
- verification
Id String
- accounts
Accounts
Account[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- name
Regex string - org
Unit stringId - The id of the organization unit.
- output
File string - search string
- verification
Id string
- accounts
Sequence[Accounts
Account] - 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.
- total
Count Number - The total count of query.
- name
Regex String - org
Unit StringId - The id of the organization unit.
- output
File String - search String
- verification
Id String
Supporting Types
AccountsAccount
- Account
Id string - The id of the account.
- Account
Name string - The name of the account.
- Allow
Console int - Whether to allow the account enable console.
0
means allowed,1
means not allowed. - Allow
Exit int - Whether to allow exit the organization.
0
means allowed,1
means not allowed. - Created
Time string - The created time of the account.
- Delete
Uk string - The delete uk of the account.
- Deleted
Time string - The deleted time of the account.
- Description string
- The description of the account.
- Iam
Role string - The name of the iam role.
- Id string
- The id of the account.
- Is
Owner int - Whether the account is owner.
0
means not owner,1
means owner. - Join
Type int - The join type of the account.
0
means create,1
means invitation. - Org
Id string - The id of the organization.
- Org
Type int - The type of the organization.
1
means business organization. - Org
Unit stringId - The id of the organization unit.
- Org
Unit stringName - The name of the organization unit.
- Org
Verification stringId - The id of the organization verification.
- Owner string
- The owner id of the account.
- Show
Name string - The show name of the account.
- List<Accounts
Account Tag> - Tags.
- Updated
Time string - The updated time of the account.
- Account
Id string - The id of the account.
- Account
Name string - The name of the account.
- Allow
Console int - Whether to allow the account enable console.
0
means allowed,1
means not allowed. - Allow
Exit int - Whether to allow exit the organization.
0
means allowed,1
means not allowed. - Created
Time string - The created time of the account.
- Delete
Uk string - The delete uk of the account.
- Deleted
Time string - The deleted time of the account.
- Description string
- The description of the account.
- Iam
Role string - The name of the iam role.
- Id string
- The id of the account.
- Is
Owner int - Whether the account is owner.
0
means not owner,1
means owner. - Join
Type int - The join type of the account.
0
means create,1
means invitation. - Org
Id string - The id of the organization.
- Org
Type int - The type of the organization.
1
means business organization. - Org
Unit stringId - The id of the organization unit.
- Org
Unit stringName - The name of the organization unit.
- Org
Verification stringId - The id of the organization verification.
- Owner string
- The owner id of the account.
- Show
Name string - The show name of the account.
- []Accounts
Account Tag - Tags.
- Updated
Time string - The updated time of the account.
- account
Id String - The id of the account.
- account
Name String - The name of the account.
- allow
Console Integer - Whether to allow the account enable console.
0
means allowed,1
means not allowed. - allow
Exit Integer - Whether to allow exit the organization.
0
means allowed,1
means not allowed. - created
Time String - The created time of the account.
- delete
Uk String - The delete uk of the account.
- deleted
Time String - The deleted time of the account.
- description String
- The description of the account.
- iam
Role String - The name of the iam role.
- id String
- The id of the account.
- is
Owner Integer - Whether the account is owner.
0
means not owner,1
means owner. - join
Type Integer - The join type of the account.
0
means create,1
means invitation. - org
Id String - The id of the organization.
- org
Type Integer - The type of the organization.
1
means business organization. - org
Unit StringId - The id of the organization unit.
- org
Unit StringName - The name of the organization unit.
- org
Verification StringId - The id of the organization verification.
- owner String
- The owner id of the account.
- show
Name String - The show name of the account.
- List<Accounts
Account Tag> - Tags.
- updated
Time String - The updated time of the account.
- account
Id string - The id of the account.
- account
Name string - The name of the account.
- allow
Console number - Whether to allow the account enable console.
0
means allowed,1
means not allowed. - allow
Exit number - Whether to allow exit the organization.
0
means allowed,1
means not allowed. - created
Time string - The created time of the account.
- delete
Uk string - The delete uk of the account.
- deleted
Time string - The deleted time of the account.
- description string
- The description of the account.
- iam
Role string - The name of the iam role.
- id string
- The id of the account.
- is
Owner number - Whether the account is owner.
0
means not owner,1
means owner. - join
Type number - The join type of the account.
0
means create,1
means invitation. - org
Id string - The id of the organization.
- org
Type number - The type of the organization.
1
means business organization. - org
Unit stringId - The id of the organization unit.
- org
Unit stringName - The name of the organization unit.
- org
Verification stringId - The id of the organization verification.
- owner string
- The owner id of the account.
- show
Name string - The show name of the account.
- Accounts
Account Tag[] - Tags.
- updated
Time 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.
0
means allowed,1
means not allowed. - allow_
exit int - Whether to allow exit the organization.
0
means allowed,1
means 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.
0
means not owner,1
means owner. - join_
type int - The join type of the account.
0
means create,1
means invitation. - org_
id str - The id of the organization.
- org_
type int - The type of the organization.
1
means 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[Accounts
Account Tag] - Tags.
- updated_
time str - The updated time of the account.
- account
Id String - The id of the account.
- account
Name String - The name of the account.
- allow
Console Number - Whether to allow the account enable console.
0
means allowed,1
means not allowed. - allow
Exit Number - Whether to allow exit the organization.
0
means allowed,1
means not allowed. - created
Time String - The created time of the account.
- delete
Uk String - The delete uk of the account.
- deleted
Time String - The deleted time of the account.
- description String
- The description of the account.
- iam
Role String - The name of the iam role.
- id String
- The id of the account.
- is
Owner Number - Whether the account is owner.
0
means not owner,1
means owner. - join
Type Number - The join type of the account.
0
means create,1
means invitation. - org
Id String - The id of the organization.
- org
Type Number - The type of the organization.
1
means business organization. - org
Unit StringId - The id of the organization unit.
- org
Unit StringName - The name of the organization unit.
- org
Verification StringId - The id of the organization verification.
- owner String
- The owner id of the account.
- show
Name String - The show name of the account.
- List<Property Map>
- Tags.
- updated
Time 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
volcengine
Terraform Provider.