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
@@ -1,16 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pulumi_snowflake
3
- Version: 0.50.2a1709892015
3
+ Version: 1.2.0a1736835738
4
4
  Summary: A Pulumi package for creating and managing snowflake cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-snowflake
8
8
  Keywords: pulumi,snowflake
9
- Requires-Python: >=3.8
9
+ Requires-Python: >=3.9
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: parver >=0.2.1
12
- Requires-Dist: pulumi <4.0.0,>=3.0.0
13
- Requires-Dist: semver >=2.8.1
11
+ Requires-Dist: parver>=0.2.1
12
+ Requires-Dist: pulumi<4.0.0,>=3.142.0
13
+ Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
14
15
 
15
16
  [![Actions Status](https://github.com/pulumi/pulumi-snowflake/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-snowflake/actions)
16
17
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)
@@ -0,0 +1,148 @@
1
+ pulumi_snowflake/__init__.py,sha256=CLT38stahhh1qTT1V5DgZ0F0XgJXmZeWEm5QHXdHGI4,22189
2
+ pulumi_snowflake/_inputs.py,sha256=njnA7PLpF9i_9hjLXtC7IgKMkmiQL7Bj5ICyqmsJlbc,2136644
3
+ pulumi_snowflake/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
4
+ pulumi_snowflake/account.py,sha256=FqzamgXiIfgOh1ujQuefu5h8anUcfpFSt6xc2hZnRWM,43353
5
+ pulumi_snowflake/account_authentication_policy_attachment.py,sha256=nz_c1DMOysRj5nW24oAXDRHL5JvEKXhfAXB8uanqr24,7328
6
+ pulumi_snowflake/account_parameter.py,sha256=_j8dEqP7nXHMDWx0GKjNbisP6ZWZiU8cRz5CwUZJ8IM,31632
7
+ pulumi_snowflake/account_password_policy_attachment.py,sha256=BsKxVE6d_37Gpxh_fMa6mI5TClxnMQpnfL9J4uAnozY,6944
8
+ pulumi_snowflake/account_role.py,sha256=82zrfbJQ-5E1Tn50GcRq8D571Ajn-_q98E1zYkMFjJI,11093
9
+ pulumi_snowflake/alert.py,sha256=dFZYIlKC1QHPwA--O80IVbFPwKXuMvq6cpbMJpO1x2o,24197
10
+ pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py,sha256=reqAfEumWhivql-TqlPhg6n25jy6LLUY-lZlRxU4n9A,41624
11
+ pulumi_snowflake/api_authentication_integration_with_client_credentials.py,sha256=CE_Y1zUJ0-jd-nLM6eTF07hAeYExB_88O6TUXh0bx3A,38360
12
+ pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py,sha256=AwdULp0n0y71bcf7PT6UTA6ayNZkUmLSTZgA3KVdIOs,39096
13
+ pulumi_snowflake/api_integration.py,sha256=l1PvCrilGDnnLDi78fUs3PFmkaX_3LSbhLI88oWkAFY,40529
14
+ pulumi_snowflake/authentication_policy.py,sha256=tDqq8V64pXf4lt9C5D9f_gxgKk6yuQ6lo4t7N-FHY7A,42169
15
+ pulumi_snowflake/cortex_search_service.py,sha256=cQ3JFgokDMlP22Pmaqmb0UZGyItjicFOHERwcae-Zx4,25774
16
+ pulumi_snowflake/database.py,sha256=DVPgAKT6fy4Y0hfTWyJgsbSeOOfaPwUSVbDI1OtOifQ,86879
17
+ pulumi_snowflake/database_role.py,sha256=2SnGDflb6_FzoLEYALsid-LvPH3UNbubo_oGSxYqa3Q,14627
18
+ pulumi_snowflake/dynamic_table.py,sha256=_0zfkh5Qr6T42WfzsN1EO0p4HtXQ9HCvrITmgblwj8s,41364
19
+ pulumi_snowflake/email_notification_integration.py,sha256=QnwfXgKmW01TYNbKayN2cvX0NfCIhittJ4YgIJ7DViM,12885
20
+ pulumi_snowflake/execute.py,sha256=78A0kDGw9WDzm1Z-1OUwqXalXUGJNcxxYXhi24H_yZc,11959
21
+ pulumi_snowflake/external_function.py,sha256=PLM-30_f0LtAN6BYc7KjWih0nFZtn1v-OdVD2ofon7E,49316
22
+ pulumi_snowflake/external_oauth_integration.py,sha256=i_992TA8dc2yVk_HlVzmXwHeqYsUgEZ1Dneiu89MKjg,67285
23
+ pulumi_snowflake/external_table.py,sha256=a_vd4m-gwKoJI6As6az_wlAYdBCJro_EmP_MdZ-3eSs,41563
24
+ pulumi_snowflake/external_volume.py,sha256=oOgdHJol-kFlpoFkwcJYw_m4JMoCldDNHH-QQaWSLcQ,25389
25
+ pulumi_snowflake/failover_group.py,sha256=eKqBhUUIlzocvBDnfUm1KAG0zPUklmcD5Bx_-V6oou0,38482
26
+ pulumi_snowflake/file_format.py,sha256=lHZNvtfWdJ4qUgqj5qSR_K-XUqueG2znQcT-NnHIYq0,93070
27
+ pulumi_snowflake/function_java.py,sha256=cI0GU_mmR9ATgHaKKWqlTDyeR2Pu91ptBUHXDk5KF6A,89149
28
+ pulumi_snowflake/function_javascript.py,sha256=FGUv8KL9wQyEdyTvcOVi4BtBkzbSEJ0ALuIMq0sJCLE,56631
29
+ pulumi_snowflake/function_python.py,sha256=oROdsayksQXA89De9K2aCxUfHbYVZo6SlPOJN-CzdcA,88818
30
+ pulumi_snowflake/function_scala.py,sha256=OM-d-Gw83cOYC_06ywwAo-EWhNShmENlyz1kcVX4W0o,87793
31
+ pulumi_snowflake/function_sql.py,sha256=BvopndP-iUfdN4YH3Xocbta97OFDnqcZW11TEdGIWkc,52952
32
+ pulumi_snowflake/get_account_roles.py,sha256=HGn_g-t0z25pdWZE6m6q5Rl52lCMBT98fKmwrAj9sZA,5566
33
+ pulumi_snowflake/get_accounts.py,sha256=oCMscMrIr33qd3D_5OcCwP_THosK7YlLLjXckHvtl6s,5430
34
+ pulumi_snowflake/get_alerts.py,sha256=IIZAtmyoJGAzFO46Uj2mPr_DxAHJolODjX2xY2DOEcE,6898
35
+ pulumi_snowflake/get_connections.py,sha256=Q9CPJJK4FnpUM3Mvh4Je9zcckFvJ8dv0_5nIFkOWuNM,4549
36
+ pulumi_snowflake/get_cortex_search_services.py,sha256=YYsCQzN5Ve3c3PGotDdjeuHFyYseIex1rkEzM_NZ3Zs,11406
37
+ pulumi_snowflake/get_current_account.py,sha256=Q8y_n68RqsJcTxBpqBOHgLrkbiexmZORJJ4H3TM2nKw,5658
38
+ pulumi_snowflake/get_current_role.py,sha256=GVVmFrMSco7EKKtSGE2bH1ANXUngyNKT_FXtw6Cw09k,4079
39
+ pulumi_snowflake/get_database.py,sha256=eUFcemdmgccp2G4EO4Cy2TbI37btfyND2GAlRNZytSU,8194
40
+ pulumi_snowflake/get_database_role.py,sha256=H23P8TnGAnmblWoDENcIoP08wKpvyARpq4ywUiMR-hQ,6416
41
+ pulumi_snowflake/get_database_roles.py,sha256=2nBtN7YWGZ_-qUmHV7vs-n2yQAfM74WzjPllkG0aJgk,7681
42
+ pulumi_snowflake/get_databases.py,sha256=22h1oAOTCZigA2lgeENlEEhqZAcZQJfzH1ING1eQe2c,10469
43
+ pulumi_snowflake/get_dynamic_tables.py,sha256=Fjmpqn30fQ2u4xACds56JOs-MmlcFVIDQHi_iWZBtYs,9275
44
+ pulumi_snowflake/get_external_functions.py,sha256=VDjKoGR7-tmU7daxNUzg-ZBGyjmb8Qczv704H6a8S7I,6569
45
+ pulumi_snowflake/get_external_tables.py,sha256=odsVxeO4i89aqh6pak6Zw3eiF9rM_Hkx5dQ74kSVsUY,6385
46
+ pulumi_snowflake/get_failover_groups.py,sha256=zbNjs3H0HjNe18HiEtjUhbBdeGFIX7kLpQoUMhcNTiE,5209
47
+ pulumi_snowflake/get_file_formats.py,sha256=TnDZVImdu9J0X2vZh0X1GFKLLwmbxutB9BIuDNwp9Wk,6241
48
+ pulumi_snowflake/get_functions.py,sha256=xLqHm3gZ-lIB0ii2NiwL-Vb8uSJ2AqH9Qbk71S5ezhg,6099
49
+ pulumi_snowflake/get_grants.py,sha256=Rfm_Db-HVQ6o2Z3I6DcwT2DGnsNDIEmtsOlYy8BzTqI,15086
50
+ pulumi_snowflake/get_masking_policies.py,sha256=GvSsac8MLzGduUgNpriHV1XMcFEmJdsHtvUZ4UMpBAs,9301
51
+ pulumi_snowflake/get_materialized_views.py,sha256=v13j-sNOVJOvyu9nMXLttS7wCaXiKD97pbZ99GTHCiY,6477
52
+ pulumi_snowflake/get_network_policies.py,sha256=pPHQyZ7n4VsNJADJreZ3OWoxZ1E8v4nvOL0HjUBaW-0,6255
53
+ pulumi_snowflake/get_parameters.py,sha256=9qDDbxrpZ2TNyv7OYhCPp0Vpmc81AVNEdvRXSbBA1ig,11889
54
+ pulumi_snowflake/get_pipes.py,sha256=EKThFIi2Dsd2Sax6or_Vixz87yTrP0a102CN-Su7Zac,5911
55
+ pulumi_snowflake/get_procedures.py,sha256=IgtHTAx-6qUK2QnXDY9d-5qcdDWAGPVU_PZ-jQBlBho,6146
56
+ pulumi_snowflake/get_resource_monitors.py,sha256=jnhiJi5FenOuP6KSntfTESYVy97qheb1hgKCeZAJKWc,4848
57
+ pulumi_snowflake/get_row_access_policies.py,sha256=rmdEZcrFrtovproKZfijydQQqXU9O1LsHH_Bwfu0HzE,9515
58
+ pulumi_snowflake/get_schemas.py,sha256=iYCFHdfgSU-MoDjMhpxWBajKq5GGRqWxnLzxt9lDheY,11458
59
+ pulumi_snowflake/get_secrets.py,sha256=_v4M_ho-RCNUHoPl9OtuAweALiUIuRvKS44bqSCuGk0,8385
60
+ pulumi_snowflake/get_security_integrations.py,sha256=J2_SH21gQaoyhppDXYYezz5Pt9wz2cUvU6Z9I9X3Ixg,6592
61
+ pulumi_snowflake/get_sequences.py,sha256=finndpPuq3U4krJ1qVXdbsxI9PiZCmHGL0tY9Hcn1PM,6099
62
+ pulumi_snowflake/get_shares.py,sha256=ELDwykn5xGHsIoCOSnyUXMBq0f1jw_2r5y5ra5kMqNo,5141
63
+ pulumi_snowflake/get_stages.py,sha256=wlTV5WdQLeI6-D1fpl60_kMahBoDtAL3ImFPRjmZnLE,5958
64
+ pulumi_snowflake/get_storage_integrations.py,sha256=m7j6O4D-tYYgwnbcfrvkGzpA76izy8CNxZfSBt9n9Xs,4758
65
+ pulumi_snowflake/get_streamlits.py,sha256=FX3dMBBciNZ-gz573gz4dIQhZY2iUHzFV3cflV55s00,8882
66
+ pulumi_snowflake/get_streams.py,sha256=hourviY2yqu4ndS4NjgBhDNoilF_DMK5FSQPNqW_ivE,9684
67
+ pulumi_snowflake/get_system_generate_scim_access_token.py,sha256=v2RzzZHvkjHSnBOrUdcK3nTGIsKrQCVle71LeRhf3xE,5874
68
+ pulumi_snowflake/get_system_get_aws_sns_iam_policy.py,sha256=AVY3srUbhXY81xlSrriOCAK4bPFv8Q63VpqBcJ_NMT0,5031
69
+ pulumi_snowflake/get_system_get_private_link_config.py,sha256=j-7-R_W4Er-SFDgIhFkqb5zwAawLDTU4Rf_e54nBy28,13510
70
+ pulumi_snowflake/get_system_get_snowflake_platform_info.py,sha256=fiPHCJrC_KH67_LuofsYKBnw9N7-XnoYWLn3-o3R8x4,5216
71
+ pulumi_snowflake/get_tables.py,sha256=xUlPlMQKhFMF7PHDWcf1GP9anakktIMaQt1gT8Yy-uw,5958
72
+ pulumi_snowflake/get_tags.py,sha256=uZZlMMF8n2YsUsZMIVNqmfvOpPeVf3D-55G4CSZS474,5169
73
+ pulumi_snowflake/get_tasks.py,sha256=4PT7JEWBlLcBmbmK6YCFeDifILlN_3DLso0KmXMZndw,10642
74
+ pulumi_snowflake/get_users.py,sha256=ueHukrWJjyKmace5klJenJXXlh1DQ1eFXebrCkwijJs,10713
75
+ pulumi_snowflake/get_views.py,sha256=X6o3swmn-fTqbu3iBok6_DdvKlrzHdMwAkfjgzdKK3I,9572
76
+ pulumi_snowflake/get_warehouses.py,sha256=h6PlO3jSKsxFncG6q_AlUH7iK6QigNajteJI_GKZeXU,7449
77
+ pulumi_snowflake/grant_account_role.py,sha256=yFDdClOq_OUjyVVpHBG2fRCn05KpjwUm0yJ55BraFf4,12454
78
+ pulumi_snowflake/grant_application_role.py,sha256=mUXF_cilQfe3_UbJxfdK8Ox_oGvniRaDfFxEE2nOp2g,12545
79
+ pulumi_snowflake/grant_database_role.py,sha256=FProINGTeUpdXo0y6B69OxVUXp_Pr4rXUDPUM6PUQ98,16271
80
+ pulumi_snowflake/grant_ownership.py,sha256=btRHNyAgDE-ArKJZ8HXE1itWjBRbETI3qt350pT4Bog,19806
81
+ pulumi_snowflake/grant_privileges_to_account_role.py,sha256=6sDRlL8zBkx0VsuiX6j2vE0MZz5tcf_w5KigL3y9GBg,32217
82
+ pulumi_snowflake/grant_privileges_to_database_role.py,sha256=uApEQrIoS7DDvUWdX0nrvXZoad8-NhGOSxy1Q6v7ywk,29260
83
+ pulumi_snowflake/grant_privileges_to_share.py,sha256=tBpOWq90WXtdBqKSVsE5EPHokEtkfKyfYEqGkjKN2cE,27253
84
+ pulumi_snowflake/legacy_service_user.py,sha256=9qdyLmy_bJEiFCbDbqWuVHpTwdXbhPa7vcrtW-dB0sQ,327851
85
+ pulumi_snowflake/managed_account.py,sha256=kIqqXm5nYCw-AgaXM1jhEL4wUQVfadzYoc4m3VaEPb4,22352
86
+ pulumi_snowflake/masking_policy.py,sha256=71WkO_Zx4ZKouKMwAl8MKZZPQ2PqFQ8iE4SLfteKcOg,35450
87
+ pulumi_snowflake/materialized_view.py,sha256=y1TFBXlXVVMBeSIcgileuptX3oX9VgS-hfkCCellnPE,24500
88
+ pulumi_snowflake/network_policy.py,sha256=tp2bp1qOVgeRdp9u-C8shRyO13e33S7Ht5OuRkvz7mI,28375
89
+ pulumi_snowflake/network_policy_attachment.py,sha256=4JQY3WsgKwIC_9k9izZX60In-dniPmu0P6N7WAe2fbg,15364
90
+ pulumi_snowflake/network_rule.py,sha256=bvyfGis-UjvH2oMMP-96k_ABWTU9Jd7AB_Mm81nPN-A,23929
91
+ pulumi_snowflake/notification_integration.py,sha256=onf6ayHu0Ns6Ibmlr7BoQ__2Clc-EMnSIAXokecVgbs,49366
92
+ pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=PfcfyEQ3a14XogTHLZQnrJPjI2Vx1PnFoPc9xztOQqE,60637
93
+ pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=lGn_Xt9sbNIZW2XqFlcIcZYkBSpAmY6vjyp-rMqAMOs,40523
94
+ pulumi_snowflake/object_parameter.py,sha256=KiQuEvG6NrH-NFmAg_FnmmX5ZBBD6lVB7v6sCJUrXiA,18715
95
+ pulumi_snowflake/outputs.py,sha256=ChMFhiX5PGbtxxnxjb1kQiEcKemWSQJUsOAgNCICmak,1790117
96
+ pulumi_snowflake/password_policy.py,sha256=by7_qGV04LBJ1bGs2D2MQMXwtjYSZ67T-LGBVgulAL8,55873
97
+ pulumi_snowflake/pipe.py,sha256=TUydVIVUwkIuDeCxpwVziLj5nOCsqcIejZ-JybN94qg,26413
98
+ pulumi_snowflake/primary_connection.py,sha256=6pnpFT4sQ26Db_0Mh3VqSGwkxesfzBL1Mke6m7ccZ64,19168
99
+ pulumi_snowflake/procedure_java.py,sha256=pnoif2RueFFhdx76ZrNTyU2DdFtuo4sQDOSIOMMYnfQ,102814
100
+ pulumi_snowflake/procedure_javascript.py,sha256=_J-0ynmgH1kU3IwSiBl3_9l_pm5TThmlFkA3CCe_4C4,65911
101
+ pulumi_snowflake/procedure_python.py,sha256=YRLEHDcXBuLQAIwk8PqX_Aobl_vBKqqe2xyTO-Myq4w,98954
102
+ pulumi_snowflake/procedure_scala.py,sha256=0e8meEAnjrG3fqIBbINAYz6ikeHpOSplFdZDLPlVAY4,102967
103
+ pulumi_snowflake/procedure_sql.py,sha256=bwwBZYcQaWertwaGim0HXP1Ijyz-iNPP0GAe2_FRmQ8,64616
104
+ pulumi_snowflake/provider.py,sha256=jgRrnazyy0J5ns5j1CvKmqK0eaDYLhrfQ860PrfNQ3Q,71455
105
+ pulumi_snowflake/pulumi-plugin.json,sha256=5f3O8RbkqnR0Tm5e8UxcjxTFdnlX1h8Hu4AsB4X_qrU,85
106
+ pulumi_snowflake/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
+ pulumi_snowflake/resource_monitor.py,sha256=WOENtMQ4hC9sy8GVvPVNOkW0DBLwkHKdo8QqqV7K_30,42324
108
+ pulumi_snowflake/row_access_policy.py,sha256=Zn6f9xH9Z6peuvNcYfuJgDVL_kbqqPJYWF9Sxk9WAEc,27906
109
+ pulumi_snowflake/saml2_integration.py,sha256=6Q0-U8NY2rSWRgW4h05Cy0fs2VY7ocGU6AT23e0-95Q,76648
110
+ pulumi_snowflake/schema.py,sha256=2g2c7lKe1W7c1qnY1I-SACBAfaozuXQ0wWoOMj1du14,93794
111
+ pulumi_snowflake/scim_integration.py,sha256=q5FUFzge8QGAaSIZmpMzkWBRXHEX4tLtgHnusznvDHo,29067
112
+ pulumi_snowflake/secondary_connection.py,sha256=gKx_DfGyOL2G_24EpIYL-7Yxi8Bb0de8xWZqT4nyr3U,17757
113
+ pulumi_snowflake/secondary_database.py,sha256=9pDTKsNmP1wllsiHwVH0pr5UqvcZB5aT5tZZ_tDmtOA,82893
114
+ pulumi_snowflake/secret_with_authorization_code_grant.py,sha256=Qvfh1qPksrYXGBHGZjidD3v8uiHw4AVdvR2aFzEiF9Y,29557
115
+ pulumi_snowflake/secret_with_basic_authentication.py,sha256=TcUyDadGZ_bxpdPvoWTNOKTIuvjKQX6EGfgR9Ba50nA,24311
116
+ pulumi_snowflake/secret_with_client_credentials.py,sha256=GGo8ga84mBtoh8el_b9YU-NK8cfUgIM-eWqHwHDPe9c,27029
117
+ pulumi_snowflake/secret_with_generic_string.py,sha256=0rpnfOHJS7QJ-WDty_mOOHrdUMZoYzODMeRkhECD6Wg,22288
118
+ pulumi_snowflake/sequence.py,sha256=3uch8fN22pyburdAvyvHjktLgiVoFqqw0pXX1sD4q1Q,18290
119
+ pulumi_snowflake/service_user.py,sha256=eb2Ug4FVLVk4ajtE3fuTCmWzJ8wgsMRLmtxhEvZOwvM,321851
120
+ pulumi_snowflake/share.py,sha256=PmUfEZZuLv_Ls6o8cH3qwA7TkJXYYmsEggqgF22VLGM,12275
121
+ pulumi_snowflake/shared_database.py,sha256=NF6CEg3cZBl9-LiNchlpRtzAKXSgi8KCbJLYAAfES6E,66044
122
+ pulumi_snowflake/stage.py,sha256=vbGPND3vgFK81mOs_C894EmzrPbDj_CtX7w02bpPan4,38015
123
+ pulumi_snowflake/storage_integration.py,sha256=RxVJndz3CQPmS6d8ozo-_CIlrY2J5Y-tpObd8xIWDtg,34253
124
+ pulumi_snowflake/stream_on_directory_table.py,sha256=IVawVvW1Rnu0kVBs6rmS4lfC3-plML5YAfQlUApfQr8,27394
125
+ pulumi_snowflake/stream_on_external_table.py,sha256=e8MBJ99Bp0qnlhRHso2FKhioZstoRh1qHZijDdxHhHU,32466
126
+ pulumi_snowflake/stream_on_table.py,sha256=Lyk0nV8lNKIGVwEys9yHH3e4b_bAPGFK5Rw3sRTkj9s,33062
127
+ pulumi_snowflake/stream_on_view.py,sha256=fnkkSYwCdUGxraNd2TkZvzVZ7PecfMt1CWW2e45V5po,32955
128
+ pulumi_snowflake/streamlit.py,sha256=TLsgblPUfTrwShJc1j8t54J9AloeTxIcLg0uM9ihGwo,34381
129
+ pulumi_snowflake/table.py,sha256=ytScReoDsOfI3X2JR1rm2FtLPxnGDAzqj-T9EHAzxsc,33157
130
+ pulumi_snowflake/table_column_masking_policy_application.py,sha256=He2six0YqZ5AHAb3lnHIpDNn3QhdNIPPzl82tK29Dhk,10717
131
+ pulumi_snowflake/table_constraint.py,sha256=clloXd2bSwHxVuSRj3DPl44Yj3B5qaMYV5JcYEuG7H4,31166
132
+ pulumi_snowflake/tag.py,sha256=duQWeKdPYMq5SfYyrtgrgJJ2DpS65tKtwpK-oqvLfRc,22922
133
+ pulumi_snowflake/tag_association.py,sha256=a-XAUH6l7FzQOcxewBM3Yg3-X5Ecqs9-tiKnoY2SU6Y,18597
134
+ pulumi_snowflake/task.py,sha256=zYmNlLyNA1KN0MFWEI4notYfcDyjRsARfWr1JAmCzJs,321245
135
+ pulumi_snowflake/user.py,sha256=cFURUIptGYP7zkwTvHdNLE4Kj-oOBwFpquDAwROjT_k,335852
136
+ pulumi_snowflake/user_authentication_policy_attachment.py,sha256=oZ-xdgGbkChufZp1OsGfp4tEDN3OWIRezUG-xzjhDQ0,9142
137
+ pulumi_snowflake/user_password_policy_attachment.py,sha256=FwvBU8U-_KdpgbplKi3Q3s_Pulh1paOfOvqUvyhB5oQ,8924
138
+ pulumi_snowflake/user_public_keys.py,sha256=hsyt78EP4kHs5SK7rLCPsWIHXI64N0D-KUdGUnO_sxY,11452
139
+ pulumi_snowflake/view.py,sha256=OeqQggZ7hdCzewSJ5XIKhKrAF4bhTKEN1yzKOSR4dM8,49340
140
+ pulumi_snowflake/warehouse.py,sha256=nmfQ7k51Y9bWYczoyXMFw0zjk_5l0TvpwEQLLuoxjv0,58846
141
+ pulumi_snowflake/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
142
+ pulumi_snowflake/config/__init__.pyi,sha256=rzWT7strp9IsYZrVUFf78R-nNROcNhAM3WKBW1OPG7Q,8865
143
+ pulumi_snowflake/config/outputs.py,sha256=iAJ-lzy_gkkdNr_znbdiKbAphOhXY3G9NGJHcHMk8rU,4041
144
+ pulumi_snowflake/config/vars.py,sha256=UMbFbB_4MJQ-8zMgJi9lNNIzZqtYakj4ZSAE3uqZh6E,13740
145
+ pulumi_snowflake-1.2.0a1736835738.dist-info/METADATA,sha256=LL9QS0zpL86aP9TAKR2B3TxHaSTpk1t_MI6Ew__ZNtk,5043
146
+ pulumi_snowflake-1.2.0a1736835738.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
147
+ pulumi_snowflake-1.2.0a1736835738.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
148
+ pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,339 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from . import _utilities
11
-
12
- __all__ = ['AccountGrantArgs', 'AccountGrant']
13
-
14
- @pulumi.input_type
15
- class AccountGrantArgs:
16
- def __init__(__self__, *,
17
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
18
- privilege: Optional[pulumi.Input[str]] = None,
19
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
20
- with_grant_option: Optional[pulumi.Input[bool]] = None):
21
- """
22
- The set of arguments for constructing a AccountGrant resource.
23
- :param pulumi.Input[bool] enable_multiple_grants: When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
24
- grants applied to roles and objects outside Terraform.
25
- :param pulumi.Input[str] privilege: The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
26
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
27
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
28
- """
29
- if enable_multiple_grants is not None:
30
- pulumi.set(__self__, "enable_multiple_grants", enable_multiple_grants)
31
- if privilege is not None:
32
- pulumi.set(__self__, "privilege", privilege)
33
- if roles is not None:
34
- pulumi.set(__self__, "roles", roles)
35
- if with_grant_option is not None:
36
- pulumi.set(__self__, "with_grant_option", with_grant_option)
37
-
38
- @property
39
- @pulumi.getter(name="enableMultipleGrants")
40
- def enable_multiple_grants(self) -> Optional[pulumi.Input[bool]]:
41
- """
42
- When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
43
- grants applied to roles and objects outside Terraform.
44
- """
45
- return pulumi.get(self, "enable_multiple_grants")
46
-
47
- @enable_multiple_grants.setter
48
- def enable_multiple_grants(self, value: Optional[pulumi.Input[bool]]):
49
- pulumi.set(self, "enable_multiple_grants", value)
50
-
51
- @property
52
- @pulumi.getter
53
- def privilege(self) -> Optional[pulumi.Input[str]]:
54
- """
55
- The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
56
- """
57
- return pulumi.get(self, "privilege")
58
-
59
- @privilege.setter
60
- def privilege(self, value: Optional[pulumi.Input[str]]):
61
- pulumi.set(self, "privilege", value)
62
-
63
- @property
64
- @pulumi.getter
65
- def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
66
- """
67
- Grants privilege to these roles.
68
- """
69
- return pulumi.get(self, "roles")
70
-
71
- @roles.setter
72
- def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
73
- pulumi.set(self, "roles", value)
74
-
75
- @property
76
- @pulumi.getter(name="withGrantOption")
77
- def with_grant_option(self) -> Optional[pulumi.Input[bool]]:
78
- """
79
- When this is set to true, allows the recipient role to grant the privileges to other roles.
80
- """
81
- return pulumi.get(self, "with_grant_option")
82
-
83
- @with_grant_option.setter
84
- def with_grant_option(self, value: Optional[pulumi.Input[bool]]):
85
- pulumi.set(self, "with_grant_option", value)
86
-
87
-
88
- @pulumi.input_type
89
- class _AccountGrantState:
90
- def __init__(__self__, *,
91
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
92
- privilege: Optional[pulumi.Input[str]] = None,
93
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
94
- with_grant_option: Optional[pulumi.Input[bool]] = None):
95
- """
96
- Input properties used for looking up and filtering AccountGrant resources.
97
- :param pulumi.Input[bool] enable_multiple_grants: When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
98
- grants applied to roles and objects outside Terraform.
99
- :param pulumi.Input[str] privilege: The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
100
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
101
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
102
- """
103
- if enable_multiple_grants is not None:
104
- pulumi.set(__self__, "enable_multiple_grants", enable_multiple_grants)
105
- if privilege is not None:
106
- pulumi.set(__self__, "privilege", privilege)
107
- if roles is not None:
108
- pulumi.set(__self__, "roles", roles)
109
- if with_grant_option is not None:
110
- pulumi.set(__self__, "with_grant_option", with_grant_option)
111
-
112
- @property
113
- @pulumi.getter(name="enableMultipleGrants")
114
- def enable_multiple_grants(self) -> Optional[pulumi.Input[bool]]:
115
- """
116
- When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
117
- grants applied to roles and objects outside Terraform.
118
- """
119
- return pulumi.get(self, "enable_multiple_grants")
120
-
121
- @enable_multiple_grants.setter
122
- def enable_multiple_grants(self, value: Optional[pulumi.Input[bool]]):
123
- pulumi.set(self, "enable_multiple_grants", value)
124
-
125
- @property
126
- @pulumi.getter
127
- def privilege(self) -> Optional[pulumi.Input[str]]:
128
- """
129
- The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
130
- """
131
- return pulumi.get(self, "privilege")
132
-
133
- @privilege.setter
134
- def privilege(self, value: Optional[pulumi.Input[str]]):
135
- pulumi.set(self, "privilege", value)
136
-
137
- @property
138
- @pulumi.getter
139
- def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
140
- """
141
- Grants privilege to these roles.
142
- """
143
- return pulumi.get(self, "roles")
144
-
145
- @roles.setter
146
- def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
147
- pulumi.set(self, "roles", value)
148
-
149
- @property
150
- @pulumi.getter(name="withGrantOption")
151
- def with_grant_option(self) -> Optional[pulumi.Input[bool]]:
152
- """
153
- When this is set to true, allows the recipient role to grant the privileges to other roles.
154
- """
155
- return pulumi.get(self, "with_grant_option")
156
-
157
- @with_grant_option.setter
158
- def with_grant_option(self, value: Optional[pulumi.Input[bool]]):
159
- pulumi.set(self, "with_grant_option", value)
160
-
161
-
162
- class AccountGrant(pulumi.CustomResource):
163
- @overload
164
- def __init__(__self__,
165
- resource_name: str,
166
- opts: Optional[pulumi.ResourceOptions] = None,
167
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
168
- privilege: Optional[pulumi.Input[str]] = None,
169
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
170
- with_grant_option: Optional[pulumi.Input[bool]] = None,
171
- __props__=None):
172
- """
173
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use GrantPrivilegesToAccountRole instead. <deprecation>
174
-
175
- ## Example Usage
176
-
177
- ```python
178
- import pulumi
179
- import pulumi_snowflake as snowflake
180
-
181
- grant = snowflake.AccountGrant("grant",
182
- privilege="CREATE ROLE",
183
- roles=[
184
- "role1",
185
- "role2",
186
- ],
187
- with_grant_option=False)
188
- ```
189
-
190
- ## Import
191
-
192
- format is privilege|with_grant_option|roles
193
-
194
- ```sh
195
- $ pulumi import snowflake:index/accountGrant:AccountGrant example "privilege|false|role1,role2"
196
- ```
197
-
198
- :param str resource_name: The name of the resource.
199
- :param pulumi.ResourceOptions opts: Options for the resource.
200
- :param pulumi.Input[bool] enable_multiple_grants: When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
201
- grants applied to roles and objects outside Terraform.
202
- :param pulumi.Input[str] privilege: The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
203
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
204
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
205
- """
206
- ...
207
- @overload
208
- def __init__(__self__,
209
- resource_name: str,
210
- args: Optional[AccountGrantArgs] = None,
211
- opts: Optional[pulumi.ResourceOptions] = None):
212
- """
213
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use GrantPrivilegesToAccountRole instead. <deprecation>
214
-
215
- ## Example Usage
216
-
217
- ```python
218
- import pulumi
219
- import pulumi_snowflake as snowflake
220
-
221
- grant = snowflake.AccountGrant("grant",
222
- privilege="CREATE ROLE",
223
- roles=[
224
- "role1",
225
- "role2",
226
- ],
227
- with_grant_option=False)
228
- ```
229
-
230
- ## Import
231
-
232
- format is privilege|with_grant_option|roles
233
-
234
- ```sh
235
- $ pulumi import snowflake:index/accountGrant:AccountGrant example "privilege|false|role1,role2"
236
- ```
237
-
238
- :param str resource_name: The name of the resource.
239
- :param AccountGrantArgs args: The arguments to use to populate this resource's properties.
240
- :param pulumi.ResourceOptions opts: Options for the resource.
241
- """
242
- ...
243
- def __init__(__self__, resource_name: str, *args, **kwargs):
244
- resource_args, opts = _utilities.get_resource_args_opts(AccountGrantArgs, pulumi.ResourceOptions, *args, **kwargs)
245
- if resource_args is not None:
246
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
247
- else:
248
- __self__._internal_init(resource_name, *args, **kwargs)
249
-
250
- def _internal_init(__self__,
251
- resource_name: str,
252
- opts: Optional[pulumi.ResourceOptions] = None,
253
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
254
- privilege: Optional[pulumi.Input[str]] = None,
255
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
256
- with_grant_option: Optional[pulumi.Input[bool]] = None,
257
- __props__=None):
258
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
259
- if not isinstance(opts, pulumi.ResourceOptions):
260
- raise TypeError('Expected resource options to be a ResourceOptions instance')
261
- if opts.id is None:
262
- if __props__ is not None:
263
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
264
- __props__ = AccountGrantArgs.__new__(AccountGrantArgs)
265
-
266
- __props__.__dict__["enable_multiple_grants"] = enable_multiple_grants
267
- __props__.__dict__["privilege"] = privilege
268
- __props__.__dict__["roles"] = roles
269
- __props__.__dict__["with_grant_option"] = with_grant_option
270
- super(AccountGrant, __self__).__init__(
271
- 'snowflake:index/accountGrant:AccountGrant',
272
- resource_name,
273
- __props__,
274
- opts)
275
-
276
- @staticmethod
277
- def get(resource_name: str,
278
- id: pulumi.Input[str],
279
- opts: Optional[pulumi.ResourceOptions] = None,
280
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
281
- privilege: Optional[pulumi.Input[str]] = None,
282
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
283
- with_grant_option: Optional[pulumi.Input[bool]] = None) -> 'AccountGrant':
284
- """
285
- Get an existing AccountGrant resource's state with the given name, id, and optional extra
286
- properties used to qualify the lookup.
287
-
288
- :param str resource_name: The unique name of the resulting resource.
289
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
290
- :param pulumi.ResourceOptions opts: Options for the resource.
291
- :param pulumi.Input[bool] enable_multiple_grants: When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
292
- grants applied to roles and objects outside Terraform.
293
- :param pulumi.Input[str] privilege: The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
294
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
295
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
296
- """
297
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
298
-
299
- __props__ = _AccountGrantState.__new__(_AccountGrantState)
300
-
301
- __props__.__dict__["enable_multiple_grants"] = enable_multiple_grants
302
- __props__.__dict__["privilege"] = privilege
303
- __props__.__dict__["roles"] = roles
304
- __props__.__dict__["with_grant_option"] = with_grant_option
305
- return AccountGrant(resource_name, opts=opts, __props__=__props__)
306
-
307
- @property
308
- @pulumi.getter(name="enableMultipleGrants")
309
- def enable_multiple_grants(self) -> pulumi.Output[Optional[bool]]:
310
- """
311
- When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
312
- grants applied to roles and objects outside Terraform.
313
- """
314
- return pulumi.get(self, "enable_multiple_grants")
315
-
316
- @property
317
- @pulumi.getter
318
- def privilege(self) -> pulumi.Output[Optional[str]]:
319
- """
320
- The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
321
- """
322
- return pulumi.get(self, "privilege")
323
-
324
- @property
325
- @pulumi.getter
326
- def roles(self) -> pulumi.Output[Optional[Sequence[str]]]:
327
- """
328
- Grants privilege to these roles.
329
- """
330
- return pulumi.get(self, "roles")
331
-
332
- @property
333
- @pulumi.getter(name="withGrantOption")
334
- def with_grant_option(self) -> pulumi.Output[Optional[bool]]:
335
- """
336
- When this is set to true, allows the recipient role to grant the privileges to other roles.
337
- """
338
- return pulumi.get(self, "with_grant_option")
339
-