snowflake.core.account.Account | Snowflake Documentation (original) (raw)

class snowflake.core.account.Account(name: str, edition: str, admin_name: str, email: str, organization_name: str | None = None, region_group: str | None = None, region: str | None = None, created_on: datetime | None = None, account_url: str | None = None, account_locator: str | None = None, account_locator_url: str | None = None, managed_accounts: int | None = None, consumption_billing_entity_name: str | None = None, marketplace_consumer_billing_entity_name: str | None = None, marketplace_provider_billing_entity_name: str | None = None, old_account_url: str | None = None, comment: str | None = None, is_org_admin: bool | None = None, retention_time: int | None = None, dropped_on: datetime | None = None, scheduled_deletion_time: datetime | None = None, restored_on: datetime | None = None, account_old_url_saved_on: datetime | None = None, account_old_url_last_used: datetime | None = None, organization_old_url: str | None = None, organization_old_url_saved_on: datetime | None = None, organization_old_url_last_used: datetime | None = None, organization_url_expiration_on: datetime | None = None, moved_on: datetime | None = None, is_events_account: bool | None = None, moved_to_organization: str | None = None, admin_password: str | None = None, admin_rsa_public_key: str | None = None, admin_user_type: str | None = None, first_name: str | None = None, last_name: str | None = None, must_change_password: bool | None = False, polaris: bool | None = False)

Bases: object

A model object representing the Account resource.

Constructs an object of type Account with the provided properties.

Parameters:

Methods

classmethod from_dict(obj: dict) → AccountModel

Creates an instance of Account from a dict.

This method constructs a Account object from a dictionary with the key-value pairs of its properties.

Parameters:

obj (dict) – A dictionary whose keys and values correspond to the properties of the resource object.

Returns:

A Account object created using the input dictionary; this will fail if the required properties are missing.

Return type:

Account

to_dict()

Creates a dictionary of the properties from a Account.

This method constructs a dictionary with the key-value entries corresponding to the properties of the Account object.

Returns:

A dictionary object created using the input model.

Return type:

dict