snowflake.getAccounts
Explore with Pulumi AI
Using getAccounts
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 getAccounts(args: GetAccountsArgs, opts?: InvokeOptions): Promise<GetAccountsResult>
function getAccountsOutput(args: GetAccountsOutputArgs, opts?: InvokeOptions): Output<GetAccountsResult>
def get_accounts(pattern: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountsResult
def get_accounts_output(pattern: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountsResult]
func GetAccounts(ctx *Context, args *GetAccountsArgs, opts ...InvokeOption) (*GetAccountsResult, error)
func GetAccountsOutput(ctx *Context, args *GetAccountsOutputArgs, opts ...InvokeOption) GetAccountsResultOutput
> Note: This function is named GetAccounts
in the Go SDK.
public static class GetAccounts
{
public static Task<GetAccountsResult> InvokeAsync(GetAccountsArgs args, InvokeOptions? opts = null)
public static Output<GetAccountsResult> Invoke(GetAccountsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: snowflake:index/getAccounts:getAccounts
arguments:
# arguments dictionary
The following arguments are supported:
- Pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- Pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- pattern String
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- pattern str
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- pattern String
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
getAccounts Result
The following output properties are available:
- Accounts
List<Get
Accounts Account> List of all the accounts available in the organization.
- Id string
The provider-assigned unique ID for this managed resource.
- Pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- Accounts
[]Get
Accounts Account List of all the accounts available in the organization.
- Id string
The provider-assigned unique ID for this managed resource.
- Pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- accounts
List<Get
Accounts Account> List of all the accounts available in the organization.
- id String
The provider-assigned unique ID for this managed resource.
- pattern String
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- accounts
Get
Accounts Account[] List of all the accounts available in the organization.
- id string
The provider-assigned unique ID for this managed resource.
- pattern string
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- accounts
Sequence[Get
Accounts Account] List of all the accounts available in the organization.
- id str
The provider-assigned unique ID for this managed resource.
- pattern str
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
- accounts List<Property Map>
List of all the accounts available in the organization.
- id String
The provider-assigned unique ID for this managed resource.
- pattern String
Specifies an account name pattern. If a pattern is specified, only accounts matching the pattern are returned.
Supporting Types
GetAccountsAccount
- Account
Locator string - Account
Locator stringUrl - Account
Name string - Account
Url string - Comment string
- Consumption
Billing stringEntity Name - Created
On string - Edition string
- Is
Org boolAdmin - Managed
Accounts int - Marketplace
Consumer stringBilling Entity Name - Marketplace
Provider stringBilling Entity Name - Old
Account stringUrl - Organization
Name string - Region
Group string - Snowflake
Region string
- Account
Locator string - Account
Locator stringUrl - Account
Name string - Account
Url string - Comment string
- Consumption
Billing stringEntity Name - Created
On string - Edition string
- Is
Org boolAdmin - Managed
Accounts int - Marketplace
Consumer stringBilling Entity Name - Marketplace
Provider stringBilling Entity Name - Old
Account stringUrl - Organization
Name string - Region
Group string - Snowflake
Region string
- account
Locator String - account
Locator StringUrl - account
Name String - account
Url String - comment String
- consumption
Billing StringEntity Name - created
On String - edition String
- is
Org BooleanAdmin - managed
Accounts Integer - marketplace
Consumer StringBilling Entity Name - marketplace
Provider StringBilling Entity Name - old
Account StringUrl - organization
Name String - region
Group String - snowflake
Region String
- account
Locator string - account
Locator stringUrl - account
Name string - account
Url string - comment string
- consumption
Billing stringEntity Name - created
On string - edition string
- is
Org booleanAdmin - managed
Accounts number - marketplace
Consumer stringBilling Entity Name - marketplace
Provider stringBilling Entity Name - old
Account stringUrl - organization
Name string - region
Group string - snowflake
Region string
- account_
locator str - account_
locator_ strurl - account_
name str - account_
url str - comment str
- consumption_
billing_ strentity_ name - created_
on str - edition str
- is_
org_ booladmin - managed_
accounts int - marketplace_
consumer_ strbilling_ entity_ name - marketplace_
provider_ strbilling_ entity_ name - old_
account_ strurl - organization_
name str - region_
group str - snowflake_
region str
- account
Locator String - account
Locator StringUrl - account
Name String - account
Url String - comment String
- consumption
Billing StringEntity Name - created
On String - edition String
- is
Org BooleanAdmin - managed
Accounts Number - marketplace
Consumer StringBilling Entity Name - marketplace
Provider StringBilling Entity Name - old
Account StringUrl - organization
Name String - region
Group String - snowflake
Region String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
snowflake
Terraform Provider.