pulumi-snowflake 0.58.0a1726035035__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.0a1726035035.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.0a1726035035.dist-info/RECORD +0 -129
  79. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
  80. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
@@ -297,6 +297,7 @@ class _ExternalFunctionState:
297
297
  context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
298
298
  created_on: Optional[pulumi.Input[str]] = None,
299
299
  database: Optional[pulumi.Input[str]] = None,
300
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
300
301
  headers: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]]] = None,
301
302
  max_batch_rows: Optional[pulumi.Input[int]] = None,
302
303
  name: Optional[pulumi.Input[str]] = None,
@@ -317,6 +318,7 @@ class _ExternalFunctionState:
317
318
  :param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
318
319
  :param pulumi.Input[str] created_on: Date and time when the external function was created.
319
320
  :param pulumi.Input[str] database: The database in which to create the external function.
321
+ :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).
320
322
  :param pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
321
323
  :param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
322
324
  :param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
@@ -343,6 +345,8 @@ class _ExternalFunctionState:
343
345
  pulumi.set(__self__, "created_on", created_on)
344
346
  if database is not None:
345
347
  pulumi.set(__self__, "database", database)
348
+ if fully_qualified_name is not None:
349
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
346
350
  if headers is not None:
347
351
  pulumi.set(__self__, "headers", headers)
348
352
  if max_batch_rows is not None:
@@ -450,6 +454,18 @@ class _ExternalFunctionState:
450
454
  def database(self, value: Optional[pulumi.Input[str]]):
451
455
  pulumi.set(self, "database", value)
452
456
 
457
+ @property
458
+ @pulumi.getter(name="fullyQualifiedName")
459
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
460
+ """
461
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
462
+ """
463
+ return pulumi.get(self, "fully_qualified_name")
464
+
465
+ @fully_qualified_name.setter
466
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
467
+ pulumi.set(self, "fully_qualified_name", value)
468
+
453
469
  @property
454
470
  @pulumi.getter
455
471
  def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]]]:
@@ -607,32 +623,6 @@ class ExternalFunction(pulumi.CustomResource):
607
623
  url_of_proxy_and_resource: Optional[pulumi.Input[str]] = None,
608
624
  __props__=None):
609
625
  """
610
- ## Example Usage
611
-
612
- ```python
613
- import pulumi
614
- import pulumi_snowflake as snowflake
615
-
616
- test_ext_func = snowflake.ExternalFunction("test_ext_func",
617
- name="my_function",
618
- database="my_test_db",
619
- schema="my_test_schema",
620
- args=[
621
- {
622
- "name": "arg1",
623
- "type": "varchar",
624
- },
625
- {
626
- "name": "arg2",
627
- "type": "varchar",
628
- },
629
- ],
630
- return_type="variant",
631
- return_behavior="IMMUTABLE",
632
- api_integration="api_integration_name",
633
- url_of_proxy_and_resource="https://123456.execute-api.us-west-2.amazonaws.com/prod/test_func")
634
- ```
635
-
636
626
  ## Import
637
627
 
638
628
  format is <database_name>.<schema_name>.<external_function_name>(<arg types, separated with ','>)
@@ -668,32 +658,6 @@ class ExternalFunction(pulumi.CustomResource):
668
658
  args: ExternalFunctionArgs,
669
659
  opts: Optional[pulumi.ResourceOptions] = None):
670
660
  """
671
- ## Example Usage
672
-
673
- ```python
674
- import pulumi
675
- import pulumi_snowflake as snowflake
676
-
677
- test_ext_func = snowflake.ExternalFunction("test_ext_func",
678
- name="my_function",
679
- database="my_test_db",
680
- schema="my_test_schema",
681
- args=[
682
- {
683
- "name": "arg1",
684
- "type": "varchar",
685
- },
686
- {
687
- "name": "arg2",
688
- "type": "varchar",
689
- },
690
- ],
691
- return_type="variant",
692
- return_behavior="IMMUTABLE",
693
- api_integration="api_integration_name",
694
- url_of_proxy_and_resource="https://123456.execute-api.us-west-2.amazonaws.com/prod/test_func")
695
- ```
696
-
697
661
  ## Import
698
662
 
699
663
  format is <database_name>.<schema_name>.<external_function_name>(<arg types, separated with ','>)
@@ -773,6 +737,7 @@ class ExternalFunction(pulumi.CustomResource):
773
737
  raise TypeError("Missing required property 'url_of_proxy_and_resource'")
774
738
  __props__.__dict__["url_of_proxy_and_resource"] = url_of_proxy_and_resource
775
739
  __props__.__dict__["created_on"] = None
740
+ __props__.__dict__["fully_qualified_name"] = None
776
741
  super(ExternalFunction, __self__).__init__(
777
742
  'snowflake:index/externalFunction:ExternalFunction',
778
743
  resource_name,
@@ -790,6 +755,7 @@ class ExternalFunction(pulumi.CustomResource):
790
755
  context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
791
756
  created_on: Optional[pulumi.Input[str]] = None,
792
757
  database: Optional[pulumi.Input[str]] = None,
758
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
793
759
  headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]]] = None,
794
760
  max_batch_rows: Optional[pulumi.Input[int]] = None,
795
761
  name: Optional[pulumi.Input[str]] = None,
@@ -815,6 +781,7 @@ class ExternalFunction(pulumi.CustomResource):
815
781
  :param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
816
782
  :param pulumi.Input[str] created_on: Date and time when the external function was created.
817
783
  :param pulumi.Input[str] database: The database in which to create the external function.
784
+ :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).
818
785
  :param pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
819
786
  :param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
820
787
  :param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
@@ -838,6 +805,7 @@ class ExternalFunction(pulumi.CustomResource):
838
805
  __props__.__dict__["context_headers"] = context_headers
839
806
  __props__.__dict__["created_on"] = created_on
840
807
  __props__.__dict__["database"] = database
808
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
841
809
  __props__.__dict__["headers"] = headers
842
810
  __props__.__dict__["max_batch_rows"] = max_batch_rows
843
811
  __props__.__dict__["name"] = name
@@ -907,6 +875,14 @@ class ExternalFunction(pulumi.CustomResource):
907
875
  """
908
876
  return pulumi.get(self, "database")
909
877
 
878
+ @property
879
+ @pulumi.getter(name="fullyQualifiedName")
880
+ def fully_qualified_name(self) -> pulumi.Output[str]:
881
+ """
882
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
883
+ """
884
+ return pulumi.get(self, "fully_qualified_name")
885
+
910
886
  @property
911
887
  @pulumi.getter
912
888
  def headers(self) -> pulumi.Output[Optional[Sequence['outputs.ExternalFunctionHeader']]]:
@@ -49,7 +49,7 @@ class ExternalOauthIntegrationArgs:
49
49
  :param pulumi.Input[str] external_oauth_rsa_public_key2: Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
50
50
  :param pulumi.Input[str] external_oauth_scope_delimiter: Specifies the scope delimiter in the authorization token.
51
51
  :param pulumi.Input[str] external_oauth_scope_mapping_attribute: Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
52
- :param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
52
+ :param pulumi.Input[str] name: Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
53
53
  """
54
54
  pulumi.set(__self__, "enabled", enabled)
55
55
  pulumi.set(__self__, "external_oauth_issuer", external_oauth_issuer)
@@ -263,7 +263,7 @@ class ExternalOauthIntegrationArgs:
263
263
  @pulumi.getter
264
264
  def name(self) -> Optional[pulumi.Input[str]]:
265
265
  """
266
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
266
+ Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
267
267
  """
268
268
  return pulumi.get(self, "name")
269
269
 
@@ -291,6 +291,7 @@ class _ExternalOauthIntegrationState:
291
291
  external_oauth_snowflake_user_mapping_attribute: Optional[pulumi.Input[str]] = None,
292
292
  external_oauth_token_user_mapping_claims: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
293
293
  external_oauth_type: Optional[pulumi.Input[str]] = None,
294
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
294
295
  name: Optional[pulumi.Input[str]] = None,
295
296
  related_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationRelatedParameterArgs']]]] = None,
296
297
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationShowOutputArgs']]]] = None):
@@ -312,7 +313,8 @@ class _ExternalOauthIntegrationState:
312
313
  :param pulumi.Input[str] external_oauth_snowflake_user_mapping_attribute: Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): `LOGIN_NAME` | `EMAIL_ADDRESS`.
313
314
  :param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
314
315
  :param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
315
- :param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
316
+ :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).
317
+ :param pulumi.Input[str] name: Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
316
318
  :param pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationRelatedParameterArgs']]] related_parameters: Paramteres related to this security integration.
317
319
  :param pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
318
320
  """
@@ -348,6 +350,8 @@ class _ExternalOauthIntegrationState:
348
350
  pulumi.set(__self__, "external_oauth_token_user_mapping_claims", external_oauth_token_user_mapping_claims)
349
351
  if external_oauth_type is not None:
350
352
  pulumi.set(__self__, "external_oauth_type", external_oauth_type)
353
+ if fully_qualified_name is not None:
354
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
351
355
  if name is not None:
352
356
  pulumi.set(__self__, "name", name)
353
357
  if related_parameters is not None:
@@ -547,11 +551,23 @@ class _ExternalOauthIntegrationState:
547
551
  def external_oauth_type(self, value: Optional[pulumi.Input[str]]):
548
552
  pulumi.set(self, "external_oauth_type", value)
549
553
 
554
+ @property
555
+ @pulumi.getter(name="fullyQualifiedName")
556
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
557
+ """
558
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
559
+ """
560
+ return pulumi.get(self, "fully_qualified_name")
561
+
562
+ @fully_qualified_name.setter
563
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
564
+ pulumi.set(self, "fully_qualified_name", value)
565
+
550
566
  @property
551
567
  @pulumi.getter
552
568
  def name(self) -> Optional[pulumi.Input[str]]:
553
569
  """
554
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
570
+ Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
555
571
  """
556
572
  return pulumi.get(self, "name")
557
573
 
@@ -607,10 +623,6 @@ class ExternalOauthIntegration(pulumi.CustomResource):
607
623
  name: Optional[pulumi.Input[str]] = None,
608
624
  __props__=None):
609
625
  """
610
- !> **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.
611
-
612
- Resource used to manage external oauth security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-external).
613
-
614
626
  ## Import
615
627
 
616
628
  ```sh
@@ -634,7 +646,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
634
646
  :param pulumi.Input[str] external_oauth_snowflake_user_mapping_attribute: Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): `LOGIN_NAME` | `EMAIL_ADDRESS`.
635
647
  :param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
636
648
  :param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
637
- :param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
649
+ :param pulumi.Input[str] name: Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
638
650
  """
639
651
  ...
640
652
  @overload
@@ -643,10 +655,6 @@ class ExternalOauthIntegration(pulumi.CustomResource):
643
655
  args: ExternalOauthIntegrationArgs,
644
656
  opts: Optional[pulumi.ResourceOptions] = None):
645
657
  """
646
- !> **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.
647
-
648
- Resource used to manage external oauth security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-external).
649
-
650
658
  ## Import
651
659
 
652
660
  ```sh
@@ -720,6 +728,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
720
728
  __props__.__dict__["external_oauth_type"] = external_oauth_type
721
729
  __props__.__dict__["name"] = name
722
730
  __props__.__dict__["describe_outputs"] = None
731
+ __props__.__dict__["fully_qualified_name"] = None
723
732
  __props__.__dict__["related_parameters"] = None
724
733
  __props__.__dict__["show_outputs"] = None
725
734
  super(ExternalOauthIntegration, __self__).__init__(
@@ -748,6 +757,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
748
757
  external_oauth_snowflake_user_mapping_attribute: Optional[pulumi.Input[str]] = None,
749
758
  external_oauth_token_user_mapping_claims: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
750
759
  external_oauth_type: Optional[pulumi.Input[str]] = None,
760
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
751
761
  name: Optional[pulumi.Input[str]] = None,
752
762
  related_parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationRelatedParameterArgs', 'ExternalOauthIntegrationRelatedParameterArgsDict']]]]] = None,
753
763
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationShowOutputArgs', 'ExternalOauthIntegrationShowOutputArgsDict']]]]] = None) -> 'ExternalOauthIntegration':
@@ -774,7 +784,8 @@ class ExternalOauthIntegration(pulumi.CustomResource):
774
784
  :param pulumi.Input[str] external_oauth_snowflake_user_mapping_attribute: Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): `LOGIN_NAME` | `EMAIL_ADDRESS`.
775
785
  :param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
776
786
  :param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
777
- :param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
787
+ :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).
788
+ :param pulumi.Input[str] name: Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
778
789
  :param pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationRelatedParameterArgs', 'ExternalOauthIntegrationRelatedParameterArgsDict']]]] related_parameters: Paramteres related to this security integration.
779
790
  :param pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationShowOutputArgs', 'ExternalOauthIntegrationShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
780
791
  """
@@ -798,6 +809,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
798
809
  __props__.__dict__["external_oauth_snowflake_user_mapping_attribute"] = external_oauth_snowflake_user_mapping_attribute
799
810
  __props__.__dict__["external_oauth_token_user_mapping_claims"] = external_oauth_token_user_mapping_claims
800
811
  __props__.__dict__["external_oauth_type"] = external_oauth_type
812
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
801
813
  __props__.__dict__["name"] = name
802
814
  __props__.__dict__["related_parameters"] = related_parameters
803
815
  __props__.__dict__["show_outputs"] = show_outputs
@@ -931,11 +943,19 @@ class ExternalOauthIntegration(pulumi.CustomResource):
931
943
  """
932
944
  return pulumi.get(self, "external_oauth_type")
933
945
 
946
+ @property
947
+ @pulumi.getter(name="fullyQualifiedName")
948
+ def fully_qualified_name(self) -> pulumi.Output[str]:
949
+ """
950
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
951
+ """
952
+ return pulumi.get(self, "fully_qualified_name")
953
+
934
954
  @property
935
955
  @pulumi.getter
936
956
  def name(self) -> pulumi.Output[str]:
937
957
  """
938
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
958
+ Specifies the name of the External Oath 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: `|`, `.`, `(`, `)`, `"`
939
959
  """
940
960
  return pulumi.get(self, "name")
941
961
 
@@ -270,6 +270,7 @@ class _ExternalTableState:
270
270
  copy_grants: Optional[pulumi.Input[bool]] = None,
271
271
  database: Optional[pulumi.Input[str]] = None,
272
272
  file_format: Optional[pulumi.Input[str]] = None,
273
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
273
274
  location: Optional[pulumi.Input[str]] = None,
274
275
  name: Optional[pulumi.Input[str]] = None,
275
276
  owner: Optional[pulumi.Input[str]] = None,
@@ -288,6 +289,7 @@ class _ExternalTableState:
288
289
  :param pulumi.Input[bool] copy_grants: Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE OR REPLACE TABLE variant
289
290
  :param pulumi.Input[str] database: The database in which to create the external table.
290
291
  :param pulumi.Input[str] file_format: Specifies the file format for the external table.
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] location: Specifies a location for the external table.
292
294
  :param pulumi.Input[str] name: Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable is created.
293
295
  :param pulumi.Input[str] owner: Name of the role that owns the external table.
@@ -312,6 +314,8 @@ class _ExternalTableState:
312
314
  pulumi.set(__self__, "database", database)
313
315
  if file_format is not None:
314
316
  pulumi.set(__self__, "file_format", file_format)
317
+ if fully_qualified_name is not None:
318
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
315
319
  if location is not None:
316
320
  pulumi.set(__self__, "location", location)
317
321
  if name is not None:
@@ -418,6 +422,18 @@ class _ExternalTableState:
418
422
  def file_format(self, value: Optional[pulumi.Input[str]]):
419
423
  pulumi.set(self, "file_format", value)
420
424
 
425
+ @property
426
+ @pulumi.getter(name="fullyQualifiedName")
427
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
428
+ """
429
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
430
+ """
431
+ return pulumi.get(self, "fully_qualified_name")
432
+
433
+ @fully_qualified_name.setter
434
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
435
+ pulumi.set(self, "fully_qualified_name", value)
436
+
421
437
  @property
422
438
  @pulumi.getter
423
439
  def location(self) -> Optional[pulumi.Input[str]]:
@@ -550,30 +566,6 @@ class ExternalTable(pulumi.CustomResource):
550
566
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalTableTagArgs', 'ExternalTableTagArgsDict']]]]] = None,
551
567
  __props__=None):
552
568
  """
553
- ## Example Usage
554
-
555
- ```python
556
- import pulumi
557
- import pulumi_snowflake as snowflake
558
-
559
- external_table = snowflake.ExternalTable("external_table",
560
- database="db",
561
- schema="schema",
562
- name="external_table",
563
- comment="External table",
564
- file_format="TYPE = CSV FIELD_DELIMITER = '|'",
565
- columns=[
566
- {
567
- "name": "id",
568
- "type": "int",
569
- },
570
- {
571
- "name": "data",
572
- "type": "text",
573
- },
574
- ])
575
- ```
576
-
577
569
  ## Import
578
570
 
579
571
  format is database name | schema name | external table name
@@ -607,30 +599,6 @@ class ExternalTable(pulumi.CustomResource):
607
599
  args: ExternalTableArgs,
608
600
  opts: Optional[pulumi.ResourceOptions] = None):
609
601
  """
610
- ## Example Usage
611
-
612
- ```python
613
- import pulumi
614
- import pulumi_snowflake as snowflake
615
-
616
- external_table = snowflake.ExternalTable("external_table",
617
- database="db",
618
- schema="schema",
619
- name="external_table",
620
- comment="External table",
621
- file_format="TYPE = CSV FIELD_DELIMITER = '|'",
622
- columns=[
623
- {
624
- "name": "id",
625
- "type": "int",
626
- },
627
- {
628
- "name": "data",
629
- "type": "text",
630
- },
631
- ])
632
- ```
633
-
634
602
  ## Import
635
603
 
636
604
  format is database name | schema name | external table name
@@ -703,6 +671,7 @@ class ExternalTable(pulumi.CustomResource):
703
671
  __props__.__dict__["schema"] = schema
704
672
  __props__.__dict__["table_format"] = table_format
705
673
  __props__.__dict__["tags"] = tags
674
+ __props__.__dict__["fully_qualified_name"] = None
706
675
  __props__.__dict__["owner"] = None
707
676
  super(ExternalTable, __self__).__init__(
708
677
  'snowflake:index/externalTable:ExternalTable',
@@ -721,6 +690,7 @@ class ExternalTable(pulumi.CustomResource):
721
690
  copy_grants: Optional[pulumi.Input[bool]] = None,
722
691
  database: Optional[pulumi.Input[str]] = None,
723
692
  file_format: Optional[pulumi.Input[str]] = None,
693
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
724
694
  location: Optional[pulumi.Input[str]] = None,
725
695
  name: Optional[pulumi.Input[str]] = None,
726
696
  owner: Optional[pulumi.Input[str]] = None,
@@ -744,6 +714,7 @@ class ExternalTable(pulumi.CustomResource):
744
714
  :param pulumi.Input[bool] copy_grants: Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE OR REPLACE TABLE variant
745
715
  :param pulumi.Input[str] database: The database in which to create the external table.
746
716
  :param pulumi.Input[str] file_format: Specifies the file format for the external table.
717
+ :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).
747
718
  :param pulumi.Input[str] location: Specifies a location for the external table.
748
719
  :param pulumi.Input[str] name: Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable is created.
749
720
  :param pulumi.Input[str] owner: Name of the role that owns the external table.
@@ -765,6 +736,7 @@ class ExternalTable(pulumi.CustomResource):
765
736
  __props__.__dict__["copy_grants"] = copy_grants
766
737
  __props__.__dict__["database"] = database
767
738
  __props__.__dict__["file_format"] = file_format
739
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
768
740
  __props__.__dict__["location"] = location
769
741
  __props__.__dict__["name"] = name
770
742
  __props__.__dict__["owner"] = owner
@@ -832,6 +804,14 @@ class ExternalTable(pulumi.CustomResource):
832
804
  """
833
805
  return pulumi.get(self, "file_format")
834
806
 
807
+ @property
808
+ @pulumi.getter(name="fullyQualifiedName")
809
+ def fully_qualified_name(self) -> pulumi.Output[str]:
810
+ """
811
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
812
+ """
813
+ return pulumi.get(self, "fully_qualified_name")
814
+
835
815
  @property
836
816
  @pulumi.getter
837
817
  def location(self) -> pulumi.Output[str]:
@@ -173,6 +173,7 @@ class _FailoverGroupState:
173
173
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
174
174
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
175
175
  from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
176
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
176
177
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
177
178
  name: Optional[pulumi.Input[str]] = None,
178
179
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -184,6 +185,7 @@ class _FailoverGroupState:
184
185
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
185
186
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
186
187
  :param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
188
+ :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).
187
189
  :param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
188
190
  :param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
189
191
  :param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
@@ -199,6 +201,8 @@ class _FailoverGroupState:
199
201
  pulumi.set(__self__, "allowed_shares", allowed_shares)
200
202
  if from_replica is not None:
201
203
  pulumi.set(__self__, "from_replica", from_replica)
204
+ if fully_qualified_name is not None:
205
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
202
206
  if ignore_edition_check is not None:
203
207
  pulumi.set(__self__, "ignore_edition_check", ignore_edition_check)
204
208
  if name is not None:
@@ -268,6 +272,18 @@ class _FailoverGroupState:
268
272
  def from_replica(self, value: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]):
269
273
  pulumi.set(self, "from_replica", value)
270
274
 
275
+ @property
276
+ @pulumi.getter(name="fullyQualifiedName")
277
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
278
+ """
279
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
280
+ """
281
+ return pulumi.get(self, "fully_qualified_name")
282
+
283
+ @fully_qualified_name.setter
284
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
285
+ pulumi.set(self, "fully_qualified_name", value)
286
+
271
287
  @property
272
288
  @pulumi.getter(name="ignoreEditionCheck")
273
289
  def ignore_edition_check(self) -> Optional[pulumi.Input[bool]]:
@@ -333,42 +349,6 @@ class FailoverGroup(pulumi.CustomResource):
333
349
  replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
334
350
  __props__=None):
335
351
  """
336
- ## Example Usage
337
-
338
- ```python
339
- import pulumi
340
- import pulumi_snowflake as snowflake
341
-
342
- db = snowflake.Database("db", name="db1")
343
- source_failover_group = snowflake.FailoverGroup("source_failover_group",
344
- name="FG1",
345
- object_types=[
346
- "WAREHOUSES",
347
- "DATABASES",
348
- "INTEGRATIONS",
349
- "ROLES",
350
- ],
351
- allowed_accounts=[
352
- "<org_name>.<target_account_name1>",
353
- "<org_name>.<target_account_name2>",
354
- ],
355
- allowed_databases=[db.name],
356
- allowed_integration_types=["SECURITY INTEGRATIONS"],
357
- replication_schedule={
358
- "cron": {
359
- "expression": "0 0 10-20 * TUE,THU",
360
- "time_zone": "UTC",
361
- },
362
- })
363
- target_failover_group = snowflake.FailoverGroup("target_failover_group",
364
- name="FG1",
365
- from_replica={
366
- "organization_name": "...",
367
- "source_account_name": "...",
368
- "name": source_failover_group.name,
369
- })
370
- ```
371
-
372
352
  ## Import
373
353
 
374
354
  ```sh
@@ -394,42 +374,6 @@ class FailoverGroup(pulumi.CustomResource):
394
374
  args: Optional[FailoverGroupArgs] = None,
395
375
  opts: Optional[pulumi.ResourceOptions] = None):
396
376
  """
397
- ## Example Usage
398
-
399
- ```python
400
- import pulumi
401
- import pulumi_snowflake as snowflake
402
-
403
- db = snowflake.Database("db", name="db1")
404
- source_failover_group = snowflake.FailoverGroup("source_failover_group",
405
- name="FG1",
406
- object_types=[
407
- "WAREHOUSES",
408
- "DATABASES",
409
- "INTEGRATIONS",
410
- "ROLES",
411
- ],
412
- allowed_accounts=[
413
- "<org_name>.<target_account_name1>",
414
- "<org_name>.<target_account_name2>",
415
- ],
416
- allowed_databases=[db.name],
417
- allowed_integration_types=["SECURITY INTEGRATIONS"],
418
- replication_schedule={
419
- "cron": {
420
- "expression": "0 0 10-20 * TUE,THU",
421
- "time_zone": "UTC",
422
- },
423
- })
424
- target_failover_group = snowflake.FailoverGroup("target_failover_group",
425
- name="FG1",
426
- from_replica={
427
- "organization_name": "...",
428
- "source_account_name": "...",
429
- "name": source_failover_group.name,
430
- })
431
- ```
432
-
433
377
  ## Import
434
378
 
435
379
  ```sh
@@ -478,6 +422,7 @@ class FailoverGroup(pulumi.CustomResource):
478
422
  __props__.__dict__["name"] = name
479
423
  __props__.__dict__["object_types"] = object_types
480
424
  __props__.__dict__["replication_schedule"] = replication_schedule
425
+ __props__.__dict__["fully_qualified_name"] = None
481
426
  super(FailoverGroup, __self__).__init__(
482
427
  'snowflake:index/failoverGroup:FailoverGroup',
483
428
  resource_name,
@@ -493,6 +438,7 @@ class FailoverGroup(pulumi.CustomResource):
493
438
  allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
494
439
  allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
495
440
  from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
441
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
496
442
  ignore_edition_check: Optional[pulumi.Input[bool]] = None,
497
443
  name: Optional[pulumi.Input[str]] = None,
498
444
  object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -509,6 +455,7 @@ class FailoverGroup(pulumi.CustomResource):
509
455
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
510
456
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
511
457
  :param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
458
+ :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).
512
459
  :param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
513
460
  :param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
514
461
  :param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
@@ -523,6 +470,7 @@ class FailoverGroup(pulumi.CustomResource):
523
470
  __props__.__dict__["allowed_integration_types"] = allowed_integration_types
524
471
  __props__.__dict__["allowed_shares"] = allowed_shares
525
472
  __props__.__dict__["from_replica"] = from_replica
473
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
526
474
  __props__.__dict__["ignore_edition_check"] = ignore_edition_check
527
475
  __props__.__dict__["name"] = name
528
476
  __props__.__dict__["object_types"] = object_types
@@ -569,6 +517,14 @@ class FailoverGroup(pulumi.CustomResource):
569
517
  """
570
518
  return pulumi.get(self, "from_replica")
571
519
 
520
+ @property
521
+ @pulumi.getter(name="fullyQualifiedName")
522
+ def fully_qualified_name(self) -> pulumi.Output[str]:
523
+ """
524
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
525
+ """
526
+ return pulumi.get(self, "fully_qualified_name")
527
+
572
528
  @property
573
529
  @pulumi.getter(name="ignoreEditionCheck")
574
530
  def ignore_edition_check(self) -> pulumi.Output[Optional[bool]]: