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
@@ -131,9 +131,9 @@ class _NetworkRuleState:
131
131
  def __init__(__self__, *,
132
132
  comment: Optional[pulumi.Input[str]] = None,
133
133
  database: Optional[pulumi.Input[str]] = None,
134
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
134
135
  mode: Optional[pulumi.Input[str]] = None,
135
136
  name: Optional[pulumi.Input[str]] = None,
136
- qualified_name: Optional[pulumi.Input[str]] = None,
137
137
  schema: Optional[pulumi.Input[str]] = None,
138
138
  type: Optional[pulumi.Input[str]] = None,
139
139
  value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
@@ -141,9 +141,9 @@ class _NetworkRuleState:
141
141
  Input properties used for looking up and filtering NetworkRule resources.
142
142
  :param pulumi.Input[str] comment: Specifies a comment for the network rule.
143
143
  :param pulumi.Input[str] database: The database in which to create the network rule.
144
+ :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).
144
145
  :param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
145
146
  :param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
146
- :param pulumi.Input[str] qualified_name: Qualified name of the network rule.
147
147
  :param pulumi.Input[str] schema: The schema in which to create the network rule.
148
148
  :param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
149
149
  :param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
@@ -152,12 +152,12 @@ class _NetworkRuleState:
152
152
  pulumi.set(__self__, "comment", comment)
153
153
  if database is not None:
154
154
  pulumi.set(__self__, "database", database)
155
+ if fully_qualified_name is not None:
156
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
155
157
  if mode is not None:
156
158
  pulumi.set(__self__, "mode", mode)
157
159
  if name is not None:
158
160
  pulumi.set(__self__, "name", name)
159
- if qualified_name is not None:
160
- pulumi.set(__self__, "qualified_name", qualified_name)
161
161
  if schema is not None:
162
162
  pulumi.set(__self__, "schema", schema)
163
163
  if type is not None:
@@ -189,6 +189,18 @@ class _NetworkRuleState:
189
189
  def database(self, value: Optional[pulumi.Input[str]]):
190
190
  pulumi.set(self, "database", value)
191
191
 
192
+ @property
193
+ @pulumi.getter(name="fullyQualifiedName")
194
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
195
+ """
196
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
197
+ """
198
+ return pulumi.get(self, "fully_qualified_name")
199
+
200
+ @fully_qualified_name.setter
201
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
202
+ pulumi.set(self, "fully_qualified_name", value)
203
+
192
204
  @property
193
205
  @pulumi.getter
194
206
  def mode(self) -> Optional[pulumi.Input[str]]:
@@ -213,18 +225,6 @@ class _NetworkRuleState:
213
225
  def name(self, value: Optional[pulumi.Input[str]]):
214
226
  pulumi.set(self, "name", value)
215
227
 
216
- @property
217
- @pulumi.getter(name="qualifiedName")
218
- def qualified_name(self) -> Optional[pulumi.Input[str]]:
219
- """
220
- Qualified name of the network rule.
221
- """
222
- return pulumi.get(self, "qualified_name")
223
-
224
- @qualified_name.setter
225
- def qualified_name(self, value: Optional[pulumi.Input[str]]):
226
- pulumi.set(self, "qualified_name", value)
227
-
228
228
  @property
229
229
  @pulumi.getter
230
230
  def schema(self) -> Optional[pulumi.Input[str]]:
@@ -276,25 +276,6 @@ class NetworkRule(pulumi.CustomResource):
276
276
  value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
277
277
  __props__=None):
278
278
  """
279
- ## Example Usage
280
-
281
- ```python
282
- import pulumi
283
- import pulumi_snowflake as snowflake
284
-
285
- rule = snowflake.NetworkRule("rule",
286
- name="rule",
287
- database="EXAMPLE_DB",
288
- schema="EXAMPLE_SCHEMA",
289
- comment="A rule.",
290
- type="IPV4",
291
- mode="INGRESS",
292
- value_lists=[
293
- "192.168.0.100/24",
294
- "29.254.123.20",
295
- ])
296
- ```
297
-
298
279
  ## Import
299
280
 
300
281
  ```sh
@@ -318,25 +299,6 @@ class NetworkRule(pulumi.CustomResource):
318
299
  args: NetworkRuleArgs,
319
300
  opts: Optional[pulumi.ResourceOptions] = None):
320
301
  """
321
- ## Example Usage
322
-
323
- ```python
324
- import pulumi
325
- import pulumi_snowflake as snowflake
326
-
327
- rule = snowflake.NetworkRule("rule",
328
- name="rule",
329
- database="EXAMPLE_DB",
330
- schema="EXAMPLE_SCHEMA",
331
- comment="A rule.",
332
- type="IPV4",
333
- mode="INGRESS",
334
- value_lists=[
335
- "192.168.0.100/24",
336
- "29.254.123.20",
337
- ])
338
- ```
339
-
340
302
  ## Import
341
303
 
342
304
  ```sh
@@ -391,7 +353,7 @@ class NetworkRule(pulumi.CustomResource):
391
353
  if value_lists is None and not opts.urn:
392
354
  raise TypeError("Missing required property 'value_lists'")
393
355
  __props__.__dict__["value_lists"] = value_lists
394
- __props__.__dict__["qualified_name"] = None
356
+ __props__.__dict__["fully_qualified_name"] = None
395
357
  super(NetworkRule, __self__).__init__(
396
358
  'snowflake:index/networkRule:NetworkRule',
397
359
  resource_name,
@@ -404,9 +366,9 @@ class NetworkRule(pulumi.CustomResource):
404
366
  opts: Optional[pulumi.ResourceOptions] = None,
405
367
  comment: Optional[pulumi.Input[str]] = None,
406
368
  database: Optional[pulumi.Input[str]] = None,
369
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
407
370
  mode: Optional[pulumi.Input[str]] = None,
408
371
  name: Optional[pulumi.Input[str]] = None,
409
- qualified_name: Optional[pulumi.Input[str]] = None,
410
372
  schema: Optional[pulumi.Input[str]] = None,
411
373
  type: Optional[pulumi.Input[str]] = None,
412
374
  value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'NetworkRule':
@@ -419,9 +381,9 @@ class NetworkRule(pulumi.CustomResource):
419
381
  :param pulumi.ResourceOptions opts: Options for the resource.
420
382
  :param pulumi.Input[str] comment: Specifies a comment for the network rule.
421
383
  :param pulumi.Input[str] database: The database in which to create the network rule.
384
+ :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).
422
385
  :param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
423
386
  :param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
424
- :param pulumi.Input[str] qualified_name: Qualified name of the network rule.
425
387
  :param pulumi.Input[str] schema: The schema in which to create the network rule.
426
388
  :param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
427
389
  :param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
@@ -432,9 +394,9 @@ class NetworkRule(pulumi.CustomResource):
432
394
 
433
395
  __props__.__dict__["comment"] = comment
434
396
  __props__.__dict__["database"] = database
397
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
435
398
  __props__.__dict__["mode"] = mode
436
399
  __props__.__dict__["name"] = name
437
- __props__.__dict__["qualified_name"] = qualified_name
438
400
  __props__.__dict__["schema"] = schema
439
401
  __props__.__dict__["type"] = type
440
402
  __props__.__dict__["value_lists"] = value_lists
@@ -456,6 +418,14 @@ class NetworkRule(pulumi.CustomResource):
456
418
  """
457
419
  return pulumi.get(self, "database")
458
420
 
421
+ @property
422
+ @pulumi.getter(name="fullyQualifiedName")
423
+ def fully_qualified_name(self) -> pulumi.Output[str]:
424
+ """
425
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
426
+ """
427
+ return pulumi.get(self, "fully_qualified_name")
428
+
459
429
  @property
460
430
  @pulumi.getter
461
431
  def mode(self) -> pulumi.Output[str]:
@@ -472,14 +442,6 @@ class NetworkRule(pulumi.CustomResource):
472
442
  """
473
443
  return pulumi.get(self, "name")
474
444
 
475
- @property
476
- @pulumi.getter(name="qualifiedName")
477
- def qualified_name(self) -> pulumi.Output[str]:
478
- """
479
- Qualified name of the network rule.
480
- """
481
- return pulumi.get(self, "qualified_name")
482
-
483
445
  @property
484
446
  @pulumi.getter
485
447
  def schema(self) -> pulumi.Output[str]:
@@ -267,6 +267,7 @@ class _NotificationIntegrationState:
267
267
  created_on: Optional[pulumi.Input[str]] = None,
268
268
  direction: Optional[pulumi.Input[str]] = None,
269
269
  enabled: Optional[pulumi.Input[bool]] = None,
270
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
270
271
  gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
271
272
  gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
272
273
  gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
@@ -288,6 +289,7 @@ class _NotificationIntegrationState:
288
289
  :param pulumi.Input[str] comment: A comment for the integration
289
290
  :param pulumi.Input[str] created_on: Date and time when the notification integration was created.
290
291
  :param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
292
+ :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
291
293
  :param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
292
294
  :param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
293
295
  :param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
@@ -337,6 +339,8 @@ class _NotificationIntegrationState:
337
339
  pulumi.set(__self__, "direction", direction)
338
340
  if enabled is not None:
339
341
  pulumi.set(__self__, "enabled", enabled)
342
+ if fully_qualified_name is not None:
343
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
340
344
  if gcp_pubsub_service_account is not None:
341
345
  pulumi.set(__self__, "gcp_pubsub_service_account", gcp_pubsub_service_account)
342
346
  if gcp_pubsub_subscription_name is not None:
@@ -523,6 +527,18 @@ class _NotificationIntegrationState:
523
527
  def enabled(self, value: Optional[pulumi.Input[bool]]):
524
528
  pulumi.set(self, "enabled", value)
525
529
 
530
+ @property
531
+ @pulumi.getter(name="fullyQualifiedName")
532
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
533
+ """
534
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
535
+ """
536
+ return pulumi.get(self, "fully_qualified_name")
537
+
538
+ @fully_qualified_name.setter
539
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
540
+ pulumi.set(self, "fully_qualified_name", value)
541
+
526
542
  @property
527
543
  @pulumi.getter(name="gcpPubsubServiceAccount")
528
544
  def gcp_pubsub_service_account(self) -> Optional[pulumi.Input[str]]:
@@ -615,23 +631,6 @@ class NotificationIntegration(pulumi.CustomResource):
615
631
  type: Optional[pulumi.Input[str]] = None,
616
632
  __props__=None):
617
633
  """
618
- ## Example Usage
619
-
620
- ```python
621
- import pulumi
622
- import pulumi_snowflake as snowflake
623
-
624
- integration = snowflake.NotificationIntegration("integration",
625
- name="notification",
626
- comment="A notification integration.",
627
- enabled=True,
628
- type="QUEUE",
629
- direction="OUTBOUND",
630
- notification_provider="AZURE_STORAGE_QUEUE",
631
- azure_storage_queue_primary_uri="...",
632
- azure_tenant_id="...")
633
- ```
634
-
635
634
  ## Import
636
635
 
637
636
  ```sh
@@ -660,23 +659,6 @@ class NotificationIntegration(pulumi.CustomResource):
660
659
  args: NotificationIntegrationArgs,
661
660
  opts: Optional[pulumi.ResourceOptions] = None):
662
661
  """
663
- ## Example Usage
664
-
665
- ```python
666
- import pulumi
667
- import pulumi_snowflake as snowflake
668
-
669
- integration = snowflake.NotificationIntegration("integration",
670
- name="notification",
671
- comment="A notification integration.",
672
- enabled=True,
673
- type="QUEUE",
674
- direction="OUTBOUND",
675
- notification_provider="AZURE_STORAGE_QUEUE",
676
- azure_storage_queue_primary_uri="...",
677
- azure_tenant_id="...")
678
- ```
679
-
680
662
  ## Import
681
663
 
682
664
  ```sh
@@ -742,6 +724,7 @@ class NotificationIntegration(pulumi.CustomResource):
742
724
  __props__.__dict__["aws_sqs_external_id"] = None
743
725
  __props__.__dict__["aws_sqs_iam_user_arn"] = None
744
726
  __props__.__dict__["created_on"] = None
727
+ __props__.__dict__["fully_qualified_name"] = None
745
728
  __props__.__dict__["gcp_pubsub_service_account"] = None
746
729
  super(NotificationIntegration, __self__).__init__(
747
730
  'snowflake:index/notificationIntegration:NotificationIntegration',
@@ -767,6 +750,7 @@ class NotificationIntegration(pulumi.CustomResource):
767
750
  created_on: Optional[pulumi.Input[str]] = None,
768
751
  direction: Optional[pulumi.Input[str]] = None,
769
752
  enabled: Optional[pulumi.Input[bool]] = None,
753
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
770
754
  gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
771
755
  gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
772
756
  gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
@@ -793,6 +777,7 @@ class NotificationIntegration(pulumi.CustomResource):
793
777
  :param pulumi.Input[str] comment: A comment for the integration
794
778
  :param pulumi.Input[str] created_on: Date and time when the notification integration was created.
795
779
  :param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
780
+ :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).
796
781
  :param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
797
782
  :param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
798
783
  :param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
@@ -817,6 +802,7 @@ class NotificationIntegration(pulumi.CustomResource):
817
802
  __props__.__dict__["created_on"] = created_on
818
803
  __props__.__dict__["direction"] = direction
819
804
  __props__.__dict__["enabled"] = enabled
805
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
820
806
  __props__.__dict__["gcp_pubsub_service_account"] = gcp_pubsub_service_account
821
807
  __props__.__dict__["gcp_pubsub_subscription_name"] = gcp_pubsub_subscription_name
822
808
  __props__.__dict__["gcp_pubsub_topic_name"] = gcp_pubsub_topic_name
@@ -939,6 +925,14 @@ class NotificationIntegration(pulumi.CustomResource):
939
925
  def enabled(self) -> pulumi.Output[Optional[bool]]:
940
926
  return pulumi.get(self, "enabled")
941
927
 
928
+ @property
929
+ @pulumi.getter(name="fullyQualifiedName")
930
+ def fully_qualified_name(self) -> pulumi.Output[str]:
931
+ """
932
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
933
+ """
934
+ return pulumi.get(self, "fully_qualified_name")
935
+
942
936
  @property
943
937
  @pulumi.getter(name="gcpPubsubServiceAccount")
944
938
  def gcp_pubsub_service_account(self) -> pulumi.Output[str]:
@@ -379,23 +379,6 @@ class OauthIntegration(pulumi.CustomResource):
379
379
  oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
380
380
  __props__=None):
381
381
  """
382
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use OauthIntegrationForCustomClients or OauthIntegrationForPartnerApplications instead. <deprecation>
383
-
384
- ## Example Usage
385
-
386
- ```python
387
- import pulumi
388
- import pulumi_snowflake as snowflake
389
-
390
- tableau_desktop = snowflake.OauthIntegration("tableau_desktop",
391
- name="TABLEAU_DESKTOP",
392
- oauth_client="TABLEAU_DESKTOP",
393
- enabled=True,
394
- oauth_issue_refresh_tokens=True,
395
- oauth_refresh_token_validity=3600,
396
- blocked_roles_lists=["SYSADMIN"])
397
- ```
398
-
399
382
  ## Import
400
383
 
401
384
  ```sh
@@ -422,23 +405,6 @@ class OauthIntegration(pulumi.CustomResource):
422
405
  args: OauthIntegrationArgs,
423
406
  opts: Optional[pulumi.ResourceOptions] = None):
424
407
  """
425
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use OauthIntegrationForCustomClients or OauthIntegrationForPartnerApplications instead. <deprecation>
426
-
427
- ## Example Usage
428
-
429
- ```python
430
- import pulumi
431
- import pulumi_snowflake as snowflake
432
-
433
- tableau_desktop = snowflake.OauthIntegration("tableau_desktop",
434
- name="TABLEAU_DESKTOP",
435
- oauth_client="TABLEAU_DESKTOP",
436
- enabled=True,
437
- oauth_issue_refresh_tokens=True,
438
- oauth_refresh_token_validity=3600,
439
- blocked_roles_lists=["SYSADMIN"])
440
- ```
441
-
442
408
  ## Import
443
409
 
444
410
  ```sh
@@ -38,7 +38,7 @@ class OauthIntegrationForCustomClientsArgs:
38
38
  :param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI.
39
39
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
40
40
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
41
- :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
41
+ :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
42
42
  :param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
43
43
  :param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
44
44
  :param pulumi.Input[str] oauth_enforce_pkce: Boolean that specifies whether Proof Key for Code Exchange (PKCE) should be required for the integration. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
@@ -139,7 +139,7 @@ class OauthIntegrationForCustomClientsArgs:
139
139
  @pulumi.getter
140
140
  def name(self) -> Optional[pulumi.Input[str]]:
141
141
  """
142
- Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
142
+ Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
143
143
  """
144
144
  return pulumi.get(self, "name")
145
145
 
@@ -257,6 +257,7 @@ class _OauthIntegrationForCustomClientsState:
257
257
  comment: Optional[pulumi.Input[str]] = None,
258
258
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForCustomClientsDescribeOutputArgs']]]] = None,
259
259
  enabled: Optional[pulumi.Input[str]] = None,
260
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
260
261
  name: Optional[pulumi.Input[str]] = None,
261
262
  network_policy: Optional[pulumi.Input[str]] = None,
262
263
  oauth_allow_non_tls_redirect_uri: Optional[pulumi.Input[str]] = None,
@@ -276,7 +277,8 @@ class _OauthIntegrationForCustomClientsState:
276
277
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
277
278
  :param pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForCustomClientsDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
278
279
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
279
- :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
280
+ :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).
281
+ :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
280
282
  :param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
281
283
  :param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
282
284
  :param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
@@ -296,6 +298,8 @@ class _OauthIntegrationForCustomClientsState:
296
298
  pulumi.set(__self__, "describe_outputs", describe_outputs)
297
299
  if enabled is not None:
298
300
  pulumi.set(__self__, "enabled", enabled)
301
+ if fully_qualified_name is not None:
302
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
299
303
  if name is not None:
300
304
  pulumi.set(__self__, "name", name)
301
305
  if network_policy is not None:
@@ -371,11 +375,23 @@ class _OauthIntegrationForCustomClientsState:
371
375
  def enabled(self, value: Optional[pulumi.Input[str]]):
372
376
  pulumi.set(self, "enabled", value)
373
377
 
378
+ @property
379
+ @pulumi.getter(name="fullyQualifiedName")
380
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
381
+ """
382
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
383
+ """
384
+ return pulumi.get(self, "fully_qualified_name")
385
+
386
+ @fully_qualified_name.setter
387
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
388
+ pulumi.set(self, "fully_qualified_name", value)
389
+
374
390
  @property
375
391
  @pulumi.getter
376
392
  def name(self) -> Optional[pulumi.Input[str]]:
377
393
  """
378
- Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
394
+ Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
379
395
  """
380
396
  return pulumi.get(self, "name")
381
397
 
@@ -544,53 +560,6 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
544
560
  pre_authorized_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
545
561
  __props__=None):
546
562
  """
547
- !> **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.
548
-
549
- Resource used to manage oauth security integration for custom clients objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
550
-
551
- ## Example Usage
552
-
553
- ```python
554
- import pulumi
555
- import pulumi_snowflake as snowflake
556
- import pulumi_std as std
557
-
558
- # basic resource
559
- basic = snowflake.OauthIntegrationForCustomClients("basic",
560
- name="saml_integration",
561
- oauth_client_type="CONFIDENTIAL",
562
- oauth_redirect_uri="https://example.com",
563
- blocked_roles_lists=[
564
- "ACCOUNTADMIN",
565
- "SECURITYADMIN",
566
- ])
567
- # resource with all fields set
568
- complete = snowflake.OauthIntegrationForCustomClients("complete",
569
- name="saml_integration",
570
- oauth_client_type="CONFIDENTIAL",
571
- oauth_redirect_uri="https://example.com",
572
- enabled="true",
573
- oauth_allow_non_tls_redirect_uri="true",
574
- oauth_enforce_pkce="true",
575
- oauth_use_secondary_roles="NONE",
576
- pre_authorized_roles_lists=[
577
- "role_id1",
578
- "role_id2",
579
- ],
580
- blocked_roles_lists=[
581
- "ACCOUNTADMIN",
582
- "SECURITYADMIN",
583
- "role_id1",
584
- "role_id2",
585
- ],
586
- oauth_issue_refresh_tokens="true",
587
- oauth_refresh_token_validity=87600,
588
- network_policy="network_policy_id",
589
- oauth_client_rsa_public_key=std.file(input="rsa.pub").result,
590
- oauth_client_rsa_public_key2=std.file(input="rsa2.pub").result,
591
- comment="my oauth integration")
592
- ```
593
-
594
563
  ## Import
595
564
 
596
565
  ```sh
@@ -602,7 +571,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
602
571
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: A set of Snowflake roles that a user cannot explicitly consent to using after authenticating.
603
572
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
604
573
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
605
- :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
574
+ :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
606
575
  :param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
607
576
  :param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
608
577
  :param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
@@ -620,53 +589,6 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
620
589
  args: OauthIntegrationForCustomClientsArgs,
621
590
  opts: Optional[pulumi.ResourceOptions] = None):
622
591
  """
623
- !> **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.
624
-
625
- Resource used to manage oauth security integration for custom clients objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake).
626
-
627
- ## Example Usage
628
-
629
- ```python
630
- import pulumi
631
- import pulumi_snowflake as snowflake
632
- import pulumi_std as std
633
-
634
- # basic resource
635
- basic = snowflake.OauthIntegrationForCustomClients("basic",
636
- name="saml_integration",
637
- oauth_client_type="CONFIDENTIAL",
638
- oauth_redirect_uri="https://example.com",
639
- blocked_roles_lists=[
640
- "ACCOUNTADMIN",
641
- "SECURITYADMIN",
642
- ])
643
- # resource with all fields set
644
- complete = snowflake.OauthIntegrationForCustomClients("complete",
645
- name="saml_integration",
646
- oauth_client_type="CONFIDENTIAL",
647
- oauth_redirect_uri="https://example.com",
648
- enabled="true",
649
- oauth_allow_non_tls_redirect_uri="true",
650
- oauth_enforce_pkce="true",
651
- oauth_use_secondary_roles="NONE",
652
- pre_authorized_roles_lists=[
653
- "role_id1",
654
- "role_id2",
655
- ],
656
- blocked_roles_lists=[
657
- "ACCOUNTADMIN",
658
- "SECURITYADMIN",
659
- "role_id1",
660
- "role_id2",
661
- ],
662
- oauth_issue_refresh_tokens="true",
663
- oauth_refresh_token_validity=87600,
664
- network_policy="network_policy_id",
665
- oauth_client_rsa_public_key=std.file(input="rsa.pub").result,
666
- oauth_client_rsa_public_key2=std.file(input="rsa2.pub").result,
667
- comment="my oauth integration")
668
- ```
669
-
670
592
  ## Import
671
593
 
672
594
  ```sh
@@ -734,6 +656,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
734
656
  __props__.__dict__["oauth_use_secondary_roles"] = oauth_use_secondary_roles
735
657
  __props__.__dict__["pre_authorized_roles_lists"] = pre_authorized_roles_lists
736
658
  __props__.__dict__["describe_outputs"] = None
659
+ __props__.__dict__["fully_qualified_name"] = None
737
660
  __props__.__dict__["show_outputs"] = None
738
661
  super(OauthIntegrationForCustomClients, __self__).__init__(
739
662
  'snowflake:index/oauthIntegrationForCustomClients:OauthIntegrationForCustomClients',
@@ -749,6 +672,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
749
672
  comment: Optional[pulumi.Input[str]] = None,
750
673
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]]] = None,
751
674
  enabled: Optional[pulumi.Input[str]] = None,
675
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
752
676
  name: Optional[pulumi.Input[str]] = None,
753
677
  network_policy: Optional[pulumi.Input[str]] = None,
754
678
  oauth_allow_non_tls_redirect_uri: Optional[pulumi.Input[str]] = None,
@@ -773,7 +697,8 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
773
697
  :param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
774
698
  :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForCustomClientsDescribeOutputArgs', 'OauthIntegrationForCustomClientsDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
775
699
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
776
- :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
700
+ :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
701
+ :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
777
702
  :param pulumi.Input[str] network_policy: Specifies an existing network policy. This network policy controls network traffic that is attempting to exchange an authorization code for an access or refresh token or to use a refresh token to obtain a new access token.
778
703
  :param pulumi.Input[str] oauth_allow_non_tls_redirect_uri: If true, allows setting oauth*redirect*uri to a URI not protected by TLS. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
779
704
  :param pulumi.Input[str] oauth_client_type: Specifies the type of client being registered. Snowflake supports both confidential and public clients. Valid options are: `PUBLIC` | `CONFIDENTIAL`.
@@ -793,6 +718,7 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
793
718
  __props__.__dict__["comment"] = comment
794
719
  __props__.__dict__["describe_outputs"] = describe_outputs
795
720
  __props__.__dict__["enabled"] = enabled
721
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
796
722
  __props__.__dict__["name"] = name
797
723
  __props__.__dict__["network_policy"] = network_policy
798
724
  __props__.__dict__["oauth_allow_non_tls_redirect_uri"] = oauth_allow_non_tls_redirect_uri
@@ -840,11 +766,19 @@ class OauthIntegrationForCustomClients(pulumi.CustomResource):
840
766
  """
841
767
  return pulumi.get(self, "enabled")
842
768
 
769
+ @property
770
+ @pulumi.getter(name="fullyQualifiedName")
771
+ def fully_qualified_name(self) -> pulumi.Output[str]:
772
+ """
773
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
774
+ """
775
+ return pulumi.get(self, "fully_qualified_name")
776
+
843
777
  @property
844
778
  @pulumi.getter
845
779
  def name(self) -> pulumi.Output[str]:
846
780
  """
847
- Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
781
+ Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
848
782
  """
849
783
  return pulumi.get(self, "name")
850
784