snowflake.Account
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/account:Account example '"<organization_name>"."<account_name>"'
Create Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
args: AccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
edition: Optional[str] = None,
grace_period_in_days: Optional[int] = None,
email: Optional[str] = None,
admin_name: Optional[str] = None,
admin_user_type: Optional[str] = None,
comment: Optional[str] = None,
admin_rsa_public_key: Optional[str] = None,
first_name: Optional[str] = None,
admin_password: Optional[str] = None,
is_org_admin: Optional[str] = None,
last_name: Optional[str] = None,
must_change_password: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
region_group: Optional[str] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: snowflake:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var accountResource = new Snowflake.Account("accountResource", new()
{
Edition = "string",
GracePeriodInDays = 0,
Email = "string",
AdminName = "string",
AdminUserType = "string",
Comment = "string",
AdminRsaPublicKey = "string",
FirstName = "string",
AdminPassword = "string",
IsOrgAdmin = "string",
LastName = "string",
MustChangePassword = "string",
Name = "string",
Region = "string",
RegionGroup = "string",
});
example, err := snowflake.NewAccount(ctx, "accountResource", &snowflake.AccountArgs{
Edition: pulumi.String("string"),
GracePeriodInDays: pulumi.Int(0),
Email: pulumi.String("string"),
AdminName: pulumi.String("string"),
AdminUserType: pulumi.String("string"),
Comment: pulumi.String("string"),
AdminRsaPublicKey: pulumi.String("string"),
FirstName: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
IsOrgAdmin: pulumi.String("string"),
LastName: pulumi.String("string"),
MustChangePassword: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
RegionGroup: pulumi.String("string"),
})
var accountResource = new Account("accountResource", AccountArgs.builder()
.edition("string")
.gracePeriodInDays(0)
.email("string")
.adminName("string")
.adminUserType("string")
.comment("string")
.adminRsaPublicKey("string")
.firstName("string")
.adminPassword("string")
.isOrgAdmin("string")
.lastName("string")
.mustChangePassword("string")
.name("string")
.region("string")
.regionGroup("string")
.build());
account_resource = snowflake.Account("accountResource",
edition="string",
grace_period_in_days=0,
email="string",
admin_name="string",
admin_user_type="string",
comment="string",
admin_rsa_public_key="string",
first_name="string",
admin_password="string",
is_org_admin="string",
last_name="string",
must_change_password="string",
name="string",
region="string",
region_group="string")
const accountResource = new snowflake.Account("accountResource", {
edition: "string",
gracePeriodInDays: 0,
email: "string",
adminName: "string",
adminUserType: "string",
comment: "string",
adminRsaPublicKey: "string",
firstName: "string",
adminPassword: "string",
isOrgAdmin: "string",
lastName: "string",
mustChangePassword: "string",
name: "string",
region: "string",
regionGroup: "string",
});
type: snowflake:Account
properties:
adminName: string
adminPassword: string
adminRsaPublicKey: string
adminUserType: string
comment: string
edition: string
email: string
firstName: string
gracePeriodInDays: 0
isOrgAdmin: string
lastName: string
mustChangePassword: string
name: string
region: string
regionGroup: string
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Account resource accepts the following input properties:
- Admin
Name string - Edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- Email string
- Grace
Period intIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- Admin
Password string - Admin
Rsa stringPublic Key - Admin
User stringType - Comment string
- Specifies a comment for the account.
- First
Name string - Is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- Last
Name string - Must
Change stringPassword - Name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- Region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- Region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- Admin
Name string - Edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- Email string
- Grace
Period intIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- Admin
Password string - Admin
Rsa stringPublic Key - Admin
User stringType - Comment string
- Specifies a comment for the account.
- First
Name string - Is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- Last
Name string - Must
Change stringPassword - Name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- Region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- Region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- admin
Name String - edition String
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email String
- grace
Period IntegerIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- admin
Password String - admin
Rsa StringPublic Key - admin
User StringType - comment String
- Specifies a comment for the account.
- first
Name String - is
Org StringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name String - must
Change StringPassword - name String
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region String
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group String - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- admin
Name string - edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email string
- grace
Period numberIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- admin
Password string - admin
Rsa stringPublic Key - admin
User stringType - comment string
- Specifies a comment for the account.
- first
Name string - is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name string - must
Change stringPassword - name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- admin_
name str - edition str
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email str
- grace_
period_ intin_ days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- admin_
password str - admin_
rsa_ strpublic_ key - admin_
user_ strtype - comment str
- Specifies a comment for the account.
- first_
name str - is_
org_ stradmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last_
name str - must_
change_ strpassword - name str
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region str
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region_
group str - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- admin
Name String - edition String
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email String
- grace
Period NumberIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- admin
Password String - admin
Rsa StringPublic Key - admin
User StringType - comment String
- Specifies a comment for the account.
- first
Name String - is
Org StringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name String - must
Change StringPassword - name String
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region String
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group String - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs List<AccountShow Output> - Outputs the result of
SHOW ACCOUNTS
for the given account.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs []AccountShow Output - Outputs the result of
SHOW ACCOUNTS
for the given account.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<AccountShow Output> - Outputs the result of
SHOW ACCOUNTS
for the given account.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show
Outputs AccountShow Output[] - Outputs the result of
SHOW ACCOUNTS
for the given account.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- show_
outputs Sequence[AccountShow Output] - Outputs the result of
SHOW ACCOUNTS
for the given account.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<Property Map> - Outputs the result of
SHOW ACCOUNTS
for the given account.
Look up Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_name: Optional[str] = None,
admin_password: Optional[str] = None,
admin_rsa_public_key: Optional[str] = None,
admin_user_type: Optional[str] = None,
comment: Optional[str] = None,
edition: Optional[str] = None,
email: Optional[str] = None,
first_name: Optional[str] = None,
fully_qualified_name: Optional[str] = None,
grace_period_in_days: Optional[int] = None,
is_org_admin: Optional[str] = None,
last_name: Optional[str] = None,
must_change_password: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
region_group: Optional[str] = None,
show_outputs: Optional[Sequence[AccountShowOutputArgs]] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
resources: _: type: snowflake:Account get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
Name string - Admin
Password string - Admin
Rsa stringPublic Key - Admin
User stringType - Comment string
- Specifies a comment for the account.
- Edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- Email string
- First
Name string - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Grace
Period intIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- Is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- Last
Name string - Must
Change stringPassword - Name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- Region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- Region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- Show
Outputs List<AccountShow Output> - Outputs the result of
SHOW ACCOUNTS
for the given account.
- Admin
Name string - Admin
Password string - Admin
Rsa stringPublic Key - Admin
User stringType - Comment string
- Specifies a comment for the account.
- Edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- Email string
- First
Name string - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Grace
Period intIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- Is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- Last
Name string - Must
Change stringPassword - Name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- Region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- Region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- Show
Outputs []AccountShow Output Args - Outputs the result of
SHOW ACCOUNTS
for the given account.
- admin
Name String - admin
Password String - admin
Rsa StringPublic Key - admin
User StringType - comment String
- Specifies a comment for the account.
- edition String
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email String
- first
Name String - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- grace
Period IntegerIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- is
Org StringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name String - must
Change StringPassword - name String
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region String
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group String - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- show
Outputs List<AccountShow Output> - Outputs the result of
SHOW ACCOUNTS
for the given account.
- admin
Name string - admin
Password string - admin
Rsa stringPublic Key - admin
User stringType - comment string
- Specifies a comment for the account.
- edition string
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email string
- first
Name string - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- grace
Period numberIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- is
Org stringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name string - must
Change stringPassword - name string
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region string
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group string - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- show
Outputs AccountShow Output[] - Outputs the result of
SHOW ACCOUNTS
for the given account.
- admin_
name str - admin_
password str - admin_
rsa_ strpublic_ key - admin_
user_ strtype - comment str
- Specifies a comment for the account.
- edition str
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email str
- first_
name str - fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- grace_
period_ intin_ days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- is_
org_ stradmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last_
name str - must_
change_ strpassword - name str
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region str
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region_
group str - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- show_
outputs Sequence[AccountShow Output Args] - Outputs the result of
SHOW ACCOUNTS
for the given account.
- admin
Name String - admin
Password String - admin
Rsa StringPublic Key - admin
User StringType - comment String
- Specifies a comment for the account.
- edition String
- Snowflake Edition of the account. See more about Snowflake Editions in the official documentation. Valid options are:
STANDARD
|ENTERPRISE
|BUSINESS_CRITICAL
- email String
- first
Name String - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- grace
Period NumberIn Days - Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
- is
Org StringAdmin - Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
- last
Name String - must
Change StringPassword - name String
- Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
- region String
- Snowflake Region ID of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
- region
Group String - ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the SHOW REGIONS command. For information about when you might need to specify region group, see Region groups.
- show
Outputs List<Property Map> - Outputs the result of
SHOW ACCOUNTS
for the given account.
Supporting Types
AccountShowOutput, AccountShowOutputArgs
- Account
Locator string - Account
Locator stringUrl - Account
Name string - Account
Old stringUrl Last Used - Account
Old stringUrl Saved On - Account
Url string - Comment string
- Consumption
Billing stringEntity Name - Created
On string - Dropped
On string - Edition string
- Is
Events boolAccount - Is
Org boolAdmin - Is
Organization boolAccount - Managed
Accounts int - Marketplace
Consumer stringBilling Entity Name - Marketplace
Provider stringBilling Entity Name - Moved
On string - Moved
To stringOrganization - Old
Account stringUrl - Organization
Name string - Organization
Old stringUrl - Organization
Old stringUrl Last Used - Organization
Old stringUrl Saved On - Organization
Url stringExpiration On - Region
Group string - Restored
On string - Scheduled
Deletion stringTime - Snowflake
Region string
- Account
Locator string - Account
Locator stringUrl - Account
Name string - Account
Old stringUrl Last Used - Account
Old stringUrl Saved On - Account
Url string - Comment string
- Consumption
Billing stringEntity Name - Created
On string - Dropped
On string - Edition string
- Is
Events boolAccount - Is
Org boolAdmin - Is
Organization boolAccount - Managed
Accounts int - Marketplace
Consumer stringBilling Entity Name - Marketplace
Provider stringBilling Entity Name - Moved
On string - Moved
To stringOrganization - Old
Account stringUrl - Organization
Name string - Organization
Old stringUrl - Organization
Old stringUrl Last Used - Organization
Old stringUrl Saved On - Organization
Url stringExpiration On - Region
Group string - Restored
On string - Scheduled
Deletion stringTime - Snowflake
Region string
- account
Locator String - account
Locator StringUrl - account
Name String - account
Old StringUrl Last Used - account
Old StringUrl Saved On - account
Url String - comment String
- consumption
Billing StringEntity Name - created
On String - dropped
On String - edition String
- is
Events BooleanAccount - is
Org BooleanAdmin - is
Organization BooleanAccount - managed
Accounts Integer - marketplace
Consumer StringBilling Entity Name - marketplace
Provider StringBilling Entity Name - moved
On String - moved
To StringOrganization - old
Account StringUrl - organization
Name String - organization
Old StringUrl - organization
Old StringUrl Last Used - organization
Old StringUrl Saved On - organization
Url StringExpiration On - region
Group String - restored
On String - scheduled
Deletion StringTime - snowflake
Region String
- account
Locator string - account
Locator stringUrl - account
Name string - account
Old stringUrl Last Used - account
Old stringUrl Saved On - account
Url string - comment string
- consumption
Billing stringEntity Name - created
On string - dropped
On string - edition string
- is
Events booleanAccount - is
Org booleanAdmin - is
Organization booleanAccount - managed
Accounts number - marketplace
Consumer stringBilling Entity Name - marketplace
Provider stringBilling Entity Name - moved
On string - moved
To stringOrganization - old
Account stringUrl - organization
Name string - organization
Old stringUrl - organization
Old stringUrl Last Used - organization
Old stringUrl Saved On - organization
Url stringExpiration On - region
Group string - restored
On string - scheduled
Deletion stringTime - snowflake
Region string
- account_
locator str - account_
locator_ strurl - account_
name str - account_
old_ strurl_ last_ used - account_
old_ strurl_ saved_ on - account_
url str - comment str
- consumption_
billing_ strentity_ name - created_
on str - dropped_
on str - edition str
- is_
events_ boolaccount - is_
org_ booladmin - is_
organization_ boolaccount - managed_
accounts int - marketplace_
consumer_ strbilling_ entity_ name - marketplace_
provider_ strbilling_ entity_ name - moved_
on str - moved_
to_ strorganization - old_
account_ strurl - organization_
name str - organization_
old_ strurl - organization_
old_ strurl_ last_ used - organization_
old_ strurl_ saved_ on - organization_
url_ strexpiration_ on - region_
group str - restored_
on str - scheduled_
deletion_ strtime - snowflake_
region str
- account
Locator String - account
Locator StringUrl - account
Name String - account
Old StringUrl Last Used - account
Old StringUrl Saved On - account
Url String - comment String
- consumption
Billing StringEntity Name - created
On String - dropped
On String - edition String
- is
Events BooleanAccount - is
Org BooleanAdmin - is
Organization BooleanAccount - managed
Accounts Number - marketplace
Consumer StringBilling Entity Name - marketplace
Provider StringBilling Entity Name - moved
On String - moved
To StringOrganization - old
Account StringUrl - organization
Name String - organization
Old StringUrl - organization
Old StringUrl Last Used - organization
Old StringUrl Saved On - organization
Url StringExpiration On - region
Group String - restored
On String - scheduled
Deletion StringTime - 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.