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
pulumi_snowflake/stage.py CHANGED
@@ -258,7 +258,6 @@ class _StageState:
258
258
  directory: Optional[pulumi.Input[str]] = None,
259
259
  encryption: Optional[pulumi.Input[str]] = None,
260
260
  file_format: Optional[pulumi.Input[str]] = None,
261
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
262
261
  name: Optional[pulumi.Input[str]] = None,
263
262
  schema: Optional[pulumi.Input[str]] = None,
264
263
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
@@ -275,7 +274,6 @@ class _StageState:
275
274
  :param pulumi.Input[str] directory: Specifies the directory settings for the stage.
276
275
  :param pulumi.Input[str] encryption: Specifies the encryption settings for the stage.
277
276
  :param pulumi.Input[str] file_format: Specifies the file format for the stage.
278
- :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).
279
277
  :param pulumi.Input[str] name: Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
280
278
  :param pulumi.Input[str] schema: The schema in which to create the stage.
281
279
  :param pulumi.Input[str] snowflake_iam_user: An AWS IAM user created for your Snowflake account. This user is the same for every external S3 stage created in your account.
@@ -299,8 +297,6 @@ class _StageState:
299
297
  pulumi.set(__self__, "encryption", encryption)
300
298
  if file_format is not None:
301
299
  pulumi.set(__self__, "file_format", file_format)
302
- if fully_qualified_name is not None:
303
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
304
300
  if name is not None:
305
301
  pulumi.set(__self__, "name", name)
306
302
  if schema is not None:
@@ -413,18 +409,6 @@ class _StageState:
413
409
  def file_format(self, value: Optional[pulumi.Input[str]]):
414
410
  pulumi.set(self, "file_format", value)
415
411
 
416
- @property
417
- @pulumi.getter(name="fullyQualifiedName")
418
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
419
- """
420
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
421
- """
422
- return pulumi.get(self, "fully_qualified_name")
423
-
424
- @fully_qualified_name.setter
425
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
426
- pulumi.set(self, "fully_qualified_name", value)
427
-
428
412
  @property
429
413
  @pulumi.getter
430
414
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -516,10 +500,24 @@ class Stage(pulumi.CustomResource):
516
500
  schema: Optional[pulumi.Input[str]] = None,
517
501
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
518
502
  storage_integration: Optional[pulumi.Input[str]] = None,
519
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StageTagArgs', 'StageTagArgsDict']]]]] = None,
503
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]]] = None,
520
504
  url: Optional[pulumi.Input[str]] = None,
521
505
  __props__=None):
522
506
  """
507
+ ## Example Usage
508
+
509
+ ```python
510
+ import pulumi
511
+ import pulumi_snowflake as snowflake
512
+
513
+ example_stage = snowflake.Stage("example_stage",
514
+ name="EXAMPLE_STAGE",
515
+ url="s3://com.example.bucket/prefix",
516
+ database="EXAMPLE_DB",
517
+ schema="EXAMPLE_SCHEMA",
518
+ credentials=f"AWS_KEY_ID='{example_aws_key_id}' AWS_SECRET_KEY='{example_aws_secret_key}'")
519
+ ```
520
+
523
521
  ## Import
524
522
 
525
523
  format is database name | schema name | stage name
@@ -542,7 +540,7 @@ class Stage(pulumi.CustomResource):
542
540
  :param pulumi.Input[str] schema: The schema in which to create the stage.
543
541
  :param pulumi.Input[str] snowflake_iam_user: An AWS IAM user created for your Snowflake account. This user is the same for every external S3 stage created in your account.
544
542
  :param pulumi.Input[str] storage_integration: Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.
545
- :param pulumi.Input[Sequence[pulumi.Input[Union['StageTagArgs', 'StageTagArgsDict']]]] tags: Definitions of a tag to associate with the resource.
543
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]] tags: Definitions of a tag to associate with the resource.
546
544
  :param pulumi.Input[str] url: Specifies the URL for the stage.
547
545
  """
548
546
  ...
@@ -552,6 +550,20 @@ class Stage(pulumi.CustomResource):
552
550
  args: StageArgs,
553
551
  opts: Optional[pulumi.ResourceOptions] = None):
554
552
  """
553
+ ## Example Usage
554
+
555
+ ```python
556
+ import pulumi
557
+ import pulumi_snowflake as snowflake
558
+
559
+ example_stage = snowflake.Stage("example_stage",
560
+ name="EXAMPLE_STAGE",
561
+ url="s3://com.example.bucket/prefix",
562
+ database="EXAMPLE_DB",
563
+ schema="EXAMPLE_SCHEMA",
564
+ credentials=f"AWS_KEY_ID='{example_aws_key_id}' AWS_SECRET_KEY='{example_aws_secret_key}'")
565
+ ```
566
+
555
567
  ## Import
556
568
 
557
569
  format is database name | schema name | stage name
@@ -587,7 +599,7 @@ class Stage(pulumi.CustomResource):
587
599
  schema: Optional[pulumi.Input[str]] = None,
588
600
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
589
601
  storage_integration: Optional[pulumi.Input[str]] = None,
590
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StageTagArgs', 'StageTagArgsDict']]]]] = None,
602
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]]] = None,
591
603
  url: Optional[pulumi.Input[str]] = None,
592
604
  __props__=None):
593
605
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -616,7 +628,6 @@ class Stage(pulumi.CustomResource):
616
628
  __props__.__dict__["storage_integration"] = storage_integration
617
629
  __props__.__dict__["tags"] = tags
618
630
  __props__.__dict__["url"] = url
619
- __props__.__dict__["fully_qualified_name"] = None
620
631
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"])
621
632
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
622
633
  super(Stage, __self__).__init__(
@@ -637,12 +648,11 @@ class Stage(pulumi.CustomResource):
637
648
  directory: Optional[pulumi.Input[str]] = None,
638
649
  encryption: Optional[pulumi.Input[str]] = None,
639
650
  file_format: Optional[pulumi.Input[str]] = None,
640
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
641
651
  name: Optional[pulumi.Input[str]] = None,
642
652
  schema: Optional[pulumi.Input[str]] = None,
643
653
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
644
654
  storage_integration: Optional[pulumi.Input[str]] = None,
645
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StageTagArgs', 'StageTagArgsDict']]]]] = None,
655
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]]] = None,
646
656
  url: Optional[pulumi.Input[str]] = None) -> 'Stage':
647
657
  """
648
658
  Get an existing Stage resource's state with the given name, id, and optional extra
@@ -659,12 +669,11 @@ class Stage(pulumi.CustomResource):
659
669
  :param pulumi.Input[str] directory: Specifies the directory settings for the stage.
660
670
  :param pulumi.Input[str] encryption: Specifies the encryption settings for the stage.
661
671
  :param pulumi.Input[str] file_format: Specifies the file format for the stage.
662
- :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).
663
672
  :param pulumi.Input[str] name: Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
664
673
  :param pulumi.Input[str] schema: The schema in which to create the stage.
665
674
  :param pulumi.Input[str] snowflake_iam_user: An AWS IAM user created for your Snowflake account. This user is the same for every external S3 stage created in your account.
666
675
  :param pulumi.Input[str] storage_integration: Specifies the name of the storage integration used to delegate authentication responsibility for external cloud storage to a Snowflake identity and access management (IAM) entity.
667
- :param pulumi.Input[Sequence[pulumi.Input[Union['StageTagArgs', 'StageTagArgsDict']]]] tags: Definitions of a tag to associate with the resource.
676
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]] tags: Definitions of a tag to associate with the resource.
668
677
  :param pulumi.Input[str] url: Specifies the URL for the stage.
669
678
  """
670
679
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -679,7 +688,6 @@ class Stage(pulumi.CustomResource):
679
688
  __props__.__dict__["directory"] = directory
680
689
  __props__.__dict__["encryption"] = encryption
681
690
  __props__.__dict__["file_format"] = file_format
682
- __props__.__dict__["fully_qualified_name"] = fully_qualified_name
683
691
  __props__.__dict__["name"] = name
684
692
  __props__.__dict__["schema"] = schema
685
693
  __props__.__dict__["snowflake_iam_user"] = snowflake_iam_user
@@ -752,14 +760,6 @@ class Stage(pulumi.CustomResource):
752
760
  """
753
761
  return pulumi.get(self, "file_format")
754
762
 
755
- @property
756
- @pulumi.getter(name="fullyQualifiedName")
757
- def fully_qualified_name(self) -> pulumi.Output[str]:
758
- """
759
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
760
- """
761
- return pulumi.get(self, "fully_qualified_name")
762
-
763
763
  @property
764
764
  @pulumi.getter
765
765
  def name(self) -> pulumi.Output[str]:
@@ -158,7 +158,6 @@ class _StorageIntegrationState:
158
158
  comment: Optional[pulumi.Input[str]] = None,
159
159
  created_on: Optional[pulumi.Input[str]] = None,
160
160
  enabled: Optional[pulumi.Input[bool]] = None,
161
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
162
161
  name: Optional[pulumi.Input[str]] = None,
163
162
  storage_allowed_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
164
163
  storage_aws_external_id: Optional[pulumi.Input[str]] = None,
@@ -174,7 +173,6 @@ class _StorageIntegrationState:
174
173
  :param pulumi.Input[str] azure_consent_url: The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
175
174
  :param pulumi.Input[str] azure_multi_tenant_app_name: This is the name of the Snowflake client application created for your account.
176
175
  :param pulumi.Input[str] created_on: Date and time when the storage integration was created.
177
- :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).
178
176
  :param pulumi.Input[Sequence[pulumi.Input[str]]] storage_allowed_locations: Explicitly limits external stages that use the integration to reference one or more storage locations.
179
177
  :param pulumi.Input[str] storage_aws_external_id: The external ID that Snowflake will use when assuming the AWS role.
180
178
  :param pulumi.Input[str] storage_aws_iam_user_arn: The Snowflake user that will attempt to assume the AWS role.
@@ -194,8 +192,6 @@ class _StorageIntegrationState:
194
192
  pulumi.set(__self__, "created_on", created_on)
195
193
  if enabled is not None:
196
194
  pulumi.set(__self__, "enabled", enabled)
197
- if fully_qualified_name is not None:
198
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
199
195
  if name is not None:
200
196
  pulumi.set(__self__, "name", name)
201
197
  if storage_allowed_locations is not None:
@@ -280,18 +276,6 @@ class _StorageIntegrationState:
280
276
  def enabled(self, value: Optional[pulumi.Input[bool]]):
281
277
  pulumi.set(self, "enabled", value)
282
278
 
283
- @property
284
- @pulumi.getter(name="fullyQualifiedName")
285
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
286
- """
287
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
288
- """
289
- return pulumi.get(self, "fully_qualified_name")
290
-
291
- @fully_qualified_name.setter
292
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
293
- pulumi.set(self, "fully_qualified_name", value)
294
-
295
279
  @property
296
280
  @pulumi.getter
297
281
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -418,6 +402,8 @@ class StorageIntegration(pulumi.CustomResource):
418
402
  type: Optional[pulumi.Input[str]] = None,
419
403
  __props__=None):
420
404
  """
405
+ ## Example Usage
406
+
421
407
  ## Import
422
408
 
423
409
  ```sh
@@ -437,6 +423,8 @@ class StorageIntegration(pulumi.CustomResource):
437
423
  args: StorageIntegrationArgs,
438
424
  opts: Optional[pulumi.ResourceOptions] = None):
439
425
  """
426
+ ## Example Usage
427
+
440
428
  ## Import
441
429
 
442
430
  ```sh
@@ -494,7 +482,6 @@ class StorageIntegration(pulumi.CustomResource):
494
482
  __props__.__dict__["azure_consent_url"] = None
495
483
  __props__.__dict__["azure_multi_tenant_app_name"] = None
496
484
  __props__.__dict__["created_on"] = None
497
- __props__.__dict__["fully_qualified_name"] = None
498
485
  __props__.__dict__["storage_aws_external_id"] = None
499
486
  __props__.__dict__["storage_aws_iam_user_arn"] = None
500
487
  __props__.__dict__["storage_gcp_service_account"] = None
@@ -514,7 +501,6 @@ class StorageIntegration(pulumi.CustomResource):
514
501
  comment: Optional[pulumi.Input[str]] = None,
515
502
  created_on: Optional[pulumi.Input[str]] = None,
516
503
  enabled: Optional[pulumi.Input[bool]] = None,
517
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
518
504
  name: Optional[pulumi.Input[str]] = None,
519
505
  storage_allowed_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
520
506
  storage_aws_external_id: Optional[pulumi.Input[str]] = None,
@@ -535,7 +521,6 @@ class StorageIntegration(pulumi.CustomResource):
535
521
  :param pulumi.Input[str] azure_consent_url: The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
536
522
  :param pulumi.Input[str] azure_multi_tenant_app_name: This is the name of the Snowflake client application created for your account.
537
523
  :param pulumi.Input[str] created_on: Date and time when the storage integration was created.
538
- :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).
539
524
  :param pulumi.Input[Sequence[pulumi.Input[str]]] storage_allowed_locations: Explicitly limits external stages that use the integration to reference one or more storage locations.
540
525
  :param pulumi.Input[str] storage_aws_external_id: The external ID that Snowflake will use when assuming the AWS role.
541
526
  :param pulumi.Input[str] storage_aws_iam_user_arn: The Snowflake user that will attempt to assume the AWS role.
@@ -553,7 +538,6 @@ class StorageIntegration(pulumi.CustomResource):
553
538
  __props__.__dict__["comment"] = comment
554
539
  __props__.__dict__["created_on"] = created_on
555
540
  __props__.__dict__["enabled"] = enabled
556
- __props__.__dict__["fully_qualified_name"] = fully_qualified_name
557
541
  __props__.__dict__["name"] = name
558
542
  __props__.__dict__["storage_allowed_locations"] = storage_allowed_locations
559
543
  __props__.__dict__["storage_aws_external_id"] = storage_aws_external_id
@@ -605,14 +589,6 @@ class StorageIntegration(pulumi.CustomResource):
605
589
  def enabled(self) -> pulumi.Output[Optional[bool]]:
606
590
  return pulumi.get(self, "enabled")
607
591
 
608
- @property
609
- @pulumi.getter(name="fullyQualifiedName")
610
- def fully_qualified_name(self) -> pulumi.Output[str]:
611
- """
612
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
613
- """
614
- return pulumi.get(self, "fully_qualified_name")
615
-
616
592
  @property
617
593
  @pulumi.getter
618
594
  def name(self) -> pulumi.Output[str]:
@@ -183,7 +183,6 @@ class _StreamState:
183
183
  append_only: Optional[pulumi.Input[bool]] = None,
184
184
  comment: Optional[pulumi.Input[str]] = None,
185
185
  database: Optional[pulumi.Input[str]] = None,
186
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
187
186
  insert_only: Optional[pulumi.Input[bool]] = None,
188
187
  name: Optional[pulumi.Input[str]] = None,
189
188
  on_stage: Optional[pulumi.Input[str]] = None,
@@ -197,7 +196,6 @@ class _StreamState:
197
196
  :param pulumi.Input[bool] append_only: Type of the stream that will be created.
198
197
  :param pulumi.Input[str] comment: Specifies a comment for the stream.
199
198
  :param pulumi.Input[str] database: The database in which to create the stream.
200
- :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).
201
199
  :param pulumi.Input[bool] insert_only: Create an insert only stream type.
202
200
  :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created.
203
201
  :param pulumi.Input[str] on_stage: Specifies an identifier for the stage the stream will monitor.
@@ -213,8 +211,6 @@ class _StreamState:
213
211
  pulumi.set(__self__, "comment", comment)
214
212
  if database is not None:
215
213
  pulumi.set(__self__, "database", database)
216
- if fully_qualified_name is not None:
217
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
218
214
  if insert_only is not None:
219
215
  pulumi.set(__self__, "insert_only", insert_only)
220
216
  if name is not None:
@@ -268,18 +264,6 @@ class _StreamState:
268
264
  def database(self, value: Optional[pulumi.Input[str]]):
269
265
  pulumi.set(self, "database", value)
270
266
 
271
- @property
272
- @pulumi.getter(name="fullyQualifiedName")
273
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
274
- """
275
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
276
- """
277
- return pulumi.get(self, "fully_qualified_name")
278
-
279
- @fully_qualified_name.setter
280
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
281
- pulumi.set(self, "fully_qualified_name", value)
282
-
283
267
  @property
284
268
  @pulumi.getter(name="insertOnly")
285
269
  def insert_only(self) -> Optional[pulumi.Input[bool]]:
@@ -394,6 +378,8 @@ class Stream(pulumi.CustomResource):
394
378
  show_initial_rows: Optional[pulumi.Input[bool]] = None,
395
379
  __props__=None):
396
380
  """
381
+ ## Example Usage
382
+
397
383
  ## Import
398
384
 
399
385
  format is database name | schema name | stream name
@@ -422,6 +408,8 @@ class Stream(pulumi.CustomResource):
422
408
  args: StreamArgs,
423
409
  opts: Optional[pulumi.ResourceOptions] = None):
424
410
  """
411
+ ## Example Usage
412
+
425
413
  ## Import
426
414
 
427
415
  format is database name | schema name | stream name
@@ -478,7 +466,6 @@ class Stream(pulumi.CustomResource):
478
466
  raise TypeError("Missing required property 'schema'")
479
467
  __props__.__dict__["schema"] = schema
480
468
  __props__.__dict__["show_initial_rows"] = show_initial_rows
481
- __props__.__dict__["fully_qualified_name"] = None
482
469
  __props__.__dict__["owner"] = None
483
470
  super(Stream, __self__).__init__(
484
471
  'snowflake:index/stream:Stream',
@@ -493,7 +480,6 @@ class Stream(pulumi.CustomResource):
493
480
  append_only: Optional[pulumi.Input[bool]] = None,
494
481
  comment: Optional[pulumi.Input[str]] = None,
495
482
  database: Optional[pulumi.Input[str]] = None,
496
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
497
483
  insert_only: Optional[pulumi.Input[bool]] = None,
498
484
  name: Optional[pulumi.Input[str]] = None,
499
485
  on_stage: Optional[pulumi.Input[str]] = None,
@@ -512,7 +498,6 @@ class Stream(pulumi.CustomResource):
512
498
  :param pulumi.Input[bool] append_only: Type of the stream that will be created.
513
499
  :param pulumi.Input[str] comment: Specifies a comment for the stream.
514
500
  :param pulumi.Input[str] database: The database in which to create the stream.
515
- :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).
516
501
  :param pulumi.Input[bool] insert_only: Create an insert only stream type.
517
502
  :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created.
518
503
  :param pulumi.Input[str] on_stage: Specifies an identifier for the stage the stream will monitor.
@@ -529,7 +514,6 @@ class Stream(pulumi.CustomResource):
529
514
  __props__.__dict__["append_only"] = append_only
530
515
  __props__.__dict__["comment"] = comment
531
516
  __props__.__dict__["database"] = database
532
- __props__.__dict__["fully_qualified_name"] = fully_qualified_name
533
517
  __props__.__dict__["insert_only"] = insert_only
534
518
  __props__.__dict__["name"] = name
535
519
  __props__.__dict__["on_stage"] = on_stage
@@ -564,14 +548,6 @@ class Stream(pulumi.CustomResource):
564
548
  """
565
549
  return pulumi.get(self, "database")
566
550
 
567
- @property
568
- @pulumi.getter(name="fullyQualifiedName")
569
- def fully_qualified_name(self) -> pulumi.Output[str]:
570
- """
571
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
572
- """
573
- return pulumi.get(self, "fully_qualified_name")
574
-
575
551
  @property
576
552
  @pulumi.getter(name="insertOnly")
577
553
  def insert_only(self) -> pulumi.Output[Optional[bool]]:
@@ -185,7 +185,6 @@ class _StreamlitState:
185
185
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]] = None,
186
186
  directory_location: Optional[pulumi.Input[str]] = None,
187
187
  external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
188
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
189
188
  main_file: Optional[pulumi.Input[str]] = None,
190
189
  name: Optional[pulumi.Input[str]] = None,
191
190
  query_warehouse: Optional[pulumi.Input[str]] = None,
@@ -200,12 +199,11 @@ class _StreamlitState:
200
199
  :param pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
201
200
  :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
202
201
  :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
203
- :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).
204
202
  :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
205
203
  :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
206
204
  :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
207
205
  :param pulumi.Input[str] schema: The schema in which to create the streamlit.
208
- :param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
206
+ :param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
209
207
  :param pulumi.Input[str] stage: The stage in which streamlit files are located.
210
208
  :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
211
209
  """
@@ -219,8 +217,6 @@ class _StreamlitState:
219
217
  pulumi.set(__self__, "directory_location", directory_location)
220
218
  if external_access_integrations is not None:
221
219
  pulumi.set(__self__, "external_access_integrations", external_access_integrations)
222
- if fully_qualified_name is not None:
223
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
224
220
  if main_file is not None:
225
221
  pulumi.set(__self__, "main_file", main_file)
226
222
  if name is not None:
@@ -296,18 +292,6 @@ class _StreamlitState:
296
292
  def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
297
293
  pulumi.set(self, "external_access_integrations", value)
298
294
 
299
- @property
300
- @pulumi.getter(name="fullyQualifiedName")
301
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
302
- """
303
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
304
- """
305
- return pulumi.get(self, "fully_qualified_name")
306
-
307
- @fully_qualified_name.setter
308
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
309
- pulumi.set(self, "fully_qualified_name", value)
310
-
311
295
  @property
312
296
  @pulumi.getter(name="mainFile")
313
297
  def main_file(self) -> Optional[pulumi.Input[str]]:
@@ -360,7 +344,7 @@ class _StreamlitState:
360
344
  @pulumi.getter(name="showOutputs")
361
345
  def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]:
362
346
  """
363
- Outputs the result of `SHOW STREAMLIT` for the given streamlit.
347
+ Outputs the result of `SHOW STREAMLIT` for the given streamli.
364
348
  """
365
349
  return pulumi.get(self, "show_outputs")
366
350
 
@@ -410,12 +394,16 @@ class Streamlit(pulumi.CustomResource):
410
394
  title: Optional[pulumi.Input[str]] = None,
411
395
  __props__=None):
412
396
  """
397
+ !> **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.
398
+
399
+ Resource used to manage streamlits objects. For more information, check [streamlit documentation](https://docs.snowflake.com/en/sql-reference/commands-streamlit).
400
+
413
401
  ## Import
414
402
 
415
- format is <database_name>.<schema_name>.<streamlit_name>
403
+ format is database name | schema name | streamlit name
416
404
 
417
405
  ```sh
418
- $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
406
+ $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
419
407
  ```
420
408
 
421
409
  :param str resource_name: The name of the resource.
@@ -438,12 +426,16 @@ class Streamlit(pulumi.CustomResource):
438
426
  args: StreamlitArgs,
439
427
  opts: Optional[pulumi.ResourceOptions] = None):
440
428
  """
429
+ !> **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.
430
+
431
+ Resource used to manage streamlits objects. For more information, check [streamlit documentation](https://docs.snowflake.com/en/sql-reference/commands-streamlit).
432
+
441
433
  ## Import
442
434
 
443
- format is <database_name>.<schema_name>.<streamlit_name>
435
+ format is database name | schema name | streamlit name
444
436
 
445
437
  ```sh
446
- $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
438
+ $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
447
439
  ```
448
440
 
449
441
  :param str resource_name: The name of the resource.
@@ -499,7 +491,6 @@ class Streamlit(pulumi.CustomResource):
499
491
  __props__.__dict__["stage"] = stage
500
492
  __props__.__dict__["title"] = title
501
493
  __props__.__dict__["describe_outputs"] = None
502
- __props__.__dict__["fully_qualified_name"] = None
503
494
  __props__.__dict__["show_outputs"] = None
504
495
  super(Streamlit, __self__).__init__(
505
496
  'snowflake:index/streamlit:Streamlit',
@@ -513,15 +504,14 @@ class Streamlit(pulumi.CustomResource):
513
504
  opts: Optional[pulumi.ResourceOptions] = None,
514
505
  comment: Optional[pulumi.Input[str]] = None,
515
506
  database: Optional[pulumi.Input[str]] = None,
516
- describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]]] = None,
507
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitDescribeOutputArgs']]]]] = None,
517
508
  directory_location: Optional[pulumi.Input[str]] = None,
518
509
  external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
519
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
520
510
  main_file: Optional[pulumi.Input[str]] = None,
521
511
  name: Optional[pulumi.Input[str]] = None,
522
512
  query_warehouse: Optional[pulumi.Input[str]] = None,
523
513
  schema: Optional[pulumi.Input[str]] = None,
524
- show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]]] = None,
514
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitShowOutputArgs']]]]] = None,
525
515
  stage: Optional[pulumi.Input[str]] = None,
526
516
  title: Optional[pulumi.Input[str]] = None) -> 'Streamlit':
527
517
  """
@@ -533,15 +523,14 @@ class Streamlit(pulumi.CustomResource):
533
523
  :param pulumi.ResourceOptions opts: Options for the resource.
534
524
  :param pulumi.Input[str] comment: Specifies a comment for the streamlit.
535
525
  :param pulumi.Input[str] database: The database in which to create the streamlit
536
- :param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
526
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
537
527
  :param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
538
528
  :param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
539
- :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).
540
529
  :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
541
530
  :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
542
531
  :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
543
532
  :param pulumi.Input[str] schema: The schema in which to create the streamlit.
544
- :param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
533
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StreamlitShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
545
534
  :param pulumi.Input[str] stage: The stage in which streamlit files are located.
546
535
  :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
547
536
  """
@@ -554,7 +543,6 @@ class Streamlit(pulumi.CustomResource):
554
543
  __props__.__dict__["describe_outputs"] = describe_outputs
555
544
  __props__.__dict__["directory_location"] = directory_location
556
545
  __props__.__dict__["external_access_integrations"] = external_access_integrations
557
- __props__.__dict__["fully_qualified_name"] = fully_qualified_name
558
546
  __props__.__dict__["main_file"] = main_file
559
547
  __props__.__dict__["name"] = name
560
548
  __props__.__dict__["query_warehouse"] = query_warehouse
@@ -604,14 +592,6 @@ class Streamlit(pulumi.CustomResource):
604
592
  """
605
593
  return pulumi.get(self, "external_access_integrations")
606
594
 
607
- @property
608
- @pulumi.getter(name="fullyQualifiedName")
609
- def fully_qualified_name(self) -> pulumi.Output[str]:
610
- """
611
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
612
- """
613
- return pulumi.get(self, "fully_qualified_name")
614
-
615
595
  @property
616
596
  @pulumi.getter(name="mainFile")
617
597
  def main_file(self) -> pulumi.Output[str]:
@@ -648,7 +628,7 @@ class Streamlit(pulumi.CustomResource):
648
628
  @pulumi.getter(name="showOutputs")
649
629
  def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitShowOutput']]:
650
630
  """
651
- Outputs the result of `SHOW STREAMLIT` for the given streamlit.
631
+ Outputs the result of `SHOW STREAMLIT` for the given streamli.
652
632
  """
653
633
  return pulumi.get(self, "show_outputs")
654
634