Snowflake v0.60.0 published on Monday, Oct 14, 2024 by Pulumi
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 - System-assigned identifier of the acccount.
- Account
Locator stringUrl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- Account
Name string - User-defined name that identifies an account within the organization.
- Account
Url string - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- Comment string
- Comment for the account.
- Consumption
Billing stringEntity Name - Name of the consumption billing entity.
- Created
On string - Date and time when the account was created.
- Edition string
- Snowflake Edition of the account.
- Is
Org boolAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- Managed
Accounts int - Indicates how many managed accounts have been created by the account.
- Marketplace
Consumer stringBilling Entity Name - Name of the marketplace consumer billing entity.
- Marketplace
Provider stringBilling Entity Name - Name of the marketplace provider billing entity.
- Old
Account stringUrl - The previous account URL for a given account.
- Organization
Name string - Name of the organization.
- Region
Group string - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- Snowflake
Region string - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
- Account
Locator string - System-assigned identifier of the acccount.
- Account
Locator stringUrl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- Account
Name string - User-defined name that identifies an account within the organization.
- Account
Url string - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- Comment string
- Comment for the account.
- Consumption
Billing stringEntity Name - Name of the consumption billing entity.
- Created
On string - Date and time when the account was created.
- Edition string
- Snowflake Edition of the account.
- Is
Org boolAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- Managed
Accounts int - Indicates how many managed accounts have been created by the account.
- Marketplace
Consumer stringBilling Entity Name - Name of the marketplace consumer billing entity.
- Marketplace
Provider stringBilling Entity Name - Name of the marketplace provider billing entity.
- Old
Account stringUrl - The previous account URL for a given account.
- Organization
Name string - Name of the organization.
- Region
Group string - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- Snowflake
Region string - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
- account
Locator String - System-assigned identifier of the acccount.
- account
Locator StringUrl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- account
Name String - User-defined name that identifies an account within the organization.
- account
Url String - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- comment String
- Comment for the account.
- consumption
Billing StringEntity Name - Name of the consumption billing entity.
- created
On String - Date and time when the account was created.
- edition String
- Snowflake Edition of the account.
- is
Org BooleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- managed
Accounts Integer - Indicates how many managed accounts have been created by the account.
- marketplace
Consumer StringBilling Entity Name - Name of the marketplace consumer billing entity.
- marketplace
Provider StringBilling Entity Name - Name of the marketplace provider billing entity.
- old
Account StringUrl - The previous account URL for a given account.
- organization
Name String - Name of the organization.
- region
Group String - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- snowflake
Region String - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
- account
Locator string - System-assigned identifier of the acccount.
- account
Locator stringUrl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- account
Name string - User-defined name that identifies an account within the organization.
- account
Url string - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- comment string
- Comment for the account.
- consumption
Billing stringEntity Name - Name of the consumption billing entity.
- created
On string - Date and time when the account was created.
- edition string
- Snowflake Edition of the account.
- is
Org booleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- managed
Accounts number - Indicates how many managed accounts have been created by the account.
- marketplace
Consumer stringBilling Entity Name - Name of the marketplace consumer billing entity.
- marketplace
Provider stringBilling Entity Name - Name of the marketplace provider billing entity.
- old
Account stringUrl - The previous account URL for a given account.
- organization
Name string - Name of the organization.
- region
Group string - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- snowflake
Region string - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
- account_
locator str - System-assigned identifier of the acccount.
- account_
locator_ strurl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- account_
name str - User-defined name that identifies an account within the organization.
- account_
url str - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- comment str
- Comment for the account.
- consumption_
billing_ strentity_ name - Name of the consumption billing entity.
- created_
on str - Date and time when the account was created.
- edition str
- Snowflake Edition of the account.
- is_
org_ booladmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- managed_
accounts int - Indicates how many managed accounts have been created by the account.
- marketplace_
consumer_ strbilling_ entity_ name - Name of the marketplace consumer billing entity.
- marketplace_
provider_ strbilling_ entity_ name - Name of the marketplace provider billing entity.
- old_
account_ strurl - The previous account URL for a given account.
- organization_
name str - Name of the organization.
- region_
group str - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- snowflake_
region str - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
- account
Locator String - System-assigned identifier of the acccount.
- account
Locator StringUrl - Legacy Snowflake access URL syntax that includes the region_name and account_locator.
- account
Name String - User-defined name that identifies an account within the organization.
- account
Url String - Preferred Snowflake access URL that includes the values of organization_name and account_name.
- comment String
- Comment for the account.
- consumption
Billing StringEntity Name - Name of the consumption billing entity.
- created
On String - Date and time when the account was created.
- edition String
- Snowflake Edition of the account.
- is
Org BooleanAdmin - Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
- managed
Accounts Number - Indicates how many managed accounts have been created by the account.
- marketplace
Consumer StringBilling Entity Name - Name of the marketplace consumer billing entity.
- marketplace
Provider StringBilling Entity Name - Name of the marketplace provider billing entity.
- old
Account StringUrl - The previous account URL for a given account.
- organization
Name String - Name of the organization.
- region
Group String - Region group where the account is located. Note: this column is only visible to organizations that span multiple Region Groups.
- snowflake
Region String - Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.