pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__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 (182) hide show
  1. pulumi_snowflake/__init__.py +224 -172
  2. pulumi_snowflake/_inputs.py +52854 -1662
  3. pulumi_snowflake/_utilities.py +41 -5
  4. pulumi_snowflake/account.py +188 -214
  5. pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
  6. pulumi_snowflake/account_parameter.py +21 -44
  7. pulumi_snowflake/account_password_policy_attachment.py +7 -28
  8. pulumi_snowflake/account_role.py +250 -0
  9. pulumi_snowflake/alert.py +38 -43
  10. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
  11. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
  12. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
  13. pulumi_snowflake/api_integration.py +35 -50
  14. pulumi_snowflake/authentication_policy.py +622 -0
  15. pulumi_snowflake/config/__init__.pyi +76 -99
  16. pulumi_snowflake/config/outputs.py +5 -0
  17. pulumi_snowflake/config/vars.py +93 -124
  18. pulumi_snowflake/cortex_search_service.py +596 -0
  19. pulumi_snowflake/database.py +819 -209
  20. pulumi_snowflake/database_role.py +81 -40
  21. pulumi_snowflake/dynamic_table.py +44 -47
  22. pulumi_snowflake/email_notification_integration.py +35 -26
  23. pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
  24. pulumi_snowflake/external_function.py +54 -71
  25. pulumi_snowflake/external_oauth_integration.py +593 -538
  26. pulumi_snowflake/external_table.py +67 -86
  27. pulumi_snowflake/external_volume.py +382 -0
  28. pulumi_snowflake/failover_group.py +59 -96
  29. pulumi_snowflake/file_format.py +33 -24
  30. pulumi_snowflake/function_java.py +1211 -0
  31. pulumi_snowflake/function_javascript.py +882 -0
  32. pulumi_snowflake/function_python.py +1212 -0
  33. pulumi_snowflake/function_scala.py +1212 -0
  34. pulumi_snowflake/function_sql.py +835 -0
  35. pulumi_snowflake/get_account_roles.py +129 -0
  36. pulumi_snowflake/get_accounts.py +53 -22
  37. pulumi_snowflake/get_alerts.py +22 -5
  38. pulumi_snowflake/get_connections.py +109 -0
  39. pulumi_snowflake/get_cortex_search_services.py +216 -0
  40. pulumi_snowflake/get_current_account.py +24 -9
  41. pulumi_snowflake/get_current_role.py +14 -7
  42. pulumi_snowflake/get_database.py +25 -5
  43. pulumi_snowflake/get_database_role.py +162 -0
  44. pulumi_snowflake/get_database_roles.py +79 -43
  45. pulumi_snowflake/get_databases.py +91 -69
  46. pulumi_snowflake/get_dynamic_tables.py +36 -19
  47. pulumi_snowflake/get_external_functions.py +28 -5
  48. pulumi_snowflake/get_external_tables.py +28 -5
  49. pulumi_snowflake/get_failover_groups.py +18 -7
  50. pulumi_snowflake/get_file_formats.py +28 -5
  51. pulumi_snowflake/get_functions.py +28 -5
  52. pulumi_snowflake/get_grants.py +207 -80
  53. pulumi_snowflake/get_masking_policies.py +91 -47
  54. pulumi_snowflake/get_materialized_views.py +28 -5
  55. pulumi_snowflake/get_network_policies.py +129 -0
  56. pulumi_snowflake/get_parameters.py +38 -11
  57. pulumi_snowflake/get_pipes.py +28 -5
  58. pulumi_snowflake/get_procedures.py +28 -5
  59. pulumi_snowflake/get_resource_monitors.py +37 -20
  60. pulumi_snowflake/get_row_access_policies.py +91 -47
  61. pulumi_snowflake/get_schemas.py +145 -37
  62. pulumi_snowflake/get_secrets.py +200 -0
  63. pulumi_snowflake/get_security_integrations.py +129 -0
  64. pulumi_snowflake/get_sequences.py +28 -5
  65. pulumi_snowflake/get_shares.py +18 -5
  66. pulumi_snowflake/get_stages.py +28 -5
  67. pulumi_snowflake/get_storage_integrations.py +16 -5
  68. pulumi_snowflake/get_streamlits.py +170 -0
  69. pulumi_snowflake/get_streams.py +114 -50
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +121 -6
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
  74. pulumi_snowflake/get_tables.py +28 -5
  75. pulumi_snowflake/get_tags.py +130 -0
  76. pulumi_snowflake/get_tasks.py +134 -50
  77. pulumi_snowflake/get_users.py +116 -40
  78. pulumi_snowflake/get_views.py +114 -50
  79. pulumi_snowflake/get_warehouses.py +79 -22
  80. pulumi_snowflake/grant_account_role.py +28 -61
  81. pulumi_snowflake/grant_application_role.py +257 -0
  82. pulumi_snowflake/grant_database_role.py +35 -108
  83. pulumi_snowflake/grant_ownership.py +382 -0
  84. pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
  85. pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
  86. pulumi_snowflake/grant_privileges_to_share.py +96 -44
  87. pulumi_snowflake/legacy_service_user.py +3670 -0
  88. pulumi_snowflake/managed_account.py +42 -9
  89. pulumi_snowflake/masking_policy.py +213 -306
  90. pulumi_snowflake/materialized_view.py +62 -67
  91. pulumi_snowflake/network_policy.py +217 -57
  92. pulumi_snowflake/network_policy_attachment.py +7 -32
  93. pulumi_snowflake/network_rule.py +473 -0
  94. pulumi_snowflake/notification_integration.py +51 -82
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
  96. pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
  97. pulumi_snowflake/object_parameter.py +12 -99
  98. pulumi_snowflake/outputs.py +49200 -2928
  99. pulumi_snowflake/password_policy.py +41 -28
  100. pulumi_snowflake/pipe.py +33 -0
  101. pulumi_snowflake/primary_connection.py +330 -0
  102. pulumi_snowflake/procedure_java.py +1273 -0
  103. pulumi_snowflake/procedure_javascript.py +895 -0
  104. pulumi_snowflake/procedure_python.py +1226 -0
  105. pulumi_snowflake/procedure_scala.py +1273 -0
  106. pulumi_snowflake/procedure_sql.py +895 -0
  107. pulumi_snowflake/provider.py +378 -613
  108. pulumi_snowflake/pulumi-plugin.json +2 -1
  109. pulumi_snowflake/resource_monitor.py +118 -323
  110. pulumi_snowflake/row_access_policy.py +200 -145
  111. pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
  112. pulumi_snowflake/schema.py +949 -174
  113. pulumi_snowflake/scim_integration.py +286 -105
  114. pulumi_snowflake/secondary_connection.py +339 -0
  115. pulumi_snowflake/secondary_database.py +1080 -0
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
  117. pulumi_snowflake/secret_with_basic_authentication.py +500 -0
  118. pulumi_snowflake/secret_with_client_credentials.py +511 -0
  119. pulumi_snowflake/secret_with_generic_string.py +452 -0
  120. pulumi_snowflake/sequence.py +9 -30
  121. pulumi_snowflake/service_user.py +3585 -0
  122. pulumi_snowflake/share.py +35 -26
  123. pulumi_snowflake/shared_database.py +939 -0
  124. pulumi_snowflake/stage.py +95 -80
  125. pulumi_snowflake/storage_integration.py +48 -2
  126. pulumi_snowflake/stream_on_directory_table.py +517 -0
  127. pulumi_snowflake/stream_on_external_table.py +632 -0
  128. pulumi_snowflake/stream_on_table.py +666 -0
  129. pulumi_snowflake/stream_on_view.py +666 -0
  130. pulumi_snowflake/streamlit.py +671 -0
  131. pulumi_snowflake/table.py +86 -93
  132. pulumi_snowflake/table_column_masking_policy_application.py +7 -14
  133. pulumi_snowflake/table_constraint.py +29 -168
  134. pulumi_snowflake/tag.py +142 -70
  135. pulumi_snowflake/tag_association.py +40 -211
  136. pulumi_snowflake/task.py +3048 -414
  137. pulumi_snowflake/user.py +3351 -380
  138. pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
  139. pulumi_snowflake/user_password_policy_attachment.py +7 -6
  140. pulumi_snowflake/user_public_keys.py +5 -0
  141. pulumi_snowflake/view.py +466 -211
  142. pulumi_snowflake/warehouse.py +184 -164
  143. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
  144. pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
  145. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
  146. pulumi_snowflake/account_grant.py +0 -339
  147. pulumi_snowflake/database_grant.py +0 -491
  148. pulumi_snowflake/external_table_grant.py +0 -686
  149. pulumi_snowflake/failover_group_grant.py +0 -388
  150. pulumi_snowflake/file_format_grant.py +0 -631
  151. pulumi_snowflake/function.py +0 -868
  152. pulumi_snowflake/function_grant.py +0 -741
  153. pulumi_snowflake/get_role.py +0 -117
  154. pulumi_snowflake/get_roles.py +0 -116
  155. pulumi_snowflake/grant_privileges_to_role.py +0 -667
  156. pulumi_snowflake/integration_grant.py +0 -436
  157. pulumi_snowflake/masking_policy_grant.py +0 -538
  158. pulumi_snowflake/materialized_view_grant.py +0 -685
  159. pulumi_snowflake/pipe_grant.py +0 -583
  160. pulumi_snowflake/procedure.py +0 -883
  161. pulumi_snowflake/procedure_grant.py +0 -741
  162. pulumi_snowflake/resource_monitor_grant.py +0 -383
  163. pulumi_snowflake/role.py +0 -269
  164. pulumi_snowflake/role_grants.py +0 -348
  165. pulumi_snowflake/role_ownership_grant.py +0 -334
  166. pulumi_snowflake/row_access_policy_grant.py +0 -536
  167. pulumi_snowflake/schema_grant.py +0 -643
  168. pulumi_snowflake/sequence_grant.py +0 -631
  169. pulumi_snowflake/session_parameter.py +0 -328
  170. pulumi_snowflake/stage_grant.py +0 -631
  171. pulumi_snowflake/stream.py +0 -610
  172. pulumi_snowflake/stream_grant.py +0 -631
  173. pulumi_snowflake/table_grant.py +0 -673
  174. pulumi_snowflake/tag_grant.py +0 -528
  175. pulumi_snowflake/tag_masking_policy_association.py +0 -210
  176. pulumi_snowflake/task_grant.py +0 -631
  177. pulumi_snowflake/user_grant.py +0 -390
  178. pulumi_snowflake/user_ownership_grant.py +0 -286
  179. pulumi_snowflake/view_grant.py +0 -701
  180. pulumi_snowflake/warehouse_grant.py +0 -436
  181. pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
  182. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['ApiIntegrationArgs', 'ApiIntegration']
@@ -223,6 +228,7 @@ class _ApiIntegrationState:
223
228
  comment: Optional[pulumi.Input[str]] = None,
224
229
  created_on: Optional[pulumi.Input[str]] = None,
225
230
  enabled: Optional[pulumi.Input[bool]] = None,
231
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
226
232
  google_audience: Optional[pulumi.Input[str]] = None,
227
233
  name: Optional[pulumi.Input[str]] = None):
228
234
  """
@@ -239,6 +245,7 @@ class _ApiIntegrationState:
239
245
  :param pulumi.Input[str] azure_tenant_id: Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
240
246
  :param pulumi.Input[str] created_on: Date and time when the API integration was created.
241
247
  :param pulumi.Input[bool] enabled: Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function that relies on it will not work.
248
+ :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).
242
249
  :param pulumi.Input[str] google_audience: The audience claim when generating the JWT (JSON Web Token) to authenticate to the Google API Gateway.
243
250
  :param pulumi.Input[str] name: Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique among api integrations in your account.
244
251
  """
@@ -272,6 +279,8 @@ class _ApiIntegrationState:
272
279
  pulumi.set(__self__, "created_on", created_on)
273
280
  if enabled is not None:
274
281
  pulumi.set(__self__, "enabled", enabled)
282
+ if fully_qualified_name is not None:
283
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
275
284
  if google_audience is not None:
276
285
  pulumi.set(__self__, "google_audience", google_audience)
277
286
  if name is not None:
@@ -448,6 +457,18 @@ class _ApiIntegrationState:
448
457
  def enabled(self, value: Optional[pulumi.Input[bool]]):
449
458
  pulumi.set(self, "enabled", value)
450
459
 
460
+ @property
461
+ @pulumi.getter(name="fullyQualifiedName")
462
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
463
+ """
464
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
465
+ """
466
+ return pulumi.get(self, "fully_qualified_name")
467
+
468
+ @fully_qualified_name.setter
469
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
470
+ pulumi.set(self, "fully_qualified_name", value)
471
+
451
472
  @property
452
473
  @pulumi.getter(name="googleAudience")
453
474
  def google_audience(self) -> Optional[pulumi.Input[str]]:
@@ -492,34 +513,10 @@ class ApiIntegration(pulumi.CustomResource):
492
513
  name: Optional[pulumi.Input[str]] = None,
493
514
  __props__=None):
494
515
  """
495
- ## Example Usage
496
-
497
- ```python
498
- import pulumi
499
- import pulumi_snowflake as snowflake
500
-
501
- aws = snowflake.ApiIntegration("aws",
502
- api_allowed_prefixes=["https://123456.execute-api.us-west-2.amazonaws.com/prod/"],
503
- api_aws_role_arn="arn:aws:iam::000000000001:/role/test",
504
- api_provider="aws_api_gateway",
505
- enabled=True)
506
- azure = snowflake.ApiIntegration("azure",
507
- api_allowed_prefixes=["https://apim-hello-world.azure-api.net/"],
508
- api_provider="azure_api_management",
509
- azure_ad_application_id="11111111-1111-1111-1111-111111111111",
510
- azure_tenant_id="00000000-0000-0000-0000-000000000000",
511
- enabled=True)
512
- gcp = snowflake.ApiIntegration("gcp",
513
- api_allowed_prefixes=["https://gateway-id-123456.uc.gateway.dev/"],
514
- api_provider="google_api_gateway",
515
- enabled=True,
516
- google_audience="api-gateway-id-123456.apigateway.gcp-project.cloud.goog")
517
- ```
518
-
519
516
  ## Import
520
517
 
521
518
  ```sh
522
- $ pulumi import snowflake:index/apiIntegration:ApiIntegration example name
519
+ $ pulumi import snowflake:index/apiIntegration:ApiIntegration example name
523
520
  ```
524
521
 
525
522
  :param str resource_name: The name of the resource.
@@ -543,34 +540,10 @@ class ApiIntegration(pulumi.CustomResource):
543
540
  args: ApiIntegrationArgs,
544
541
  opts: Optional[pulumi.ResourceOptions] = None):
545
542
  """
546
- ## Example Usage
547
-
548
- ```python
549
- import pulumi
550
- import pulumi_snowflake as snowflake
551
-
552
- aws = snowflake.ApiIntegration("aws",
553
- api_allowed_prefixes=["https://123456.execute-api.us-west-2.amazonaws.com/prod/"],
554
- api_aws_role_arn="arn:aws:iam::000000000001:/role/test",
555
- api_provider="aws_api_gateway",
556
- enabled=True)
557
- azure = snowflake.ApiIntegration("azure",
558
- api_allowed_prefixes=["https://apim-hello-world.azure-api.net/"],
559
- api_provider="azure_api_management",
560
- azure_ad_application_id="11111111-1111-1111-1111-111111111111",
561
- azure_tenant_id="00000000-0000-0000-0000-000000000000",
562
- enabled=True)
563
- gcp = snowflake.ApiIntegration("gcp",
564
- api_allowed_prefixes=["https://gateway-id-123456.uc.gateway.dev/"],
565
- api_provider="google_api_gateway",
566
- enabled=True,
567
- google_audience="api-gateway-id-123456.apigateway.gcp-project.cloud.goog")
568
- ```
569
-
570
543
  ## Import
571
544
 
572
545
  ```sh
573
- $ pulumi import snowflake:index/apiIntegration:ApiIntegration example name
546
+ $ pulumi import snowflake:index/apiIntegration:ApiIntegration example name
574
547
  ```
575
548
 
576
549
  :param str resource_name: The name of the resource.
@@ -630,6 +603,7 @@ class ApiIntegration(pulumi.CustomResource):
630
603
  __props__.__dict__["azure_consent_url"] = None
631
604
  __props__.__dict__["azure_multi_tenant_app_name"] = None
632
605
  __props__.__dict__["created_on"] = None
606
+ __props__.__dict__["fully_qualified_name"] = None
633
607
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey"])
634
608
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
635
609
  super(ApiIntegration, __self__).__init__(
@@ -657,6 +631,7 @@ class ApiIntegration(pulumi.CustomResource):
657
631
  comment: Optional[pulumi.Input[str]] = None,
658
632
  created_on: Optional[pulumi.Input[str]] = None,
659
633
  enabled: Optional[pulumi.Input[bool]] = None,
634
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
660
635
  google_audience: Optional[pulumi.Input[str]] = None,
661
636
  name: Optional[pulumi.Input[str]] = None) -> 'ApiIntegration':
662
637
  """
@@ -678,6 +653,7 @@ class ApiIntegration(pulumi.CustomResource):
678
653
  :param pulumi.Input[str] azure_tenant_id: Specifies the ID for your Office 365 tenant that all Azure API Management instances belong to.
679
654
  :param pulumi.Input[str] created_on: Date and time when the API integration was created.
680
655
  :param pulumi.Input[bool] enabled: Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function that relies on it will not work.
656
+ :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).
681
657
  :param pulumi.Input[str] google_audience: The audience claim when generating the JWT (JSON Web Token) to authenticate to the Google API Gateway.
682
658
  :param pulumi.Input[str] name: Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique among api integrations in your account.
683
659
  """
@@ -700,6 +676,7 @@ class ApiIntegration(pulumi.CustomResource):
700
676
  __props__.__dict__["comment"] = comment
701
677
  __props__.__dict__["created_on"] = created_on
702
678
  __props__.__dict__["enabled"] = enabled
679
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
703
680
  __props__.__dict__["google_audience"] = google_audience
704
681
  __props__.__dict__["name"] = name
705
682
  return ApiIntegration(resource_name, opts=opts, __props__=__props__)
@@ -815,6 +792,14 @@ class ApiIntegration(pulumi.CustomResource):
815
792
  """
816
793
  return pulumi.get(self, "enabled")
817
794
 
795
+ @property
796
+ @pulumi.getter(name="fullyQualifiedName")
797
+ def fully_qualified_name(self) -> pulumi.Output[str]:
798
+ """
799
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
800
+ """
801
+ return pulumi.get(self, "fully_qualified_name")
802
+
818
803
  @property
819
804
  @pulumi.getter(name="googleAudience")
820
805
  def google_audience(self) -> pulumi.Output[Optional[str]]: