pulumi-snowflake 0.58.0__py3-none-any.whl → 0.58.0a1722528062__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_snowflake/_inputs.py +125 -5857
- pulumi_snowflake/account.py +50 -28
- pulumi_snowflake/account_parameter.py +28 -0
- pulumi_snowflake/account_password_policy_attachment.py +30 -2
- pulumi_snowflake/account_role.py +32 -51
- pulumi_snowflake/alert.py +45 -33
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +19 -39
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +19 -39
- pulumi_snowflake/api_integration.py +54 -28
- pulumi_snowflake/cortex_search_service.py +0 -28
- pulumi_snowflake/database.py +148 -97
- pulumi_snowflake/database_old.py +77 -5
- pulumi_snowflake/database_role.py +42 -76
- pulumi_snowflake/dynamic_table.py +43 -33
- pulumi_snowflake/email_notification_integration.py +26 -28
- pulumi_snowflake/external_function.py +62 -38
- pulumi_snowflake/external_oauth_integration.py +21 -41
- pulumi_snowflake/external_table.py +58 -38
- pulumi_snowflake/failover_group.py +82 -38
- pulumi_snowflake/file_format.py +26 -28
- pulumi_snowflake/function.py +9 -33
- pulumi_snowflake/get_cortex_search_services.py +16 -16
- pulumi_snowflake/get_database_roles.py +38 -61
- pulumi_snowflake/get_databases.py +6 -6
- pulumi_snowflake/get_dynamic_tables.py +12 -12
- pulumi_snowflake/get_grants.py +138 -138
- pulumi_snowflake/get_network_policies.py +2 -2
- pulumi_snowflake/get_roles.py +2 -2
- pulumi_snowflake/get_schemas.py +8 -12
- pulumi_snowflake/get_security_integrations.py +2 -2
- pulumi_snowflake/get_streamlits.py +10 -10
- pulumi_snowflake/get_users.py +33 -96
- pulumi_snowflake/get_views.py +53 -92
- pulumi_snowflake/get_warehouses.py +2 -2
- pulumi_snowflake/grant_account_role.py +4 -0
- pulumi_snowflake/grant_application_role.py +4 -0
- pulumi_snowflake/grant_database_role.py +4 -0
- pulumi_snowflake/grant_ownership.py +5 -5
- pulumi_snowflake/grant_privileges_to_account_role.py +15 -15
- pulumi_snowflake/grant_privileges_to_database_role.py +12 -16
- pulumi_snowflake/grant_privileges_to_share.py +0 -47
- pulumi_snowflake/managed_account.py +4 -28
- pulumi_snowflake/masking_policy.py +89 -33
- pulumi_snowflake/materialized_view.py +39 -33
- pulumi_snowflake/network_policy.py +49 -47
- pulumi_snowflake/network_policy_attachment.py +30 -0
- pulumi_snowflake/network_rule.py +66 -28
- pulumi_snowflake/notification_integration.py +34 -28
- pulumi_snowflake/oauth_integration.py +34 -0
- pulumi_snowflake/oauth_integration_for_custom_clients.py +105 -39
- pulumi_snowflake/oauth_integration_for_partner_applications.py +19 -39
- pulumi_snowflake/object_parameter.py +103 -5
- pulumi_snowflake/outputs.py +4207 -12013
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +4 -28
- pulumi_snowflake/procedure.py +9 -33
- pulumi_snowflake/provider.py +16 -16
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +48 -28
- pulumi_snowflake/role.py +32 -51
- pulumi_snowflake/row_access_policy.py +34 -28
- pulumi_snowflake/saml2_integration.py +19 -39
- pulumi_snowflake/saml_integration.py +34 -0
- pulumi_snowflake/schema.py +28 -52
- pulumi_snowflake/scim_integration.py +19 -39
- pulumi_snowflake/secondary_database.py +19 -35
- pulumi_snowflake/sequence.py +36 -4
- pulumi_snowflake/session_parameter.py +32 -0
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +15 -35
- pulumi_snowflake/stage.py +33 -33
- pulumi_snowflake/storage_integration.py +4 -28
- pulumi_snowflake/stream.py +4 -28
- pulumi_snowflake/streamlit.py +19 -39
- pulumi_snowflake/table.py +47 -43
- pulumi_snowflake/table_column_masking_policy_application.py +14 -2
- pulumi_snowflake/table_constraint.py +157 -5
- pulumi_snowflake/tag.py +40 -28
- pulumi_snowflake/tag_association.py +125 -5
- pulumi_snowflake/tag_masking_policy_association.py +4 -0
- pulumi_snowflake/task.py +92 -28
- pulumi_snowflake/unsafe_execute.py +20 -2
- pulumi_snowflake/user.py +373 -3346
- pulumi_snowflake/user_password_policy_attachment.py +36 -0
- pulumi_snowflake/view.py +185 -465
- pulumi_snowflake/warehouse.py +43 -39
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1722528062.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.58.0.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/top_level.txt +0 -0
|
@@ -46,7 +46,7 @@ class SecondaryDatabaseArgs:
|
|
|
46
46
|
:param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
47
47
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
48
48
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
49
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
49
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
50
50
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
51
51
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
52
52
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -221,7 +221,7 @@ class SecondaryDatabaseArgs:
|
|
|
221
221
|
@pulumi.getter
|
|
222
222
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
223
223
|
"""
|
|
224
|
-
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
224
|
+
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
225
225
|
"""
|
|
226
226
|
return pulumi.get(self, "name")
|
|
227
227
|
|
|
@@ -348,7 +348,6 @@ class _SecondaryDatabaseState:
|
|
|
348
348
|
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
349
349
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
350
350
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
351
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
352
351
|
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
353
352
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
354
353
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -371,11 +370,10 @@ class _SecondaryDatabaseState:
|
|
|
371
370
|
:param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
372
371
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
373
372
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
374
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
375
373
|
:param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
376
374
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
377
375
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
378
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
376
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
379
377
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
380
378
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
381
379
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -400,8 +398,6 @@ class _SecondaryDatabaseState:
|
|
|
400
398
|
pulumi.set(__self__, "enable_console_output", enable_console_output)
|
|
401
399
|
if external_volume is not None:
|
|
402
400
|
pulumi.set(__self__, "external_volume", external_volume)
|
|
403
|
-
if fully_qualified_name is not None:
|
|
404
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
405
401
|
if is_transient is not None:
|
|
406
402
|
pulumi.set(__self__, "is_transient", is_transient)
|
|
407
403
|
if log_level is not None:
|
|
@@ -513,18 +509,6 @@ class _SecondaryDatabaseState:
|
|
|
513
509
|
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
514
510
|
pulumi.set(self, "external_volume", value)
|
|
515
511
|
|
|
516
|
-
@property
|
|
517
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
518
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
519
|
-
"""
|
|
520
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
521
|
-
"""
|
|
522
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
523
|
-
|
|
524
|
-
@fully_qualified_name.setter
|
|
525
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
526
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
527
|
-
|
|
528
512
|
@property
|
|
529
513
|
@pulumi.getter(name="isTransient")
|
|
530
514
|
def is_transient(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -565,7 +549,7 @@ class _SecondaryDatabaseState:
|
|
|
565
549
|
@pulumi.getter
|
|
566
550
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
567
551
|
"""
|
|
568
|
-
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
552
|
+
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
569
553
|
"""
|
|
570
554
|
return pulumi.get(self, "name")
|
|
571
555
|
|
|
@@ -709,6 +693,12 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
709
693
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
710
694
|
__props__=None):
|
|
711
695
|
"""
|
|
696
|
+
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
697
|
+
|
|
698
|
+
> **Note** The SecondaryDatabase resource doesn't refresh itself, as the best practice is to use tasks scheduled for a certain interval. Check out the examples to see how to set up the refresh task. For SQL-based replication guide, see the [official documentation](https://docs.snowflake.com/en/user-guide/db-replication-config#replicating-a-database-to-another-account).
|
|
699
|
+
|
|
700
|
+
A secondary database creates a replica of an existing primary database (i.e. a secondary database). For more information about database replication, see [Introduction to database replication across multiple accounts](https://docs.snowflake.com/en/user-guide/db-replication-intro).
|
|
701
|
+
|
|
712
702
|
## Import
|
|
713
703
|
|
|
714
704
|
```sh
|
|
@@ -727,7 +717,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
727
717
|
:param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
728
718
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
729
719
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
730
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
720
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
731
721
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
732
722
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
733
723
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -745,6 +735,12 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
745
735
|
args: SecondaryDatabaseArgs,
|
|
746
736
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
747
737
|
"""
|
|
738
|
+
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
739
|
+
|
|
740
|
+
> **Note** The SecondaryDatabase resource doesn't refresh itself, as the best practice is to use tasks scheduled for a certain interval. Check out the examples to see how to set up the refresh task. For SQL-based replication guide, see the [official documentation](https://docs.snowflake.com/en/user-guide/db-replication-config#replicating-a-database-to-another-account).
|
|
741
|
+
|
|
742
|
+
A secondary database creates a replica of an existing primary database (i.e. a secondary database). For more information about database replication, see [Introduction to database replication across multiple accounts](https://docs.snowflake.com/en/user-guide/db-replication-intro).
|
|
743
|
+
|
|
748
744
|
## Import
|
|
749
745
|
|
|
750
746
|
```sh
|
|
@@ -817,7 +813,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
817
813
|
__props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
|
|
818
814
|
__props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
|
|
819
815
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
820
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
821
816
|
super(SecondaryDatabase, __self__).__init__(
|
|
822
817
|
'snowflake:index/secondaryDatabase:SecondaryDatabase',
|
|
823
818
|
resource_name,
|
|
@@ -835,7 +830,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
835
830
|
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
836
831
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
837
832
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
838
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
839
833
|
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
840
834
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
841
835
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -863,11 +857,10 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
863
857
|
:param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
864
858
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
865
859
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
866
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
867
860
|
:param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
868
861
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
869
862
|
:param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
870
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
863
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
871
864
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
872
865
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
873
866
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -889,7 +882,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
889
882
|
__props__.__dict__["default_ddl_collation"] = default_ddl_collation
|
|
890
883
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
891
884
|
__props__.__dict__["external_volume"] = external_volume
|
|
892
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
893
885
|
__props__.__dict__["is_transient"] = is_transient
|
|
894
886
|
__props__.__dict__["log_level"] = log_level
|
|
895
887
|
__props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
|
|
@@ -961,14 +953,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
961
953
|
"""
|
|
962
954
|
return pulumi.get(self, "external_volume")
|
|
963
955
|
|
|
964
|
-
@property
|
|
965
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
966
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
967
|
-
"""
|
|
968
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
969
|
-
"""
|
|
970
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
971
|
-
|
|
972
956
|
@property
|
|
973
957
|
@pulumi.getter(name="isTransient")
|
|
974
958
|
def is_transient(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -997,7 +981,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
997
981
|
@pulumi.getter
|
|
998
982
|
def name(self) -> pulumi.Output[str]:
|
|
999
983
|
"""
|
|
1000
|
-
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
984
|
+
Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
|
|
1001
985
|
"""
|
|
1002
986
|
return pulumi.get(self, "name")
|
|
1003
987
|
|
pulumi_snowflake/sequence.py
CHANGED
|
@@ -128,7 +128,7 @@ class _SequenceState:
|
|
|
128
128
|
Input properties used for looking up and filtering Sequence resources.
|
|
129
129
|
:param pulumi.Input[str] comment: Specifies a comment for the sequence.
|
|
130
130
|
:param pulumi.Input[str] database: The database in which to create the sequence. Don't use the | character.
|
|
131
|
-
:param pulumi.Input[str] fully_qualified_name:
|
|
131
|
+
:param pulumi.Input[str] fully_qualified_name: The fully qualified name of the sequence.
|
|
132
132
|
:param pulumi.Input[int] increment: The amount the sequence will increase by each time it is used
|
|
133
133
|
:param pulumi.Input[str] name: Specifies the name for the sequence.
|
|
134
134
|
:param pulumi.Input[int] next_value: The increment sequence interval.
|
|
@@ -180,7 +180,7 @@ class _SequenceState:
|
|
|
180
180
|
@pulumi.getter(name="fullyQualifiedName")
|
|
181
181
|
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
182
182
|
"""
|
|
183
|
-
|
|
183
|
+
The fully qualified name of the sequence.
|
|
184
184
|
"""
|
|
185
185
|
return pulumi.get(self, "fully_qualified_name")
|
|
186
186
|
|
|
@@ -262,6 +262,22 @@ class Sequence(pulumi.CustomResource):
|
|
|
262
262
|
schema: Optional[pulumi.Input[str]] = None,
|
|
263
263
|
__props__=None):
|
|
264
264
|
"""
|
|
265
|
+
## Example Usage
|
|
266
|
+
|
|
267
|
+
```python
|
|
268
|
+
import pulumi
|
|
269
|
+
import pulumi_snowflake as snowflake
|
|
270
|
+
|
|
271
|
+
test = snowflake.Database("test", name="things")
|
|
272
|
+
test_schema = snowflake.Schema("test_schema",
|
|
273
|
+
name="things",
|
|
274
|
+
database=test.name)
|
|
275
|
+
test_sequence = snowflake.Sequence("test_sequence",
|
|
276
|
+
database=test.name,
|
|
277
|
+
schema=test_schema.name,
|
|
278
|
+
name="thing_counter")
|
|
279
|
+
```
|
|
280
|
+
|
|
265
281
|
## Import
|
|
266
282
|
|
|
267
283
|
format is database name | schema name | sequence name
|
|
@@ -286,6 +302,22 @@ class Sequence(pulumi.CustomResource):
|
|
|
286
302
|
args: SequenceArgs,
|
|
287
303
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
288
304
|
"""
|
|
305
|
+
## Example Usage
|
|
306
|
+
|
|
307
|
+
```python
|
|
308
|
+
import pulumi
|
|
309
|
+
import pulumi_snowflake as snowflake
|
|
310
|
+
|
|
311
|
+
test = snowflake.Database("test", name="things")
|
|
312
|
+
test_schema = snowflake.Schema("test_schema",
|
|
313
|
+
name="things",
|
|
314
|
+
database=test.name)
|
|
315
|
+
test_sequence = snowflake.Sequence("test_sequence",
|
|
316
|
+
database=test.name,
|
|
317
|
+
schema=test_schema.name,
|
|
318
|
+
name="thing_counter")
|
|
319
|
+
```
|
|
320
|
+
|
|
289
321
|
## Import
|
|
290
322
|
|
|
291
323
|
format is database name | schema name | sequence name
|
|
@@ -363,7 +395,7 @@ class Sequence(pulumi.CustomResource):
|
|
|
363
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
364
396
|
:param pulumi.Input[str] comment: Specifies a comment for the sequence.
|
|
365
397
|
:param pulumi.Input[str] database: The database in which to create the sequence. Don't use the | character.
|
|
366
|
-
:param pulumi.Input[str] fully_qualified_name:
|
|
398
|
+
:param pulumi.Input[str] fully_qualified_name: The fully qualified name of the sequence.
|
|
367
399
|
:param pulumi.Input[int] increment: The amount the sequence will increase by each time it is used
|
|
368
400
|
:param pulumi.Input[str] name: Specifies the name for the sequence.
|
|
369
401
|
:param pulumi.Input[int] next_value: The increment sequence interval.
|
|
@@ -404,7 +436,7 @@ class Sequence(pulumi.CustomResource):
|
|
|
404
436
|
@pulumi.getter(name="fullyQualifiedName")
|
|
405
437
|
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
406
438
|
"""
|
|
407
|
-
|
|
439
|
+
The fully qualified name of the sequence.
|
|
408
440
|
"""
|
|
409
441
|
return pulumi.get(self, "fully_qualified_name")
|
|
410
442
|
|
|
@@ -164,6 +164,22 @@ class SessionParameter(pulumi.CustomResource):
|
|
|
164
164
|
value: Optional[pulumi.Input[str]] = None,
|
|
165
165
|
__props__=None):
|
|
166
166
|
"""
|
|
167
|
+
## Example Usage
|
|
168
|
+
|
|
169
|
+
```python
|
|
170
|
+
import pulumi
|
|
171
|
+
import pulumi_snowflake as snowflake
|
|
172
|
+
|
|
173
|
+
s = snowflake.SessionParameter("s",
|
|
174
|
+
key="AUTOCOMMIT",
|
|
175
|
+
value="false",
|
|
176
|
+
user="TEST_USER")
|
|
177
|
+
s2 = snowflake.SessionParameter("s2",
|
|
178
|
+
key="BINARY_OUTPUT_FORMAT",
|
|
179
|
+
value="BASE64",
|
|
180
|
+
on_account=True)
|
|
181
|
+
```
|
|
182
|
+
|
|
167
183
|
## Import
|
|
168
184
|
|
|
169
185
|
```sh
|
|
@@ -184,6 +200,22 @@ class SessionParameter(pulumi.CustomResource):
|
|
|
184
200
|
args: SessionParameterArgs,
|
|
185
201
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
186
202
|
"""
|
|
203
|
+
## Example Usage
|
|
204
|
+
|
|
205
|
+
```python
|
|
206
|
+
import pulumi
|
|
207
|
+
import pulumi_snowflake as snowflake
|
|
208
|
+
|
|
209
|
+
s = snowflake.SessionParameter("s",
|
|
210
|
+
key="AUTOCOMMIT",
|
|
211
|
+
value="false",
|
|
212
|
+
user="TEST_USER")
|
|
213
|
+
s2 = snowflake.SessionParameter("s2",
|
|
214
|
+
key="BINARY_OUTPUT_FORMAT",
|
|
215
|
+
value="BASE64",
|
|
216
|
+
on_account=True)
|
|
217
|
+
```
|
|
218
|
+
|
|
187
219
|
## Import
|
|
188
220
|
|
|
189
221
|
```sh
|
pulumi_snowflake/share.py
CHANGED
|
@@ -72,21 +72,17 @@ class _ShareState:
|
|
|
72
72
|
def __init__(__self__, *,
|
|
73
73
|
accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
74
74
|
comment: Optional[pulumi.Input[str]] = None,
|
|
75
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
76
75
|
name: Optional[pulumi.Input[str]] = None):
|
|
77
76
|
"""
|
|
78
77
|
Input properties used for looking up and filtering Share resources.
|
|
79
78
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
|
|
80
79
|
:param pulumi.Input[str] comment: Specifies a comment for the managed account.
|
|
81
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
82
80
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
83
81
|
"""
|
|
84
82
|
if accounts is not None:
|
|
85
83
|
pulumi.set(__self__, "accounts", accounts)
|
|
86
84
|
if comment is not None:
|
|
87
85
|
pulumi.set(__self__, "comment", comment)
|
|
88
|
-
if fully_qualified_name is not None:
|
|
89
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
90
86
|
if name is not None:
|
|
91
87
|
pulumi.set(__self__, "name", name)
|
|
92
88
|
|
|
@@ -114,18 +110,6 @@ class _ShareState:
|
|
|
114
110
|
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
115
111
|
pulumi.set(self, "comment", value)
|
|
116
112
|
|
|
117
|
-
@property
|
|
118
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
119
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
120
|
-
"""
|
|
121
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
122
|
-
"""
|
|
123
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
124
|
-
|
|
125
|
-
@fully_qualified_name.setter
|
|
126
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
127
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
128
|
-
|
|
129
113
|
@property
|
|
130
114
|
@pulumi.getter
|
|
131
115
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -149,6 +133,20 @@ class Share(pulumi.CustomResource):
|
|
|
149
133
|
name: Optional[pulumi.Input[str]] = None,
|
|
150
134
|
__props__=None):
|
|
151
135
|
"""
|
|
136
|
+
## Example Usage
|
|
137
|
+
|
|
138
|
+
```python
|
|
139
|
+
import pulumi
|
|
140
|
+
import pulumi_snowflake as snowflake
|
|
141
|
+
|
|
142
|
+
test = snowflake.Share("test",
|
|
143
|
+
name="share_name",
|
|
144
|
+
comment="cool comment",
|
|
145
|
+
accounts=["organizationName.accountName"])
|
|
146
|
+
example = snowflake.Database("example", name="test",
|
|
147
|
+
opts = pulumi.ResourceOptions(depends_on=[test]))
|
|
148
|
+
```
|
|
149
|
+
|
|
152
150
|
## Import
|
|
153
151
|
|
|
154
152
|
```sh
|
|
@@ -168,6 +166,20 @@ class Share(pulumi.CustomResource):
|
|
|
168
166
|
args: Optional[ShareArgs] = None,
|
|
169
167
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
170
168
|
"""
|
|
169
|
+
## Example Usage
|
|
170
|
+
|
|
171
|
+
```python
|
|
172
|
+
import pulumi
|
|
173
|
+
import pulumi_snowflake as snowflake
|
|
174
|
+
|
|
175
|
+
test = snowflake.Share("test",
|
|
176
|
+
name="share_name",
|
|
177
|
+
comment="cool comment",
|
|
178
|
+
accounts=["organizationName.accountName"])
|
|
179
|
+
example = snowflake.Database("example", name="test",
|
|
180
|
+
opts = pulumi.ResourceOptions(depends_on=[test]))
|
|
181
|
+
```
|
|
182
|
+
|
|
171
183
|
## Import
|
|
172
184
|
|
|
173
185
|
```sh
|
|
@@ -204,7 +216,6 @@ class Share(pulumi.CustomResource):
|
|
|
204
216
|
__props__.__dict__["accounts"] = accounts
|
|
205
217
|
__props__.__dict__["comment"] = comment
|
|
206
218
|
__props__.__dict__["name"] = name
|
|
207
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
208
219
|
super(Share, __self__).__init__(
|
|
209
220
|
'snowflake:index/share:Share',
|
|
210
221
|
resource_name,
|
|
@@ -217,7 +228,6 @@ class Share(pulumi.CustomResource):
|
|
|
217
228
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
218
229
|
accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
219
230
|
comment: Optional[pulumi.Input[str]] = None,
|
|
220
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
221
231
|
name: Optional[pulumi.Input[str]] = None) -> 'Share':
|
|
222
232
|
"""
|
|
223
233
|
Get an existing Share resource's state with the given name, id, and optional extra
|
|
@@ -228,7 +238,6 @@ class Share(pulumi.CustomResource):
|
|
|
228
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
229
239
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
|
|
230
240
|
:param pulumi.Input[str] comment: Specifies a comment for the managed account.
|
|
231
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
232
241
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
233
242
|
"""
|
|
234
243
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -237,7 +246,6 @@ class Share(pulumi.CustomResource):
|
|
|
237
246
|
|
|
238
247
|
__props__.__dict__["accounts"] = accounts
|
|
239
248
|
__props__.__dict__["comment"] = comment
|
|
240
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
241
249
|
__props__.__dict__["name"] = name
|
|
242
250
|
return Share(resource_name, opts=opts, __props__=__props__)
|
|
243
251
|
|
|
@@ -257,14 +265,6 @@ class Share(pulumi.CustomResource):
|
|
|
257
265
|
"""
|
|
258
266
|
return pulumi.get(self, "comment")
|
|
259
267
|
|
|
260
|
-
@property
|
|
261
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
262
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
263
|
-
"""
|
|
264
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
265
|
-
"""
|
|
266
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
267
|
-
|
|
268
268
|
@property
|
|
269
269
|
@pulumi.getter
|
|
270
270
|
def name(self) -> pulumi.Output[str]:
|
|
@@ -40,7 +40,7 @@ class SharedDatabaseArgs:
|
|
|
40
40
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
41
41
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
42
42
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
43
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
43
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
44
44
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
45
45
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
46
46
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -173,7 +173,7 @@ class SharedDatabaseArgs:
|
|
|
173
173
|
@pulumi.getter
|
|
174
174
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
175
175
|
"""
|
|
176
|
-
Specifies the identifier for the database; must be unique for your account.
|
|
176
|
+
Specifies the identifier for the database; must be unique for your account.
|
|
177
177
|
"""
|
|
178
178
|
return pulumi.get(self, "name")
|
|
179
179
|
|
|
@@ -299,7 +299,6 @@ class _SharedDatabaseState:
|
|
|
299
299
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
300
300
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
301
301
|
from_share: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
303
302
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
304
303
|
name: Optional[pulumi.Input[str]] = None,
|
|
305
304
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
@@ -319,9 +318,8 @@ class _SharedDatabaseState:
|
|
|
319
318
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
320
319
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
321
320
|
:param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
|
|
322
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
323
321
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
324
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
322
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
325
323
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
326
324
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
327
325
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -344,8 +342,6 @@ class _SharedDatabaseState:
|
|
|
344
342
|
pulumi.set(__self__, "external_volume", external_volume)
|
|
345
343
|
if from_share is not None:
|
|
346
344
|
pulumi.set(__self__, "from_share", from_share)
|
|
347
|
-
if fully_qualified_name is not None:
|
|
348
|
-
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
349
345
|
if log_level is not None:
|
|
350
346
|
pulumi.set(__self__, "log_level", log_level)
|
|
351
347
|
if name is not None:
|
|
@@ -441,18 +437,6 @@ class _SharedDatabaseState:
|
|
|
441
437
|
def from_share(self, value: Optional[pulumi.Input[str]]):
|
|
442
438
|
pulumi.set(self, "from_share", value)
|
|
443
439
|
|
|
444
|
-
@property
|
|
445
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
446
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
447
|
-
"""
|
|
448
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
449
|
-
"""
|
|
450
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
451
|
-
|
|
452
|
-
@fully_qualified_name.setter
|
|
453
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
454
|
-
pulumi.set(self, "fully_qualified_name", value)
|
|
455
|
-
|
|
456
440
|
@property
|
|
457
441
|
@pulumi.getter(name="logLevel")
|
|
458
442
|
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -469,7 +453,7 @@ class _SharedDatabaseState:
|
|
|
469
453
|
@pulumi.getter
|
|
470
454
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
471
455
|
"""
|
|
472
|
-
Specifies the identifier for the database; must be unique for your account.
|
|
456
|
+
Specifies the identifier for the database; must be unique for your account.
|
|
473
457
|
"""
|
|
474
458
|
return pulumi.get(self, "name")
|
|
475
459
|
|
|
@@ -610,6 +594,10 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
610
594
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
611
595
|
__props__=None):
|
|
612
596
|
"""
|
|
597
|
+
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
598
|
+
|
|
599
|
+
A shared database creates a database from a share provided by another Snowflake account. For more information about shares, see [Introduction to Secure Data Sharing](https://docs.snowflake.com/en/user-guide/data-sharing-intro).
|
|
600
|
+
|
|
613
601
|
## Import
|
|
614
602
|
|
|
615
603
|
```sh
|
|
@@ -625,7 +613,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
625
613
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
626
614
|
:param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
|
|
627
615
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
628
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
616
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
629
617
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
630
618
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
631
619
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -643,6 +631,10 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
643
631
|
args: SharedDatabaseArgs,
|
|
644
632
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
645
633
|
"""
|
|
634
|
+
!> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
635
|
+
|
|
636
|
+
A shared database creates a database from a share provided by another Snowflake account. For more information about shares, see [Introduction to Secure Data Sharing](https://docs.snowflake.com/en/user-guide/data-sharing-intro).
|
|
637
|
+
|
|
646
638
|
## Import
|
|
647
639
|
|
|
648
640
|
```sh
|
|
@@ -709,7 +701,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
709
701
|
__props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
|
|
710
702
|
__props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
|
|
711
703
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
712
|
-
__props__.__dict__["fully_qualified_name"] = None
|
|
713
704
|
super(SharedDatabase, __self__).__init__(
|
|
714
705
|
'snowflake:index/sharedDatabase:SharedDatabase',
|
|
715
706
|
resource_name,
|
|
@@ -726,7 +717,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
726
717
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
727
718
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
728
719
|
from_share: Optional[pulumi.Input[str]] = None,
|
|
729
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
730
720
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
731
721
|
name: Optional[pulumi.Input[str]] = None,
|
|
732
722
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
@@ -751,9 +741,8 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
751
741
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
752
742
|
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
753
743
|
:param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
|
|
754
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
755
744
|
:param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
756
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
745
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
757
746
|
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
758
747
|
:param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
759
748
|
:param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
@@ -774,7 +763,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
774
763
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
775
764
|
__props__.__dict__["external_volume"] = external_volume
|
|
776
765
|
__props__.__dict__["from_share"] = from_share
|
|
777
|
-
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
778
766
|
__props__.__dict__["log_level"] = log_level
|
|
779
767
|
__props__.__dict__["name"] = name
|
|
780
768
|
__props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
|
|
@@ -836,14 +824,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
836
824
|
"""
|
|
837
825
|
return pulumi.get(self, "from_share")
|
|
838
826
|
|
|
839
|
-
@property
|
|
840
|
-
@pulumi.getter(name="fullyQualifiedName")
|
|
841
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
842
|
-
"""
|
|
843
|
-
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
844
|
-
"""
|
|
845
|
-
return pulumi.get(self, "fully_qualified_name")
|
|
846
|
-
|
|
847
827
|
@property
|
|
848
828
|
@pulumi.getter(name="logLevel")
|
|
849
829
|
def log_level(self) -> pulumi.Output[str]:
|
|
@@ -856,7 +836,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
856
836
|
@pulumi.getter
|
|
857
837
|
def name(self) -> pulumi.Output[str]:
|
|
858
838
|
"""
|
|
859
|
-
Specifies the identifier for the database; must be unique for your account.
|
|
839
|
+
Specifies the identifier for the database; must be unique for your account.
|
|
860
840
|
"""
|
|
861
841
|
return pulumi.get(self, "name")
|
|
862
842
|
|