pulumi-snowflake 0.58.0a1725948527__py3-none-any.whl → 0.58.0a1726066221__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (80) hide show
  1. pulumi_snowflake/_inputs.py +5859 -127
  2. pulumi_snowflake/account.py +28 -50
  3. pulumi_snowflake/account_parameter.py +0 -28
  4. pulumi_snowflake/account_password_policy_attachment.py +2 -30
  5. pulumi_snowflake/account_role.py +41 -36
  6. pulumi_snowflake/alert.py +28 -40
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
  10. pulumi_snowflake/api_integration.py +28 -54
  11. pulumi_snowflake/cortex_search_service.py +28 -76
  12. pulumi_snowflake/database.py +82 -15
  13. pulumi_snowflake/database_old.py +0 -72
  14. pulumi_snowflake/database_role.py +76 -42
  15. pulumi_snowflake/dynamic_table.py +28 -38
  16. pulumi_snowflake/email_notification_integration.py +28 -26
  17. pulumi_snowflake/external_function.py +28 -52
  18. pulumi_snowflake/external_oauth_integration.py +35 -15
  19. pulumi_snowflake/external_table.py +28 -48
  20. pulumi_snowflake/failover_group.py +28 -72
  21. pulumi_snowflake/file_format.py +28 -26
  22. pulumi_snowflake/function.py +28 -4
  23. pulumi_snowflake/get_database_roles.py +61 -38
  24. pulumi_snowflake/get_users.py +96 -33
  25. pulumi_snowflake/get_views.py +92 -53
  26. pulumi_snowflake/grant_account_role.py +0 -4
  27. pulumi_snowflake/grant_application_role.py +0 -4
  28. pulumi_snowflake/grant_database_role.py +0 -4
  29. pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
  30. pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
  31. pulumi_snowflake/grant_privileges_to_share.py +49 -2
  32. pulumi_snowflake/managed_account.py +28 -4
  33. pulumi_snowflake/masking_policy.py +28 -84
  34. pulumi_snowflake/materialized_view.py +28 -34
  35. pulumi_snowflake/network_policy.py +35 -15
  36. pulumi_snowflake/network_policy_attachment.py +0 -30
  37. pulumi_snowflake/network_rule.py +28 -66
  38. pulumi_snowflake/notification_integration.py +28 -34
  39. pulumi_snowflake/oauth_integration.py +0 -34
  40. pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
  41. pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
  42. pulumi_snowflake/object_parameter.py +0 -98
  43. pulumi_snowflake/outputs.py +11648 -3842
  44. pulumi_snowflake/password_policy.py +28 -28
  45. pulumi_snowflake/pipe.py +28 -4
  46. pulumi_snowflake/procedure.py +28 -4
  47. pulumi_snowflake/pulumi-plugin.json +1 -1
  48. pulumi_snowflake/resource_monitor.py +28 -48
  49. pulumi_snowflake/role.py +41 -36
  50. pulumi_snowflake/row_access_policy.py +28 -34
  51. pulumi_snowflake/saml2_integration.py +35 -15
  52. pulumi_snowflake/saml_integration.py +0 -34
  53. pulumi_snowflake/schema.py +39 -19
  54. pulumi_snowflake/scim_integration.py +35 -15
  55. pulumi_snowflake/secondary_database.py +35 -19
  56. pulumi_snowflake/sequence.py +4 -36
  57. pulumi_snowflake/session_parameter.py +0 -32
  58. pulumi_snowflake/share.py +28 -28
  59. pulumi_snowflake/shared_database.py +35 -15
  60. pulumi_snowflake/stage.py +28 -28
  61. pulumi_snowflake/storage_integration.py +28 -4
  62. pulumi_snowflake/stream.py +28 -4
  63. pulumi_snowflake/streamlit.py +36 -16
  64. pulumi_snowflake/table.py +28 -32
  65. pulumi_snowflake/table_column_masking_policy_application.py +2 -14
  66. pulumi_snowflake/table_constraint.py +0 -152
  67. pulumi_snowflake/tag.py +28 -40
  68. pulumi_snowflake/tag_association.py +0 -120
  69. pulumi_snowflake/tag_masking_policy_association.py +0 -4
  70. pulumi_snowflake/task.py +28 -92
  71. pulumi_snowflake/unsafe_execute.py +2 -20
  72. pulumi_snowflake/user.py +3341 -368
  73. pulumi_snowflake/user_password_policy_attachment.py +0 -46
  74. pulumi_snowflake/view.py +465 -185
  75. pulumi_snowflake/warehouse.py +35 -39
  76. {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
  77. pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
  78. pulumi_snowflake-0.58.0a1725948527.dist-info/RECORD +0 -129
  79. {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
  80. {pulumi_snowflake-0.58.0a1725948527.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
@@ -158,6 +158,7 @@ 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,
161
162
  name: Optional[pulumi.Input[str]] = None,
162
163
  storage_allowed_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
163
164
  storage_aws_external_id: Optional[pulumi.Input[str]] = None,
@@ -173,6 +174,7 @@ class _StorageIntegrationState:
173
174
  :param pulumi.Input[str] azure_consent_url: The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
174
175
  :param pulumi.Input[str] azure_multi_tenant_app_name: This is the name of the Snowflake client application created for your account.
175
176
  :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).
176
178
  :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.
177
179
  :param pulumi.Input[str] storage_aws_external_id: The external ID that Snowflake will use when assuming the AWS role.
178
180
  :param pulumi.Input[str] storage_aws_iam_user_arn: The Snowflake user that will attempt to assume the AWS role.
@@ -192,6 +194,8 @@ class _StorageIntegrationState:
192
194
  pulumi.set(__self__, "created_on", created_on)
193
195
  if enabled is not None:
194
196
  pulumi.set(__self__, "enabled", enabled)
197
+ if fully_qualified_name is not None:
198
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
195
199
  if name is not None:
196
200
  pulumi.set(__self__, "name", name)
197
201
  if storage_allowed_locations is not None:
@@ -276,6 +280,18 @@ class _StorageIntegrationState:
276
280
  def enabled(self, value: Optional[pulumi.Input[bool]]):
277
281
  pulumi.set(self, "enabled", value)
278
282
 
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
+
279
295
  @property
280
296
  @pulumi.getter
281
297
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -402,8 +418,6 @@ class StorageIntegration(pulumi.CustomResource):
402
418
  type: Optional[pulumi.Input[str]] = None,
403
419
  __props__=None):
404
420
  """
405
- ## Example Usage
406
-
407
421
  ## Import
408
422
 
409
423
  ```sh
@@ -423,8 +437,6 @@ class StorageIntegration(pulumi.CustomResource):
423
437
  args: StorageIntegrationArgs,
424
438
  opts: Optional[pulumi.ResourceOptions] = None):
425
439
  """
426
- ## Example Usage
427
-
428
440
  ## Import
429
441
 
430
442
  ```sh
@@ -482,6 +494,7 @@ class StorageIntegration(pulumi.CustomResource):
482
494
  __props__.__dict__["azure_consent_url"] = None
483
495
  __props__.__dict__["azure_multi_tenant_app_name"] = None
484
496
  __props__.__dict__["created_on"] = None
497
+ __props__.__dict__["fully_qualified_name"] = None
485
498
  __props__.__dict__["storage_aws_external_id"] = None
486
499
  __props__.__dict__["storage_aws_iam_user_arn"] = None
487
500
  __props__.__dict__["storage_gcp_service_account"] = None
@@ -501,6 +514,7 @@ class StorageIntegration(pulumi.CustomResource):
501
514
  comment: Optional[pulumi.Input[str]] = None,
502
515
  created_on: Optional[pulumi.Input[str]] = None,
503
516
  enabled: Optional[pulumi.Input[bool]] = None,
517
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
504
518
  name: Optional[pulumi.Input[str]] = None,
505
519
  storage_allowed_locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
506
520
  storage_aws_external_id: Optional[pulumi.Input[str]] = None,
@@ -521,6 +535,7 @@ class StorageIntegration(pulumi.CustomResource):
521
535
  :param pulumi.Input[str] azure_consent_url: The consent URL that is used to create an Azure Snowflake service principle inside your tenant.
522
536
  :param pulumi.Input[str] azure_multi_tenant_app_name: This is the name of the Snowflake client application created for your account.
523
537
  :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).
524
539
  :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.
525
540
  :param pulumi.Input[str] storage_aws_external_id: The external ID that Snowflake will use when assuming the AWS role.
526
541
  :param pulumi.Input[str] storage_aws_iam_user_arn: The Snowflake user that will attempt to assume the AWS role.
@@ -538,6 +553,7 @@ class StorageIntegration(pulumi.CustomResource):
538
553
  __props__.__dict__["comment"] = comment
539
554
  __props__.__dict__["created_on"] = created_on
540
555
  __props__.__dict__["enabled"] = enabled
556
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
541
557
  __props__.__dict__["name"] = name
542
558
  __props__.__dict__["storage_allowed_locations"] = storage_allowed_locations
543
559
  __props__.__dict__["storage_aws_external_id"] = storage_aws_external_id
@@ -589,6 +605,14 @@ class StorageIntegration(pulumi.CustomResource):
589
605
  def enabled(self) -> pulumi.Output[Optional[bool]]:
590
606
  return pulumi.get(self, "enabled")
591
607
 
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
+
592
616
  @property
593
617
  @pulumi.getter
594
618
  def name(self) -> pulumi.Output[str]:
@@ -183,6 +183,7 @@ 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,
186
187
  insert_only: Optional[pulumi.Input[bool]] = None,
187
188
  name: Optional[pulumi.Input[str]] = None,
188
189
  on_stage: Optional[pulumi.Input[str]] = None,
@@ -196,6 +197,7 @@ class _StreamState:
196
197
  :param pulumi.Input[bool] append_only: Type of the stream that will be created.
197
198
  :param pulumi.Input[str] comment: Specifies a comment for the stream.
198
199
  :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).
199
201
  :param pulumi.Input[bool] insert_only: Create an insert only stream type.
200
202
  :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.
201
203
  :param pulumi.Input[str] on_stage: Specifies an identifier for the stage the stream will monitor.
@@ -211,6 +213,8 @@ class _StreamState:
211
213
  pulumi.set(__self__, "comment", comment)
212
214
  if database is not None:
213
215
  pulumi.set(__self__, "database", database)
216
+ if fully_qualified_name is not None:
217
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
214
218
  if insert_only is not None:
215
219
  pulumi.set(__self__, "insert_only", insert_only)
216
220
  if name is not None:
@@ -264,6 +268,18 @@ class _StreamState:
264
268
  def database(self, value: Optional[pulumi.Input[str]]):
265
269
  pulumi.set(self, "database", value)
266
270
 
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
+
267
283
  @property
268
284
  @pulumi.getter(name="insertOnly")
269
285
  def insert_only(self) -> Optional[pulumi.Input[bool]]:
@@ -378,8 +394,6 @@ class Stream(pulumi.CustomResource):
378
394
  show_initial_rows: Optional[pulumi.Input[bool]] = None,
379
395
  __props__=None):
380
396
  """
381
- ## Example Usage
382
-
383
397
  ## Import
384
398
 
385
399
  format is database name | schema name | stream name
@@ -408,8 +422,6 @@ class Stream(pulumi.CustomResource):
408
422
  args: StreamArgs,
409
423
  opts: Optional[pulumi.ResourceOptions] = None):
410
424
  """
411
- ## Example Usage
412
-
413
425
  ## Import
414
426
 
415
427
  format is database name | schema name | stream name
@@ -466,6 +478,7 @@ class Stream(pulumi.CustomResource):
466
478
  raise TypeError("Missing required property 'schema'")
467
479
  __props__.__dict__["schema"] = schema
468
480
  __props__.__dict__["show_initial_rows"] = show_initial_rows
481
+ __props__.__dict__["fully_qualified_name"] = None
469
482
  __props__.__dict__["owner"] = None
470
483
  super(Stream, __self__).__init__(
471
484
  'snowflake:index/stream:Stream',
@@ -480,6 +493,7 @@ class Stream(pulumi.CustomResource):
480
493
  append_only: Optional[pulumi.Input[bool]] = None,
481
494
  comment: Optional[pulumi.Input[str]] = None,
482
495
  database: Optional[pulumi.Input[str]] = None,
496
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
483
497
  insert_only: Optional[pulumi.Input[bool]] = None,
484
498
  name: Optional[pulumi.Input[str]] = None,
485
499
  on_stage: Optional[pulumi.Input[str]] = None,
@@ -498,6 +512,7 @@ class Stream(pulumi.CustomResource):
498
512
  :param pulumi.Input[bool] append_only: Type of the stream that will be created.
499
513
  :param pulumi.Input[str] comment: Specifies a comment for the stream.
500
514
  :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).
501
516
  :param pulumi.Input[bool] insert_only: Create an insert only stream type.
502
517
  :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.
503
518
  :param pulumi.Input[str] on_stage: Specifies an identifier for the stage the stream will monitor.
@@ -514,6 +529,7 @@ class Stream(pulumi.CustomResource):
514
529
  __props__.__dict__["append_only"] = append_only
515
530
  __props__.__dict__["comment"] = comment
516
531
  __props__.__dict__["database"] = database
532
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
517
533
  __props__.__dict__["insert_only"] = insert_only
518
534
  __props__.__dict__["name"] = name
519
535
  __props__.__dict__["on_stage"] = on_stage
@@ -548,6 +564,14 @@ class Stream(pulumi.CustomResource):
548
564
  """
549
565
  return pulumi.get(self, "database")
550
566
 
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
+
551
575
  @property
552
576
  @pulumi.getter(name="insertOnly")
553
577
  def insert_only(self) -> pulumi.Output[Optional[bool]]:
@@ -185,6 +185,7 @@ 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,
188
189
  main_file: Optional[pulumi.Input[str]] = None,
189
190
  name: Optional[pulumi.Input[str]] = None,
190
191
  query_warehouse: Optional[pulumi.Input[str]] = None,
@@ -199,11 +200,12 @@ class _StreamlitState:
199
200
  :param pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
200
201
  :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.
201
202
  :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).
202
204
  :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
203
205
  :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
204
206
  :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
205
207
  :param pulumi.Input[str] schema: The schema in which to create the streamlit.
206
- :param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
208
+ :param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
207
209
  :param pulumi.Input[str] stage: The stage in which streamlit files are located.
208
210
  :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
209
211
  """
@@ -217,6 +219,8 @@ class _StreamlitState:
217
219
  pulumi.set(__self__, "directory_location", directory_location)
218
220
  if external_access_integrations is not None:
219
221
  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)
220
224
  if main_file is not None:
221
225
  pulumi.set(__self__, "main_file", main_file)
222
226
  if name is not None:
@@ -292,6 +296,18 @@ class _StreamlitState:
292
296
  def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
293
297
  pulumi.set(self, "external_access_integrations", value)
294
298
 
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
+
295
311
  @property
296
312
  @pulumi.getter(name="mainFile")
297
313
  def main_file(self) -> Optional[pulumi.Input[str]]:
@@ -344,7 +360,7 @@ class _StreamlitState:
344
360
  @pulumi.getter(name="showOutputs")
345
361
  def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]:
346
362
  """
347
- Outputs the result of `SHOW STREAMLIT` for the given streamli.
363
+ Outputs the result of `SHOW STREAMLIT` for the given streamlit.
348
364
  """
349
365
  return pulumi.get(self, "show_outputs")
350
366
 
@@ -394,16 +410,12 @@ class Streamlit(pulumi.CustomResource):
394
410
  title: Optional[pulumi.Input[str]] = None,
395
411
  __props__=None):
396
412
  """
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
-
401
413
  ## Import
402
414
 
403
- format is database name | schema name | streamlit name
415
+ format is <database_name>.<schema_name>.<streamlit_name>
404
416
 
405
417
  ```sh
406
- $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
418
+ $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
407
419
  ```
408
420
 
409
421
  :param str resource_name: The name of the resource.
@@ -426,16 +438,12 @@ class Streamlit(pulumi.CustomResource):
426
438
  args: StreamlitArgs,
427
439
  opts: Optional[pulumi.ResourceOptions] = None):
428
440
  """
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
-
433
441
  ## Import
434
442
 
435
- format is database name | schema name | streamlit name
443
+ format is <database_name>.<schema_name>.<streamlit_name>
436
444
 
437
445
  ```sh
438
- $ pulumi import snowflake:index/streamlit:Streamlit example 'dbName|schemaName|streamlitName'
446
+ $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
439
447
  ```
440
448
 
441
449
  :param str resource_name: The name of the resource.
@@ -491,6 +499,7 @@ class Streamlit(pulumi.CustomResource):
491
499
  __props__.__dict__["stage"] = stage
492
500
  __props__.__dict__["title"] = title
493
501
  __props__.__dict__["describe_outputs"] = None
502
+ __props__.__dict__["fully_qualified_name"] = None
494
503
  __props__.__dict__["show_outputs"] = None
495
504
  super(Streamlit, __self__).__init__(
496
505
  'snowflake:index/streamlit:Streamlit',
@@ -507,6 +516,7 @@ class Streamlit(pulumi.CustomResource):
507
516
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]]] = None,
508
517
  directory_location: Optional[pulumi.Input[str]] = None,
509
518
  external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
519
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
510
520
  main_file: Optional[pulumi.Input[str]] = None,
511
521
  name: Optional[pulumi.Input[str]] = None,
512
522
  query_warehouse: Optional[pulumi.Input[str]] = None,
@@ -526,11 +536,12 @@ class Streamlit(pulumi.CustomResource):
526
536
  :param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
527
537
  :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.
528
538
  :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).
529
540
  :param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `root_location`
530
541
  :param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
531
542
  :param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run.
532
543
  :param pulumi.Input[str] schema: The schema in which to create the streamlit.
533
- :param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamli.
544
+ :param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
534
545
  :param pulumi.Input[str] stage: The stage in which streamlit files are located.
535
546
  :param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
536
547
  """
@@ -543,6 +554,7 @@ class Streamlit(pulumi.CustomResource):
543
554
  __props__.__dict__["describe_outputs"] = describe_outputs
544
555
  __props__.__dict__["directory_location"] = directory_location
545
556
  __props__.__dict__["external_access_integrations"] = external_access_integrations
557
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
546
558
  __props__.__dict__["main_file"] = main_file
547
559
  __props__.__dict__["name"] = name
548
560
  __props__.__dict__["query_warehouse"] = query_warehouse
@@ -592,6 +604,14 @@ class Streamlit(pulumi.CustomResource):
592
604
  """
593
605
  return pulumi.get(self, "external_access_integrations")
594
606
 
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
+
595
615
  @property
596
616
  @pulumi.getter(name="mainFile")
597
617
  def main_file(self) -> pulumi.Output[str]:
@@ -628,7 +648,7 @@ class Streamlit(pulumi.CustomResource):
628
648
  @pulumi.getter(name="showOutputs")
629
649
  def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitShowOutput']]:
630
650
  """
631
- Outputs the result of `SHOW STREAMLIT` for the given streamli.
651
+ Outputs the result of `SHOW STREAMLIT` for the given streamlit.
632
652
  """
633
653
  return pulumi.get(self, "show_outputs")
634
654
 
pulumi_snowflake/table.py CHANGED
@@ -195,10 +195,10 @@ class _TableState:
195
195
  comment: Optional[pulumi.Input[str]] = None,
196
196
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
197
197
  database: Optional[pulumi.Input[str]] = None,
198
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
198
199
  name: Optional[pulumi.Input[str]] = None,
199
200
  owner: Optional[pulumi.Input[str]] = None,
200
201
  primary_key: Optional[pulumi.Input['TablePrimaryKeyArgs']] = None,
201
- qualified_name: Optional[pulumi.Input[str]] = None,
202
202
  schema: Optional[pulumi.Input[str]] = None,
203
203
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['TableTagArgs']]]] = None):
204
204
  """
@@ -209,10 +209,10 @@ class _TableState:
209
209
  :param pulumi.Input[str] comment: Specifies a comment for the table.
210
210
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the retention period for the table so that Time Travel actions (SELECT, CLONE, UNDROP) can be performed on historical data in the table. If you wish to inherit the parent schema setting then pass in the schema attribute to this argument or do not fill this parameter at all; the default value for this field is -1, which is a fallback to use Snowflake default - in this case the schema value
211
211
  :param pulumi.Input[str] database: The database in which to create the table.
212
+ :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).
212
213
  :param pulumi.Input[str] name: Specifies the identifier for the table; must be unique for the database and schema in which the table is created.
213
214
  :param pulumi.Input[str] owner: Name of the role that owns the table.
214
215
  :param pulumi.Input['TablePrimaryKeyArgs'] primary_key: Definitions of primary key constraint to create on table
215
- :param pulumi.Input[str] qualified_name: Qualified name of the table.
216
216
  :param pulumi.Input[str] schema: The schema in which to create the table.
217
217
  :param pulumi.Input[Sequence[pulumi.Input['TableTagArgs']]] tags: Definitions of a tag to associate with the resource.
218
218
  """
@@ -228,6 +228,8 @@ class _TableState:
228
228
  pulumi.set(__self__, "data_retention_time_in_days", data_retention_time_in_days)
229
229
  if database is not None:
230
230
  pulumi.set(__self__, "database", database)
231
+ if fully_qualified_name is not None:
232
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
231
233
  if name is not None:
232
234
  pulumi.set(__self__, "name", name)
233
235
  if owner is not None:
@@ -237,8 +239,6 @@ class _TableState:
237
239
  pulumi.log.warn("""primary_key is deprecated: Use TableConstraint instead""")
238
240
  if primary_key is not None:
239
241
  pulumi.set(__self__, "primary_key", primary_key)
240
- if qualified_name is not None:
241
- pulumi.set(__self__, "qualified_name", qualified_name)
242
242
  if schema is not None:
243
243
  pulumi.set(__self__, "schema", schema)
244
244
  if tags is not None:
@@ -319,6 +319,18 @@ class _TableState:
319
319
  def database(self, value: Optional[pulumi.Input[str]]):
320
320
  pulumi.set(self, "database", value)
321
321
 
322
+ @property
323
+ @pulumi.getter(name="fullyQualifiedName")
324
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
325
+ """
326
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
327
+ """
328
+ return pulumi.get(self, "fully_qualified_name")
329
+
330
+ @fully_qualified_name.setter
331
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
332
+ pulumi.set(self, "fully_qualified_name", value)
333
+
322
334
  @property
323
335
  @pulumi.getter
324
336
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -356,18 +368,6 @@ class _TableState:
356
368
  def primary_key(self, value: Optional[pulumi.Input['TablePrimaryKeyArgs']]):
357
369
  pulumi.set(self, "primary_key", value)
358
370
 
359
- @property
360
- @pulumi.getter(name="qualifiedName")
361
- def qualified_name(self) -> Optional[pulumi.Input[str]]:
362
- """
363
- Qualified name of the table.
364
- """
365
- return pulumi.get(self, "qualified_name")
366
-
367
- @qualified_name.setter
368
- def qualified_name(self, value: Optional[pulumi.Input[str]]):
369
- pulumi.set(self, "qualified_name", value)
370
-
371
371
  @property
372
372
  @pulumi.getter
373
373
  def schema(self) -> Optional[pulumi.Input[str]]:
@@ -411,8 +411,6 @@ class Table(pulumi.CustomResource):
411
411
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TableTagArgs', 'TableTagArgsDict']]]]] = None,
412
412
  __props__=None):
413
413
  """
414
- ## Example Usage
415
-
416
414
  ## Import
417
415
 
418
416
  format is database name | schema name | table name
@@ -441,8 +439,6 @@ class Table(pulumi.CustomResource):
441
439
  args: TableArgs,
442
440
  opts: Optional[pulumi.ResourceOptions] = None):
443
441
  """
444
- ## Example Usage
445
-
446
442
  ## Import
447
443
 
448
444
  format is database name | schema name | table name
@@ -501,8 +497,8 @@ class Table(pulumi.CustomResource):
501
497
  raise TypeError("Missing required property 'schema'")
502
498
  __props__.__dict__["schema"] = schema
503
499
  __props__.__dict__["tags"] = tags
500
+ __props__.__dict__["fully_qualified_name"] = None
504
501
  __props__.__dict__["owner"] = None
505
- __props__.__dict__["qualified_name"] = None
506
502
  super(Table, __self__).__init__(
507
503
  'snowflake:index/table:Table',
508
504
  resource_name,
@@ -519,10 +515,10 @@ class Table(pulumi.CustomResource):
519
515
  comment: Optional[pulumi.Input[str]] = None,
520
516
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
521
517
  database: Optional[pulumi.Input[str]] = None,
518
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
522
519
  name: Optional[pulumi.Input[str]] = None,
523
520
  owner: Optional[pulumi.Input[str]] = None,
524
521
  primary_key: Optional[pulumi.Input[Union['TablePrimaryKeyArgs', 'TablePrimaryKeyArgsDict']]] = None,
525
- qualified_name: Optional[pulumi.Input[str]] = None,
526
522
  schema: Optional[pulumi.Input[str]] = None,
527
523
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TableTagArgs', 'TableTagArgsDict']]]]] = None) -> 'Table':
528
524
  """
@@ -538,10 +534,10 @@ class Table(pulumi.CustomResource):
538
534
  :param pulumi.Input[str] comment: Specifies a comment for the table.
539
535
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the retention period for the table so that Time Travel actions (SELECT, CLONE, UNDROP) can be performed on historical data in the table. If you wish to inherit the parent schema setting then pass in the schema attribute to this argument or do not fill this parameter at all; the default value for this field is -1, which is a fallback to use Snowflake default - in this case the schema value
540
536
  :param pulumi.Input[str] database: The database in which to create the table.
537
+ :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).
541
538
  :param pulumi.Input[str] name: Specifies the identifier for the table; must be unique for the database and schema in which the table is created.
542
539
  :param pulumi.Input[str] owner: Name of the role that owns the table.
543
540
  :param pulumi.Input[Union['TablePrimaryKeyArgs', 'TablePrimaryKeyArgsDict']] primary_key: Definitions of primary key constraint to create on table
544
- :param pulumi.Input[str] qualified_name: Qualified name of the table.
545
541
  :param pulumi.Input[str] schema: The schema in which to create the table.
546
542
  :param pulumi.Input[Sequence[pulumi.Input[Union['TableTagArgs', 'TableTagArgsDict']]]] tags: Definitions of a tag to associate with the resource.
547
543
  """
@@ -555,10 +551,10 @@ class Table(pulumi.CustomResource):
555
551
  __props__.__dict__["comment"] = comment
556
552
  __props__.__dict__["data_retention_time_in_days"] = data_retention_time_in_days
557
553
  __props__.__dict__["database"] = database
554
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
558
555
  __props__.__dict__["name"] = name
559
556
  __props__.__dict__["owner"] = owner
560
557
  __props__.__dict__["primary_key"] = primary_key
561
- __props__.__dict__["qualified_name"] = qualified_name
562
558
  __props__.__dict__["schema"] = schema
563
559
  __props__.__dict__["tags"] = tags
564
560
  return Table(resource_name, opts=opts, __props__=__props__)
@@ -611,6 +607,14 @@ class Table(pulumi.CustomResource):
611
607
  """
612
608
  return pulumi.get(self, "database")
613
609
 
610
+ @property
611
+ @pulumi.getter(name="fullyQualifiedName")
612
+ def fully_qualified_name(self) -> pulumi.Output[str]:
613
+ """
614
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
615
+ """
616
+ return pulumi.get(self, "fully_qualified_name")
617
+
614
618
  @property
615
619
  @pulumi.getter
616
620
  def name(self) -> pulumi.Output[str]:
@@ -636,14 +640,6 @@ class Table(pulumi.CustomResource):
636
640
  """
637
641
  return pulumi.get(self, "primary_key")
638
642
 
639
- @property
640
- @pulumi.getter(name="qualifiedName")
641
- def qualified_name(self) -> pulumi.Output[str]:
642
- """
643
- Qualified name of the table.
644
- """
645
- return pulumi.get(self, "qualified_name")
646
-
647
643
  @property
648
644
  @pulumi.getter
649
645
  def schema(self) -> pulumi.Output[str]:
@@ -130,13 +130,7 @@ class TableColumnMaskingPolicyApplication(pulumi.CustomResource):
130
130
  table: Optional[pulumi.Input[str]] = None,
131
131
  __props__=None):
132
132
  """
133
- Applies a masking policy to a table column.
134
-
135
- Only one masking policy may be applied per table column, hence only one `TableColumnMaskingPolicyApplication` resources may be present per table column.
136
- Using two or more `TableColumnMaskingPolicyApplication` resources for the same table column will result in the last one overriding any previously applied masking policies and unresolvable diffs in pulumi preview.
137
-
138
- When using this resource to manage a table column's masking policy make sure to ignore changes to the column's masking policy in the table definition, otherwise the two resources would conflict. See example below.
139
-
133
+ Create a TableColumnMaskingPolicyApplication resource with the given unique name, props, and options.
140
134
  :param str resource_name: The name of the resource.
141
135
  :param pulumi.ResourceOptions opts: Options for the resource.
142
136
  :param pulumi.Input[str] column: The column to apply the masking policy to.
@@ -150,13 +144,7 @@ class TableColumnMaskingPolicyApplication(pulumi.CustomResource):
150
144
  args: TableColumnMaskingPolicyApplicationArgs,
151
145
  opts: Optional[pulumi.ResourceOptions] = None):
152
146
  """
153
- Applies a masking policy to a table column.
154
-
155
- Only one masking policy may be applied per table column, hence only one `TableColumnMaskingPolicyApplication` resources may be present per table column.
156
- Using two or more `TableColumnMaskingPolicyApplication` resources for the same table column will result in the last one overriding any previously applied masking policies and unresolvable diffs in pulumi preview.
157
-
158
- When using this resource to manage a table column's masking policy make sure to ignore changes to the column's masking policy in the table definition, otherwise the two resources would conflict. See example below.
159
-
147
+ Create a TableColumnMaskingPolicyApplication resource with the given unique name, props, and options.
160
148
  :param str resource_name: The name of the resource.
161
149
  :param TableColumnMaskingPolicyApplicationArgs args: The arguments to use to populate this resource's properties.
162
150
  :param pulumi.ResourceOptions opts: Options for the resource.