pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.58.0a1726066221__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.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/_inputs.py +5859 -127
- 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 +61 -38
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +92 -53
- 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 +28 -84
- 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 +11648 -3842
- 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 +28 -48
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +28 -34
- 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 +35 -39
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
- pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
pulumi_snowflake/schema.py
CHANGED
|
@@ -51,7 +51,7 @@ class SchemaArgs:
|
|
|
51
51
|
: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).
|
|
52
52
|
: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).
|
|
53
53
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
54
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
54
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
55
55
|
: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).
|
|
56
56
|
: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).
|
|
57
57
|
: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).
|
|
@@ -243,7 +243,7 @@ class SchemaArgs:
|
|
|
243
243
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
244
244
|
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
245
245
|
"""
|
|
246
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
246
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "pipe_execution_paused")
|
|
249
249
|
|
|
@@ -383,6 +383,7 @@ class _SchemaState:
|
|
|
383
383
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]]] = None,
|
|
384
384
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
385
385
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
386
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
386
387
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
387
388
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
388
389
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -410,12 +411,13 @@ class _SchemaState:
|
|
|
410
411
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
411
412
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
412
413
|
: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).
|
|
414
|
+
: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).
|
|
413
415
|
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
414
416
|
: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).
|
|
415
417
|
: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).
|
|
416
418
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
417
419
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
418
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
420
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
419
421
|
: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).
|
|
420
422
|
: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).
|
|
421
423
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
@@ -444,6 +446,8 @@ class _SchemaState:
|
|
|
444
446
|
pulumi.set(__self__, "enable_console_output", enable_console_output)
|
|
445
447
|
if external_volume is not None:
|
|
446
448
|
pulumi.set(__self__, "external_volume", external_volume)
|
|
449
|
+
if fully_qualified_name is not None:
|
|
450
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
447
451
|
if is_transient is not None:
|
|
448
452
|
pulumi.set(__self__, "is_transient", is_transient)
|
|
449
453
|
if log_level is not None:
|
|
@@ -575,6 +579,18 @@ class _SchemaState:
|
|
|
575
579
|
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
576
580
|
pulumi.set(self, "external_volume", value)
|
|
577
581
|
|
|
582
|
+
@property
|
|
583
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
584
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
585
|
+
"""
|
|
586
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
587
|
+
"""
|
|
588
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
589
|
+
|
|
590
|
+
@fully_qualified_name.setter
|
|
591
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
592
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
593
|
+
|
|
578
594
|
@property
|
|
579
595
|
@pulumi.getter(name="isTransient")
|
|
580
596
|
def is_transient(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -639,7 +655,7 @@ class _SchemaState:
|
|
|
639
655
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
640
656
|
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
641
657
|
"""
|
|
642
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
658
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
643
659
|
"""
|
|
644
660
|
return pulumi.get(self, "pipe_execution_paused")
|
|
645
661
|
|
|
@@ -809,16 +825,12 @@ class Schema(pulumi.CustomResource):
|
|
|
809
825
|
with_managed_access: Optional[pulumi.Input[str]] = None,
|
|
810
826
|
__props__=None):
|
|
811
827
|
"""
|
|
812
|
-
!> **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.
|
|
813
|
-
|
|
814
|
-
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
815
|
-
|
|
816
828
|
## Import
|
|
817
829
|
|
|
818
|
-
format is
|
|
830
|
+
format is <database_name>.<schema_name>
|
|
819
831
|
|
|
820
832
|
```sh
|
|
821
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
833
|
+
$ pulumi import snowflake:index/schema:Schema example '"<database_name>"."<schema_name>"'
|
|
822
834
|
```
|
|
823
835
|
|
|
824
836
|
:param str resource_name: The name of the resource.
|
|
@@ -834,7 +846,7 @@ class Schema(pulumi.CustomResource):
|
|
|
834
846
|
: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).
|
|
835
847
|
: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).
|
|
836
848
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
837
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
849
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
838
850
|
: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).
|
|
839
851
|
: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).
|
|
840
852
|
: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).
|
|
@@ -853,16 +865,12 @@ class Schema(pulumi.CustomResource):
|
|
|
853
865
|
args: SchemaArgs,
|
|
854
866
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
855
867
|
"""
|
|
856
|
-
!> **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.
|
|
857
|
-
|
|
858
|
-
Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
859
|
-
|
|
860
868
|
## Import
|
|
861
869
|
|
|
862
|
-
format is
|
|
870
|
+
format is <database_name>.<schema_name>
|
|
863
871
|
|
|
864
872
|
```sh
|
|
865
|
-
$ pulumi import snowflake:index/schema:Schema example '
|
|
873
|
+
$ pulumi import snowflake:index/schema:Schema example '"<database_name>"."<schema_name>"'
|
|
866
874
|
```
|
|
867
875
|
|
|
868
876
|
:param str resource_name: The name of the resource.
|
|
@@ -936,6 +944,7 @@ class Schema(pulumi.CustomResource):
|
|
|
936
944
|
__props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
|
|
937
945
|
__props__.__dict__["with_managed_access"] = with_managed_access
|
|
938
946
|
__props__.__dict__["describe_outputs"] = None
|
|
947
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
939
948
|
__props__.__dict__["parameters"] = None
|
|
940
949
|
__props__.__dict__["show_outputs"] = None
|
|
941
950
|
super(Schema, __self__).__init__(
|
|
@@ -956,6 +965,7 @@ class Schema(pulumi.CustomResource):
|
|
|
956
965
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]]] = None,
|
|
957
966
|
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
958
967
|
external_volume: Optional[pulumi.Input[str]] = None,
|
|
968
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
959
969
|
is_transient: Optional[pulumi.Input[str]] = None,
|
|
960
970
|
log_level: Optional[pulumi.Input[str]] = None,
|
|
961
971
|
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
@@ -988,12 +998,13 @@ class Schema(pulumi.CustomResource):
|
|
|
988
998
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
989
999
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
990
1000
|
: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).
|
|
1001
|
+
: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).
|
|
991
1002
|
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
992
1003
|
: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).
|
|
993
1004
|
: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).
|
|
994
1005
|
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
|
|
995
1006
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
996
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
1007
|
+
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
997
1008
|
: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).
|
|
998
1009
|
: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).
|
|
999
1010
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
@@ -1018,6 +1029,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1018
1029
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
1019
1030
|
__props__.__dict__["enable_console_output"] = enable_console_output
|
|
1020
1031
|
__props__.__dict__["external_volume"] = external_volume
|
|
1032
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
1021
1033
|
__props__.__dict__["is_transient"] = is_transient
|
|
1022
1034
|
__props__.__dict__["log_level"] = log_level
|
|
1023
1035
|
__props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
|
|
@@ -1101,6 +1113,14 @@ class Schema(pulumi.CustomResource):
|
|
|
1101
1113
|
"""
|
|
1102
1114
|
return pulumi.get(self, "external_volume")
|
|
1103
1115
|
|
|
1116
|
+
@property
|
|
1117
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
1118
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
1119
|
+
"""
|
|
1120
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
1121
|
+
"""
|
|
1122
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
1123
|
+
|
|
1104
1124
|
@property
|
|
1105
1125
|
@pulumi.getter(name="isTransient")
|
|
1106
1126
|
def is_transient(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1145,7 +1165,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1145
1165
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
1146
1166
|
def pipe_execution_paused(self) -> pulumi.Output[bool]:
|
|
1147
1167
|
"""
|
|
1148
|
-
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information,
|
|
1168
|
+
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1149
1169
|
"""
|
|
1150
1170
|
return pulumi.get(self, "pipe_execution_paused")
|
|
1151
1171
|
|
|
@@ -29,7 +29,7 @@ class ScimIntegrationArgs:
|
|
|
29
29
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
30
30
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
31
31
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
32
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
32
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
33
33
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
34
34
|
:param pulumi.Input[str] sync_password: Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. This property is not supported for Azure SCIM. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
35
35
|
"""
|
|
@@ -97,7 +97,7 @@ class ScimIntegrationArgs:
|
|
|
97
97
|
@pulumi.getter
|
|
98
98
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
99
99
|
"""
|
|
100
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
100
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "name")
|
|
103
103
|
|
|
@@ -136,6 +136,7 @@ class _ScimIntegrationState:
|
|
|
136
136
|
comment: Optional[pulumi.Input[str]] = None,
|
|
137
137
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ScimIntegrationDescribeOutputArgs']]]] = None,
|
|
138
138
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
139
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
139
140
|
name: Optional[pulumi.Input[str]] = None,
|
|
140
141
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
141
142
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
@@ -147,7 +148,8 @@ class _ScimIntegrationState:
|
|
|
147
148
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
148
149
|
:param pulumi.Input[Sequence[pulumi.Input['ScimIntegrationDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
149
150
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
150
|
-
:param pulumi.Input[str]
|
|
151
|
+
: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).
|
|
152
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
151
153
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
152
154
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
153
155
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -160,6 +162,8 @@ class _ScimIntegrationState:
|
|
|
160
162
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
161
163
|
if enabled is not None:
|
|
162
164
|
pulumi.set(__self__, "enabled", enabled)
|
|
165
|
+
if fully_qualified_name is not None:
|
|
166
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
163
167
|
if name is not None:
|
|
164
168
|
pulumi.set(__self__, "name", name)
|
|
165
169
|
if network_policy is not None:
|
|
@@ -209,11 +213,23 @@ class _ScimIntegrationState:
|
|
|
209
213
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
210
214
|
pulumi.set(self, "enabled", value)
|
|
211
215
|
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
218
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
"""
|
|
220
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
223
|
+
|
|
224
|
+
@fully_qualified_name.setter
|
|
225
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
226
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
227
|
+
|
|
212
228
|
@property
|
|
213
229
|
@pulumi.getter
|
|
214
230
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
215
231
|
"""
|
|
216
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
232
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
217
233
|
"""
|
|
218
234
|
return pulumi.get(self, "name")
|
|
219
235
|
|
|
@@ -296,10 +312,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
296
312
|
sync_password: Optional[pulumi.Input[str]] = None,
|
|
297
313
|
__props__=None):
|
|
298
314
|
"""
|
|
299
|
-
!> **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.
|
|
300
|
-
|
|
301
|
-
Resource used to manage scim security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-scim).
|
|
302
|
-
|
|
303
315
|
## Import
|
|
304
316
|
|
|
305
317
|
```sh
|
|
@@ -310,7 +322,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
310
322
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
311
323
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
312
324
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
313
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
325
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
314
326
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
315
327
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
316
328
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -323,10 +335,6 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
323
335
|
args: ScimIntegrationArgs,
|
|
324
336
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
325
337
|
"""
|
|
326
|
-
!> **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.
|
|
327
|
-
|
|
328
|
-
Resource used to manage scim security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-scim).
|
|
329
|
-
|
|
330
338
|
## Import
|
|
331
339
|
|
|
332
340
|
```sh
|
|
@@ -378,6 +386,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
378
386
|
__props__.__dict__["scim_client"] = scim_client
|
|
379
387
|
__props__.__dict__["sync_password"] = sync_password
|
|
380
388
|
__props__.__dict__["describe_outputs"] = None
|
|
389
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
381
390
|
__props__.__dict__["show_outputs"] = None
|
|
382
391
|
super(ScimIntegration, __self__).__init__(
|
|
383
392
|
'snowflake:index/scimIntegration:ScimIntegration',
|
|
@@ -392,6 +401,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
392
401
|
comment: Optional[pulumi.Input[str]] = None,
|
|
393
402
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]]] = None,
|
|
394
403
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
404
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
395
405
|
name: Optional[pulumi.Input[str]] = None,
|
|
396
406
|
network_policy: Optional[pulumi.Input[str]] = None,
|
|
397
407
|
run_as_role: Optional[pulumi.Input[str]] = None,
|
|
@@ -408,7 +418,8 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
408
418
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
409
419
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
410
420
|
:param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
|
|
411
|
-
:param pulumi.Input[str]
|
|
421
|
+
: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).
|
|
422
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
412
423
|
:param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
|
|
413
424
|
:param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
|
|
414
425
|
:param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
|
|
@@ -422,6 +433,7 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
422
433
|
__props__.__dict__["comment"] = comment
|
|
423
434
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
424
435
|
__props__.__dict__["enabled"] = enabled
|
|
436
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
425
437
|
__props__.__dict__["name"] = name
|
|
426
438
|
__props__.__dict__["network_policy"] = network_policy
|
|
427
439
|
__props__.__dict__["run_as_role"] = run_as_role
|
|
@@ -454,11 +466,19 @@ class ScimIntegration(pulumi.CustomResource):
|
|
|
454
466
|
"""
|
|
455
467
|
return pulumi.get(self, "enabled")
|
|
456
468
|
|
|
469
|
+
@property
|
|
470
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
471
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
472
|
+
"""
|
|
473
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
474
|
+
"""
|
|
475
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
476
|
+
|
|
457
477
|
@property
|
|
458
478
|
@pulumi.getter
|
|
459
479
|
def name(self) -> pulumi.Output[str]:
|
|
460
480
|
"""
|
|
461
|
-
String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
481
|
+
String that specifies the identifier (i.e. name) for the integration; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
462
482
|
"""
|
|
463
483
|
return pulumi.get(self, "name")
|
|
464
484
|
|
|
@@ -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
|
|