pulumi-snowflake 0.57.0a1722063098__py3-none-any.whl → 0.57.1__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/__init__.py +20 -0
- pulumi_snowflake/_inputs.py +2475 -237
- pulumi_snowflake/account_role.py +226 -0
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +4 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +4 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +4 -0
- pulumi_snowflake/database.py +63 -63
- pulumi_snowflake/external_oauth_integration.py +2 -2
- pulumi_snowflake/get_databases.py +2 -2
- pulumi_snowflake/get_network_policies.py +122 -0
- pulumi_snowflake/get_roles.py +37 -31
- pulumi_snowflake/get_schemas.py +117 -36
- pulumi_snowflake/get_security_integrations.py +2 -2
- pulumi_snowflake/get_streamlits.py +159 -0
- pulumi_snowflake/get_warehouses.py +2 -2
- pulumi_snowflake/network_policy.py +103 -19
- pulumi_snowflake/oauth_integration_for_custom_clients.py +18 -14
- pulumi_snowflake/oauth_integration_for_partner_applications.py +18 -14
- pulumi_snowflake/outputs.py +5849 -2728
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/role.py +44 -72
- pulumi_snowflake/saml2_integration.py +32 -28
- pulumi_snowflake/schema.py +914 -156
- pulumi_snowflake/scim_integration.py +25 -21
- pulumi_snowflake/secondary_database.py +63 -63
- pulumi_snowflake/shared_database.py +63 -63
- pulumi_snowflake/streamlit.py +650 -0
- pulumi_snowflake/table.py +0 -120
- pulumi_snowflake/table_constraint.py +2 -2
- pulumi_snowflake/unsafe_execute.py +8 -8
- {pulumi_snowflake-0.57.0a1722063098.dist-info → pulumi_snowflake-0.57.1.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.57.0a1722063098.dist-info → pulumi_snowflake-0.57.1.dist-info}/RECORD +34 -30
- {pulumi_snowflake-0.57.0a1722063098.dist-info → pulumi_snowflake-0.57.1.dist-info}/WHEEL +1 -1
- {pulumi_snowflake-0.57.0a1722063098.dist-info → pulumi_snowflake-0.57.1.dist-info}/top_level.txt +0 -0
pulumi_snowflake/database.py
CHANGED
|
@@ -38,26 +38,26 @@ class DatabaseArgs:
|
|
|
38
38
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None):
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a Database resource.
|
|
41
|
-
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
41
|
+
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
42
42
|
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
43
43
|
:param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
44
44
|
: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).
|
|
45
45
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
46
|
-
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
46
|
+
: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).
|
|
47
47
|
: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.
|
|
48
48
|
: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).
|
|
49
49
|
: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).
|
|
50
50
|
: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.
|
|
51
|
-
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
|
|
52
|
-
: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.
|
|
51
|
+
: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).
|
|
52
|
+
: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).
|
|
53
53
|
:param pulumi.Input['DatabaseReplicationArgs'] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
|
|
54
|
-
: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.
|
|
55
|
-
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
56
|
-
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
|
|
54
|
+
: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).
|
|
55
|
+
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
56
|
+
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
57
57
|
:param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
58
|
-
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
58
|
+
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
59
59
|
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
60
|
-
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
|
|
60
|
+
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
61
61
|
"""
|
|
62
62
|
if catalog is not None:
|
|
63
63
|
pulumi.set(__self__, "catalog", catalog)
|
|
@@ -104,7 +104,7 @@ class DatabaseArgs:
|
|
|
104
104
|
@pulumi.getter
|
|
105
105
|
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
106
106
|
"""
|
|
107
|
-
The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
107
|
+
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
108
108
|
"""
|
|
109
109
|
return pulumi.get(self, "catalog")
|
|
110
110
|
|
|
@@ -164,7 +164,7 @@ class DatabaseArgs:
|
|
|
164
164
|
@pulumi.getter(name="externalVolume")
|
|
165
165
|
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
166
166
|
"""
|
|
167
|
-
The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
167
|
+
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).
|
|
168
168
|
"""
|
|
169
169
|
return pulumi.get(self, "external_volume")
|
|
170
170
|
|
|
@@ -224,7 +224,7 @@ class DatabaseArgs:
|
|
|
224
224
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
225
225
|
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
226
226
|
"""
|
|
227
|
-
If true, the case of quoted identifiers is ignored.
|
|
227
|
+
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).
|
|
228
228
|
"""
|
|
229
229
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
230
230
|
|
|
@@ -236,7 +236,7 @@ class DatabaseArgs:
|
|
|
236
236
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
237
237
|
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
238
238
|
"""
|
|
239
|
-
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.
|
|
239
|
+
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).
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "replace_invalid_characters")
|
|
242
242
|
|
|
@@ -260,7 +260,7 @@ class DatabaseArgs:
|
|
|
260
260
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
261
261
|
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
262
262
|
"""
|
|
263
|
-
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.
|
|
263
|
+
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).
|
|
264
264
|
"""
|
|
265
265
|
return pulumi.get(self, "storage_serialization_policy")
|
|
266
266
|
|
|
@@ -272,7 +272,7 @@ class DatabaseArgs:
|
|
|
272
272
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
273
273
|
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
274
274
|
"""
|
|
275
|
-
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
275
|
+
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
276
276
|
"""
|
|
277
277
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
278
278
|
|
|
@@ -284,7 +284,7 @@ class DatabaseArgs:
|
|
|
284
284
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
285
285
|
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
286
286
|
"""
|
|
287
|
-
Maximum automatic retries allowed for a user task.
|
|
287
|
+
Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
288
288
|
"""
|
|
289
289
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
290
290
|
|
|
@@ -308,7 +308,7 @@ class DatabaseArgs:
|
|
|
308
308
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
309
309
|
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
310
310
|
"""
|
|
311
|
-
The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
311
|
+
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
312
312
|
"""
|
|
313
313
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
314
314
|
|
|
@@ -332,7 +332,7 @@ class DatabaseArgs:
|
|
|
332
332
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
333
333
|
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
334
334
|
"""
|
|
335
|
-
User task execution timeout in milliseconds.
|
|
335
|
+
User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
336
336
|
"""
|
|
337
337
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
338
338
|
|
|
@@ -366,26 +366,26 @@ class _DatabaseState:
|
|
|
366
366
|
user_task_timeout_ms: Optional[pulumi.Input[int]] = None):
|
|
367
367
|
"""
|
|
368
368
|
Input properties used for looking up and filtering Database resources.
|
|
369
|
-
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
369
|
+
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
370
370
|
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
371
371
|
:param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
372
372
|
: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).
|
|
373
373
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
374
|
-
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
374
|
+
: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).
|
|
375
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.
|
|
376
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).
|
|
377
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).
|
|
378
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.
|
|
379
|
-
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
|
|
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.
|
|
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).
|
|
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).
|
|
381
381
|
:param pulumi.Input['DatabaseReplicationArgs'] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
|
|
382
|
-
: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.
|
|
383
|
-
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
384
|
-
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
|
|
382
|
+
: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).
|
|
383
|
+
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
384
|
+
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
385
385
|
:param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
386
|
-
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
386
|
+
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
387
387
|
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
388
|
-
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
|
|
388
|
+
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
389
389
|
"""
|
|
390
390
|
if catalog is not None:
|
|
391
391
|
pulumi.set(__self__, "catalog", catalog)
|
|
@@ -432,7 +432,7 @@ class _DatabaseState:
|
|
|
432
432
|
@pulumi.getter
|
|
433
433
|
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
434
434
|
"""
|
|
435
|
-
The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
435
|
+
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
436
436
|
"""
|
|
437
437
|
return pulumi.get(self, "catalog")
|
|
438
438
|
|
|
@@ -492,7 +492,7 @@ class _DatabaseState:
|
|
|
492
492
|
@pulumi.getter(name="externalVolume")
|
|
493
493
|
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
494
494
|
"""
|
|
495
|
-
The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
495
|
+
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).
|
|
496
496
|
"""
|
|
497
497
|
return pulumi.get(self, "external_volume")
|
|
498
498
|
|
|
@@ -552,7 +552,7 @@ class _DatabaseState:
|
|
|
552
552
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
553
553
|
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
554
554
|
"""
|
|
555
|
-
If true, the case of quoted identifiers is ignored.
|
|
555
|
+
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).
|
|
556
556
|
"""
|
|
557
557
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
558
558
|
|
|
@@ -564,7 +564,7 @@ class _DatabaseState:
|
|
|
564
564
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
565
565
|
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
566
566
|
"""
|
|
567
|
-
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.
|
|
567
|
+
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).
|
|
568
568
|
"""
|
|
569
569
|
return pulumi.get(self, "replace_invalid_characters")
|
|
570
570
|
|
|
@@ -588,7 +588,7 @@ class _DatabaseState:
|
|
|
588
588
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
589
589
|
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
590
590
|
"""
|
|
591
|
-
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.
|
|
591
|
+
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).
|
|
592
592
|
"""
|
|
593
593
|
return pulumi.get(self, "storage_serialization_policy")
|
|
594
594
|
|
|
@@ -600,7 +600,7 @@ class _DatabaseState:
|
|
|
600
600
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
601
601
|
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
602
602
|
"""
|
|
603
|
-
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
603
|
+
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
606
606
|
|
|
@@ -612,7 +612,7 @@ class _DatabaseState:
|
|
|
612
612
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
613
613
|
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
614
614
|
"""
|
|
615
|
-
Maximum automatic retries allowed for a user task.
|
|
615
|
+
Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
616
616
|
"""
|
|
617
617
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
618
618
|
|
|
@@ -636,7 +636,7 @@ class _DatabaseState:
|
|
|
636
636
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
637
637
|
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
638
638
|
"""
|
|
639
|
-
The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
639
|
+
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
640
640
|
"""
|
|
641
641
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
642
642
|
|
|
@@ -660,7 +660,7 @@ class _DatabaseState:
|
|
|
660
660
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
661
661
|
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
662
662
|
"""
|
|
663
|
-
User task execution timeout in milliseconds.
|
|
663
|
+
User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
664
664
|
"""
|
|
665
665
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
666
666
|
|
|
@@ -767,26 +767,26 @@ class Database(pulumi.CustomResource):
|
|
|
767
767
|
|
|
768
768
|
:param str resource_name: The name of the resource.
|
|
769
769
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
770
|
-
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
770
|
+
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
771
771
|
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
772
772
|
:param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
773
773
|
: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).
|
|
774
774
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
775
|
-
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
775
|
+
: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).
|
|
776
776
|
: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.
|
|
777
777
|
: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).
|
|
778
778
|
: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).
|
|
779
779
|
: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.
|
|
780
|
-
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
|
|
781
|
-
: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.
|
|
780
|
+
: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).
|
|
781
|
+
: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).
|
|
782
782
|
:param pulumi.Input[pulumi.InputType['DatabaseReplicationArgs']] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
|
|
783
|
-
: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.
|
|
784
|
-
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
785
|
-
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
|
|
783
|
+
: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).
|
|
784
|
+
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
785
|
+
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
786
786
|
:param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
787
|
-
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
787
|
+
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
788
788
|
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
789
|
-
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
|
|
789
|
+
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
790
790
|
"""
|
|
791
791
|
...
|
|
792
792
|
@overload
|
|
@@ -965,26 +965,26 @@ class Database(pulumi.CustomResource):
|
|
|
965
965
|
:param str resource_name: The unique name of the resulting resource.
|
|
966
966
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
967
967
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
968
|
-
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
968
|
+
:param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
969
969
|
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
970
970
|
:param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
971
971
|
: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).
|
|
972
972
|
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
973
|
-
:param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
973
|
+
: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).
|
|
974
974
|
: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.
|
|
975
975
|
: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).
|
|
976
976
|
: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).
|
|
977
977
|
: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.
|
|
978
|
-
:param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
|
|
979
|
-
: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.
|
|
978
|
+
: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).
|
|
979
|
+
: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).
|
|
980
980
|
:param pulumi.Input[pulumi.InputType['DatabaseReplicationArgs']] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
|
|
981
|
-
: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.
|
|
982
|
-
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
983
|
-
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
|
|
981
|
+
: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).
|
|
982
|
+
:param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
983
|
+
:param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
984
984
|
:param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
985
|
-
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
985
|
+
:param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
986
986
|
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
987
|
-
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
|
|
987
|
+
:param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
988
988
|
"""
|
|
989
989
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
990
990
|
|
|
@@ -1016,7 +1016,7 @@ class Database(pulumi.CustomResource):
|
|
|
1016
1016
|
@pulumi.getter
|
|
1017
1017
|
def catalog(self) -> pulumi.Output[str]:
|
|
1018
1018
|
"""
|
|
1019
|
-
The database parameter that specifies the default catalog to use for Iceberg tables.
|
|
1019
|
+
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
1020
1020
|
"""
|
|
1021
1021
|
return pulumi.get(self, "catalog")
|
|
1022
1022
|
|
|
@@ -1056,7 +1056,7 @@ class Database(pulumi.CustomResource):
|
|
|
1056
1056
|
@pulumi.getter(name="externalVolume")
|
|
1057
1057
|
def external_volume(self) -> pulumi.Output[str]:
|
|
1058
1058
|
"""
|
|
1059
|
-
The database parameter that specifies the default external volume to use for Iceberg tables.
|
|
1059
|
+
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).
|
|
1060
1060
|
"""
|
|
1061
1061
|
return pulumi.get(self, "external_volume")
|
|
1062
1062
|
|
|
@@ -1096,7 +1096,7 @@ class Database(pulumi.CustomResource):
|
|
|
1096
1096
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
1097
1097
|
def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
|
|
1098
1098
|
"""
|
|
1099
|
-
If true, the case of quoted identifiers is ignored.
|
|
1099
|
+
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).
|
|
1100
1100
|
"""
|
|
1101
1101
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
1102
1102
|
|
|
@@ -1104,7 +1104,7 @@ class Database(pulumi.CustomResource):
|
|
|
1104
1104
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
1105
1105
|
def replace_invalid_characters(self) -> pulumi.Output[bool]:
|
|
1106
1106
|
"""
|
|
1107
|
-
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.
|
|
1107
|
+
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).
|
|
1108
1108
|
"""
|
|
1109
1109
|
return pulumi.get(self, "replace_invalid_characters")
|
|
1110
1110
|
|
|
@@ -1120,7 +1120,7 @@ class Database(pulumi.CustomResource):
|
|
|
1120
1120
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
1121
1121
|
def storage_serialization_policy(self) -> pulumi.Output[str]:
|
|
1122
1122
|
"""
|
|
1123
|
-
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.
|
|
1123
|
+
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).
|
|
1124
1124
|
"""
|
|
1125
1125
|
return pulumi.get(self, "storage_serialization_policy")
|
|
1126
1126
|
|
|
@@ -1128,7 +1128,7 @@ class Database(pulumi.CustomResource):
|
|
|
1128
1128
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
1129
1129
|
def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
|
|
1130
1130
|
"""
|
|
1131
|
-
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
|
|
1131
|
+
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
1132
1132
|
"""
|
|
1133
1133
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
1134
1134
|
|
|
@@ -1136,7 +1136,7 @@ class Database(pulumi.CustomResource):
|
|
|
1136
1136
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
1137
1137
|
def task_auto_retry_attempts(self) -> pulumi.Output[int]:
|
|
1138
1138
|
"""
|
|
1139
|
-
Maximum automatic retries allowed for a user task.
|
|
1139
|
+
Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
1140
1140
|
"""
|
|
1141
1141
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
1142
1142
|
|
|
@@ -1152,7 +1152,7 @@ class Database(pulumi.CustomResource):
|
|
|
1152
1152
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
1153
1153
|
def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
|
|
1154
1154
|
"""
|
|
1155
|
-
The initial size of warehouse to use for managed warehouses in the absence of history.
|
|
1155
|
+
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
1156
1156
|
"""
|
|
1157
1157
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
1158
1158
|
|
|
@@ -1168,7 +1168,7 @@ class Database(pulumi.CustomResource):
|
|
|
1168
1168
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
1169
1169
|
def user_task_timeout_ms(self) -> pulumi.Output[int]:
|
|
1170
1170
|
"""
|
|
1171
|
-
User task execution timeout in milliseconds.
|
|
1171
|
+
User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
1172
1172
|
"""
|
|
1173
1173
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
1174
1174
|
|
|
@@ -609,7 +609,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
|
|
|
609
609
|
"""
|
|
610
610
|
!> **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.
|
|
611
611
|
|
|
612
|
-
Resource used to manage external oauth security
|
|
612
|
+
Resource used to manage external oauth security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-external).
|
|
613
613
|
|
|
614
614
|
## Import
|
|
615
615
|
|
|
@@ -645,7 +645,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
|
|
|
645
645
|
"""
|
|
646
646
|
!> **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.
|
|
647
647
|
|
|
648
|
-
Resource used to manage external oauth security
|
|
648
|
+
Resource used to manage external oauth security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-external).
|
|
649
649
|
|
|
650
650
|
## Import
|
|
651
651
|
|
|
@@ -125,7 +125,7 @@ def get_databases(like: Optional[str] = None,
|
|
|
125
125
|
with_parameters: Optional[bool] = None,
|
|
126
126
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabasesResult:
|
|
127
127
|
"""
|
|
128
|
-
!> **V1 release candidate** This
|
|
128
|
+
!> **V1 release candidate** This data source 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
129
129
|
|
|
130
130
|
Datasource used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
131
131
|
|
|
@@ -163,7 +163,7 @@ def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
163
163
|
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
164
164
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasesResult]:
|
|
165
165
|
"""
|
|
166
|
-
!> **V1 release candidate** This
|
|
166
|
+
!> **V1 release candidate** This data source 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
167
167
|
|
|
168
168
|
Datasource used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
169
169
|
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetNetworkPoliciesResult',
|
|
15
|
+
'AwaitableGetNetworkPoliciesResult',
|
|
16
|
+
'get_network_policies',
|
|
17
|
+
'get_network_policies_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetNetworkPoliciesResult:
|
|
22
|
+
"""
|
|
23
|
+
A collection of values returned by getNetworkPolicies.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, id=None, like=None, network_policies=None, with_describe=None):
|
|
26
|
+
if id and not isinstance(id, str):
|
|
27
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
28
|
+
pulumi.set(__self__, "id", id)
|
|
29
|
+
if like and not isinstance(like, str):
|
|
30
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
31
|
+
pulumi.set(__self__, "like", like)
|
|
32
|
+
if network_policies and not isinstance(network_policies, list):
|
|
33
|
+
raise TypeError("Expected argument 'network_policies' to be a list")
|
|
34
|
+
pulumi.set(__self__, "network_policies", network_policies)
|
|
35
|
+
if with_describe and not isinstance(with_describe, bool):
|
|
36
|
+
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
37
|
+
pulumi.set(__self__, "with_describe", with_describe)
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
@pulumi.getter
|
|
41
|
+
def id(self) -> str:
|
|
42
|
+
"""
|
|
43
|
+
The provider-assigned unique ID for this managed resource.
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "id")
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def like(self) -> Optional[str]:
|
|
50
|
+
"""
|
|
51
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "like")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter(name="networkPolicies")
|
|
57
|
+
def network_policies(self) -> Sequence['outputs.GetNetworkPoliciesNetworkPolicyResult']:
|
|
58
|
+
"""
|
|
59
|
+
Holds the aggregated output of all network policies details queries.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "network_policies")
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter(name="withDescribe")
|
|
65
|
+
def with_describe(self) -> Optional[bool]:
|
|
66
|
+
"""
|
|
67
|
+
Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "with_describe")
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class AwaitableGetNetworkPoliciesResult(GetNetworkPoliciesResult):
|
|
73
|
+
# pylint: disable=using-constant-test
|
|
74
|
+
def __await__(self):
|
|
75
|
+
if False:
|
|
76
|
+
yield self
|
|
77
|
+
return GetNetworkPoliciesResult(
|
|
78
|
+
id=self.id,
|
|
79
|
+
like=self.like,
|
|
80
|
+
network_policies=self.network_policies,
|
|
81
|
+
with_describe=self.with_describe)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def get_network_policies(like: Optional[str] = None,
|
|
85
|
+
with_describe: Optional[bool] = None,
|
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkPoliciesResult:
|
|
87
|
+
"""
|
|
88
|
+
!> **V1 release candidate** This data source 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
89
|
+
|
|
90
|
+
Datasource used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
94
|
+
:param bool with_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
95
|
+
"""
|
|
96
|
+
__args__ = dict()
|
|
97
|
+
__args__['like'] = like
|
|
98
|
+
__args__['withDescribe'] = with_describe
|
|
99
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
100
|
+
__ret__ = pulumi.runtime.invoke('snowflake:index/getNetworkPolicies:getNetworkPolicies', __args__, opts=opts, typ=GetNetworkPoliciesResult).value
|
|
101
|
+
|
|
102
|
+
return AwaitableGetNetworkPoliciesResult(
|
|
103
|
+
id=pulumi.get(__ret__, 'id'),
|
|
104
|
+
like=pulumi.get(__ret__, 'like'),
|
|
105
|
+
network_policies=pulumi.get(__ret__, 'network_policies'),
|
|
106
|
+
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
@_utilities.lift_output_func(get_network_policies)
|
|
110
|
+
def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
+
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
112
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPoliciesResult]:
|
|
113
|
+
"""
|
|
114
|
+
!> **V1 release candidate** This data source 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
115
|
+
|
|
116
|
+
Datasource used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
120
|
+
:param bool with_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
121
|
+
"""
|
|
122
|
+
...
|