pulumi-snowflake 0.57.2__py3-none-any.whl → 0.58.0a1722527984__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.
Files changed (52) hide show
  1. pulumi_snowflake/account_role.py +18 -32
  2. pulumi_snowflake/alert.py +11 -11
  3. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +4 -4
  4. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +4 -4
  5. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +4 -4
  6. pulumi_snowflake/cortex_search_service.py +0 -76
  7. pulumi_snowflake/database.py +133 -15
  8. pulumi_snowflake/database_old.py +13 -13
  9. pulumi_snowflake/dynamic_table.py +11 -11
  10. pulumi_snowflake/external_function.py +26 -26
  11. pulumi_snowflake/external_oauth_integration.py +6 -6
  12. pulumi_snowflake/external_table.py +26 -26
  13. pulumi_snowflake/failover_group.py +32 -32
  14. pulumi_snowflake/function.py +5 -5
  15. pulumi_snowflake/get_cortex_search_services.py +16 -16
  16. pulumi_snowflake/get_databases.py +6 -6
  17. pulumi_snowflake/get_dynamic_tables.py +12 -12
  18. pulumi_snowflake/get_grants.py +138 -138
  19. pulumi_snowflake/get_network_policies.py +2 -2
  20. pulumi_snowflake/get_roles.py +2 -2
  21. pulumi_snowflake/get_schemas.py +8 -12
  22. pulumi_snowflake/get_security_integrations.py +2 -2
  23. pulumi_snowflake/get_streamlits.py +10 -10
  24. pulumi_snowflake/get_warehouses.py +2 -2
  25. pulumi_snowflake/grant_ownership.py +5 -5
  26. pulumi_snowflake/grant_privileges_to_account_role.py +19 -19
  27. pulumi_snowflake/grant_privileges_to_database_role.py +10 -10
  28. pulumi_snowflake/grant_privileges_to_share.py +2 -2
  29. pulumi_snowflake/masking_policy.py +17 -17
  30. pulumi_snowflake/materialized_view.py +5 -5
  31. pulumi_snowflake/network_policy.py +34 -12
  32. pulumi_snowflake/oauth_integration_for_custom_clients.py +4 -4
  33. pulumi_snowflake/oauth_integration_for_partner_applications.py +4 -4
  34. pulumi_snowflake/object_parameter.py +37 -37
  35. pulumi_snowflake/procedure.py +5 -5
  36. pulumi_snowflake/provider.py +2 -2
  37. pulumi_snowflake/pulumi-plugin.json +1 -1
  38. pulumi_snowflake/role.py +18 -32
  39. pulumi_snowflake/saml2_integration.py +4 -4
  40. pulumi_snowflake/schema.py +13 -17
  41. pulumi_snowflake/scim_integration.py +4 -4
  42. pulumi_snowflake/stage.py +5 -5
  43. pulumi_snowflake/streamlit.py +4 -4
  44. pulumi_snowflake/table.py +15 -15
  45. pulumi_snowflake/table_constraint.py +67 -67
  46. pulumi_snowflake/tag_association.py +47 -47
  47. pulumi_snowflake/view.py +5 -5
  48. pulumi_snowflake/warehouse.py +4 -4
  49. {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/METADATA +1 -1
  50. {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/RECORD +52 -52
  51. {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/WHEEL +1 -1
  52. {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0a1722527984.dist-info}/top_level.txt +0 -0
@@ -747,7 +747,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
747
747
  opts: Optional[pulumi.ResourceOptions] = None,
748
748
  blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
749
749
  comment: Optional[pulumi.Input[str]] = None,
750
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]]] = None,
750
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForCustomClientsDescribeOutputArgs']]]]] = None,
751
751
  enabled: Optional[pulumi.Input[str]] = None,
752
752
  name: Optional[pulumi.Input[str]] = None,
753
753
  network_policy: Optional[pulumi.Input[str]] = None,
@@ -761,7 +761,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
761
761
  oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
762
762
  oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
763
763
  pre_authorized_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
764
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsShowOutputArgs', 'OauthIntegrationForCustomClientsShowOutputArgsDict']]]]] = None) -> 'OauthIntegrationForCustomClients':
764
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForCustomClientsShowOutputArgs']]]]] = None) -> 'OauthIntegrationForCustomClients':
765
765
  """
766
766
  Get an existing OauthIntegrationForCustomClients resource's state with the given name, id, and optional extra
767
767
  properties used to qualify the lookup.
@@ -771,7 +771,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
771
771
  :param pulumi.ResourceOptions opts: Options for the resource.
772
772
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
773
773
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
774
- :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
774
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForCustomClientsDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
775
775
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
776
776
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
777
777
  :param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
@@ -783,7 +783,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
783
783
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
784
784
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
785
785
  :param pulumi.Input[Sequence[pulumi.Input[str]]] pre_authorized_roles_lists: A set of Snowflake roles that a user does not need to explicitly consent to using after authenticating.
786
- :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsShowOutputArgs', 'OauthIntegrationForCustomClientsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
786
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForCustomClientsShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
787
787
  """
788
788
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
789
789
 
@@ -453,7 +453,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
453
453
  opts: Optional[pulumi.ResourceOptions] = None,
454
454
  blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
455
455
  comment: Optional[pulumi.Input[str]] = None,
456
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsDescribeOutputArgs', 'OauthIntegrationForPartnerApplicationsDescribeOutputArgsDict']]]]] = None,
456
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForPartnerApplicationsDescribeOutputArgs']]]]] = None,
457
457
  enabled: Optional[pulumi.Input[str]] = None,
458
458
  name: Optional[pulumi.Input[str]] = None,
459
459
  oauth_client: Optional[pulumi.Input[str]] = None,
@@ -461,7 +461,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
461
461
  oauth_redirect_uri: Optional[pulumi.Input[str]] = None,
462
462
  oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
463
463
  oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
464
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsShowOutputArgs', 'OauthIntegrationForPartnerApplicationsShowOutputArgsDict']]]]] = None) -> 'OauthIntegrationForPartnerApplications':
464
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForPartnerApplicationsShowOutputArgs']]]]] = None) -> 'OauthIntegrationForPartnerApplications':
465
465
  """
466
466
  Get an existing OauthIntegrationForPartnerApplications resource's state with the given name, id, and optional extra
467
467
  properties used to qualify the lookup.
@@ -471,14 +471,14 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
471
471
  :param pulumi.ResourceOptions opts: Options for the resource.
472
472
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
473
473
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
474
- :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsDescribeOutputArgs', 'OauthIntegrationForPartnerApplicationsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
474
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForPartnerApplicationsDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
475
475
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. 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.
476
476
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
477
477
  :param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
478
478
  :param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. 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.
479
479
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
480
480
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
481
- :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsShowOutputArgs', 'OauthIntegrationForPartnerApplicationsShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
481
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OauthIntegrationForPartnerApplicationsShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
482
482
  """
483
483
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
484
484
 
@@ -193,7 +193,7 @@ class ObjectParameter(pulumi.CustomResource):
193
193
  resource_name: str,
194
194
  opts: Optional[pulumi.ResourceOptions] = None,
195
195
  key: Optional[pulumi.Input[str]] = None,
196
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
196
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ObjectParameterObjectIdentifierArgs']]]]] = None,
197
197
  object_type: Optional[pulumi.Input[str]] = None,
198
198
  on_account: Optional[pulumi.Input[bool]] = None,
199
199
  value: Optional[pulumi.Input[str]] = None,
@@ -210,9 +210,9 @@ class ObjectParameter(pulumi.CustomResource):
210
210
  key="SUSPEND_TASK_AFTER_NUM_FAILURES",
211
211
  value="33",
212
212
  object_type="DATABASE",
213
- object_identifiers=[{
214
- "name": d.name,
215
- }])
213
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
214
+ name=d.name,
215
+ )])
216
216
  s = snowflake.Schema("s",
217
217
  name="TEST_SCHEMA",
218
218
  database=d.name)
@@ -220,27 +220,27 @@ class ObjectParameter(pulumi.CustomResource):
220
220
  key="USER_TASK_TIMEOUT_MS",
221
221
  value="500",
222
222
  object_type="SCHEMA",
223
- object_identifiers=[{
224
- "database": d.name,
225
- "name": s.name,
226
- }])
223
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
224
+ database=d.name,
225
+ name=s.name,
226
+ )])
227
227
  t = snowflake.Table("t",
228
228
  name="TEST_TABLE",
229
229
  database=d.name,
230
230
  schema=s.name,
231
- columns=[{
232
- "name": "id",
233
- "type": "NUMBER",
234
- }])
231
+ columns=[snowflake.TableColumnArgs(
232
+ name="id",
233
+ type="NUMBER",
234
+ )])
235
235
  o3 = snowflake.ObjectParameter("o3",
236
236
  key="DATA_RETENTION_TIME_IN_DAYS",
237
237
  value="89",
238
238
  object_type="TABLE",
239
- object_identifiers=[{
240
- "database": d.name,
241
- "schema": s.name,
242
- "name": t.name,
243
- }])
239
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
240
+ database=d.name,
241
+ schema=s.name,
242
+ name=t.name,
243
+ )])
244
244
  # Setting object parameter at account level
245
245
  o4 = snowflake.ObjectParameter("o4",
246
246
  key="DATA_RETENTION_TIME_IN_DAYS",
@@ -257,7 +257,7 @@ class ObjectParameter(pulumi.CustomResource):
257
257
  :param str resource_name: The name of the resource.
258
258
  :param pulumi.ResourceOptions opts: Options for the resource.
259
259
  :param pulumi.Input[str] key: Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters).
260
- :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
260
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ObjectParameterObjectIdentifierArgs']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
261
261
  :param pulumi.Input[str] object_type: Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
262
262
  :param pulumi.Input[bool] on_account: If true, the object parameter will be set on the account level.
263
263
  :param pulumi.Input[str] value: Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
@@ -280,9 +280,9 @@ class ObjectParameter(pulumi.CustomResource):
280
280
  key="SUSPEND_TASK_AFTER_NUM_FAILURES",
281
281
  value="33",
282
282
  object_type="DATABASE",
283
- object_identifiers=[{
284
- "name": d.name,
285
- }])
283
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
284
+ name=d.name,
285
+ )])
286
286
  s = snowflake.Schema("s",
287
287
  name="TEST_SCHEMA",
288
288
  database=d.name)
@@ -290,27 +290,27 @@ class ObjectParameter(pulumi.CustomResource):
290
290
  key="USER_TASK_TIMEOUT_MS",
291
291
  value="500",
292
292
  object_type="SCHEMA",
293
- object_identifiers=[{
294
- "database": d.name,
295
- "name": s.name,
296
- }])
293
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
294
+ database=d.name,
295
+ name=s.name,
296
+ )])
297
297
  t = snowflake.Table("t",
298
298
  name="TEST_TABLE",
299
299
  database=d.name,
300
300
  schema=s.name,
301
- columns=[{
302
- "name": "id",
303
- "type": "NUMBER",
304
- }])
301
+ columns=[snowflake.TableColumnArgs(
302
+ name="id",
303
+ type="NUMBER",
304
+ )])
305
305
  o3 = snowflake.ObjectParameter("o3",
306
306
  key="DATA_RETENTION_TIME_IN_DAYS",
307
307
  value="89",
308
308
  object_type="TABLE",
309
- object_identifiers=[{
310
- "database": d.name,
311
- "schema": s.name,
312
- "name": t.name,
313
- }])
309
+ object_identifiers=[snowflake.ObjectParameterObjectIdentifierArgs(
310
+ database=d.name,
311
+ schema=s.name,
312
+ name=t.name,
313
+ )])
314
314
  # Setting object parameter at account level
315
315
  o4 = snowflake.ObjectParameter("o4",
316
316
  key="DATA_RETENTION_TIME_IN_DAYS",
@@ -340,7 +340,7 @@ class ObjectParameter(pulumi.CustomResource):
340
340
  resource_name: str,
341
341
  opts: Optional[pulumi.ResourceOptions] = None,
342
342
  key: Optional[pulumi.Input[str]] = None,
343
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
343
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ObjectParameterObjectIdentifierArgs']]]]] = None,
344
344
  object_type: Optional[pulumi.Input[str]] = None,
345
345
  on_account: Optional[pulumi.Input[bool]] = None,
346
346
  value: Optional[pulumi.Input[str]] = None,
@@ -373,7 +373,7 @@ class ObjectParameter(pulumi.CustomResource):
373
373
  id: pulumi.Input[str],
374
374
  opts: Optional[pulumi.ResourceOptions] = None,
375
375
  key: Optional[pulumi.Input[str]] = None,
376
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]]] = None,
376
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ObjectParameterObjectIdentifierArgs']]]]] = None,
377
377
  object_type: Optional[pulumi.Input[str]] = None,
378
378
  on_account: Optional[pulumi.Input[bool]] = None,
379
379
  value: Optional[pulumi.Input[str]] = None) -> 'ObjectParameter':
@@ -385,7 +385,7 @@ class ObjectParameter(pulumi.CustomResource):
385
385
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
386
386
  :param pulumi.ResourceOptions opts: Options for the resource.
387
387
  :param pulumi.Input[str] key: Name of object parameter. Valid values are those in [object parameters](https://docs.snowflake.com/en/sql-reference/parameters.html#object-parameters).
388
- :param pulumi.Input[Sequence[pulumi.Input[Union['ObjectParameterObjectIdentifierArgs', 'ObjectParameterObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
388
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ObjectParameterObjectIdentifierArgs']]]] object_identifiers: Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
389
389
  :param pulumi.Input[str] object_type: Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
390
390
  :param pulumi.Input[bool] on_account: If true, the object parameter will be set on the account level.
391
391
  :param pulumi.Input[str] value: Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
@@ -550,7 +550,7 @@ class Procedure(pulumi.CustomResource):
550
550
  def __init__(__self__,
551
551
  resource_name: str,
552
552
  opts: Optional[pulumi.ResourceOptions] = None,
553
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProcedureArgumentArgs', 'ProcedureArgumentArgsDict']]]]] = None,
553
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProcedureArgumentArgs']]]]] = None,
554
554
  comment: Optional[pulumi.Input[str]] = None,
555
555
  database: Optional[pulumi.Input[str]] = None,
556
556
  execute_as: Optional[pulumi.Input[str]] = None,
@@ -580,7 +580,7 @@ class Procedure(pulumi.CustomResource):
580
580
 
581
581
  :param str resource_name: The name of the resource.
582
582
  :param pulumi.ResourceOptions opts: Options for the resource.
583
- :param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureArgumentArgs', 'ProcedureArgumentArgsDict']]]] arguments: List of the arguments for the procedure
583
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProcedureArgumentArgs']]]] arguments: List of the arguments for the procedure
584
584
  :param pulumi.Input[str] comment: Specifies a comment for the procedure.
585
585
  :param pulumi.Input[str] database: The database in which to create the procedure. Don't use the | character.
586
586
  :param pulumi.Input[str] execute_as: Sets execution context. Allowed values are CALLER and OWNER (consult a proper section in the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#id1)). For more information see [caller's rights and owner's rights](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights).
@@ -629,7 +629,7 @@ class Procedure(pulumi.CustomResource):
629
629
  def _internal_init(__self__,
630
630
  resource_name: str,
631
631
  opts: Optional[pulumi.ResourceOptions] = None,
632
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProcedureArgumentArgs', 'ProcedureArgumentArgsDict']]]]] = None,
632
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProcedureArgumentArgs']]]]] = None,
633
633
  comment: Optional[pulumi.Input[str]] = None,
634
634
  database: Optional[pulumi.Input[str]] = None,
635
635
  execute_as: Optional[pulumi.Input[str]] = None,
@@ -688,7 +688,7 @@ class Procedure(pulumi.CustomResource):
688
688
  def get(resource_name: str,
689
689
  id: pulumi.Input[str],
690
690
  opts: Optional[pulumi.ResourceOptions] = None,
691
- arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProcedureArgumentArgs', 'ProcedureArgumentArgsDict']]]]] = None,
691
+ arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProcedureArgumentArgs']]]]] = None,
692
692
  comment: Optional[pulumi.Input[str]] = None,
693
693
  database: Optional[pulumi.Input[str]] = None,
694
694
  execute_as: Optional[pulumi.Input[str]] = None,
@@ -711,7 +711,7 @@ class Procedure(pulumi.CustomResource):
711
711
  :param str resource_name: The unique name of the resulting resource.
712
712
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
713
713
  :param pulumi.ResourceOptions opts: Options for the resource.
714
- :param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureArgumentArgs', 'ProcedureArgumentArgsDict']]]] arguments: List of the arguments for the procedure
714
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProcedureArgumentArgs']]]] arguments: List of the arguments for the procedure
715
715
  :param pulumi.Input[str] comment: Specifies a comment for the procedure.
716
716
  :param pulumi.Input[str] database: The database in which to create the procedure. Don't use the | character.
717
717
  :param pulumi.Input[str] execute_as: Sets execution context. Allowed values are CALLER and OWNER (consult a proper section in the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#id1)). For more information see [caller's rights and owner's rights](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights).
@@ -932,7 +932,7 @@ class Provider(pulumi.ProviderResource):
932
932
  role: Optional[pulumi.Input[str]] = None,
933
933
  session_params: Optional[pulumi.Input[Mapping[str, Any]]] = None,
934
934
  token: Optional[pulumi.Input[str]] = None,
935
- token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
935
+ token_accessor: Optional[pulumi.Input[pulumi.InputType['ProviderTokenAccessorArgs']]] = None,
936
936
  user: Optional[pulumi.Input[str]] = None,
937
937
  username: Optional[pulumi.Input[str]] = None,
938
938
  validate_default_parameters: Optional[pulumi.Input[bool]] = None,
@@ -1100,7 +1100,7 @@ class Provider(pulumi.ProviderResource):
1100
1100
  role: Optional[pulumi.Input[str]] = None,
1101
1101
  session_params: Optional[pulumi.Input[Mapping[str, Any]]] = None,
1102
1102
  token: Optional[pulumi.Input[str]] = None,
1103
- token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
1103
+ token_accessor: Optional[pulumi.Input[pulumi.InputType['ProviderTokenAccessorArgs']]] = None,
1104
1104
  user: Optional[pulumi.Input[str]] = None,
1105
1105
  username: Optional[pulumi.Input[str]] = None,
1106
1106
  validate_default_parameters: Optional[pulumi.Input[bool]] = None,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "snowflake",
4
- "version": "0.57.2"
4
+ "version": "0.58.0-alpha.1722527984"
5
5
  }
pulumi_snowflake/role.py CHANGED
@@ -106,25 +106,18 @@ class Role(pulumi.CustomResource):
106
106
 
107
107
  The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
108
108
 
109
- ## Example Usage
109
+ ## Minimal
110
110
 
111
- ```python
112
- import pulumi
113
- import pulumi_snowflake as snowflake
111
+ resource "Role" "minimal" {
112
+ name = "role_name"
113
+ }
114
114
 
115
- ## Minimal
116
- minimal = snowflake.Role("minimal", name="role_name")
117
115
  ## Complete (with every optional set)
118
- complete = snowflake.Role("complete",
119
- name="role_name",
120
- comment="my account role")
121
- ```
122
-
123
- ## Import
124
116
 
125
- ```sh
126
- $ pulumi import snowflake:index/role:Role example "name"
127
- ```
117
+ resource "Role" "complete" {
118
+ name = "role_name"
119
+ comment = "my account role"
120
+ }
128
121
 
129
122
  :param str resource_name: The name of the resource.
130
123
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -140,25 +133,18 @@ class Role(pulumi.CustomResource):
140
133
 
141
134
  The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
142
135
 
143
- ## Example Usage
136
+ ## Minimal
144
137
 
145
- ```python
146
- import pulumi
147
- import pulumi_snowflake as snowflake
138
+ resource "Role" "minimal" {
139
+ name = "role_name"
140
+ }
148
141
 
149
- ## Minimal
150
- minimal = snowflake.Role("minimal", name="role_name")
151
142
  ## Complete (with every optional set)
152
- complete = snowflake.Role("complete",
153
- name="role_name",
154
- comment="my account role")
155
- ```
156
-
157
- ## Import
158
143
 
159
- ```sh
160
- $ pulumi import snowflake:index/role:Role example "name"
161
- ```
144
+ resource "Role" "complete" {
145
+ name = "role_name"
146
+ comment = "my account role"
147
+ }
162
148
 
163
149
  :param str resource_name: The name of the resource.
164
150
  :param RoleArgs args: The arguments to use to populate this resource's properties.
@@ -201,7 +187,7 @@ class Role(pulumi.CustomResource):
201
187
  opts: Optional[pulumi.ResourceOptions] = None,
202
188
  comment: Optional[pulumi.Input[str]] = None,
203
189
  name: Optional[pulumi.Input[str]] = None,
204
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]]] = None) -> 'Role':
190
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleShowOutputArgs']]]]] = None) -> 'Role':
205
191
  """
206
192
  Get an existing Role resource's state with the given name, id, and optional extra
207
193
  properties used to qualify the lookup.
@@ -209,7 +195,7 @@ class Role(pulumi.CustomResource):
209
195
  :param str resource_name: The unique name of the resulting resource.
210
196
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
211
197
  :param pulumi.ResourceOptions opts: Options for the resource.
212
- :param pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
198
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
213
199
  """
214
200
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
215
201
 
@@ -753,7 +753,7 @@ class Saml2Integration(pulumi.CustomResource):
753
753
  allowed_email_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
754
754
  allowed_user_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
755
755
  comment: Optional[pulumi.Input[str]] = None,
756
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]]] = None,
756
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Saml2IntegrationDescribeOutputArgs']]]]] = None,
757
757
  enabled: Optional[pulumi.Input[str]] = None,
758
758
  name: Optional[pulumi.Input[str]] = None,
759
759
  saml2_enable_sp_initiated: Optional[pulumi.Input[str]] = None,
@@ -768,7 +768,7 @@ class Saml2Integration(pulumi.CustomResource):
768
768
  saml2_sp_initiated_login_page_label: Optional[pulumi.Input[str]] = None,
769
769
  saml2_sso_url: Optional[pulumi.Input[str]] = None,
770
770
  saml2_x509_cert: Optional[pulumi.Input[str]] = None,
771
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationShowOutputArgs', 'Saml2IntegrationShowOutputArgsDict']]]]] = None) -> 'Saml2Integration':
771
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Saml2IntegrationShowOutputArgs']]]]] = None) -> 'Saml2Integration':
772
772
  """
773
773
  Get an existing Saml2Integration resource's state with the given name, id, and optional extra
774
774
  properties used to qualify the lookup.
@@ -779,7 +779,7 @@ class Saml2Integration(pulumi.CustomResource):
779
779
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_email_patterns: A list of regular expressions that email addresses are matched against to authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
780
780
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_user_domains: A list of email domains that can authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
781
781
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
782
- :param pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
782
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Saml2IntegrationDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
783
783
  :param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. 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.
784
784
  :param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
785
785
  :param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. 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.
@@ -794,7 +794,7 @@ class Saml2Integration(pulumi.CustomResource):
794
794
  :param pulumi.Input[str] saml2_sp_initiated_login_page_label: The string containing the label to display after the Log In With button on the login page. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
795
795
  :param pulumi.Input[str] saml2_sso_url: The string containing the IdP SSO URL, where the user should be redirected by Snowflake (the Service Provider) with a SAML AuthnRequest message.
796
796
  :param pulumi.Input[str] saml2_x509_cert: The Base64 encoded IdP signing certificate on a single line without the leading -----BEGIN CERTIFICATE----- and ending -----END CERTIFICATE----- markers.
797
- :param pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationShowOutputArgs', 'Saml2IntegrationShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
797
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Saml2IntegrationShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATION` for the given integration.
798
798
  """
799
799
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
800
800
 
@@ -50,7 +50,7 @@ class SchemaArgs:
50
50
  :param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
51
51
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
52
52
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
53
- :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
53
+ :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
54
54
  :param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
55
55
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
56
56
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
@@ -231,7 +231,7 @@ class SchemaArgs:
231
231
  @pulumi.getter
232
232
  def name(self) -> Optional[pulumi.Input[str]]:
233
233
  """
234
- Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
234
+ Specifies the identifier for the schema; must be unique for the database in which the schema is created.
235
235
  """
236
236
  return pulumi.get(self, "name")
237
237
 
@@ -413,7 +413,7 @@ class _SchemaState:
413
413
  :param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
414
414
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
415
415
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
416
- :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
416
+ :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
417
417
  :param pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
418
418
  :param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
419
419
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
@@ -615,7 +615,7 @@ class _SchemaState:
615
615
  @pulumi.getter
616
616
  def name(self) -> Optional[pulumi.Input[str]]:
617
617
  """
618
- Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
618
+ Specifies the identifier for the schema; must be unique for the database in which the schema is created.
619
619
  """
620
620
  return pulumi.get(self, "name")
621
621
 
@@ -809,8 +809,6 @@ class Schema(pulumi.CustomResource):
809
809
  with_managed_access: Optional[pulumi.Input[str]] = None,
810
810
  __props__=None):
811
811
  """
812
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
813
-
814
812
  Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
815
813
 
816
814
  ## Import
@@ -833,7 +831,7 @@ class Schema(pulumi.CustomResource):
833
831
  :param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
834
832
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
835
833
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
836
- :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
834
+ :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
837
835
  :param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
838
836
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
839
837
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
@@ -853,8 +851,6 @@ class Schema(pulumi.CustomResource):
853
851
  args: SchemaArgs,
854
852
  opts: Optional[pulumi.ResourceOptions] = None):
855
853
  """
856
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
857
-
858
854
  Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
859
855
 
860
856
  ## Import
@@ -953,18 +949,18 @@ class Schema(pulumi.CustomResource):
953
949
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
954
950
  database: Optional[pulumi.Input[str]] = None,
955
951
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
956
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]]] = None,
952
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaDescribeOutputArgs']]]]] = None,
957
953
  enable_console_output: Optional[pulumi.Input[bool]] = None,
958
954
  external_volume: Optional[pulumi.Input[str]] = None,
959
955
  is_transient: Optional[pulumi.Input[str]] = None,
960
956
  log_level: Optional[pulumi.Input[str]] = None,
961
957
  max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
962
958
  name: Optional[pulumi.Input[str]] = None,
963
- parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]]] = None,
959
+ parameters: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaParameterArgs']]]]] = None,
964
960
  pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
965
961
  quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
966
962
  replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
967
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]]] = None,
963
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaShowOutputArgs']]]]] = None,
968
964
  storage_serialization_policy: Optional[pulumi.Input[str]] = None,
969
965
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
970
966
  task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
@@ -985,18 +981,18 @@ class Schema(pulumi.CustomResource):
985
981
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
986
982
  :param pulumi.Input[str] database: The database in which to create the schema.
987
983
  :param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
988
- :param pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
984
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
989
985
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
990
986
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
991
987
  :param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
992
988
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
993
989
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
994
- :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
995
- :param pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
990
+ :param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created.
991
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaParameterArgs']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
996
992
  :param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
997
993
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
998
994
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
999
- :param pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
995
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SchemaShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
1000
996
  :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
1001
997
  :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
1002
998
  :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
@@ -1129,7 +1125,7 @@ class Schema(pulumi.CustomResource):
1129
1125
  @pulumi.getter
1130
1126
  def name(self) -> pulumi.Output[str]:
1131
1127
  """
1132
- Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state.
1128
+ Specifies the identifier for the schema; must be unique for the database in which the schema is created.
1133
1129
  """
1134
1130
  return pulumi.get(self, "name")
1135
1131
 
@@ -390,13 +390,13 @@ class ScimIntegration(pulumi.CustomResource):
390
390
  id: pulumi.Input[str],
391
391
  opts: Optional[pulumi.ResourceOptions] = None,
392
392
  comment: Optional[pulumi.Input[str]] = None,
393
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]]] = None,
393
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationDescribeOutputArgs']]]]] = None,
394
394
  enabled: Optional[pulumi.Input[bool]] = None,
395
395
  name: Optional[pulumi.Input[str]] = None,
396
396
  network_policy: Optional[pulumi.Input[str]] = None,
397
397
  run_as_role: Optional[pulumi.Input[str]] = None,
398
398
  scim_client: Optional[pulumi.Input[str]] = None,
399
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationShowOutputArgs', 'ScimIntegrationShowOutputArgsDict']]]]] = None,
399
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationShowOutputArgs']]]]] = None,
400
400
  sync_password: Optional[pulumi.Input[str]] = None) -> 'ScimIntegration':
401
401
  """
402
402
  Get an existing ScimIntegration resource's state with the given name, id, and optional extra
@@ -406,13 +406,13 @@ class ScimIntegration(pulumi.CustomResource):
406
406
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
407
407
  :param pulumi.ResourceOptions opts: Options for the resource.
408
408
  :param pulumi.Input[str] comment: Specifies a comment for the integration.
409
- :param pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationDescribeOutputArgs', 'ScimIntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
409
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
410
410
  :param pulumi.Input[bool] enabled: Specify whether the security integration is enabled.
411
411
  :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
412
412
  :param pulumi.Input[str] network_policy: Specifies an existing network policy that controls SCIM network traffic.
413
413
  :param pulumi.Input[str] run_as_role: Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: `OKTA_PROVISIONER` | `AAD_PROVISIONER` | `GENERIC_SCIM_PROVISIONER`.
414
414
  :param pulumi.Input[str] scim_client: Specifies the client type for the scim integration. Valid options are: `OKTA` | `AZURE` | `GENERIC`.
415
- :param pulumi.Input[Sequence[pulumi.Input[Union['ScimIntegrationShowOutputArgs', 'ScimIntegrationShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
415
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScimIntegrationShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
416
416
  :param pulumi.Input[str] sync_password: Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. This property is not supported for Azure SCIM. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
417
417
  """
418
418
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))