pulumi-snowflake 0.63.0a1734416430__py3-none-any.whl → 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +82 -74
- pulumi_snowflake/_inputs.py +12705 -4876
- pulumi_snowflake/account.py +156 -163
- pulumi_snowflake/account_parameter.py +16 -16
- pulumi_snowflake/account_role.py +9 -9
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +9 -22
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +9 -22
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +9 -22
- pulumi_snowflake/authentication_policy.py +21 -21
- pulumi_snowflake/config/__init__.pyi +8 -86
- pulumi_snowflake/config/vars.py +10 -110
- pulumi_snowflake/database.py +9 -9
- pulumi_snowflake/database_role.py +14 -14
- pulumi_snowflake/{unsafe_execute.py → execute.py} +35 -25
- pulumi_snowflake/external_oauth_integration.py +27 -27
- pulumi_snowflake/external_volume.py +11 -7
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +41 -19
- pulumi_snowflake/get_alerts.py +4 -0
- pulumi_snowflake/get_connections.py +2 -40
- pulumi_snowflake/get_cortex_search_services.py +4 -0
- pulumi_snowflake/get_current_account.py +4 -0
- pulumi_snowflake/get_current_role.py +2 -2
- pulumi_snowflake/get_database.py +4 -0
- pulumi_snowflake/get_database_role.py +4 -0
- pulumi_snowflake/get_database_roles.py +2 -6
- pulumi_snowflake/get_databases.py +2 -6
- pulumi_snowflake/get_dynamic_tables.py +4 -2
- pulumi_snowflake/get_external_functions.py +4 -0
- pulumi_snowflake/get_external_tables.py +4 -0
- pulumi_snowflake/get_failover_groups.py +4 -2
- pulumi_snowflake/get_file_formats.py +4 -0
- pulumi_snowflake/get_functions.py +4 -0
- pulumi_snowflake/get_grants.py +0 -4
- pulumi_snowflake/get_masking_policies.py +2 -6
- pulumi_snowflake/get_materialized_views.py +4 -0
- pulumi_snowflake/get_network_policies.py +2 -6
- pulumi_snowflake/get_parameters.py +4 -0
- pulumi_snowflake/get_pipes.py +4 -0
- pulumi_snowflake/get_procedures.py +4 -0
- pulumi_snowflake/get_resource_monitors.py +2 -6
- pulumi_snowflake/get_row_access_policies.py +2 -6
- pulumi_snowflake/get_schemas.py +6 -4
- pulumi_snowflake/get_secrets.py +2 -6
- pulumi_snowflake/get_security_integrations.py +2 -6
- pulumi_snowflake/get_sequences.py +4 -0
- pulumi_snowflake/get_shares.py +4 -0
- pulumi_snowflake/get_stages.py +4 -0
- pulumi_snowflake/get_storage_integrations.py +4 -0
- pulumi_snowflake/get_streamlits.py +2 -6
- pulumi_snowflake/get_streams.py +2 -6
- pulumi_snowflake/get_system_generate_scim_access_token.py +4 -0
- pulumi_snowflake/get_system_get_private_link_config.py +4 -0
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +2 -2
- pulumi_snowflake/get_tables.py +4 -0
- pulumi_snowflake/get_tags.py +2 -6
- pulumi_snowflake/get_tasks.py +0 -4
- pulumi_snowflake/get_users.py +2 -6
- pulumi_snowflake/get_views.py +2 -6
- pulumi_snowflake/get_warehouses.py +2 -6
- pulumi_snowflake/grant_account_role.py +21 -21
- pulumi_snowflake/grant_application_role.py +7 -7
- pulumi_snowflake/grant_database_role.py +28 -28
- pulumi_snowflake/grant_ownership.py +14 -14
- pulumi_snowflake/grant_privileges_to_account_role.py +14 -14
- pulumi_snowflake/grant_privileges_to_database_role.py +14 -14
- pulumi_snowflake/grant_privileges_to_share.py +42 -42
- pulumi_snowflake/legacy_service_user.py +21 -21
- pulumi_snowflake/masking_policy.py +21 -21
- pulumi_snowflake/network_policy.py +23 -23
- pulumi_snowflake/oauth_integration_for_custom_clients.py +73 -46
- pulumi_snowflake/oauth_integration_for_partner_applications.py +57 -30
- pulumi_snowflake/outputs.py +10029 -4056
- pulumi_snowflake/password_policy.py +12 -2
- pulumi_snowflake/primary_connection.py +16 -16
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +40 -527
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +16 -20
- pulumi_snowflake/row_access_policy.py +21 -21
- pulumi_snowflake/saml2_integration.py +9 -9
- pulumi_snowflake/schema.py +14 -18
- pulumi_snowflake/scim_integration.py +16 -16
- pulumi_snowflake/secondary_connection.py +16 -16
- pulumi_snowflake/secondary_database.py +16 -16
- pulumi_snowflake/secret_with_authorization_code_grant.py +28 -28
- pulumi_snowflake/secret_with_basic_authentication.py +21 -21
- pulumi_snowflake/secret_with_client_credentials.py +28 -28
- pulumi_snowflake/secret_with_generic_string.py +21 -21
- pulumi_snowflake/service_user.py +21 -21
- pulumi_snowflake/shared_database.py +16 -16
- pulumi_snowflake/stream_on_directory_table.py +28 -41
- pulumi_snowflake/stream_on_external_table.py +28 -41
- pulumi_snowflake/stream_on_table.py +28 -41
- pulumi_snowflake/stream_on_view.py +28 -41
- pulumi_snowflake/streamlit.py +42 -46
- pulumi_snowflake/tag.py +28 -28
- pulumi_snowflake/tag_association.py +28 -86
- pulumi_snowflake/task.py +58 -62
- pulumi_snowflake/user.py +21 -21
- pulumi_snowflake/view.py +28 -41
- pulumi_snowflake/warehouse.py +16 -16
- {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.0.0.dist-info/RECORD +148 -0
- pulumi_snowflake/database_old.py +0 -489
- pulumi_snowflake/function.py +0 -901
- pulumi_snowflake/get_role.py +0 -126
- pulumi_snowflake/get_roles.py +0 -133
- pulumi_snowflake/oauth_integration.py +0 -610
- pulumi_snowflake/procedure.py +0 -910
- pulumi_snowflake/role.py +0 -250
- pulumi_snowflake/saml_integration.py +0 -916
- pulumi_snowflake/session_parameter.py +0 -301
- pulumi_snowflake/stream.py +0 -643
- pulumi_snowflake/tag_masking_policy_association.py +0 -211
- pulumi_snowflake-0.63.0a1734416430.dist-info/RECORD +0 -148
- {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.63.0a1734416430.dist-info → pulumi_snowflake-1.0.0.dist-info}/top_level.txt +0 -0
pulumi_snowflake/user.py
CHANGED
|
@@ -118,9 +118,9 @@ class UserArgs:
|
|
|
118
118
|
:param pulumi.Input[str] date_input_format: Specifies the input 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*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
|
|
119
119
|
:param pulumi.Input[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).
|
|
120
120
|
:param pulumi.Input[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.
|
|
121
|
-
:param pulumi.Input[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.
|
|
121
|
+
:param pulumi.Input[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.
|
|
122
122
|
:param pulumi.Input[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[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.
|
|
123
|
+
:param pulumi.Input[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.
|
|
124
124
|
:param pulumi.Input[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
125
|
:param pulumi.Input[str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
126
126
|
:param pulumi.Input[str] email: Email address for the user.
|
|
@@ -142,7 +142,7 @@ class UserArgs:
|
|
|
142
142
|
:param pulumi.Input[str] middle_name: Middle name of the user.
|
|
143
143
|
:param pulumi.Input[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).
|
|
144
144
|
:param pulumi.Input[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[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: `|`, `.`, `"
|
|
145
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
146
146
|
:param pulumi.Input[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).
|
|
147
147
|
:param pulumi.Input[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).
|
|
148
148
|
:param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
|
|
@@ -541,7 +541,7 @@ class UserArgs:
|
|
|
541
541
|
@pulumi.getter(name="defaultRole")
|
|
542
542
|
def default_role(self) -> Optional[pulumi.Input[str]]:
|
|
543
543
|
"""
|
|
544
|
-
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.
|
|
544
|
+
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.
|
|
545
545
|
"""
|
|
546
546
|
return pulumi.get(self, "default_role")
|
|
547
547
|
|
|
@@ -565,7 +565,7 @@ class UserArgs:
|
|
|
565
565
|
@pulumi.getter(name="defaultWarehouse")
|
|
566
566
|
def default_warehouse(self) -> Optional[pulumi.Input[str]]:
|
|
567
567
|
"""
|
|
568
|
-
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.
|
|
568
|
+
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.
|
|
569
569
|
"""
|
|
570
570
|
return pulumi.get(self, "default_warehouse")
|
|
571
571
|
|
|
@@ -856,7 +856,7 @@ class UserArgs:
|
|
|
856
856
|
@pulumi.getter
|
|
857
857
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
858
858
|
"""
|
|
859
|
-
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: `|`, `.`, `"
|
|
859
|
+
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: `|`, `.`, `"`.
|
|
860
860
|
"""
|
|
861
861
|
return pulumi.get(self, "name")
|
|
862
862
|
|
|
@@ -1374,9 +1374,9 @@ class _UserState:
|
|
|
1374
1374
|
:param pulumi.Input[str] date_input_format: Specifies the input 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*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
|
|
1375
1375
|
:param pulumi.Input[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).
|
|
1376
1376
|
:param pulumi.Input[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.
|
|
1377
|
-
:param pulumi.Input[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.
|
|
1377
|
+
:param pulumi.Input[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.
|
|
1378
1378
|
:param pulumi.Input[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[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.
|
|
1379
|
+
:param pulumi.Input[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.
|
|
1380
1380
|
:param pulumi.Input[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
1381
|
:param pulumi.Input[str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
1382
1382
|
:param pulumi.Input[str] email: Email address for the user.
|
|
@@ -1399,7 +1399,7 @@ class _UserState:
|
|
|
1399
1399
|
:param pulumi.Input[str] middle_name: Middle name of the user.
|
|
1400
1400
|
:param pulumi.Input[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).
|
|
1401
1401
|
:param pulumi.Input[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[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: `|`, `.`, `"
|
|
1402
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
1403
1403
|
:param pulumi.Input[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).
|
|
1404
1404
|
:param pulumi.Input[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).
|
|
1405
1405
|
:param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
|
|
@@ -1809,7 +1809,7 @@ class _UserState:
|
|
|
1809
1809
|
@pulumi.getter(name="defaultRole")
|
|
1810
1810
|
def default_role(self) -> Optional[pulumi.Input[str]]:
|
|
1811
1811
|
"""
|
|
1812
|
-
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.
|
|
1812
|
+
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.
|
|
1813
1813
|
"""
|
|
1814
1814
|
return pulumi.get(self, "default_role")
|
|
1815
1815
|
|
|
@@ -1833,7 +1833,7 @@ class _UserState:
|
|
|
1833
1833
|
@pulumi.getter(name="defaultWarehouse")
|
|
1834
1834
|
def default_warehouse(self) -> Optional[pulumi.Input[str]]:
|
|
1835
1835
|
"""
|
|
1836
|
-
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.
|
|
1836
|
+
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.
|
|
1837
1837
|
"""
|
|
1838
1838
|
return pulumi.get(self, "default_warehouse")
|
|
1839
1839
|
|
|
@@ -2136,7 +2136,7 @@ class _UserState:
|
|
|
2136
2136
|
@pulumi.getter
|
|
2137
2137
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2138
2138
|
"""
|
|
2139
|
-
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: `|`, `.`, `"
|
|
2139
|
+
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: `|`, `.`, `"`.
|
|
2140
2140
|
"""
|
|
2141
2141
|
return pulumi.get(self, "name")
|
|
2142
2142
|
|
|
@@ -2698,9 +2698,9 @@ class User(pulumi.CustomResource):
|
|
|
2698
2698
|
:param pulumi.Input[str] date_input_format: Specifies the input 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*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
|
|
2699
2699
|
:param pulumi.Input[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).
|
|
2700
2700
|
:param pulumi.Input[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.
|
|
2701
|
-
:param pulumi.Input[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.
|
|
2701
|
+
:param pulumi.Input[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.
|
|
2702
2702
|
:param pulumi.Input[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[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.
|
|
2703
|
+
:param pulumi.Input[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.
|
|
2704
2704
|
:param pulumi.Input[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
2705
|
:param pulumi.Input[str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
2706
2706
|
:param pulumi.Input[str] email: Email address for the user.
|
|
@@ -2722,7 +2722,7 @@ class User(pulumi.CustomResource):
|
|
|
2722
2722
|
:param pulumi.Input[str] middle_name: Middle name of the user.
|
|
2723
2723
|
:param pulumi.Input[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).
|
|
2724
2724
|
:param pulumi.Input[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[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: `|`, `.`, `"
|
|
2725
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
2726
2726
|
:param pulumi.Input[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).
|
|
2727
2727
|
:param pulumi.Input[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).
|
|
2728
2728
|
:param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
|
|
@@ -3076,9 +3076,9 @@ class User(pulumi.CustomResource):
|
|
|
3076
3076
|
:param pulumi.Input[str] date_input_format: Specifies the input 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*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
|
|
3077
3077
|
:param pulumi.Input[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).
|
|
3078
3078
|
:param pulumi.Input[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.
|
|
3079
|
-
:param pulumi.Input[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.
|
|
3079
|
+
:param pulumi.Input[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.
|
|
3080
3080
|
:param pulumi.Input[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[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.
|
|
3081
|
+
:param pulumi.Input[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.
|
|
3082
3082
|
:param pulumi.Input[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
3083
|
:param pulumi.Input[str] display_name: Name displayed for the user in the Snowflake web interface.
|
|
3084
3084
|
:param pulumi.Input[str] email: Email address for the user.
|
|
@@ -3101,7 +3101,7 @@ class User(pulumi.CustomResource):
|
|
|
3101
3101
|
:param pulumi.Input[str] middle_name: Middle name of the user.
|
|
3102
3102
|
:param pulumi.Input[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).
|
|
3103
3103
|
:param pulumi.Input[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[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: `|`, `.`, `"
|
|
3104
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
3105
3105
|
:param pulumi.Input[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).
|
|
3106
3106
|
:param pulumi.Input[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).
|
|
3107
3107
|
:param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
|
|
@@ -3365,7 +3365,7 @@ class User(pulumi.CustomResource):
|
|
|
3365
3365
|
@pulumi.getter(name="defaultRole")
|
|
3366
3366
|
def default_role(self) -> pulumi.Output[Optional[str]]:
|
|
3367
3367
|
"""
|
|
3368
|
-
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.
|
|
3368
|
+
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.
|
|
3369
3369
|
"""
|
|
3370
3370
|
return pulumi.get(self, "default_role")
|
|
3371
3371
|
|
|
@@ -3381,7 +3381,7 @@ class User(pulumi.CustomResource):
|
|
|
3381
3381
|
@pulumi.getter(name="defaultWarehouse")
|
|
3382
3382
|
def default_warehouse(self) -> pulumi.Output[Optional[str]]:
|
|
3383
3383
|
"""
|
|
3384
|
-
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.
|
|
3384
|
+
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.
|
|
3385
3385
|
"""
|
|
3386
3386
|
return pulumi.get(self, "default_warehouse")
|
|
3387
3387
|
|
|
@@ -3580,7 +3580,7 @@ class User(pulumi.CustomResource):
|
|
|
3580
3580
|
@pulumi.getter
|
|
3581
3581
|
def name(self) -> pulumi.Output[str]:
|
|
3582
3582
|
"""
|
|
3583
|
-
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: `|`, `.`, `"
|
|
3583
|
+
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: `|`, `.`, `"`.
|
|
3584
3584
|
"""
|
|
3585
3585
|
return pulumi.get(self, "name")
|
|
3586
3586
|
|
pulumi_snowflake/view.py
CHANGED
|
@@ -38,18 +38,17 @@ class ViewArgs:
|
|
|
38
38
|
row_access_policy: Optional[pulumi.Input['ViewRowAccessPolicyArgs']] = None):
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a View resource.
|
|
41
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
42
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
43
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view.
|
|
41
|
+
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
42
|
+
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
|
+
:param pulumi.Input[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.
|
|
44
44
|
:param pulumi.Input['ViewAggregationPolicyArgs'] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
45
45
|
:param pulumi.Input[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
46
|
: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.
|
|
47
47
|
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
48
|
-
:param pulumi.Input[bool] copy_grants: Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
49
48
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
50
49
|
:param pulumi.Input['ViewDataMetricScheduleArgs'] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
51
50
|
:param pulumi.Input[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.
|
|
52
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
51
|
+
:param pulumi.Input[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
52
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
54
53
|
"""
|
|
55
54
|
pulumi.set(__self__, "database", database)
|
|
@@ -84,7 +83,7 @@ class ViewArgs:
|
|
|
84
83
|
@pulumi.getter
|
|
85
84
|
def database(self) -> pulumi.Input[str]:
|
|
86
85
|
"""
|
|
87
|
-
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
86
|
+
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
88
87
|
"""
|
|
89
88
|
return pulumi.get(self, "database")
|
|
90
89
|
|
|
@@ -96,7 +95,7 @@ class ViewArgs:
|
|
|
96
95
|
@pulumi.getter
|
|
97
96
|
def schema(self) -> pulumi.Input[str]:
|
|
98
97
|
"""
|
|
99
|
-
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
98
|
+
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "schema")
|
|
102
101
|
|
|
@@ -108,7 +107,7 @@ class ViewArgs:
|
|
|
108
107
|
@pulumi.getter
|
|
109
108
|
def statement(self) -> pulumi.Input[str]:
|
|
110
109
|
"""
|
|
111
|
-
Specifies the query used to create the view.
|
|
110
|
+
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.
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "statement")
|
|
114
113
|
|
|
@@ -167,9 +166,6 @@ class ViewArgs:
|
|
|
167
166
|
@property
|
|
168
167
|
@pulumi.getter(name="copyGrants")
|
|
169
168
|
def copy_grants(self) -> Optional[pulumi.Input[bool]]:
|
|
170
|
-
"""
|
|
171
|
-
Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
172
|
-
"""
|
|
173
169
|
return pulumi.get(self, "copy_grants")
|
|
174
170
|
|
|
175
171
|
@copy_grants.setter
|
|
@@ -234,7 +230,7 @@ class ViewArgs:
|
|
|
234
230
|
@pulumi.getter
|
|
235
231
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
236
232
|
"""
|
|
237
|
-
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: `|`, `.`, `"
|
|
233
|
+
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: `|`, `.`, `"`.
|
|
238
234
|
"""
|
|
239
235
|
return pulumi.get(self, "name")
|
|
240
236
|
|
|
@@ -282,18 +278,17 @@ class _ViewState:
|
|
|
282
278
|
:param pulumi.Input[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.
|
|
283
279
|
: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.
|
|
284
280
|
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
285
|
-
:param pulumi.Input[bool] copy_grants: Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
286
281
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
287
282
|
:param pulumi.Input['ViewDataMetricScheduleArgs'] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
288
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
283
|
+
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
289
284
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
290
285
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
291
286
|
:param pulumi.Input[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.
|
|
292
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
287
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
293
288
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
294
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
289
|
+
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
295
290
|
:param pulumi.Input[Sequence[pulumi.Input['ViewShowOutputArgs']]] show_outputs: Outputs the result of `SHOW VIEW` for the given view.
|
|
296
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view.
|
|
291
|
+
:param pulumi.Input[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.
|
|
297
292
|
"""
|
|
298
293
|
if aggregation_policy is not None:
|
|
299
294
|
pulumi.set(__self__, "aggregation_policy", aggregation_policy)
|
|
@@ -383,9 +378,6 @@ class _ViewState:
|
|
|
383
378
|
@property
|
|
384
379
|
@pulumi.getter(name="copyGrants")
|
|
385
380
|
def copy_grants(self) -> Optional[pulumi.Input[bool]]:
|
|
386
|
-
"""
|
|
387
|
-
Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
388
|
-
"""
|
|
389
381
|
return pulumi.get(self, "copy_grants")
|
|
390
382
|
|
|
391
383
|
@copy_grants.setter
|
|
@@ -420,7 +412,7 @@ class _ViewState:
|
|
|
420
412
|
@pulumi.getter
|
|
421
413
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
422
414
|
"""
|
|
423
|
-
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
415
|
+
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
424
416
|
"""
|
|
425
417
|
return pulumi.get(self, "database")
|
|
426
418
|
|
|
@@ -486,7 +478,7 @@ class _ViewState:
|
|
|
486
478
|
@pulumi.getter
|
|
487
479
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
488
480
|
"""
|
|
489
|
-
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: `|`, `.`, `"
|
|
481
|
+
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: `|`, `.`, `"`.
|
|
490
482
|
"""
|
|
491
483
|
return pulumi.get(self, "name")
|
|
492
484
|
|
|
@@ -510,7 +502,7 @@ class _ViewState:
|
|
|
510
502
|
@pulumi.getter
|
|
511
503
|
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
512
504
|
"""
|
|
513
|
-
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
505
|
+
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
514
506
|
"""
|
|
515
507
|
return pulumi.get(self, "schema")
|
|
516
508
|
|
|
@@ -534,7 +526,7 @@ class _ViewState:
|
|
|
534
526
|
@pulumi.getter
|
|
535
527
|
def statement(self) -> Optional[pulumi.Input[str]]:
|
|
536
528
|
"""
|
|
537
|
-
Specifies the query used to create the view.
|
|
529
|
+
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.
|
|
538
530
|
"""
|
|
539
531
|
return pulumi.get(self, "statement")
|
|
540
532
|
|
|
@@ -577,15 +569,14 @@ class View(pulumi.CustomResource):
|
|
|
577
569
|
:param pulumi.Input[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.
|
|
578
570
|
: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.
|
|
579
571
|
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
580
|
-
:param pulumi.Input[bool] copy_grants: Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
581
572
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
582
573
|
:param pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
583
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
574
|
+
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
584
575
|
:param pulumi.Input[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.
|
|
585
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
576
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
586
577
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
587
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
588
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view.
|
|
578
|
+
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
579
|
+
:param pulumi.Input[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.
|
|
589
580
|
"""
|
|
590
581
|
...
|
|
591
582
|
@overload
|
|
@@ -702,18 +693,17 @@ class View(pulumi.CustomResource):
|
|
|
702
693
|
:param pulumi.Input[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.
|
|
703
694
|
: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.
|
|
704
695
|
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
705
|
-
:param pulumi.Input[bool] copy_grants: Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
706
696
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
707
697
|
:param pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
708
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
698
|
+
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
709
699
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDescribeOutputArgs', 'ViewDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
710
700
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
711
701
|
:param pulumi.Input[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.
|
|
712
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
702
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
713
703
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
714
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
704
|
+
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
715
705
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewShowOutputArgs', 'ViewShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW VIEW` for the given view.
|
|
716
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view.
|
|
706
|
+
:param pulumi.Input[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.
|
|
717
707
|
"""
|
|
718
708
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
719
709
|
|
|
@@ -774,9 +764,6 @@ class View(pulumi.CustomResource):
|
|
|
774
764
|
@property
|
|
775
765
|
@pulumi.getter(name="copyGrants")
|
|
776
766
|
def copy_grants(self) -> pulumi.Output[Optional[bool]]:
|
|
777
|
-
"""
|
|
778
|
-
Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
779
|
-
"""
|
|
780
767
|
return pulumi.get(self, "copy_grants")
|
|
781
768
|
|
|
782
769
|
@property
|
|
@@ -799,7 +786,7 @@ class View(pulumi.CustomResource):
|
|
|
799
786
|
@pulumi.getter
|
|
800
787
|
def database(self) -> pulumi.Output[str]:
|
|
801
788
|
"""
|
|
802
|
-
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
789
|
+
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
803
790
|
"""
|
|
804
791
|
return pulumi.get(self, "database")
|
|
805
792
|
|
|
@@ -841,7 +828,7 @@ class View(pulumi.CustomResource):
|
|
|
841
828
|
@pulumi.getter
|
|
842
829
|
def name(self) -> pulumi.Output[str]:
|
|
843
830
|
"""
|
|
844
|
-
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: `|`, `.`, `"
|
|
831
|
+
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: `|`, `.`, `"`.
|
|
845
832
|
"""
|
|
846
833
|
return pulumi.get(self, "name")
|
|
847
834
|
|
|
@@ -857,7 +844,7 @@ class View(pulumi.CustomResource):
|
|
|
857
844
|
@pulumi.getter
|
|
858
845
|
def schema(self) -> pulumi.Output[str]:
|
|
859
846
|
"""
|
|
860
|
-
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
847
|
+
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
861
848
|
"""
|
|
862
849
|
return pulumi.get(self, "schema")
|
|
863
850
|
|
|
@@ -873,7 +860,7 @@ class View(pulumi.CustomResource):
|
|
|
873
860
|
@pulumi.getter
|
|
874
861
|
def statement(self) -> pulumi.Output[str]:
|
|
875
862
|
"""
|
|
876
|
-
Specifies the query used to create the view.
|
|
863
|
+
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.
|
|
877
864
|
"""
|
|
878
865
|
return pulumi.get(self, "statement")
|
|
879
866
|
|
pulumi_snowflake/warehouse.py
CHANGED
|
@@ -47,9 +47,9 @@ class WarehouseArgs:
|
|
|
47
47
|
:param pulumi.Input[int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
48
48
|
:param pulumi.Input[int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
49
49
|
:param pulumi.Input[int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
50
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
50
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
51
51
|
:param pulumi.Input[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[str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
52
|
+
:param pulumi.Input[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.
|
|
53
53
|
:param pulumi.Input[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`.
|
|
54
54
|
:param pulumi.Input[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.
|
|
55
55
|
:param pulumi.Input[int] statement_timeout_in_seconds: Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
|
|
@@ -189,7 +189,7 @@ class WarehouseArgs:
|
|
|
189
189
|
@pulumi.getter
|
|
190
190
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
191
191
|
"""
|
|
192
|
-
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
192
|
+
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
193
193
|
"""
|
|
194
194
|
return pulumi.get(self, "name")
|
|
195
195
|
|
|
@@ -213,7 +213,7 @@ class WarehouseArgs:
|
|
|
213
213
|
@pulumi.getter(name="resourceMonitor")
|
|
214
214
|
def resource_monitor(self) -> Optional[pulumi.Input[str]]:
|
|
215
215
|
"""
|
|
216
|
-
Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
216
|
+
Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
217
217
|
"""
|
|
218
218
|
return pulumi.get(self, "resource_monitor")
|
|
219
219
|
|
|
@@ -315,10 +315,10 @@ class _WarehouseState:
|
|
|
315
315
|
:param pulumi.Input[int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
316
316
|
:param pulumi.Input[int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
317
317
|
:param pulumi.Input[int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
318
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
318
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
319
319
|
:param pulumi.Input[Sequence[pulumi.Input['WarehouseParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given warehouse.
|
|
320
320
|
:param pulumi.Input[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[str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
321
|
+
:param pulumi.Input[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.
|
|
322
322
|
:param pulumi.Input[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`.
|
|
323
323
|
:param pulumi.Input[Sequence[pulumi.Input['WarehouseShowOutputArgs']]] show_outputs: Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
324
324
|
:param pulumi.Input[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.
|
|
@@ -477,7 +477,7 @@ class _WarehouseState:
|
|
|
477
477
|
@pulumi.getter
|
|
478
478
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
479
479
|
"""
|
|
480
|
-
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
480
|
+
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
481
481
|
"""
|
|
482
482
|
return pulumi.get(self, "name")
|
|
483
483
|
|
|
@@ -513,7 +513,7 @@ class _WarehouseState:
|
|
|
513
513
|
@pulumi.getter(name="resourceMonitor")
|
|
514
514
|
def resource_monitor(self) -> Optional[pulumi.Input[str]]:
|
|
515
515
|
"""
|
|
516
|
-
Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
516
|
+
Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
517
517
|
"""
|
|
518
518
|
return pulumi.get(self, "resource_monitor")
|
|
519
519
|
|
|
@@ -620,7 +620,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
620
620
|
## Import
|
|
621
621
|
|
|
622
622
|
```sh
|
|
623
|
-
$ pulumi import snowflake:index/warehouse:Warehouse example
|
|
623
|
+
$ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
|
|
624
624
|
```
|
|
625
625
|
|
|
626
626
|
:param str resource_name: The name of the resource.
|
|
@@ -633,9 +633,9 @@ class Warehouse(pulumi.CustomResource):
|
|
|
633
633
|
:param pulumi.Input[int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
634
634
|
:param pulumi.Input[int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
635
635
|
:param pulumi.Input[int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
636
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
636
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
637
637
|
:param pulumi.Input[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[str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
638
|
+
:param pulumi.Input[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.
|
|
639
639
|
:param pulumi.Input[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`.
|
|
640
640
|
:param pulumi.Input[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.
|
|
641
641
|
:param pulumi.Input[int] statement_timeout_in_seconds: Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
|
|
@@ -652,7 +652,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
652
652
|
## Import
|
|
653
653
|
|
|
654
654
|
```sh
|
|
655
|
-
$ pulumi import snowflake:index/warehouse:Warehouse example
|
|
655
|
+
$ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
|
|
656
656
|
```
|
|
657
657
|
|
|
658
658
|
:param str resource_name: The name of the resource.
|
|
@@ -759,10 +759,10 @@ class Warehouse(pulumi.CustomResource):
|
|
|
759
759
|
:param pulumi.Input[int] max_cluster_count: Specifies the maximum number of server clusters for the warehouse.
|
|
760
760
|
:param pulumi.Input[int] max_concurrency_level: Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
|
|
761
761
|
:param pulumi.Input[int] min_cluster_count: Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
|
|
762
|
-
:param pulumi.Input[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: `|`, `.`, `"
|
|
762
|
+
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
763
763
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WarehouseParameterArgs', 'WarehouseParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given warehouse.
|
|
764
764
|
:param pulumi.Input[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[str] resource_monitor: Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
765
|
+
:param pulumi.Input[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.
|
|
766
766
|
:param pulumi.Input[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`.
|
|
767
767
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WarehouseShowOutputArgs', 'WarehouseShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
768
768
|
:param pulumi.Input[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.
|
|
@@ -871,7 +871,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
871
871
|
@pulumi.getter
|
|
872
872
|
def name(self) -> pulumi.Output[str]:
|
|
873
873
|
"""
|
|
874
|
-
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
874
|
+
Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
875
875
|
"""
|
|
876
876
|
return pulumi.get(self, "name")
|
|
877
877
|
|
|
@@ -895,7 +895,7 @@ class Warehouse(pulumi.CustomResource):
|
|
|
895
895
|
@pulumi.getter(name="resourceMonitor")
|
|
896
896
|
def resource_monitor(self) -> pulumi.Output[Optional[str]]:
|
|
897
897
|
"""
|
|
898
|
-
Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
898
|
+
Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
899
899
|
"""
|
|
900
900
|
return pulumi.get(self, "resource_monitor")
|
|
901
901
|
|