pulumi-snowflake 0.58.0__py3-none-any.whl → 0.58.0a1722528062__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 (92) hide show
  1. pulumi_snowflake/_inputs.py +125 -5857
  2. pulumi_snowflake/account.py +50 -28
  3. pulumi_snowflake/account_parameter.py +28 -0
  4. pulumi_snowflake/account_password_policy_attachment.py +30 -2
  5. pulumi_snowflake/account_role.py +32 -51
  6. pulumi_snowflake/alert.py +45 -33
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +19 -39
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +19 -39
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +19 -39
  10. pulumi_snowflake/api_integration.py +54 -28
  11. pulumi_snowflake/cortex_search_service.py +0 -28
  12. pulumi_snowflake/database.py +148 -97
  13. pulumi_snowflake/database_old.py +77 -5
  14. pulumi_snowflake/database_role.py +42 -76
  15. pulumi_snowflake/dynamic_table.py +43 -33
  16. pulumi_snowflake/email_notification_integration.py +26 -28
  17. pulumi_snowflake/external_function.py +62 -38
  18. pulumi_snowflake/external_oauth_integration.py +21 -41
  19. pulumi_snowflake/external_table.py +58 -38
  20. pulumi_snowflake/failover_group.py +82 -38
  21. pulumi_snowflake/file_format.py +26 -28
  22. pulumi_snowflake/function.py +9 -33
  23. pulumi_snowflake/get_cortex_search_services.py +16 -16
  24. pulumi_snowflake/get_database_roles.py +38 -61
  25. pulumi_snowflake/get_databases.py +6 -6
  26. pulumi_snowflake/get_dynamic_tables.py +12 -12
  27. pulumi_snowflake/get_grants.py +138 -138
  28. pulumi_snowflake/get_network_policies.py +2 -2
  29. pulumi_snowflake/get_roles.py +2 -2
  30. pulumi_snowflake/get_schemas.py +8 -12
  31. pulumi_snowflake/get_security_integrations.py +2 -2
  32. pulumi_snowflake/get_streamlits.py +10 -10
  33. pulumi_snowflake/get_users.py +33 -96
  34. pulumi_snowflake/get_views.py +53 -92
  35. pulumi_snowflake/get_warehouses.py +2 -2
  36. pulumi_snowflake/grant_account_role.py +4 -0
  37. pulumi_snowflake/grant_application_role.py +4 -0
  38. pulumi_snowflake/grant_database_role.py +4 -0
  39. pulumi_snowflake/grant_ownership.py +5 -5
  40. pulumi_snowflake/grant_privileges_to_account_role.py +15 -15
  41. pulumi_snowflake/grant_privileges_to_database_role.py +12 -16
  42. pulumi_snowflake/grant_privileges_to_share.py +0 -47
  43. pulumi_snowflake/managed_account.py +4 -28
  44. pulumi_snowflake/masking_policy.py +89 -33
  45. pulumi_snowflake/materialized_view.py +39 -33
  46. pulumi_snowflake/network_policy.py +49 -47
  47. pulumi_snowflake/network_policy_attachment.py +30 -0
  48. pulumi_snowflake/network_rule.py +66 -28
  49. pulumi_snowflake/notification_integration.py +34 -28
  50. pulumi_snowflake/oauth_integration.py +34 -0
  51. pulumi_snowflake/oauth_integration_for_custom_clients.py +105 -39
  52. pulumi_snowflake/oauth_integration_for_partner_applications.py +19 -39
  53. pulumi_snowflake/object_parameter.py +103 -5
  54. pulumi_snowflake/outputs.py +4207 -12013
  55. pulumi_snowflake/password_policy.py +28 -28
  56. pulumi_snowflake/pipe.py +4 -28
  57. pulumi_snowflake/procedure.py +9 -33
  58. pulumi_snowflake/provider.py +16 -16
  59. pulumi_snowflake/pulumi-plugin.json +1 -1
  60. pulumi_snowflake/resource_monitor.py +48 -28
  61. pulumi_snowflake/role.py +32 -51
  62. pulumi_snowflake/row_access_policy.py +34 -28
  63. pulumi_snowflake/saml2_integration.py +19 -39
  64. pulumi_snowflake/saml_integration.py +34 -0
  65. pulumi_snowflake/schema.py +28 -52
  66. pulumi_snowflake/scim_integration.py +19 -39
  67. pulumi_snowflake/secondary_database.py +19 -35
  68. pulumi_snowflake/sequence.py +36 -4
  69. pulumi_snowflake/session_parameter.py +32 -0
  70. pulumi_snowflake/share.py +28 -28
  71. pulumi_snowflake/shared_database.py +15 -35
  72. pulumi_snowflake/stage.py +33 -33
  73. pulumi_snowflake/storage_integration.py +4 -28
  74. pulumi_snowflake/stream.py +4 -28
  75. pulumi_snowflake/streamlit.py +19 -39
  76. pulumi_snowflake/table.py +47 -43
  77. pulumi_snowflake/table_column_masking_policy_application.py +14 -2
  78. pulumi_snowflake/table_constraint.py +157 -5
  79. pulumi_snowflake/tag.py +40 -28
  80. pulumi_snowflake/tag_association.py +125 -5
  81. pulumi_snowflake/tag_masking_policy_association.py +4 -0
  82. pulumi_snowflake/task.py +92 -28
  83. pulumi_snowflake/unsafe_execute.py +20 -2
  84. pulumi_snowflake/user.py +373 -3346
  85. pulumi_snowflake/user_password_policy_attachment.py +36 -0
  86. pulumi_snowflake/view.py +185 -465
  87. pulumi_snowflake/warehouse.py +43 -39
  88. {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/METADATA +1 -1
  89. pulumi_snowflake-0.58.0a1722528062.dist-info/RECORD +129 -0
  90. {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/WHEEL +1 -1
  91. pulumi_snowflake-0.58.0.dist-info/RECORD +0 -129
  92. {pulumi_snowflake-0.58.0.dist-info → pulumi_snowflake-0.58.0a1722528062.dist-info}/top_level.txt +0 -0
@@ -230,7 +230,7 @@ class TagAssociation(pulumi.CustomResource):
230
230
  def __init__(__self__,
231
231
  resource_name: str,
232
232
  opts: Optional[pulumi.ResourceOptions] = None,
233
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
233
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagAssociationObjectIdentifierArgs']]]]] = None,
234
234
  object_name: Optional[pulumi.Input[str]] = None,
235
235
  object_type: Optional[pulumi.Input[str]] = None,
236
236
  skip_validation: Optional[pulumi.Input[bool]] = None,
@@ -238,6 +238,66 @@ class TagAssociation(pulumi.CustomResource):
238
238
  tag_value: Optional[pulumi.Input[str]] = None,
239
239
  __props__=None):
240
240
  """
241
+ ## Example Usage
242
+
243
+ ```python
244
+ import pulumi
245
+ import pulumi_snowflake as snowflake
246
+
247
+ test = snowflake.Database("test", name="database")
248
+ test_schema = snowflake.Schema("test",
249
+ name="schema",
250
+ database=test.name)
251
+ test_tag = snowflake.Tag("test",
252
+ name="cost_center",
253
+ database=test.name,
254
+ schema=test_schema.name,
255
+ allowed_values=[
256
+ "finance",
257
+ "engineering",
258
+ ])
259
+ db_association = snowflake.TagAssociation("db_association",
260
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
261
+ name=test.name,
262
+ )],
263
+ object_type="DATABASE",
264
+ tag_id=test_tag.id,
265
+ tag_value="finance")
266
+ test_table = snowflake.Table("test",
267
+ database=test.name,
268
+ schema=test_schema.name,
269
+ name="TABLE_NAME",
270
+ comment="Terraform example table",
271
+ columns=[
272
+ snowflake.TableColumnArgs(
273
+ name="column1",
274
+ type="VARIANT",
275
+ ),
276
+ snowflake.TableColumnArgs(
277
+ name="column2",
278
+ type="VARCHAR(16)",
279
+ ),
280
+ ])
281
+ table_association = snowflake.TagAssociation("table_association",
282
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
283
+ name=test_table.name,
284
+ database=test.name,
285
+ schema=test_schema.name,
286
+ )],
287
+ object_type="TABLE",
288
+ tag_id=test_tag.id,
289
+ tag_value="engineering")
290
+ column_association = snowflake.TagAssociation("column_association",
291
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
292
+ name=test_table.name.apply(lambda name: f"{name}.column_name"),
293
+ database=test.name,
294
+ schema=test_schema.name,
295
+ )],
296
+ object_type="COLUMN",
297
+ tag_id=test_tag.id,
298
+ tag_value="engineering")
299
+ ```
300
+
241
301
  ## Import
242
302
 
243
303
  format is dbName.schemaName.tagName or dbName.schemaName.tagName
@@ -248,7 +308,7 @@ class TagAssociation(pulumi.CustomResource):
248
308
 
249
309
  :param str resource_name: The name of the resource.
250
310
  :param pulumi.ResourceOptions opts: Options for the resource.
251
- :param pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the tag association.
311
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagAssociationObjectIdentifierArgs']]]] object_identifiers: Specifies the object identifier for the tag association.
252
312
  :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
253
313
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE INTEGRATION NETWORK POLICY ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT EXTERNAL FUNCTION EXTERNAL TABLE GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
254
314
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
@@ -262,6 +322,66 @@ class TagAssociation(pulumi.CustomResource):
262
322
  args: TagAssociationArgs,
263
323
  opts: Optional[pulumi.ResourceOptions] = None):
264
324
  """
325
+ ## Example Usage
326
+
327
+ ```python
328
+ import pulumi
329
+ import pulumi_snowflake as snowflake
330
+
331
+ test = snowflake.Database("test", name="database")
332
+ test_schema = snowflake.Schema("test",
333
+ name="schema",
334
+ database=test.name)
335
+ test_tag = snowflake.Tag("test",
336
+ name="cost_center",
337
+ database=test.name,
338
+ schema=test_schema.name,
339
+ allowed_values=[
340
+ "finance",
341
+ "engineering",
342
+ ])
343
+ db_association = snowflake.TagAssociation("db_association",
344
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
345
+ name=test.name,
346
+ )],
347
+ object_type="DATABASE",
348
+ tag_id=test_tag.id,
349
+ tag_value="finance")
350
+ test_table = snowflake.Table("test",
351
+ database=test.name,
352
+ schema=test_schema.name,
353
+ name="TABLE_NAME",
354
+ comment="Terraform example table",
355
+ columns=[
356
+ snowflake.TableColumnArgs(
357
+ name="column1",
358
+ type="VARIANT",
359
+ ),
360
+ snowflake.TableColumnArgs(
361
+ name="column2",
362
+ type="VARCHAR(16)",
363
+ ),
364
+ ])
365
+ table_association = snowflake.TagAssociation("table_association",
366
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
367
+ name=test_table.name,
368
+ database=test.name,
369
+ schema=test_schema.name,
370
+ )],
371
+ object_type="TABLE",
372
+ tag_id=test_tag.id,
373
+ tag_value="engineering")
374
+ column_association = snowflake.TagAssociation("column_association",
375
+ object_identifiers=[snowflake.TagAssociationObjectIdentifierArgs(
376
+ name=test_table.name.apply(lambda name: f"{name}.column_name"),
377
+ database=test.name,
378
+ schema=test_schema.name,
379
+ )],
380
+ object_type="COLUMN",
381
+ tag_id=test_tag.id,
382
+ tag_value="engineering")
383
+ ```
384
+
265
385
  ## Import
266
386
 
267
387
  format is dbName.schemaName.tagName or dbName.schemaName.tagName
@@ -285,7 +405,7 @@ class TagAssociation(pulumi.CustomResource):
285
405
  def _internal_init(__self__,
286
406
  resource_name: str,
287
407
  opts: Optional[pulumi.ResourceOptions] = None,
288
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
408
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagAssociationObjectIdentifierArgs']]]]] = None,
289
409
  object_name: Optional[pulumi.Input[str]] = None,
290
410
  object_type: Optional[pulumi.Input[str]] = None,
291
411
  skip_validation: Optional[pulumi.Input[bool]] = None,
@@ -324,7 +444,7 @@ class TagAssociation(pulumi.CustomResource):
324
444
  def get(resource_name: str,
325
445
  id: pulumi.Input[str],
326
446
  opts: Optional[pulumi.ResourceOptions] = None,
327
- object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]]] = None,
447
+ object_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagAssociationObjectIdentifierArgs']]]]] = None,
328
448
  object_name: Optional[pulumi.Input[str]] = None,
329
449
  object_type: Optional[pulumi.Input[str]] = None,
330
450
  skip_validation: Optional[pulumi.Input[bool]] = None,
@@ -337,7 +457,7 @@ class TagAssociation(pulumi.CustomResource):
337
457
  :param str resource_name: The unique name of the resulting resource.
338
458
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
339
459
  :param pulumi.ResourceOptions opts: Options for the resource.
340
- :param pulumi.Input[Sequence[pulumi.Input[Union['TagAssociationObjectIdentifierArgs', 'TagAssociationObjectIdentifierArgsDict']]]] object_identifiers: Specifies the object identifier for the tag association.
460
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagAssociationObjectIdentifierArgs']]]] object_identifiers: Specifies the object identifier for the tag association.
341
461
  :param pulumi.Input[str] object_name: Specifies the object identifier for the tag association.
342
462
  :param pulumi.Input[str] object_type: Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE INTEGRATION NETWORK POLICY ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT EXTERNAL FUNCTION EXTERNAL TABLE GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
343
463
  :param pulumi.Input[bool] skip_validation: If true, skips validation of the tag association.
@@ -98,6 +98,8 @@ class TagMaskingPolicyAssociation(pulumi.CustomResource):
98
98
  tag_id: Optional[pulumi.Input[str]] = None,
99
99
  __props__=None):
100
100
  """
101
+ Attach a masking policy to a tag. Requires a current warehouse to be set. Either with SNOWFLAKE_WAREHOUSE env variable or in current session. If no warehouse is provided, a temporary warehouse will be created.
102
+
101
103
  ## Import
102
104
 
103
105
  format is tag database name | tag schema name | tag name | masking policy database | masking policy schema | masking policy name
@@ -118,6 +120,8 @@ class TagMaskingPolicyAssociation(pulumi.CustomResource):
118
120
  args: TagMaskingPolicyAssociationArgs,
119
121
  opts: Optional[pulumi.ResourceOptions] = None):
120
122
  """
123
+ Attach a masking policy to a tag. Requires a current warehouse to be set. Either with SNOWFLAKE_WAREHOUSE env variable or in current session. If no warehouse is provided, a temporary warehouse will be created.
124
+
121
125
  ## Import
122
126
 
123
127
  format is tag database name | tag schema name | tag name | masking policy database | masking policy schema | masking policy name
pulumi_snowflake/task.py CHANGED
@@ -281,7 +281,6 @@ class _TaskState:
281
281
  database: Optional[pulumi.Input[str]] = None,
282
282
  enabled: Optional[pulumi.Input[bool]] = None,
283
283
  error_integration: Optional[pulumi.Input[str]] = None,
284
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
285
284
  name: Optional[pulumi.Input[str]] = None,
286
285
  schedule: Optional[pulumi.Input[str]] = None,
287
286
  schema: Optional[pulumi.Input[str]] = None,
@@ -300,7 +299,6 @@ class _TaskState:
300
299
  :param pulumi.Input[str] database: The database in which to create the task.
301
300
  :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
302
301
  :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
303
- :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).
304
302
  :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
305
303
  :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
306
304
  :param pulumi.Input[str] schema: The schema in which to create the task.
@@ -324,8 +322,6 @@ class _TaskState:
324
322
  pulumi.set(__self__, "enabled", enabled)
325
323
  if error_integration is not None:
326
324
  pulumi.set(__self__, "error_integration", error_integration)
327
- if fully_qualified_name is not None:
328
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
329
325
  if name is not None:
330
326
  pulumi.set(__self__, "name", name)
331
327
  if schedule is not None:
@@ -419,18 +415,6 @@ class _TaskState:
419
415
  def error_integration(self, value: Optional[pulumi.Input[str]]):
420
416
  pulumi.set(self, "error_integration", value)
421
417
 
422
- @property
423
- @pulumi.getter(name="fullyQualifiedName")
424
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
425
- """
426
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
427
- """
428
- return pulumi.get(self, "fully_qualified_name")
429
-
430
- @fully_qualified_name.setter
431
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
432
- pulumi.set(self, "fully_qualified_name", value)
433
-
434
418
  @property
435
419
  @pulumi.getter
436
420
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -575,6 +559,52 @@ class Task(pulumi.CustomResource):
575
559
  when: Optional[pulumi.Input[str]] = None,
576
560
  __props__=None):
577
561
  """
562
+ ## Example Usage
563
+
564
+ ```python
565
+ import pulumi
566
+ import pulumi_snowflake as snowflake
567
+
568
+ task = snowflake.Task("task",
569
+ comment="my task",
570
+ database="database",
571
+ schema="schema",
572
+ warehouse="warehouse",
573
+ name="task",
574
+ schedule="10 MINUTE",
575
+ sql_statement="select * from foo;",
576
+ session_parameters={
577
+ "foo": "bar",
578
+ },
579
+ user_task_timeout_ms=10000,
580
+ afters="preceding_task",
581
+ when="foo AND bar",
582
+ enabled=True)
583
+ serverless_task = snowflake.Task("serverless_task",
584
+ comment="my serverless task",
585
+ database="db",
586
+ schema="schema",
587
+ name="serverless_task",
588
+ schedule="10 MINUTE",
589
+ sql_statement="select * from foo;",
590
+ session_parameters={
591
+ "foo": "bar",
592
+ },
593
+ user_task_timeout_ms=10000,
594
+ user_task_managed_initial_warehouse_size="XSMALL",
595
+ afters=[task.name],
596
+ when="foo AND bar",
597
+ enabled=True)
598
+ test_task = snowflake.Task("test_task",
599
+ comment="task with allow_overlapping_execution",
600
+ database="database",
601
+ schema="schema",
602
+ name="test_task",
603
+ sql_statement="select 1 as c;",
604
+ allow_overlapping_execution=True,
605
+ enabled=True)
606
+ ```
607
+
578
608
  ## Import
579
609
 
580
610
  format is database name | schema name | task name
@@ -609,6 +639,52 @@ class Task(pulumi.CustomResource):
609
639
  args: TaskArgs,
610
640
  opts: Optional[pulumi.ResourceOptions] = None):
611
641
  """
642
+ ## Example Usage
643
+
644
+ ```python
645
+ import pulumi
646
+ import pulumi_snowflake as snowflake
647
+
648
+ task = snowflake.Task("task",
649
+ comment="my task",
650
+ database="database",
651
+ schema="schema",
652
+ warehouse="warehouse",
653
+ name="task",
654
+ schedule="10 MINUTE",
655
+ sql_statement="select * from foo;",
656
+ session_parameters={
657
+ "foo": "bar",
658
+ },
659
+ user_task_timeout_ms=10000,
660
+ afters="preceding_task",
661
+ when="foo AND bar",
662
+ enabled=True)
663
+ serverless_task = snowflake.Task("serverless_task",
664
+ comment="my serverless task",
665
+ database="db",
666
+ schema="schema",
667
+ name="serverless_task",
668
+ schedule="10 MINUTE",
669
+ sql_statement="select * from foo;",
670
+ session_parameters={
671
+ "foo": "bar",
672
+ },
673
+ user_task_timeout_ms=10000,
674
+ user_task_managed_initial_warehouse_size="XSMALL",
675
+ afters=[task.name],
676
+ when="foo AND bar",
677
+ enabled=True)
678
+ test_task = snowflake.Task("test_task",
679
+ comment="task with allow_overlapping_execution",
680
+ database="database",
681
+ schema="schema",
682
+ name="test_task",
683
+ sql_statement="select 1 as c;",
684
+ allow_overlapping_execution=True,
685
+ enabled=True)
686
+ ```
687
+
612
688
  ## Import
613
689
 
614
690
  format is database name | schema name | task name
@@ -679,7 +755,6 @@ class Task(pulumi.CustomResource):
679
755
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
680
756
  __props__.__dict__["warehouse"] = warehouse
681
757
  __props__.__dict__["when"] = when
682
- __props__.__dict__["fully_qualified_name"] = None
683
758
  super(Task, __self__).__init__(
684
759
  'snowflake:index/task:Task',
685
760
  resource_name,
@@ -696,7 +771,6 @@ class Task(pulumi.CustomResource):
696
771
  database: Optional[pulumi.Input[str]] = None,
697
772
  enabled: Optional[pulumi.Input[bool]] = None,
698
773
  error_integration: Optional[pulumi.Input[str]] = None,
699
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
700
774
  name: Optional[pulumi.Input[str]] = None,
701
775
  schedule: Optional[pulumi.Input[str]] = None,
702
776
  schema: Optional[pulumi.Input[str]] = None,
@@ -720,7 +794,6 @@ class Task(pulumi.CustomResource):
720
794
  :param pulumi.Input[str] database: The database in which to create the task.
721
795
  :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
722
796
  :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
723
- :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).
724
797
  :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
725
798
  :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
726
799
  :param pulumi.Input[str] schema: The schema in which to create the task.
@@ -742,7 +815,6 @@ class Task(pulumi.CustomResource):
742
815
  __props__.__dict__["database"] = database
743
816
  __props__.__dict__["enabled"] = enabled
744
817
  __props__.__dict__["error_integration"] = error_integration
745
- __props__.__dict__["fully_qualified_name"] = fully_qualified_name
746
818
  __props__.__dict__["name"] = name
747
819
  __props__.__dict__["schedule"] = schedule
748
820
  __props__.__dict__["schema"] = schema
@@ -803,14 +875,6 @@ class Task(pulumi.CustomResource):
803
875
  """
804
876
  return pulumi.get(self, "error_integration")
805
877
 
806
- @property
807
- @pulumi.getter(name="fullyQualifiedName")
808
- def fully_qualified_name(self) -> pulumi.Output[str]:
809
- """
810
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
811
- """
812
- return pulumi.get(self, "fully_qualified_name")
813
-
814
878
  @property
815
879
  @pulumi.getter
816
880
  def name(self) -> pulumi.Output[str]:
@@ -147,7 +147,16 @@ class UnsafeExecute(pulumi.CustomResource):
147
147
  revert: Optional[pulumi.Input[str]] = None,
148
148
  __props__=None):
149
149
  """
150
- Create a UnsafeExecute resource with the given unique name, props, and options.
150
+ !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
151
+
152
+ > **Note** This resource will be included in the V1 (check here.
153
+
154
+ > **Note** It can be theoretically used to manage resource that are not supported by the provider. This is risky and may brake other resources if used incorrectly.
155
+
156
+ > **Note** Use `query` parameter with caution. It will fetch **ALL** the results returned by the query provided. Try to limit the number of results by writing query with filters. Query failure does not stop resource creation; it simply results in `query_results` being empty.
157
+
158
+ Experimental resource allowing execution of ANY SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
159
+
151
160
  :param str resource_name: The name of the resource.
152
161
  :param pulumi.ResourceOptions opts: Options for the resource.
153
162
  :param pulumi.Input[str] execute: SQL statement to execute. Forces recreation of resource on change.
@@ -161,7 +170,16 @@ class UnsafeExecute(pulumi.CustomResource):
161
170
  args: UnsafeExecuteArgs,
162
171
  opts: Optional[pulumi.ResourceOptions] = None):
163
172
  """
164
- Create a UnsafeExecute resource with the given unique name, props, and options.
173
+ !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
174
+
175
+ > **Note** This resource will be included in the V1 (check here.
176
+
177
+ > **Note** It can be theoretically used to manage resource that are not supported by the provider. This is risky and may brake other resources if used incorrectly.
178
+
179
+ > **Note** Use `query` parameter with caution. It will fetch **ALL** the results returned by the query provided. Try to limit the number of results by writing query with filters. Query failure does not stop resource creation; it simply results in `query_results` being empty.
180
+
181
+ Experimental resource allowing execution of ANY SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
182
+
165
183
  :param str resource_name: The name of the resource.
166
184
  :param UnsafeExecuteArgs args: The arguments to use to populate this resource's properties.
167
185
  :param pulumi.ResourceOptions opts: Options for the resource.