pulumi-snowflake 1.2.0a1744439488__py3-none-any.whl → 1.2.0a1744642997__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 +27 -27
- pulumi_snowflake/account.py +7 -7
- pulumi_snowflake/alert.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +7 -7
- pulumi_snowflake/api_integration.py +35 -35
- pulumi_snowflake/authentication_policy.py +7 -7
- pulumi_snowflake/dynamic_table.py +21 -21
- pulumi_snowflake/external_function.py +28 -28
- pulumi_snowflake/external_table.py +21 -21
- pulumi_snowflake/external_volume.py +13 -9
- pulumi_snowflake/failover_group.py +7 -7
- pulumi_snowflake/function_java.py +14 -14
- pulumi_snowflake/function_javascript.py +14 -14
- pulumi_snowflake/function_python.py +21 -21
- pulumi_snowflake/function_scala.py +14 -14
- pulumi_snowflake/function_sql.py +14 -14
- pulumi_snowflake/get_alerts.py +6 -2
- pulumi_snowflake/get_cortex_search_services.py +6 -2
- pulumi_snowflake/get_current_account.py +6 -2
- pulumi_snowflake/get_current_role.py +6 -2
- pulumi_snowflake/get_database.py +6 -2
- pulumi_snowflake/get_database_role.py +6 -2
- pulumi_snowflake/get_databases.py +6 -6
- pulumi_snowflake/get_dynamic_tables.py +6 -2
- pulumi_snowflake/get_external_functions.py +6 -2
- pulumi_snowflake/get_external_tables.py +6 -2
- pulumi_snowflake/get_failover_groups.py +6 -2
- pulumi_snowflake/get_file_formats.py +6 -2
- pulumi_snowflake/get_functions.py +6 -2
- pulumi_snowflake/get_grants.py +4 -0
- pulumi_snowflake/get_masking_policies.py +3 -3
- pulumi_snowflake/get_materialized_views.py +6 -2
- pulumi_snowflake/get_network_policies.py +3 -3
- pulumi_snowflake/get_parameters.py +9 -5
- pulumi_snowflake/get_pipes.py +6 -2
- pulumi_snowflake/get_procedures.py +6 -2
- pulumi_snowflake/get_row_access_policies.py +3 -3
- pulumi_snowflake/get_schemas.py +6 -6
- pulumi_snowflake/get_secrets.py +7 -3
- pulumi_snowflake/get_security_integrations.py +3 -3
- pulumi_snowflake/get_sequences.py +6 -2
- pulumi_snowflake/get_shares.py +6 -2
- pulumi_snowflake/get_stages.py +6 -2
- pulumi_snowflake/get_storage_integrations.py +6 -2
- pulumi_snowflake/get_streamlits.py +3 -3
- pulumi_snowflake/get_streams.py +3 -3
- pulumi_snowflake/get_system_generate_scim_access_token.py +6 -2
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +4 -0
- pulumi_snowflake/get_system_get_private_link_config.py +6 -2
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +6 -2
- pulumi_snowflake/get_tables.py +6 -2
- pulumi_snowflake/get_tasks.py +3 -3
- pulumi_snowflake/get_users.py +6 -6
- pulumi_snowflake/get_views.py +3 -3
- pulumi_snowflake/get_warehouses.py +6 -6
- pulumi_snowflake/grant_privileges_to_account_role.py +28 -28
- pulumi_snowflake/grant_privileges_to_database_role.py +21 -21
- pulumi_snowflake/legacy_service_user.py +21 -21
- pulumi_snowflake/managed_account.py +7 -7
- pulumi_snowflake/masking_policy.py +7 -7
- pulumi_snowflake/materialized_view.py +14 -14
- pulumi_snowflake/network_policy_attachment.py +7 -7
- pulumi_snowflake/notification_integration.py +20 -7
- pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -35
- pulumi_snowflake/oauth_integration_for_partner_applications.py +21 -21
- pulumi_snowflake/object_parameter.py +7 -7
- pulumi_snowflake/outputs.py +18 -18
- pulumi_snowflake/password_policy.py +97 -93
- pulumi_snowflake/pipe.py +7 -7
- pulumi_snowflake/procedure_java.py +14 -14
- pulumi_snowflake/procedure_javascript.py +14 -14
- pulumi_snowflake/procedure_python.py +14 -14
- pulumi_snowflake/procedure_scala.py +14 -14
- pulumi_snowflake/procedure_sql.py +14 -14
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/saml2_integration.py +28 -28
- pulumi_snowflake/schema.py +14 -14
- pulumi_snowflake/scim_integration.py +7 -7
- pulumi_snowflake/sequence.py +21 -21
- pulumi_snowflake/service_user.py +14 -14
- pulumi_snowflake/storage_integration.py +65 -0
- pulumi_snowflake/stream_on_external_table.py +7 -7
- pulumi_snowflake/stream_on_table.py +7 -7
- pulumi_snowflake/stream_on_view.py +7 -7
- pulumi_snowflake/table.py +14 -14
- pulumi_snowflake/table_constraint.py +42 -42
- pulumi_snowflake/tag_association.py +7 -7
- pulumi_snowflake/task.py +7 -7
- pulumi_snowflake/user.py +21 -21
- pulumi_snowflake/view.py +14 -14
- pulumi_snowflake/warehouse.py +28 -28
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.2.0a1744642997.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744642997.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1744439488.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.2.0a1744642997.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.2.0a1744642997.dist-info}/top_level.txt +0 -0
pulumi_snowflake/user.py
CHANGED
|
@@ -120,9 +120,9 @@ class UserArgs:
|
|
|
120
120
|
:param pulumi.Input[builtins.str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
|
|
121
121
|
:param pulumi.Input[builtins.str] default_namespace: Specifies the namespace (database only or database and schema) that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the namespace exists.
|
|
122
122
|
:param pulumi.Input[builtins.str] default_role: Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
123
|
-
:param pulumi.Input[builtins.str] default_secondary_roles_option: Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
123
|
+
:param pulumi.Input[builtins.str] default_secondary_roles_option: (Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
124
124
|
:param pulumi.Input[builtins.str] default_warehouse: Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
125
|
-
:param pulumi.Input[builtins.str] disabled: Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
125
|
+
:param pulumi.Input[builtins.str] disabled: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
126
126
|
:param pulumi.Input[builtins.str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
127
127
|
:param pulumi.Input[builtins.str] email: Email address for the user.
|
|
128
128
|
:param pulumi.Input[builtins.bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
|
|
@@ -142,7 +142,7 @@ class UserArgs:
|
|
|
142
142
|
:param pulumi.Input[builtins.str] login_name: The name users use to log in. If not supplied, snowflake will use name instead. Login names are always case-insensitive.
|
|
143
143
|
:param pulumi.Input[builtins.str] middle_name: Middle name of the user.
|
|
144
144
|
:param pulumi.Input[builtins.int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
|
|
145
|
-
:param pulumi.Input[builtins.str] must_change_password: Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
145
|
+
:param pulumi.Input[builtins.str] must_change_password: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
146
146
|
:param pulumi.Input[builtins.str] name: Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
147
147
|
:param pulumi.Input[builtins.str] network_policy: Specifies the network policy to enforce for your account. Network policies enable restricting access to your account based on users’ IP address. For more details, see [Controlling network traffic with network policies](https://docs.snowflake.com/en/user-guide/network-policies). Any existing network policy (created using [CREATE NETWORK POLICY](https://docs.snowflake.com/en/sql-reference/sql/create-network-policy)). For more information, check [NETWORK_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#network-policy).
|
|
148
148
|
:param pulumi.Input[builtins.bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
|
|
@@ -554,7 +554,7 @@ class UserArgs:
|
|
|
554
554
|
@pulumi.getter(name="defaultSecondaryRolesOption")
|
|
555
555
|
def default_secondary_roles_option(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
556
556
|
"""
|
|
557
|
-
Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
557
|
+
(Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
558
558
|
"""
|
|
559
559
|
return pulumi.get(self, "default_secondary_roles_option")
|
|
560
560
|
|
|
@@ -587,7 +587,7 @@ class UserArgs:
|
|
|
587
587
|
@pulumi.getter
|
|
588
588
|
def disabled(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
589
589
|
"""
|
|
590
|
-
Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
590
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
591
591
|
"""
|
|
592
592
|
return pulumi.get(self, "disabled")
|
|
593
593
|
|
|
@@ -845,7 +845,7 @@ class UserArgs:
|
|
|
845
845
|
@pulumi.getter(name="mustChangePassword")
|
|
846
846
|
def must_change_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
847
847
|
"""
|
|
848
|
-
Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
848
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
849
849
|
"""
|
|
850
850
|
return pulumi.get(self, "must_change_password")
|
|
851
851
|
|
|
@@ -1376,9 +1376,9 @@ class _UserState:
|
|
|
1376
1376
|
:param pulumi.Input[builtins.str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
|
|
1377
1377
|
:param pulumi.Input[builtins.str] default_namespace: Specifies the namespace (database only or database and schema) that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the namespace exists.
|
|
1378
1378
|
:param pulumi.Input[builtins.str] default_role: Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
1379
|
-
:param pulumi.Input[builtins.str] default_secondary_roles_option: Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
1379
|
+
:param pulumi.Input[builtins.str] default_secondary_roles_option: (Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
1380
1380
|
:param pulumi.Input[builtins.str] default_warehouse: Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
1381
|
-
:param pulumi.Input[builtins.str] disabled: Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
1381
|
+
:param pulumi.Input[builtins.str] disabled: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
1382
1382
|
:param pulumi.Input[builtins.str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
1383
1383
|
:param pulumi.Input[builtins.str] email: Email address for the user.
|
|
1384
1384
|
:param pulumi.Input[builtins.bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
|
|
@@ -1399,7 +1399,7 @@ class _UserState:
|
|
|
1399
1399
|
:param pulumi.Input[builtins.str] login_name: The name users use to log in. If not supplied, snowflake will use name instead. Login names are always case-insensitive.
|
|
1400
1400
|
:param pulumi.Input[builtins.str] middle_name: Middle name of the user.
|
|
1401
1401
|
:param pulumi.Input[builtins.int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
|
|
1402
|
-
:param pulumi.Input[builtins.str] must_change_password: Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
1402
|
+
:param pulumi.Input[builtins.str] must_change_password: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
1403
1403
|
:param pulumi.Input[builtins.str] name: Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1404
1404
|
:param pulumi.Input[builtins.str] network_policy: Specifies the network policy to enforce for your account. Network policies enable restricting access to your account based on users’ IP address. For more details, see [Controlling network traffic with network policies](https://docs.snowflake.com/en/user-guide/network-policies). Any existing network policy (created using [CREATE NETWORK POLICY](https://docs.snowflake.com/en/sql-reference/sql/create-network-policy)). For more information, check [NETWORK_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#network-policy).
|
|
1405
1405
|
:param pulumi.Input[builtins.bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
|
|
@@ -1822,7 +1822,7 @@ class _UserState:
|
|
|
1822
1822
|
@pulumi.getter(name="defaultSecondaryRolesOption")
|
|
1823
1823
|
def default_secondary_roles_option(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1824
1824
|
"""
|
|
1825
|
-
Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
1825
|
+
(Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
1826
1826
|
"""
|
|
1827
1827
|
return pulumi.get(self, "default_secondary_roles_option")
|
|
1828
1828
|
|
|
@@ -1855,7 +1855,7 @@ class _UserState:
|
|
|
1855
1855
|
@pulumi.getter
|
|
1856
1856
|
def disabled(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1857
1857
|
"""
|
|
1858
|
-
Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
1858
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
1859
1859
|
"""
|
|
1860
1860
|
return pulumi.get(self, "disabled")
|
|
1861
1861
|
|
|
@@ -2125,7 +2125,7 @@ class _UserState:
|
|
|
2125
2125
|
@pulumi.getter(name="mustChangePassword")
|
|
2126
2126
|
def must_change_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2127
2127
|
"""
|
|
2128
|
-
Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
2128
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
2129
2129
|
"""
|
|
2130
2130
|
return pulumi.get(self, "must_change_password")
|
|
2131
2131
|
|
|
@@ -2700,9 +2700,9 @@ class User(pulumi.CustomResource):
|
|
|
2700
2700
|
:param pulumi.Input[builtins.str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
|
|
2701
2701
|
:param pulumi.Input[builtins.str] default_namespace: Specifies the namespace (database only or database and schema) that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the namespace exists.
|
|
2702
2702
|
:param pulumi.Input[builtins.str] default_role: Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
2703
|
-
:param pulumi.Input[builtins.str] default_secondary_roles_option: Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
2703
|
+
:param pulumi.Input[builtins.str] default_secondary_roles_option: (Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
2704
2704
|
:param pulumi.Input[builtins.str] default_warehouse: Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
2705
|
-
:param pulumi.Input[builtins.str] disabled: Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
2705
|
+
:param pulumi.Input[builtins.str] disabled: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
2706
2706
|
:param pulumi.Input[builtins.str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
2707
2707
|
:param pulumi.Input[builtins.str] email: Email address for the user.
|
|
2708
2708
|
:param pulumi.Input[builtins.bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
|
|
@@ -2722,7 +2722,7 @@ class User(pulumi.CustomResource):
|
|
|
2722
2722
|
:param pulumi.Input[builtins.str] login_name: The name users use to log in. If not supplied, snowflake will use name instead. Login names are always case-insensitive.
|
|
2723
2723
|
:param pulumi.Input[builtins.str] middle_name: Middle name of the user.
|
|
2724
2724
|
:param pulumi.Input[builtins.int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
|
|
2725
|
-
:param pulumi.Input[builtins.str] must_change_password: Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
2725
|
+
:param pulumi.Input[builtins.str] must_change_password: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
2726
2726
|
:param pulumi.Input[builtins.str] name: Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
2727
2727
|
:param pulumi.Input[builtins.str] network_policy: Specifies the network policy to enforce for your account. Network policies enable restricting access to your account based on users’ IP address. For more details, see [Controlling network traffic with network policies](https://docs.snowflake.com/en/user-guide/network-policies). Any existing network policy (created using [CREATE NETWORK POLICY](https://docs.snowflake.com/en/sql-reference/sql/create-network-policy)). For more information, check [NETWORK_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#network-policy).
|
|
2728
2728
|
:param pulumi.Input[builtins.bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
|
|
@@ -3078,9 +3078,9 @@ class User(pulumi.CustomResource):
|
|
|
3078
3078
|
:param pulumi.Input[builtins.str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
|
|
3079
3079
|
:param pulumi.Input[builtins.str] default_namespace: Specifies the namespace (database only or database and schema) that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the namespace exists.
|
|
3080
3080
|
:param pulumi.Input[builtins.str] default_role: Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
3081
|
-
:param pulumi.Input[builtins.str] default_secondary_roles_option: Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
3081
|
+
:param pulumi.Input[builtins.str] default_secondary_roles_option: (Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
3082
3082
|
:param pulumi.Input[builtins.str] default_warehouse: Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
3083
|
-
:param pulumi.Input[builtins.str] disabled: Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
3083
|
+
:param pulumi.Input[builtins.str] disabled: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
3084
3084
|
:param pulumi.Input[builtins.str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
3085
3085
|
:param pulumi.Input[builtins.str] email: Email address for the user.
|
|
3086
3086
|
:param pulumi.Input[builtins.bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
|
|
@@ -3101,7 +3101,7 @@ class User(pulumi.CustomResource):
|
|
|
3101
3101
|
:param pulumi.Input[builtins.str] login_name: The name users use to log in. If not supplied, snowflake will use name instead. Login names are always case-insensitive.
|
|
3102
3102
|
:param pulumi.Input[builtins.str] middle_name: Middle name of the user.
|
|
3103
3103
|
:param pulumi.Input[builtins.int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
|
|
3104
|
-
:param pulumi.Input[builtins.str] must_change_password: Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
3104
|
+
:param pulumi.Input[builtins.str] must_change_password: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
3105
3105
|
:param pulumi.Input[builtins.str] name: Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
3106
3106
|
:param pulumi.Input[builtins.str] network_policy: Specifies the network policy to enforce for your account. Network policies enable restricting access to your account based on users’ IP address. For more details, see [Controlling network traffic with network policies](https://docs.snowflake.com/en/user-guide/network-policies). Any existing network policy (created using [CREATE NETWORK POLICY](https://docs.snowflake.com/en/sql-reference/sql/create-network-policy)). For more information, check [NETWORK_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#network-policy).
|
|
3107
3107
|
:param pulumi.Input[builtins.bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
|
|
@@ -3374,7 +3374,7 @@ class User(pulumi.CustomResource):
|
|
|
3374
3374
|
@pulumi.getter(name="defaultSecondaryRolesOption")
|
|
3375
3375
|
def default_secondary_roles_option(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3376
3376
|
"""
|
|
3377
|
-
Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
3377
|
+
(Default: `DEFAULT`) Specifies the secondary roles that are active for the user’s session upon login. Valid values are (case-insensitive): `DEFAULT` | `NONE` | `ALL`. More information can be found in [doc](https://docs.snowflake.com/en/sql-reference/sql/create-user#optional-object-properties-objectproperties).
|
|
3378
3378
|
"""
|
|
3379
3379
|
return pulumi.get(self, "default_secondary_roles_option")
|
|
3380
3380
|
|
|
@@ -3395,7 +3395,7 @@ class User(pulumi.CustomResource):
|
|
|
3395
3395
|
@pulumi.getter
|
|
3396
3396
|
def disabled(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3397
3397
|
"""
|
|
3398
|
-
Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
3398
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is disabled, which prevents logging in and aborts all the currently-running queries for the user. 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.
|
|
3399
3399
|
"""
|
|
3400
3400
|
return pulumi.get(self, "disabled")
|
|
3401
3401
|
|
|
@@ -3573,7 +3573,7 @@ class User(pulumi.CustomResource):
|
|
|
3573
3573
|
@pulumi.getter(name="mustChangePassword")
|
|
3574
3574
|
def must_change_password(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3575
3575
|
"""
|
|
3576
|
-
Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
3576
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system. 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.
|
|
3577
3577
|
"""
|
|
3578
3578
|
return pulumi.get(self, "must_change_password")
|
|
3579
3579
|
|
pulumi_snowflake/view.py
CHANGED
|
@@ -43,12 +43,12 @@ class ViewArgs:
|
|
|
43
43
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
44
44
|
:param pulumi.Input[builtins.str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
45
45
|
:param pulumi.Input['ViewAggregationPolicyArgs'] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
46
|
-
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. 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.
|
|
46
|
+
:param pulumi.Input[builtins.str] change_tracking: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
48
48
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
50
50
|
:param pulumi.Input['ViewDataMetricScheduleArgs'] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
51
|
-
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
51
|
+
:param pulumi.Input[builtins.str] is_recursive: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
52
52
|
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
53
53
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
54
54
|
"""
|
|
@@ -132,7 +132,7 @@ class ViewArgs:
|
|
|
132
132
|
@pulumi.getter(name="changeTracking")
|
|
133
133
|
def change_tracking(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
134
134
|
"""
|
|
135
|
-
Specifies to enable or disable change tracking on the table. 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.
|
|
135
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
136
136
|
"""
|
|
137
137
|
return pulumi.get(self, "change_tracking")
|
|
138
138
|
|
|
@@ -201,7 +201,7 @@ class ViewArgs:
|
|
|
201
201
|
@pulumi.getter(name="isRecursive")
|
|
202
202
|
def is_recursive(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
203
203
|
"""
|
|
204
|
-
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
204
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
205
205
|
"""
|
|
206
206
|
return pulumi.get(self, "is_recursive")
|
|
207
207
|
|
|
@@ -276,7 +276,7 @@ class _ViewState:
|
|
|
276
276
|
"""
|
|
277
277
|
Input properties used for looking up and filtering View resources.
|
|
278
278
|
:param pulumi.Input['ViewAggregationPolicyArgs'] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
279
|
-
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. 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.
|
|
279
|
+
:param pulumi.Input[builtins.str] change_tracking: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
280
280
|
:param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
281
281
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
282
282
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
@@ -284,7 +284,7 @@ class _ViewState:
|
|
|
284
284
|
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
285
285
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
286
286
|
:param pulumi.Input[builtins.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).
|
|
287
|
-
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
287
|
+
:param pulumi.Input[builtins.str] is_recursive: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
288
288
|
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
289
289
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
290
290
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -344,7 +344,7 @@ class _ViewState:
|
|
|
344
344
|
@pulumi.getter(name="changeTracking")
|
|
345
345
|
def change_tracking(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
346
346
|
"""
|
|
347
|
-
Specifies to enable or disable change tracking on the table. 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.
|
|
347
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
348
348
|
"""
|
|
349
349
|
return pulumi.get(self, "change_tracking")
|
|
350
350
|
|
|
@@ -449,7 +449,7 @@ class _ViewState:
|
|
|
449
449
|
@pulumi.getter(name="isRecursive")
|
|
450
450
|
def is_recursive(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
451
451
|
"""
|
|
452
|
-
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
452
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
453
453
|
"""
|
|
454
454
|
return pulumi.get(self, "is_recursive")
|
|
455
455
|
|
|
@@ -567,13 +567,13 @@ class View(pulumi.CustomResource):
|
|
|
567
567
|
:param str resource_name: The name of the resource.
|
|
568
568
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
569
569
|
:param pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
570
|
-
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. 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.
|
|
570
|
+
:param pulumi.Input[builtins.str] change_tracking: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
571
571
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
572
572
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
573
573
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
574
574
|
:param pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
575
575
|
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
576
|
-
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
576
|
+
:param pulumi.Input[builtins.str] is_recursive: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
577
577
|
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
578
578
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
579
579
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -691,7 +691,7 @@ class View(pulumi.CustomResource):
|
|
|
691
691
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
692
692
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
693
693
|
:param pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
694
|
-
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. 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.
|
|
694
|
+
:param pulumi.Input[builtins.str] change_tracking: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
695
695
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
696
696
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
697
697
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
@@ -699,7 +699,7 @@ class View(pulumi.CustomResource):
|
|
|
699
699
|
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
700
700
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDescribeOutputArgs', 'ViewDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
701
701
|
:param pulumi.Input[builtins.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).
|
|
702
|
-
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
702
|
+
:param pulumi.Input[builtins.str] is_recursive: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
703
703
|
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
704
704
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
705
705
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -742,7 +742,7 @@ class View(pulumi.CustomResource):
|
|
|
742
742
|
@pulumi.getter(name="changeTracking")
|
|
743
743
|
def change_tracking(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
744
744
|
"""
|
|
745
|
-
Specifies to enable or disable change tracking on the table. 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.
|
|
745
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies to enable or disable change tracking on the table. 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.
|
|
746
746
|
"""
|
|
747
747
|
return pulumi.get(self, "change_tracking")
|
|
748
748
|
|
|
@@ -811,7 +811,7 @@ class View(pulumi.CustomResource):
|
|
|
811
811
|
@pulumi.getter(name="isRecursive")
|
|
812
812
|
def is_recursive(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
813
813
|
"""
|
|
814
|
-
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
814
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). 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.
|
|
815
815
|
"""
|
|
816
816
|
return pulumi.get(self, "is_recursive")
|
|
817
817
|
|
pulumi_snowflake/warehouse.py
CHANGED
|
@@ -40,16 +40,16 @@ class WarehouseArgs:
|
|
|
40
40
|
warehouse_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
41
41
|
"""
|
|
42
42
|
The set of arguments for constructing a Warehouse resource.
|
|
43
|
-
:param pulumi.Input[builtins.str] auto_resume: Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
44
|
-
:param pulumi.Input[builtins.int] auto_suspend: Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
43
|
+
:param pulumi.Input[builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
44
|
+
:param pulumi.Input[builtins.int] auto_suspend: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
45
45
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the warehouse.
|
|
46
|
-
:param pulumi.Input[builtins.str] enable_query_acceleration: Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
46
|
+
:param pulumi.Input[builtins.str] enable_query_acceleration: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
47
47
|
:param pulumi.Input[builtins.bool] initially_suspended: Specifies whether the warehouse is created initially in the ‘Suspended’ state.
|
|
48
48
|
:param pulumi.Input[builtins.int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
49
49
|
:param pulumi.Input[builtins.int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
50
50
|
:param pulumi.Input[builtins.int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
51
51
|
:param pulumi.Input[builtins.str] name: Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
52
|
-
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
52
|
+
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
53
53
|
:param pulumi.Input[builtins.str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
54
54
|
:param pulumi.Input[builtins.str] scaling_policy: Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): `STANDARD` | `ECONOMY`.
|
|
55
55
|
:param pulumi.Input[builtins.int] statement_queued_timeout_in_seconds: Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
|
|
@@ -94,7 +94,7 @@ class WarehouseArgs:
|
|
|
94
94
|
@pulumi.getter(name="autoResume")
|
|
95
95
|
def auto_resume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
96
96
|
"""
|
|
97
|
-
Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
97
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
98
98
|
"""
|
|
99
99
|
return pulumi.get(self, "auto_resume")
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ class WarehouseArgs:
|
|
|
106
106
|
@pulumi.getter(name="autoSuspend")
|
|
107
107
|
def auto_suspend(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
108
108
|
"""
|
|
109
|
-
Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
109
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "auto_suspend")
|
|
112
112
|
|
|
@@ -130,7 +130,7 @@ class WarehouseArgs:
|
|
|
130
130
|
@pulumi.getter(name="enableQueryAcceleration")
|
|
131
131
|
def enable_query_acceleration(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
132
|
"""
|
|
133
|
-
Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
133
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "enable_query_acceleration")
|
|
136
136
|
|
|
@@ -202,7 +202,7 @@ class WarehouseArgs:
|
|
|
202
202
|
@pulumi.getter(name="queryAccelerationMaxScaleFactor")
|
|
203
203
|
def query_acceleration_max_scale_factor(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
204
204
|
"""
|
|
205
|
-
Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
205
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
206
206
|
"""
|
|
207
207
|
return pulumi.get(self, "query_acceleration_max_scale_factor")
|
|
208
208
|
|
|
@@ -307,10 +307,10 @@ class _WarehouseState:
|
|
|
307
307
|
warehouse_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
308
308
|
"""
|
|
309
309
|
Input properties used for looking up and filtering Warehouse resources.
|
|
310
|
-
:param pulumi.Input[builtins.str] auto_resume: Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
311
|
-
:param pulumi.Input[builtins.int] auto_suspend: Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
310
|
+
:param pulumi.Input[builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
311
|
+
:param pulumi.Input[builtins.int] auto_suspend: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
312
312
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the warehouse.
|
|
313
|
-
:param pulumi.Input[builtins.str] enable_query_acceleration: Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
313
|
+
:param pulumi.Input[builtins.str] enable_query_acceleration: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
314
314
|
:param pulumi.Input[builtins.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).
|
|
315
315
|
:param pulumi.Input[builtins.bool] initially_suspended: Specifies whether the warehouse is created initially in the ‘Suspended’ state.
|
|
316
316
|
:param pulumi.Input[builtins.int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
@@ -318,7 +318,7 @@ class _WarehouseState:
|
|
|
318
318
|
:param pulumi.Input[builtins.int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
319
319
|
:param pulumi.Input[builtins.str] name: Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
320
320
|
:param pulumi.Input[Sequence[pulumi.Input['WarehouseParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given warehouse.
|
|
321
|
-
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
321
|
+
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
322
322
|
:param pulumi.Input[builtins.str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
323
323
|
:param pulumi.Input[builtins.str] scaling_policy: Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): `STANDARD` | `ECONOMY`.
|
|
324
324
|
:param pulumi.Input[Sequence[pulumi.Input['WarehouseShowOutputArgs']]] show_outputs: Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
@@ -370,7 +370,7 @@ class _WarehouseState:
|
|
|
370
370
|
@pulumi.getter(name="autoResume")
|
|
371
371
|
def auto_resume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
372
372
|
"""
|
|
373
|
-
Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
373
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
374
374
|
"""
|
|
375
375
|
return pulumi.get(self, "auto_resume")
|
|
376
376
|
|
|
@@ -382,7 +382,7 @@ class _WarehouseState:
|
|
|
382
382
|
@pulumi.getter(name="autoSuspend")
|
|
383
383
|
def auto_suspend(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
384
384
|
"""
|
|
385
|
-
Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
385
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
386
386
|
"""
|
|
387
387
|
return pulumi.get(self, "auto_suspend")
|
|
388
388
|
|
|
@@ -406,7 +406,7 @@ class _WarehouseState:
|
|
|
406
406
|
@pulumi.getter(name="enableQueryAcceleration")
|
|
407
407
|
def enable_query_acceleration(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
408
408
|
"""
|
|
409
|
-
Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
409
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
410
410
|
"""
|
|
411
411
|
return pulumi.get(self, "enable_query_acceleration")
|
|
412
412
|
|
|
@@ -502,7 +502,7 @@ class _WarehouseState:
|
|
|
502
502
|
@pulumi.getter(name="queryAccelerationMaxScaleFactor")
|
|
503
503
|
def query_acceleration_max_scale_factor(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
504
504
|
"""
|
|
505
|
-
Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
505
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
506
506
|
"""
|
|
507
507
|
return pulumi.get(self, "query_acceleration_max_scale_factor")
|
|
508
508
|
|
|
@@ -626,16 +626,16 @@ class Warehouse(pulumi.CustomResource):
|
|
|
626
626
|
|
|
627
627
|
:param str resource_name: The name of the resource.
|
|
628
628
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
629
|
-
:param pulumi.Input[builtins.str] auto_resume: Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
630
|
-
:param pulumi.Input[builtins.int] auto_suspend: Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
629
|
+
:param pulumi.Input[builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
630
|
+
:param pulumi.Input[builtins.int] auto_suspend: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
631
631
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the warehouse.
|
|
632
|
-
:param pulumi.Input[builtins.str] enable_query_acceleration: Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
632
|
+
:param pulumi.Input[builtins.str] enable_query_acceleration: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
633
633
|
:param pulumi.Input[builtins.bool] initially_suspended: Specifies whether the warehouse is created initially in the ‘Suspended’ state.
|
|
634
634
|
:param pulumi.Input[builtins.int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
635
635
|
:param pulumi.Input[builtins.int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
636
636
|
:param pulumi.Input[builtins.int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
637
637
|
:param pulumi.Input[builtins.str] name: Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
638
|
-
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
638
|
+
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
639
639
|
:param pulumi.Input[builtins.str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
640
640
|
:param pulumi.Input[builtins.str] scaling_policy: Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): `STANDARD` | `ECONOMY`.
|
|
641
641
|
:param pulumi.Input[builtins.int] statement_queued_timeout_in_seconds: Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
|
|
@@ -751,10 +751,10 @@ class Warehouse(pulumi.CustomResource):
|
|
|
751
751
|
:param str resource_name: The unique name of the resulting resource.
|
|
752
752
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
753
753
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
754
|
-
:param pulumi.Input[builtins.str] auto_resume: Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
755
|
-
:param pulumi.Input[builtins.int] auto_suspend: Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
754
|
+
:param pulumi.Input[builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
755
|
+
:param pulumi.Input[builtins.int] auto_suspend: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
756
756
|
:param pulumi.Input[builtins.str] comment: Specifies a comment for the warehouse.
|
|
757
|
-
:param pulumi.Input[builtins.str] enable_query_acceleration: Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
757
|
+
:param pulumi.Input[builtins.str] enable_query_acceleration: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
758
758
|
:param pulumi.Input[builtins.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).
|
|
759
759
|
:param pulumi.Input[builtins.bool] initially_suspended: Specifies whether the warehouse is created initially in the ‘Suspended’ state.
|
|
760
760
|
:param pulumi.Input[builtins.int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
@@ -762,7 +762,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
762
762
|
:param pulumi.Input[builtins.int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
763
763
|
:param pulumi.Input[builtins.str] name: Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
764
764
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WarehouseParameterArgs', 'WarehouseParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given warehouse.
|
|
765
|
-
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
765
|
+
:param pulumi.Input[builtins.int] query_acceleration_max_scale_factor: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
766
766
|
:param pulumi.Input[builtins.str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
767
767
|
:param pulumi.Input[builtins.str] scaling_policy: Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): `STANDARD` | `ECONOMY`.
|
|
768
768
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WarehouseShowOutputArgs', 'WarehouseShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
@@ -800,7 +800,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
800
800
|
@pulumi.getter(name="autoResume")
|
|
801
801
|
def auto_resume(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
802
802
|
"""
|
|
803
|
-
Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
803
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. 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.
|
|
804
804
|
"""
|
|
805
805
|
return pulumi.get(self, "auto_resume")
|
|
806
806
|
|
|
@@ -808,7 +808,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
808
808
|
@pulumi.getter(name="autoSuspend")
|
|
809
809
|
def auto_suspend(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
810
810
|
"""
|
|
811
|
-
Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
811
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
|
|
812
812
|
"""
|
|
813
813
|
return pulumi.get(self, "auto_suspend")
|
|
814
814
|
|
|
@@ -824,7 +824,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
824
824
|
@pulumi.getter(name="enableQueryAcceleration")
|
|
825
825
|
def enable_query_acceleration(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
826
826
|
"""
|
|
827
|
-
Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
827
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. 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.
|
|
828
828
|
"""
|
|
829
829
|
return pulumi.get(self, "enable_query_acceleration")
|
|
830
830
|
|
|
@@ -888,7 +888,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
888
888
|
@pulumi.getter(name="queryAccelerationMaxScaleFactor")
|
|
889
889
|
def query_acceleration_max_scale_factor(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
890
890
|
"""
|
|
891
|
-
Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
891
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
|
|
892
892
|
"""
|
|
893
893
|
return pulumi.get(self, "query_acceleration_max_scale_factor")
|
|
894
894
|
|