pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.59.0__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 +8587 -2022
- pulumi_snowflake/account.py +28 -50
- pulumi_snowflake/account_parameter.py +0 -28
- pulumi_snowflake/account_password_policy_attachment.py +2 -30
- pulumi_snowflake/account_role.py +41 -36
- pulumi_snowflake/alert.py +28 -40
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
- pulumi_snowflake/api_integration.py +28 -54
- pulumi_snowflake/cortex_search_service.py +28 -76
- pulumi_snowflake/database.py +82 -15
- pulumi_snowflake/database_old.py +0 -72
- pulumi_snowflake/database_role.py +76 -42
- pulumi_snowflake/dynamic_table.py +28 -38
- pulumi_snowflake/email_notification_integration.py +28 -26
- pulumi_snowflake/external_function.py +28 -52
- pulumi_snowflake/external_oauth_integration.py +35 -15
- pulumi_snowflake/external_table.py +28 -48
- pulumi_snowflake/failover_group.py +28 -72
- pulumi_snowflake/file_format.py +28 -26
- pulumi_snowflake/function.py +28 -4
- pulumi_snowflake/get_database_roles.py +63 -36
- pulumi_snowflake/get_masking_policies.py +73 -48
- pulumi_snowflake/get_resource_monitors.py +28 -16
- pulumi_snowflake/get_row_access_policies.py +73 -48
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +94 -51
- pulumi_snowflake/grant_account_role.py +0 -4
- pulumi_snowflake/grant_application_role.py +0 -4
- pulumi_snowflake/grant_database_role.py +0 -4
- pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
- pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
- pulumi_snowflake/grant_privileges_to_share.py +49 -2
- pulumi_snowflake/managed_account.py +28 -4
- pulumi_snowflake/masking_policy.py +208 -306
- pulumi_snowflake/materialized_view.py +28 -34
- pulumi_snowflake/network_policy.py +35 -15
- pulumi_snowflake/network_policy_attachment.py +0 -30
- pulumi_snowflake/network_rule.py +28 -66
- pulumi_snowflake/notification_integration.py +28 -34
- pulumi_snowflake/oauth_integration.py +0 -34
- pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
- pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
- pulumi_snowflake/object_parameter.py +0 -98
- pulumi_snowflake/outputs.py +13035 -4202
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +28 -4
- pulumi_snowflake/procedure.py +28 -4
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +111 -307
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +195 -147
- pulumi_snowflake/saml2_integration.py +35 -15
- pulumi_snowflake/saml_integration.py +0 -34
- pulumi_snowflake/schema.py +39 -19
- pulumi_snowflake/scim_integration.py +35 -15
- pulumi_snowflake/secondary_database.py +35 -19
- pulumi_snowflake/sequence.py +4 -36
- pulumi_snowflake/session_parameter.py +0 -32
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +35 -15
- pulumi_snowflake/stage.py +28 -28
- pulumi_snowflake/storage_integration.py +28 -4
- pulumi_snowflake/stream.py +28 -4
- pulumi_snowflake/streamlit.py +36 -16
- pulumi_snowflake/table.py +28 -32
- pulumi_snowflake/table_column_masking_policy_application.py +2 -14
- pulumi_snowflake/table_constraint.py +0 -152
- pulumi_snowflake/tag.py +28 -40
- pulumi_snowflake/tag_association.py +0 -120
- pulumi_snowflake/tag_masking_policy_association.py +0 -4
- pulumi_snowflake/task.py +28 -92
- pulumi_snowflake/unsafe_execute.py +2 -20
- pulumi_snowflake/user.py +3341 -368
- pulumi_snowflake/user_password_policy_attachment.py +0 -46
- pulumi_snowflake/view.py +465 -185
- pulumi_snowflake/warehouse.py +39 -43
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.59.0.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.59.0.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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
225
225
|
"""
|
|
226
226
|
return pulumi.get(self, "name")
|
|
227
227
|
|
|
@@ -348,6 +348,7 @@ 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,
|
|
351
352
|
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
352
353
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
353
354
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -370,10 +371,11 @@ class _SecondaryDatabaseState:
|
|
|
370
371
|
: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).
|
|
371
372
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
372
373
|
: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).
|
|
373
375
|
: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.
|
|
374
376
|
: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).
|
|
375
377
|
: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).
|
|
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.
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
377
379
|
: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).
|
|
378
380
|
: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).
|
|
379
381
|
: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).
|
|
@@ -398,6 +400,8 @@ class _SecondaryDatabaseState:
|
|
|
398
400
|
pulumi.set(__self__, "enable_console_output", enable_console_output)
|
|
399
401
|
if external_volume is not None:
|
|
400
402
|
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)
|
|
401
405
|
if is_transient is not None:
|
|
402
406
|
pulumi.set(__self__, "is_transient", is_transient)
|
|
403
407
|
if log_level is not None:
|
|
@@ -509,6 +513,18 @@ class _SecondaryDatabaseState:
|
|
|
509
513
|
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
510
514
|
pulumi.set(self, "external_volume", value)
|
|
511
515
|
|
|
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
|
+
|
|
512
528
|
@property
|
|
513
529
|
@pulumi.getter(name="isTransient")
|
|
514
530
|
def is_transient(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -549,7 +565,7 @@ class _SecondaryDatabaseState:
|
|
|
549
565
|
@pulumi.getter
|
|
550
566
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
551
567
|
"""
|
|
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.
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
553
569
|
"""
|
|
554
570
|
return pulumi.get(self, "name")
|
|
555
571
|
|
|
@@ -693,12 +709,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
693
709
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
694
710
|
__props__=None):
|
|
695
711
|
"""
|
|
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
|
-
|
|
702
712
|
## Import
|
|
703
713
|
|
|
704
714
|
```sh
|
|
@@ -717,7 +727,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
717
727
|
: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.
|
|
718
728
|
: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).
|
|
719
729
|
: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).
|
|
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.
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
721
731
|
: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).
|
|
722
732
|
: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).
|
|
723
733
|
: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).
|
|
@@ -735,12 +745,6 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
735
745
|
args: SecondaryDatabaseArgs,
|
|
736
746
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
737
747
|
"""
|
|
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
|
-
|
|
744
748
|
## Import
|
|
745
749
|
|
|
746
750
|
```sh
|
|
@@ -813,6 +817,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
813
817
|
__props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
|
|
814
818
|
__props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
|
|
815
819
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
820
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
816
821
|
super(SecondaryDatabase, __self__).__init__(
|
|
817
822
|
'snowflake:index/secondaryDatabase:SecondaryDatabase',
|
|
818
823
|
resource_name,
|
|
@@ -830,6 +835,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
830
835
|
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
831
836
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
832
837
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
838
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
833
839
|
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
834
840
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
835
841
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -857,10 +863,11 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
857
863
|
: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).
|
|
858
864
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
859
865
|
: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).
|
|
860
867
|
: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.
|
|
861
868
|
: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).
|
|
862
869
|
: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).
|
|
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.
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
864
871
|
: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).
|
|
865
872
|
: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).
|
|
866
873
|
: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).
|
|
@@ -882,6 +889,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
882
889
|
__props__.__dict__["default_ddl_collation"] = default_ddl_collation
|
|
883
890
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
884
891
|
__props__.__dict__["external_volume"] = external_volume
|
|
892
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
885
893
|
__props__.__dict__["is_transient"] = is_transient
|
|
886
894
|
__props__.__dict__["log_level"] = log_level
|
|
887
895
|
__props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
|
|
@@ -953,6 +961,14 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
953
961
|
"""
|
|
954
962
|
return pulumi.get(self, "external_volume")
|
|
955
963
|
|
|
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
|
+
|
|
956
972
|
@property
|
|
957
973
|
@pulumi.getter(name="isTransient")
|
|
958
974
|
def is_transient(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -981,7 +997,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
981
997
|
@pulumi.getter
|
|
982
998
|
def name(self) -> pulumi.Output[str]:
|
|
983
999
|
"""
|
|
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.
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
985
1001
|
"""
|
|
986
1002
|
return pulumi.get(self, "name")
|
|
987
1003
|
|
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: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
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
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
184
184
|
"""
|
|
185
185
|
return pulumi.get(self, "fully_qualified_name")
|
|
186
186
|
|
|
@@ -262,22 +262,6 @@ 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
|
-
|
|
281
265
|
## Import
|
|
282
266
|
|
|
283
267
|
format is database name | schema name | sequence name
|
|
@@ -302,22 +286,6 @@ class Sequence(pulumi.CustomResource):
|
|
|
302
286
|
args: SequenceArgs,
|
|
303
287
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
304
288
|
"""
|
|
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
|
-
|
|
321
289
|
## Import
|
|
322
290
|
|
|
323
291
|
format is database name | schema name | sequence name
|
|
@@ -395,7 +363,7 @@ class Sequence(pulumi.CustomResource):
|
|
|
395
363
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
396
364
|
:param pulumi.Input[str] comment: Specifies a comment for the sequence.
|
|
397
365
|
:param pulumi.Input[str] database: The database in which to create the sequence. Don't use the | character.
|
|
398
|
-
:param pulumi.Input[str] fully_qualified_name:
|
|
366
|
+
: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).
|
|
399
367
|
:param pulumi.Input[int] increment: The amount the sequence will increase by each time it is used
|
|
400
368
|
:param pulumi.Input[str] name: Specifies the name for the sequence.
|
|
401
369
|
:param pulumi.Input[int] next_value: The increment sequence interval.
|
|
@@ -436,7 +404,7 @@ class Sequence(pulumi.CustomResource):
|
|
|
436
404
|
@pulumi.getter(name="fullyQualifiedName")
|
|
437
405
|
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
438
406
|
"""
|
|
439
|
-
|
|
407
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
440
408
|
"""
|
|
441
409
|
return pulumi.get(self, "fully_qualified_name")
|
|
442
410
|
|
|
@@ -164,22 +164,6 @@ 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
|
-
|
|
183
167
|
## Import
|
|
184
168
|
|
|
185
169
|
```sh
|
|
@@ -200,22 +184,6 @@ class SessionParameter(pulumi.CustomResource):
|
|
|
200
184
|
args: SessionParameterArgs,
|
|
201
185
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
202
186
|
"""
|
|
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
|
-
|
|
219
187
|
## Import
|
|
220
188
|
|
|
221
189
|
```sh
|
pulumi_snowflake/share.py
CHANGED
|
@@ -72,17 +72,21 @@ 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,
|
|
75
76
|
name: Optional[pulumi.Input[str]] = None):
|
|
76
77
|
"""
|
|
77
78
|
Input properties used for looking up and filtering Share resources.
|
|
78
79
|
: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
|
|
79
80
|
: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).
|
|
80
82
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
81
83
|
"""
|
|
82
84
|
if accounts is not None:
|
|
83
85
|
pulumi.set(__self__, "accounts", accounts)
|
|
84
86
|
if comment is not None:
|
|
85
87
|
pulumi.set(__self__, "comment", comment)
|
|
88
|
+
if fully_qualified_name is not None:
|
|
89
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
86
90
|
if name is not None:
|
|
87
91
|
pulumi.set(__self__, "name", name)
|
|
88
92
|
|
|
@@ -110,6 +114,18 @@ class _ShareState:
|
|
|
110
114
|
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
111
115
|
pulumi.set(self, "comment", value)
|
|
112
116
|
|
|
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
|
+
|
|
113
129
|
@property
|
|
114
130
|
@pulumi.getter
|
|
115
131
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -133,20 +149,6 @@ class Share(pulumi.CustomResource):
|
|
|
133
149
|
name: Optional[pulumi.Input[str]] = None,
|
|
134
150
|
__props__=None):
|
|
135
151
|
"""
|
|
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
|
-
|
|
150
152
|
## Import
|
|
151
153
|
|
|
152
154
|
```sh
|
|
@@ -166,20 +168,6 @@ class Share(pulumi.CustomResource):
|
|
|
166
168
|
args: Optional[ShareArgs] = None,
|
|
167
169
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
168
170
|
"""
|
|
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
|
-
|
|
183
171
|
## Import
|
|
184
172
|
|
|
185
173
|
```sh
|
|
@@ -216,6 +204,7 @@ class Share(pulumi.CustomResource):
|
|
|
216
204
|
__props__.__dict__["accounts"] = accounts
|
|
217
205
|
__props__.__dict__["comment"] = comment
|
|
218
206
|
__props__.__dict__["name"] = name
|
|
207
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
219
208
|
super(Share, __self__).__init__(
|
|
220
209
|
'snowflake:index/share:Share',
|
|
221
210
|
resource_name,
|
|
@@ -228,6 +217,7 @@ class Share(pulumi.CustomResource):
|
|
|
228
217
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
229
218
|
accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
230
219
|
comment: Optional[pulumi.Input[str]] = None,
|
|
220
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
231
221
|
name: Optional[pulumi.Input[str]] = None) -> 'Share':
|
|
232
222
|
"""
|
|
233
223
|
Get an existing Share resource's state with the given name, id, and optional extra
|
|
@@ -238,6 +228,7 @@ class Share(pulumi.CustomResource):
|
|
|
238
228
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
239
229
|
: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
|
|
240
230
|
: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).
|
|
241
232
|
:param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
|
|
242
233
|
"""
|
|
243
234
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -246,6 +237,7 @@ class Share(pulumi.CustomResource):
|
|
|
246
237
|
|
|
247
238
|
__props__.__dict__["accounts"] = accounts
|
|
248
239
|
__props__.__dict__["comment"] = comment
|
|
240
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
249
241
|
__props__.__dict__["name"] = name
|
|
250
242
|
return Share(resource_name, opts=opts, __props__=__props__)
|
|
251
243
|
|
|
@@ -265,6 +257,14 @@ class Share(pulumi.CustomResource):
|
|
|
265
257
|
"""
|
|
266
258
|
return pulumi.get(self, "comment")
|
|
267
259
|
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
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. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
177
177
|
"""
|
|
178
178
|
return pulumi.get(self, "name")
|
|
179
179
|
|
|
@@ -299,6 +299,7 @@ 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,
|
|
302
303
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
303
304
|
name: Optional[pulumi.Input[str]] = None,
|
|
304
305
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
@@ -318,8 +319,9 @@ class _SharedDatabaseState:
|
|
|
318
319
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
319
320
|
: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).
|
|
320
321
|
: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).
|
|
321
323
|
: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).
|
|
322
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
324
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
323
325
|
: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).
|
|
324
326
|
: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).
|
|
325
327
|
: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).
|
|
@@ -342,6 +344,8 @@ class _SharedDatabaseState:
|
|
|
342
344
|
pulumi.set(__self__, "external_volume", external_volume)
|
|
343
345
|
if from_share is not None:
|
|
344
346
|
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)
|
|
345
349
|
if log_level is not None:
|
|
346
350
|
pulumi.set(__self__, "log_level", log_level)
|
|
347
351
|
if name is not None:
|
|
@@ -437,6 +441,18 @@ class _SharedDatabaseState:
|
|
|
437
441
|
def from_share(self, value: Optional[pulumi.Input[str]]):
|
|
438
442
|
pulumi.set(self, "from_share", value)
|
|
439
443
|
|
|
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
|
+
|
|
440
456
|
@property
|
|
441
457
|
@pulumi.getter(name="logLevel")
|
|
442
458
|
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -453,7 +469,7 @@ class _SharedDatabaseState:
|
|
|
453
469
|
@pulumi.getter
|
|
454
470
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
455
471
|
"""
|
|
456
|
-
Specifies the identifier for the database; must be unique for your account.
|
|
472
|
+
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
457
473
|
"""
|
|
458
474
|
return pulumi.get(self, "name")
|
|
459
475
|
|
|
@@ -594,10 +610,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
594
610
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
595
611
|
__props__=None):
|
|
596
612
|
"""
|
|
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
|
-
|
|
601
613
|
## Import
|
|
602
614
|
|
|
603
615
|
```sh
|
|
@@ -613,7 +625,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
613
625
|
: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).
|
|
614
626
|
: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>"`.
|
|
615
627
|
: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).
|
|
616
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
628
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
617
629
|
: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).
|
|
618
630
|
: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).
|
|
619
631
|
: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).
|
|
@@ -631,10 +643,6 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
631
643
|
args: SharedDatabaseArgs,
|
|
632
644
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
633
645
|
"""
|
|
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
|
-
|
|
638
646
|
## Import
|
|
639
647
|
|
|
640
648
|
```sh
|
|
@@ -701,6 +709,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
701
709
|
__props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
|
|
702
710
|
__props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
|
|
703
711
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
712
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
704
713
|
super(SharedDatabase, __self__).__init__(
|
|
705
714
|
'snowflake:index/sharedDatabase:SharedDatabase',
|
|
706
715
|
resource_name,
|
|
@@ -717,6 +726,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
717
726
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
718
727
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
719
728
|
from_share: Optional[pulumi.Input[str]] = None,
|
|
729
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
720
730
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
721
731
|
name: Optional[pulumi.Input[str]] = None,
|
|
722
732
|
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
@@ -741,8 +751,9 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
741
751
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
742
752
|
: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).
|
|
743
753
|
: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).
|
|
744
755
|
: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).
|
|
745
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
|
|
756
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
746
757
|
: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).
|
|
747
758
|
: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).
|
|
748
759
|
: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).
|
|
@@ -763,6 +774,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
763
774
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
764
775
|
__props__.__dict__["external_volume"] = external_volume
|
|
765
776
|
__props__.__dict__["from_share"] = from_share
|
|
777
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
766
778
|
__props__.__dict__["log_level"] = log_level
|
|
767
779
|
__props__.__dict__["name"] = name
|
|
768
780
|
__props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
|
|
@@ -824,6 +836,14 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
824
836
|
"""
|
|
825
837
|
return pulumi.get(self, "from_share")
|
|
826
838
|
|
|
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
|
+
|
|
827
847
|
@property
|
|
828
848
|
@pulumi.getter(name="logLevel")
|
|
829
849
|
def log_level(self) -> pulumi.Output[str]:
|
|
@@ -836,7 +856,7 @@ class SharedDatabase(pulumi.CustomResource):
|
|
|
836
856
|
@pulumi.getter
|
|
837
857
|
def name(self) -> pulumi.Output[str]:
|
|
838
858
|
"""
|
|
839
|
-
Specifies the identifier for the database; must be unique for your account.
|
|
859
|
+
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
840
860
|
"""
|
|
841
861
|
return pulumi.get(self, "name")
|
|
842
862
|
|