pulumi-snowflake 0.56.0a1721327760__py3-none-any.whl → 0.57.0__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.
Files changed (74) hide show
  1. pulumi_snowflake/__init__.py +78 -209
  2. pulumi_snowflake/_inputs.py +12188 -1362
  3. pulumi_snowflake/_utilities.py +2 -0
  4. pulumi_snowflake/account_role.py +226 -0
  5. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +692 -0
  6. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +645 -0
  7. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +680 -0
  8. pulumi_snowflake/cortex_search_service.py +563 -0
  9. pulumi_snowflake/database.py +854 -232
  10. pulumi_snowflake/database_old.py +556 -0
  11. pulumi_snowflake/external_oauth_integration.py +562 -534
  12. pulumi_snowflake/failover_group.py +2 -2
  13. pulumi_snowflake/get_cortex_search_services.py +197 -0
  14. pulumi_snowflake/get_databases.py +71 -62
  15. pulumi_snowflake/get_network_policies.py +122 -0
  16. pulumi_snowflake/get_roles.py +37 -31
  17. pulumi_snowflake/get_schemas.py +115 -38
  18. pulumi_snowflake/get_security_integrations.py +122 -0
  19. pulumi_snowflake/get_streamlits.py +159 -0
  20. pulumi_snowflake/get_warehouses.py +66 -18
  21. pulumi_snowflake/grant_privileges_to_database_role.py +0 -4
  22. pulumi_snowflake/managed_account.py +7 -7
  23. pulumi_snowflake/network_policy.py +103 -19
  24. pulumi_snowflake/oauth_integration.py +4 -0
  25. pulumi_snowflake/oauth_integration_for_custom_clients.py +940 -0
  26. pulumi_snowflake/oauth_integration_for_partner_applications.py +584 -0
  27. pulumi_snowflake/outputs.py +16178 -2927
  28. pulumi_snowflake/pulumi-plugin.json +1 -1
  29. pulumi_snowflake/role.py +44 -72
  30. pulumi_snowflake/saml2_integration.py +975 -0
  31. pulumi_snowflake/saml_integration.py +4 -0
  32. pulumi_snowflake/schema.py +905 -151
  33. pulumi_snowflake/scim_integration.py +257 -103
  34. pulumi_snowflake/secondary_database.py +1059 -0
  35. pulumi_snowflake/sequence.py +6 -6
  36. pulumi_snowflake/shared_database.py +914 -0
  37. pulumi_snowflake/streamlit.py +650 -0
  38. pulumi_snowflake/table.py +0 -120
  39. pulumi_snowflake/table_constraint.py +2 -2
  40. pulumi_snowflake/tag_association.py +38 -38
  41. pulumi_snowflake/unsafe_execute.py +8 -8
  42. pulumi_snowflake/user_password_policy_attachment.py +32 -0
  43. pulumi_snowflake/warehouse.py +143 -120
  44. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/METADATA +1 -1
  45. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/RECORD +47 -58
  46. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/WHEEL +1 -1
  47. pulumi_snowflake/account_grant.py +0 -319
  48. pulumi_snowflake/database_grant.py +0 -471
  49. pulumi_snowflake/external_table_grant.py +0 -666
  50. pulumi_snowflake/failover_group_grant.py +0 -368
  51. pulumi_snowflake/file_format_grant.py +0 -611
  52. pulumi_snowflake/function_grant.py +0 -721
  53. pulumi_snowflake/grant_privileges_to_role.py +0 -821
  54. pulumi_snowflake/integration_grant.py +0 -416
  55. pulumi_snowflake/masking_policy_grant.py +0 -518
  56. pulumi_snowflake/materialized_view_grant.py +0 -665
  57. pulumi_snowflake/pipe_grant.py +0 -563
  58. pulumi_snowflake/procedure_grant.py +0 -721
  59. pulumi_snowflake/resource_monitor_grant.py +0 -363
  60. pulumi_snowflake/role_grants.py +0 -340
  61. pulumi_snowflake/role_ownership_grant.py +0 -329
  62. pulumi_snowflake/row_access_policy_grant.py +0 -516
  63. pulumi_snowflake/schema_grant.py +0 -603
  64. pulumi_snowflake/sequence_grant.py +0 -611
  65. pulumi_snowflake/stage_grant.py +0 -611
  66. pulumi_snowflake/stream_grant.py +0 -611
  67. pulumi_snowflake/table_grant.py +0 -653
  68. pulumi_snowflake/tag_grant.py +0 -508
  69. pulumi_snowflake/task_grant.py +0 -611
  70. pulumi_snowflake/user_grant.py +0 -370
  71. pulumi_snowflake/user_ownership_grant.py +0 -275
  72. pulumi_snowflake/view_grant.py +0 -685
  73. pulumi_snowflake/warehouse_grant.py +0 -416
  74. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_snowflake
3
- Version: 0.56.0a1721327760
3
+ Version: 0.57.0
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
@@ -1,35 +1,36 @@
1
- pulumi_snowflake/__init__.py,sha256=KSEf_dkHlfJ62rG2KprmfZ51UqWGvJWsxOE9Ox-9v1E,20146
2
- pulumi_snowflake/_inputs.py,sha256=ID1nMcg5XXTiDd41xLW7xmROcKe6RwkUk89TNvOK-4U,125608
3
- pulumi_snowflake/_utilities.py,sha256=ebJyWyMCMYLpnVkJVRkMiyEceWyxZ09ZYhxd1W7MWxs,10446
1
+ pulumi_snowflake/__init__.py,sha256=jLhHlQ_zLRRsNuX3MUUJZ6Zeo6ajiEG6dI7bTYnbqms,17867
2
+ pulumi_snowflake/_inputs.py,sha256=ZOPttY6q57bhXWRXNaP1yNkJFdHMakHSHifPz5TKGzU,539581
3
+ pulumi_snowflake/_utilities.py,sha256=aNnnaO6zRha3FhNHonuabR4fJLWGXANtK5dlh1Mz95k,10506
4
4
  pulumi_snowflake/account.py,sha256=vJUJAc9rMC1XkVlj_q4AwDu6kO0DAvGFOqc89XTTGUs,47120
5
- pulumi_snowflake/account_grant.py,sha256=l93qcgnfAg8bXMbEgAex8fzNmrd6XJN1EAG8ezhywq4,14259
6
5
  pulumi_snowflake/account_parameter.py,sha256=tQwfHgeDP9BHYfvXuhSl1vTub0UvMw52KGJNNy-n_ds,9445
7
6
  pulumi_snowflake/account_password_policy_attachment.py,sha256=-JsZcmX9NHY2KQS1devUCXoqEZFKTUSZaOd_jl97S_k,7628
7
+ pulumi_snowflake/account_role.py,sha256=4JH9BLYZNM6nfHVv6i6iDaF14h0_LBpwmBcZWDue0wo,9557
8
8
  pulumi_snowflake/alert.py,sha256=biv6GdmJ2sncU60-vLs_b4MNS_n2NGftoXjrU1trbU8,23278
9
+ pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py,sha256=JIORJkSlxZHmGjb7KrapDckadvUZ9SnkoYunW3-EXjs,41678
10
+ pulumi_snowflake/api_authentication_integration_with_client_credentials.py,sha256=VzYEOq4dAcwQ5u2Xr5dhf1ptu6vqLtra3MLgZTVnDVY,38422
11
+ pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py,sha256=sxlpFaZI4Q9EL3aHQagijmVZqZTT_6yy3ZxvZaYhIs8,39174
9
12
  pulumi_snowflake/api_integration.py,sha256=KRwKhCyjlTuoM-IHtkgTD31uIJlGv340s78VBsEf7Qg,40947
10
- pulumi_snowflake/database.py,sha256=aXgnTKSM0r3qAE29Q7_iZ3RswhX5ldoTbKYS8AyohDI,29833
11
- pulumi_snowflake/database_grant.py,sha256=5TPOIjPGUApxuh0IapxrjcX18ku8A6sfkq7QhGq6Xsw,21014
13
+ pulumi_snowflake/cortex_search_service.py,sha256=3tsNMJxmOdj9nGpnGW0Bd5Zo1bCEckV1olo186019fg,23896
14
+ pulumi_snowflake/database.py,sha256=vpkuuZhlGj-5H_6OAdbK7nfjiySTbM0zNDLzN0GDopY,86565
15
+ pulumi_snowflake/database_old.py,sha256=27OE3sOJKSNMuhPwBA9AjSV3aQaLbbEoReLjotYUutc,30383
12
16
  pulumi_snowflake/database_role.py,sha256=3jo3f547ySt5GuNBCKlUx7WyboeSjxZ2oUgbgpWi6cI,9831
13
17
  pulumi_snowflake/dynamic_table.py,sha256=TT7bi_TFwNEsi9wSwvFr5TB3WGXAs89jYMhnY02felk,40652
14
18
  pulumi_snowflake/email_notification_integration.py,sha256=Vf2-KL9Ec6KVb2-ijUV7YAzOsYwst5BKypwDHhWkjJs,11731
15
19
  pulumi_snowflake/external_function.py,sha256=EHYcrx0MNRCyV8HV3CM0w9bRfXfVbP9STWzqSMKzFW4,48911
16
- pulumi_snowflake/external_oauth_integration.py,sha256=W6gbmNnBH48fsy08AL3DapAKH69W9YOUh6FQ08o9LA4,49463
20
+ pulumi_snowflake/external_oauth_integration.py,sha256=0bxSj53wpi4q4DIOwmFfotOH8rza00wBd17VbSub63k,64979
17
21
  pulumi_snowflake/external_table.py,sha256=utJNNSFmiigInW1EAMDK6-bGlj4U3TtYSSIoJXK6dpg,40874
18
- pulumi_snowflake/external_table_grant.py,sha256=dZ6pkYujjzhKnSjApfT6il5u79TkKIXIEJB4q6KU_bk,35425
19
- pulumi_snowflake/failover_group.py,sha256=R2x8XX7ylkvBaJL0w6Cv43ZjT_KivTBeeOu0fx7h1vY,38868
20
- pulumi_snowflake/failover_group_grant.py,sha256=rVctMgVJtWvYpHSRNCH7bqXlTzTFZ-eDP4EQa05qzpo,17974
22
+ pulumi_snowflake/failover_group.py,sha256=qkzfmKwLfPzwyZPQqro0nLTIlkYnAPWQ0ep6rLS9Jvs,38900
21
23
  pulumi_snowflake/file_format.py,sha256=02NrI5_S1O2Xt6fHn_hKN2WoH3jhyJLBdYDHGJ9AoOU,91876
22
- pulumi_snowflake/file_format_grant.py,sha256=evE3CcPJT27p_huBZH2fFkHmrzjtMySQTjWxO2o0J0w,32408
23
24
  pulumi_snowflake/function.py,sha256=Y2BmKRWeq3FItyZ7sHNNMItMj3hfqSFj3vhvBzXlPlw,40353
24
- pulumi_snowflake/function_grant.py,sha256=59gxv9wFeXz8vBKnsi9ILGPZC_hBa7lpf9pvuCgZqz0,38664
25
25
  pulumi_snowflake/get_accounts.py,sha256=1XaZzHCyz4veYUDjZ-urRSFR0WCEPCGpAneC8B_F7gk,3423
26
26
  pulumi_snowflake/get_alerts.py,sha256=IOYjHzz6mofcwCs9US7STsx9kKz1pleAer2IR1iQEbg,4948
27
+ pulumi_snowflake/get_cortex_search_services.py,sha256=dc8s7Z6ynmWIuhxPMpApZnjfAB_P8GVAmz_HmOLdM0U,9171
27
28
  pulumi_snowflake/get_current_account.py,sha256=ekQYpY3r7i7TXxCTtMo8B9MdLVQEfgURVxt0zs7glC4,3848
28
29
  pulumi_snowflake/get_current_role.py,sha256=8qctYLhiMpij40a-sTPUpxno0OBzyTpp4pp1v0Dm3OM,2532
29
30
  pulumi_snowflake/get_database.py,sha256=-OCZl50Fyaz8OSDes2wLsaf9dsk927UHIlFuut5ACSw,6025
30
31
  pulumi_snowflake/get_database_role.py,sha256=VgJGlvm4SNuYWpoaClTLlyIS8dszGaX2WZgUpASbdFE,4493
31
32
  pulumi_snowflake/get_database_roles.py,sha256=phyvBWznKjhUlGomFhsB2McEmdY6FSRAqy6Ux4qt22w,3656
32
- pulumi_snowflake/get_databases.py,sha256=vb1Ud58CyS_TrN_dkECsLygLeq6C17P8COizJEHhPYw,6059
33
+ pulumi_snowflake/get_databases.py,sha256=Gd4cXd1D8XIhO2n8SNeaxB8GSgWpYQXSNMXJkpUyiL8,10125
33
34
  pulumi_snowflake/get_dynamic_tables.py,sha256=QIh9_v7aq2ena2BkGLdhYHKMa_tj6qN1ezdTKw5bCNc,7140
34
35
  pulumi_snowflake/get_external_functions.py,sha256=-UoeIjSURHaxT-3F70gfowF1Xmy8TkbaKLNFpxYdEYo,4650
35
36
  pulumi_snowflake/get_external_tables.py,sha256=MeoscZ7LbpY-Fj9zaQoXz-4VsQBSxhpyPiMiAn201hg,4481
@@ -39,18 +40,21 @@ pulumi_snowflake/get_functions.py,sha256=A8jzOryl_PloHXf8EIKEt1NCIP3oQSyAV8XMdVI
39
40
  pulumi_snowflake/get_grants.py,sha256=hHqQkfXr9y9UJCTAG8jpf36HL3BqHUxyza6LbnzZLCE,14707
40
41
  pulumi_snowflake/get_masking_policies.py,sha256=ra6_KaY7vxq4o3xztRQF7qJT4j8sQHmQRvxIA_MaxGs,4519
41
42
  pulumi_snowflake/get_materialized_views.py,sha256=SzrOyytKFC1L1Bxtf_k8PI0wXfP_zkvrAfRHdYJIovQ,4558
43
+ pulumi_snowflake/get_network_policies.py,sha256=QFQLzEvCNuFWh7ZXdfh5Qk_1NF34Fmq322_ci5MG1kY,6251
42
44
  pulumi_snowflake/get_parameters.py,sha256=sziM3-TIrQKQutCRQddpm6ql82SaE5lie55lm1dNAOw,9700
43
45
  pulumi_snowflake/get_pipes.py,sha256=S8EURVcZJze6r7br5sdFFEcxmf358EK3ept7Sft5CFE,4053
44
46
  pulumi_snowflake/get_procedures.py,sha256=1DZvj-MhgKOW3BGB6EQVtofsGAha8Rg7Sh2P1jsDars,4263
45
47
  pulumi_snowflake/get_resource_monitors.py,sha256=ou1SwZvtDDpkFmFYvYZpmS_KeI_Zy51OW4Rk9EEDAGw,2895
46
48
  pulumi_snowflake/get_role.py,sha256=BvCk_WCi6C8GvQc9q4nlWprYwVt9pI1pHUYieW_2JRs,3392
47
- pulumi_snowflake/get_roles.py,sha256=csmM2aUsONasQtcI_63lwUurXmWtzOzS2bGLN5jk1pk,3422
49
+ pulumi_snowflake/get_roles.py,sha256=KqVrYYO78IOiBWwN0AD4nB_tRG148MSk4lfiUk1xHGQ,5279
48
50
  pulumi_snowflake/get_row_access_policies.py,sha256=U6dOdDDR5IN60wvnJmZ2vNr7JE6HrHzJ5Js9WHCBncs,4628
49
- pulumi_snowflake/get_schemas.py,sha256=_I9Z61kOwMrpj8ubDVuVTaWZhcWutdd1e-73WQs43d8,3348
51
+ pulumi_snowflake/get_schemas.py,sha256=yJikfoEkxSpWPVsRmmJFnhwlBmZyVmwwGSllVsp3bTY,9942
52
+ pulumi_snowflake/get_security_integrations.py,sha256=n-n8vPw4xGAX2fMOt3DT-CCVG6BUM0mR2iTSPSOuDqc,6563
50
53
  pulumi_snowflake/get_sequences.py,sha256=xp_duxQQTXk5R6MW7bhoqX9dEk7bATY1fk5F8vcuOoM,4221
51
54
  pulumi_snowflake/get_shares.py,sha256=xOrMChS5bTQ8vIETDAtJt1Ar7VDjSo3fpqQldXyfRLU,3365
52
55
  pulumi_snowflake/get_stages.py,sha256=0aDVuqtlisNUHBA1z81PgpUrYSNmfIUp3CrNTPG9vt0,4095
53
56
  pulumi_snowflake/get_storage_integrations.py,sha256=B96Ikapf8A8FcFYRivOwOooBjbyj7wsZnul0C7kHJK4,3003
57
+ pulumi_snowflake/get_streamlits.py,sha256=s9bF0f9OI3hpRRWuZBY2zDQXYz2I8bsJ29cSa3gAnUg,8615
54
58
  pulumi_snowflake/get_streams.py,sha256=lKhjr5ZI0ImQjl-zJPjVwzZNwPJDmZws4znbyQYynY8,4137
55
59
  pulumi_snowflake/get_system_generate_scim_access_token.py,sha256=qDnAfUXWuNeg4CkP0Rt8SZliQsE9kAyMYlB8U3cikvg,3986
56
60
  pulumi_snowflake/get_system_get_aws_sns_iam_policy.py,sha256=fm4NJGPdm5RehwqL0glf-HfiAf_71JxLNmNJaXQSNrI,4269
@@ -60,81 +64,66 @@ pulumi_snowflake/get_tables.py,sha256=AG1baNGUWbRj4ow9g7OY6dGqkL-eUvgDtCOydrHvN9
60
64
  pulumi_snowflake/get_tasks.py,sha256=lzEuSYuJHfOeGhkVeFH2MdR612BWq5Ywc14P6tawsjo,4053
61
65
  pulumi_snowflake/get_users.py,sha256=7oj99U-ynVSDwVarsWQZsUOwxMjoPOWwRRHeVwcX7Ko,3637
62
66
  pulumi_snowflake/get_views.py,sha256=FkSkOYf7GwUf2yeD3mEmgsu9uzVvnVnxxY5sUUORqsg,4053
63
- pulumi_snowflake/get_warehouses.py,sha256=6loD3ndMkvfDmiA2j2Mi8B888zDJ1ehZ6vwqJgMRspg,2640
67
+ pulumi_snowflake/get_warehouses.py,sha256=C1_jnJa1PIkIjf5kFiTO3Ta-HzsfVhQqc_JvdPnNWog,7353
64
68
  pulumi_snowflake/grant_account_role.py,sha256=qo-o4zRtA9_NaCTrK-WMtn7lfN5bsuaAmYHLnzKtJyc,11240
65
69
  pulumi_snowflake/grant_application_role.py,sha256=XOWw4Ag836RenWYFPV0hKNXT6v_gMqd3PqGxxsQJXlI,12023
66
70
  pulumi_snowflake/grant_database_role.py,sha256=MZy5M4neHp2ON2fH4L26Rt4dLP_MT3ShDcrUe407qLI,14679
67
71
  pulumi_snowflake/grant_ownership.py,sha256=VKWEdrzOInu-nvppR9hWqvlRTERo-zOlEUSqAD1_JiE,18019
68
72
  pulumi_snowflake/grant_privileges_to_account_role.py,sha256=jDtyZF_Ye9HZXtv-g8B62Ahq3L4YYCRDx02vJ4oatEs,30215
69
- pulumi_snowflake/grant_privileges_to_database_role.py,sha256=3Y2sqwQyD7S9mFjxgUL9QmDpMMIr9A7CFpAOAXN9GeA,28210
70
- pulumi_snowflake/grant_privileges_to_role.py,sha256=4Xtszu1FmAYVW-00MIs1YZweJGHBmQgC8lds5DcPhUI,36709
73
+ pulumi_snowflake/grant_privileges_to_database_role.py,sha256=pIa3Zdht3EPCAia2fQ_bFoyh5eswEV58jle2rTpiSzs,27918
71
74
  pulumi_snowflake/grant_privileges_to_share.py,sha256=U03vjv93LgnKjcEDglAsfUlcQmdO8LUMicMIRAvjOR8,22545
72
- pulumi_snowflake/integration_grant.py,sha256=ldXPsTZxWW57ptcUG9TFGtKOuPcI-8_0J0-AqoehuYw,19079
73
- pulumi_snowflake/managed_account.py,sha256=coszIm38JYNGiccrjzwHJS8t1VLAtRiPKSAkvcKM9hk,19525
75
+ pulumi_snowflake/managed_account.py,sha256=IsRioua9GLxB93e8v4mSS88bYkHJ3DyOo64ao3cp_BY,20526
74
76
  pulumi_snowflake/masking_policy.py,sha256=2KnJCdaIKk4ocLgVlCFCf9ngDVFamjga7fszkas0Kjw,29322
75
- pulumi_snowflake/masking_policy_grant.py,sha256=nMLtga3U9P10HoP43CAAD5D3NQJXVkLoV_UWCRS3-zg,24388
76
77
  pulumi_snowflake/materialized_view.py,sha256=_VhZ7Q1RiPsbPDWlPxVeVCqqHLUQsxoggGiPq2CaCE0,23378
77
- pulumi_snowflake/materialized_view_grant.py,sha256=-PbwXv8VdPfTtgeCGyesHYFSZQFpdxIf_0If5j6ldEk,36004
78
- pulumi_snowflake/network_policy.py,sha256=sfgdw87fJV_0f6uylPbv7JpOySSeMRuxv_iVKt964pY,20849
78
+ pulumi_snowflake/network_policy.py,sha256=iHNumhYizKI89XluLbvSiqsXzb6lETYSB07y04Zrxtc,27073
79
79
  pulumi_snowflake/network_policy_attachment.py,sha256=EXOob_OuzWvFFMr_KffaX3TDs9Z2toWZXdFdsWxpGQ4,15886
80
80
  pulumi_snowflake/network_rule.py,sha256=3ZfVe2h9JjvKuWhQ9umrvLHoQsTu9X5jD98kH7uDsQs,24105
81
81
  pulumi_snowflake/notification_integration.py,sha256=mtEOKUNubXTaZFln3Z5iIXjIU9acipZyNBKRwo_oaEA,48506
82
- pulumi_snowflake/oauth_integration.py,sha256=ti6Hv3EJtIPIDBWX78y5tZ8dYhkFJh5XVQsaJC6afkQ,32247
82
+ pulumi_snowflake/oauth_integration.py,sha256=z6m4d7mxQ5C7UTIFBMr1262WlizqfRbW169RMm2UiJo,32685
83
+ pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=BhgxRBJIr48FvtJfvcyN9UeM4Df2wj0yS5I5-NvqAHQ,57552
84
+ pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=y9A2BGeubtrP2Jt-ASGb5n2z7YFvCxiIPeXce2uYrys,35058
83
85
  pulumi_snowflake/object_parameter.py,sha256=RrZ30vr5g-snSKZiJtTd7oGkCk8V0CDNv44uA4J-U_0,21635
84
- pulumi_snowflake/outputs.py,sha256=254NZUyzvFInjjNd_PNsQN_zqq4ruOJEje8N2L4Mzh0,174515
86
+ pulumi_snowflake/outputs.py,sha256=thd-a75ay8x9sNLi0iYGh_flOnkFcV3TeGoowCQFf58,645812
85
87
  pulumi_snowflake/password_policy.py,sha256=KbUVIr4fMYuwYf1HEfKxTjf6jSuJbarcTDZh17laQGY,53191
86
88
  pulumi_snowflake/pipe.py,sha256=N_U9gy0MMoCRTOxDyOtEherFeG_QCu7aT-TsaH1MhcA,24843
87
- pulumi_snowflake/pipe_grant.py,sha256=hoklodzvp6Y0njcEUCwfyiIIC0RY71GMWfFCCYq65fw,27540
88
89
  pulumi_snowflake/procedure.py,sha256=qfNFo_jm1k3diAeRC8dGlydckWxPlPVolWYY2UZ6MDQ,43878
89
- pulumi_snowflake/procedure_grant.py,sha256=BOmsRi5HHLCXvffTh4ai8JtY9NB5ymvEvqNV-AIrLWo,38200
90
90
  pulumi_snowflake/provider.py,sha256=UJDRm9PEGDK3jQ1LKdk4qclY1eCZ-Tk8x5W0U9lXptk,85040
91
- pulumi_snowflake/pulumi-plugin.json,sha256=7Tu9jY3gelbBmsfFkmNM_jXCS6HdmqDaQ0ZHL7aCxT8,86
91
+ pulumi_snowflake/pulumi-plugin.json,sha256=rqYhMRGt_z34bL_6rEQALHzZq8ip3-UmfEyasB9XP0A,69
92
92
  pulumi_snowflake/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
93
  pulumi_snowflake/resource_monitor.py,sha256=V2bJR2jvWbO4yZYUF8lp8qzBIgM85mP878FzuLAdCcU,38970
94
- pulumi_snowflake/resource_monitor_grant.py,sha256=FhtsQJniJNAVV5tMderFZnAUF9_Q81oC_sGlyqrsG1w,15953
95
- pulumi_snowflake/role.py,sha256=8Ew60WGFMrEYmp_kLiYZI0LaBZkrivzLVSO_5y2-Ra8,9590
96
- pulumi_snowflake/role_grants.py,sha256=z6708lJx682tvi8io5KbX3FTvbNMGyLhhNrp09ILPhA,13356
97
- pulumi_snowflake/role_ownership_grant.py,sha256=hvTTA6lf3c34QFPrGE1BQ-WqshhwH9My5_GXY7nrkLI,14853
94
+ pulumi_snowflake/role.py,sha256=FxM6f4zF4QmBhDY5gkkQtHmPrahnXAwljrbhzaaFOkQ,8864
98
95
  pulumi_snowflake/row_access_policy.py,sha256=z9GSTCGxTvHtZUxh0cQu35yitocJ8lUR90XcWqIC58c,20109
99
- pulumi_snowflake/row_access_policy_grant.py,sha256=E8zsNG7w3eUCvtr0i10uOJSehr1jEOQHIEOUqOag9Dw,24496
100
- pulumi_snowflake/saml_integration.py,sha256=3Es1r0DOApmK6rgv9_7ZMt4LXxSkd1lIYunTUUaKAYA,64963
101
- pulumi_snowflake/schema.py,sha256=hmo5p3Rb4aSvKIpw-t3nUxRLKHuWH0mlrv0brbRzEKg,23220
102
- pulumi_snowflake/schema_grant.py,sha256=U5WtpYDNGe2f4mvBXlxZG0B2-HC4ewaD9VoElwOVJl4,28614
103
- pulumi_snowflake/scim_integration.py,sha256=exiDeFXzLa4eb09OY5vjm_iMhwKNrG6jR4anH4sB0_M,17334
104
- pulumi_snowflake/sequence.py,sha256=7AZrreibyTBPMpFPuIaLkbIed-UmR-3OB7OMsv_XOKo,18660
105
- pulumi_snowflake/sequence_grant.py,sha256=tv4yz1nm7vVWtXLca81BTm8w9ZhUcp11ikd3SWgygu4,32023
96
+ pulumi_snowflake/saml2_integration.py,sha256=otCBBv9ApaRXpfzRrPO69hfKW_gLvU2iJwDoXLbUFrM,75148
97
+ pulumi_snowflake/saml_integration.py,sha256=bVQPrrXXKTym0w3usppuiJERA6cg7rjQcOc5zGO6cMo,65285
98
+ pulumi_snowflake/schema.py,sha256=5qPA9qsJQpJfpwbxC9QeGjNcauqrO6SEfuR3au1mPZc,89571
99
+ pulumi_snowflake/scim_integration.py,sha256=gVqjop-w8NACJEPN79nMqKugQsVczLSI6ExB5jy2Nfc,27203
100
+ pulumi_snowflake/secondary_database.py,sha256=ROih4_eNLTCIe2axTTeGnfQp89_LHmTt-nHnlegZxUg,82073
101
+ pulumi_snowflake/sequence.py,sha256=WCrhrUSIeSS4aRAg_q8CknVjsswpDB9ksZaCp_uJybg,18596
106
102
  pulumi_snowflake/session_parameter.py,sha256=3MITgbXMi6B3-XGLI7iebq2pRHgG6-pBPGMNs-I4Jyk,13557
107
103
  pulumi_snowflake/share.py,sha256=WvO2tfeyPs5s0q7myV6TyEMXeazsZpI3gsTcl5ssdzM,11207
104
+ pulumi_snowflake/shared_database.py,sha256=28h8Rtu1x2lKxunODmOVXlZnGFFxms6zjWsu4d2kzIs,64356
108
105
  pulumi_snowflake/stage.py,sha256=MSpWrW_FWlwMEAXUb1vxp806Cg5v5MIjX-jz2dg6lOo,35611
109
- pulumi_snowflake/stage_grant.py,sha256=hxSwA9ryabyet7uFcp_gvudLBcpfhPQTeNAeapzW0iw,31353
110
106
  pulumi_snowflake/storage_integration.py,sha256=usRmBXSV_0UBL9PZiF51T5w6Dxfsj4MnhJPdxqytcBk,31315
111
107
  pulumi_snowflake/stream.py,sha256=WgZ87qdjc4_meR5x2JNd8lsrdfn1y1gWalVs2u_CIZ4,24999
112
- pulumi_snowflake/stream_grant.py,sha256=iNvCgu4TpDO2Yk6Qv-qCxKDJZJfZ0lwRa24hGgnE8z4,31754
113
- pulumi_snowflake/table.py,sha256=PnNRiEg6rf-uGyPj8ZpnDRx8C4XO0zYMnvnD636rmt0,36328
108
+ pulumi_snowflake/streamlit.py,sha256=M5Ur33AIJrzkZH9kMxUsBjm0A3CCytQNq0rECtnVYKY,30129
109
+ pulumi_snowflake/table.py,sha256=N3XFJBDXbBniEhBI4FZJpdtmFgAHEOOHCTLWbgkl_r4,32250
114
110
  pulumi_snowflake/table_column_masking_policy_application.py,sha256=gM5EZc64cM86Pd2r_QaPyJc5wTtiuNfjMMbmV2ko6gc,11641
115
- pulumi_snowflake/table_constraint.py,sha256=7av_dn6pMXXtu7-A9JXN0o5s-HfwEaLv2GM5x0qAv9k,35742
116
- pulumi_snowflake/table_grant.py,sha256=pCGg8GrQK1s6ukWBDA2anzB5Rmpf6smG5JbsRRSdxi0,34174
111
+ pulumi_snowflake/table_constraint.py,sha256=LrMNV6xetwgtU8AvaC0iJT9_H6uQCaSYOoXBlbkuxn4,35778
117
112
  pulumi_snowflake/tag.py,sha256=arbK3yapCB2mFgxb2UhkbwZWl5dCTaANgd9eA9CTLBA,14591
118
- pulumi_snowflake/tag_association.py,sha256=P-Tyt_eUOIsYNqaIxUVODsU6DG2MQTKdIXxXg6Ch3IA,26282
119
- pulumi_snowflake/tag_grant.py,sha256=cfIRaYQFgd5sZJI0Y7MdNEPAGlVvYvVgZ7VIHVU6PhQ,22915
113
+ pulumi_snowflake/tag_association.py,sha256=oR2jKBmCvnIHkvAodWmeHkyZTpowJhgwsq1Y3tvsJIM,26054
120
114
  pulumi_snowflake/tag_masking_policy_association.py,sha256=peiS_9g69yO976ZTIz53DCRky90xcP44G4telKz6eFc,10129
121
115
  pulumi_snowflake/task.py,sha256=H2cdntrFuWNcGpJl5Ywbls5P5GAfzIHboGUkShKsQ4Y,48980
122
- pulumi_snowflake/task_grant.py,sha256=Ds6dsp5uSgTAdc9J9tEmciBJmX4kPaC93jqt6-1H01A,31512
123
- pulumi_snowflake/unsafe_execute.py,sha256=QBBaRMMrhIj74Gzvt-J6bJg-6r6qZooOBckGKmSuz0E,13478
116
+ pulumi_snowflake/unsafe_execute.py,sha256=s3djFyuRkbM_RE_qxX4k861H3Btf7t3bHQnpSd2LjWw,13480
124
117
  pulumi_snowflake/user.py,sha256=rl5DfPWWUUnoea9muzD3JRpym_fvFLaPPCHawBD5N-8,43432
125
- pulumi_snowflake/user_grant.py,sha256=Z7udiuDTimt8u3dq6QkI94YBfHrmpFBf249Y2rIQog4,15465
126
- pulumi_snowflake/user_ownership_grant.py,sha256=kmq944FyVI72xpCHG9Gbs0NVW30BFbVKwGCvr9Ptejk,12899
127
- pulumi_snowflake/user_password_policy_attachment.py,sha256=clvXLYqW54DAPXEqSNFGDltpYmV24OzGDmuc4bbK1Iw,8882
118
+ pulumi_snowflake/user_password_policy_attachment.py,sha256=KlKgy4vWuR9gQ-J5NMjrBsh3XUtltstBMbBL0KGEYBY,10050
128
119
  pulumi_snowflake/user_public_keys.py,sha256=Z8QaNFXe8bGM0pzxRwM3bPSlGvqXVOxejQLDbhQm5Ck,11278
129
120
  pulumi_snowflake/view.py,sha256=d2SmLn2QyX13cxkxEKIb9mXtq6snpygNUt2tlLDLO5Y,24660
130
- pulumi_snowflake/view_grant.py,sha256=IXls9jqFQhIk1oxewB72OCrzkbP2qTI4I1gcp4ZH4Jo,35094
131
- pulumi_snowflake/warehouse.py,sha256=Uvxss3u36voWXy7iG74BouwtfVnEviTK9THpe-JWutI,50407
132
- pulumi_snowflake/warehouse_grant.py,sha256=nI3KCtLObheR-Bq_oxuf_epJ2Krv9XEoRgtlyVovJZI,18875
121
+ pulumi_snowflake/warehouse.py,sha256=DEtOsHWi17reBD1i_XFiJwO9l0IHFy4Mn8dGco21Bt4,57470
133
122
  pulumi_snowflake/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
134
123
  pulumi_snowflake/config/__init__.pyi,sha256=wA0KR9Mzb7OhcEV0M_FSljX8L_jCHB4hMilHnLcVwTo,9868
135
124
  pulumi_snowflake/config/outputs.py,sha256=zm82Qv8RbeJ_iKb90mfdQeQBHOwjYRC8zHHII-DHiNs,3867
136
125
  pulumi_snowflake/config/vars.py,sha256=D3v_7m-rX66OwF6n2t32KU1cRLebk5_u6vSbTuL9o-Y,15762
137
- pulumi_snowflake-0.56.0a1721327760.dist-info/METADATA,sha256=JACvAk2VksR34ffAa2jvin_-sTI8oFzGdv3mQ_xFTt8,4981
138
- pulumi_snowflake-0.56.0a1721327760.dist-info/WHEEL,sha256=-oYQCr74JF3a37z2nRlQays_SX2MqOANoqVjBBAP2yE,91
139
- pulumi_snowflake-0.56.0a1721327760.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
140
- pulumi_snowflake-0.56.0a1721327760.dist-info/RECORD,,
126
+ pulumi_snowflake-0.57.0.dist-info/METADATA,sha256=2tIKK1RwKqtRv2s1OJLPWSF_M4PhHf5Gktyk3X3gmXg,4970
127
+ pulumi_snowflake-0.57.0.dist-info/WHEEL,sha256=Rp8gFpivVLXx-k3U95ozHnQw8yDcPxmhOpn_Gx8d5nc,91
128
+ pulumi_snowflake-0.57.0.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
129
+ pulumi_snowflake-0.57.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.0.3)
2
+ Generator: setuptools (72.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,319 +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[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`.
24
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
25
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
26
- """
27
- if enable_multiple_grants is not None:
28
- pulumi.set(__self__, "enable_multiple_grants", enable_multiple_grants)
29
- if privilege is not None:
30
- pulumi.set(__self__, "privilege", privilege)
31
- if roles is not None:
32
- pulumi.set(__self__, "roles", roles)
33
- if with_grant_option is not None:
34
- pulumi.set(__self__, "with_grant_option", with_grant_option)
35
-
36
- @property
37
- @pulumi.getter(name="enableMultipleGrants")
38
- def enable_multiple_grants(self) -> Optional[pulumi.Input[bool]]:
39
- return pulumi.get(self, "enable_multiple_grants")
40
-
41
- @enable_multiple_grants.setter
42
- def enable_multiple_grants(self, value: Optional[pulumi.Input[bool]]):
43
- pulumi.set(self, "enable_multiple_grants", value)
44
-
45
- @property
46
- @pulumi.getter
47
- def privilege(self) -> Optional[pulumi.Input[str]]:
48
- """
49
- 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`.
50
- """
51
- return pulumi.get(self, "privilege")
52
-
53
- @privilege.setter
54
- def privilege(self, value: Optional[pulumi.Input[str]]):
55
- pulumi.set(self, "privilege", value)
56
-
57
- @property
58
- @pulumi.getter
59
- def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
60
- """
61
- Grants privilege to these roles.
62
- """
63
- return pulumi.get(self, "roles")
64
-
65
- @roles.setter
66
- def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
67
- pulumi.set(self, "roles", value)
68
-
69
- @property
70
- @pulumi.getter(name="withGrantOption")
71
- def with_grant_option(self) -> Optional[pulumi.Input[bool]]:
72
- """
73
- When this is set to true, allows the recipient role to grant the privileges to other roles.
74
- """
75
- return pulumi.get(self, "with_grant_option")
76
-
77
- @with_grant_option.setter
78
- def with_grant_option(self, value: Optional[pulumi.Input[bool]]):
79
- pulumi.set(self, "with_grant_option", value)
80
-
81
-
82
- @pulumi.input_type
83
- class _AccountGrantState:
84
- def __init__(__self__, *,
85
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
86
- privilege: Optional[pulumi.Input[str]] = None,
87
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
88
- with_grant_option: Optional[pulumi.Input[bool]] = None):
89
- """
90
- Input properties used for looking up and filtering AccountGrant resources.
91
- :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`.
92
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
93
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
94
- """
95
- if enable_multiple_grants is not None:
96
- pulumi.set(__self__, "enable_multiple_grants", enable_multiple_grants)
97
- if privilege is not None:
98
- pulumi.set(__self__, "privilege", privilege)
99
- if roles is not None:
100
- pulumi.set(__self__, "roles", roles)
101
- if with_grant_option is not None:
102
- pulumi.set(__self__, "with_grant_option", with_grant_option)
103
-
104
- @property
105
- @pulumi.getter(name="enableMultipleGrants")
106
- def enable_multiple_grants(self) -> Optional[pulumi.Input[bool]]:
107
- return pulumi.get(self, "enable_multiple_grants")
108
-
109
- @enable_multiple_grants.setter
110
- def enable_multiple_grants(self, value: Optional[pulumi.Input[bool]]):
111
- pulumi.set(self, "enable_multiple_grants", value)
112
-
113
- @property
114
- @pulumi.getter
115
- def privilege(self) -> Optional[pulumi.Input[str]]:
116
- """
117
- 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`.
118
- """
119
- return pulumi.get(self, "privilege")
120
-
121
- @privilege.setter
122
- def privilege(self, value: Optional[pulumi.Input[str]]):
123
- pulumi.set(self, "privilege", value)
124
-
125
- @property
126
- @pulumi.getter
127
- def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
128
- """
129
- Grants privilege to these roles.
130
- """
131
- return pulumi.get(self, "roles")
132
-
133
- @roles.setter
134
- def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
135
- pulumi.set(self, "roles", value)
136
-
137
- @property
138
- @pulumi.getter(name="withGrantOption")
139
- def with_grant_option(self) -> Optional[pulumi.Input[bool]]:
140
- """
141
- When this is set to true, allows the recipient role to grant the privileges to other roles.
142
- """
143
- return pulumi.get(self, "with_grant_option")
144
-
145
- @with_grant_option.setter
146
- def with_grant_option(self, value: Optional[pulumi.Input[bool]]):
147
- pulumi.set(self, "with_grant_option", value)
148
-
149
-
150
- class AccountGrant(pulumi.CustomResource):
151
- @overload
152
- def __init__(__self__,
153
- resource_name: str,
154
- opts: Optional[pulumi.ResourceOptions] = None,
155
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
156
- privilege: Optional[pulumi.Input[str]] = None,
157
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
158
- with_grant_option: Optional[pulumi.Input[bool]] = None,
159
- __props__=None):
160
- """
161
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use GrantPrivilegesToAccountRole instead. <deprecation>
162
-
163
- ## Example Usage
164
-
165
- ```python
166
- import pulumi
167
- import pulumi_snowflake as snowflake
168
-
169
- grant = snowflake.AccountGrant("grant",
170
- roles=[
171
- "role1",
172
- "role2",
173
- ],
174
- privilege="CREATE ROLE",
175
- with_grant_option=False)
176
- ```
177
-
178
- ## Import
179
-
180
- format is privilege|with_grant_option|roles
181
-
182
- ```sh
183
- $ pulumi import snowflake:index/accountGrant:AccountGrant example "privilege|false|role1,role2"
184
- ```
185
-
186
- :param str resource_name: The name of the resource.
187
- :param pulumi.ResourceOptions opts: Options for the resource.
188
- :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`.
189
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
190
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
191
- """
192
- ...
193
- @overload
194
- def __init__(__self__,
195
- resource_name: str,
196
- args: Optional[AccountGrantArgs] = None,
197
- opts: Optional[pulumi.ResourceOptions] = None):
198
- """
199
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use GrantPrivilegesToAccountRole instead. <deprecation>
200
-
201
- ## Example Usage
202
-
203
- ```python
204
- import pulumi
205
- import pulumi_snowflake as snowflake
206
-
207
- grant = snowflake.AccountGrant("grant",
208
- roles=[
209
- "role1",
210
- "role2",
211
- ],
212
- privilege="CREATE ROLE",
213
- with_grant_option=False)
214
- ```
215
-
216
- ## Import
217
-
218
- format is privilege|with_grant_option|roles
219
-
220
- ```sh
221
- $ pulumi import snowflake:index/accountGrant:AccountGrant example "privilege|false|role1,role2"
222
- ```
223
-
224
- :param str resource_name: The name of the resource.
225
- :param AccountGrantArgs args: The arguments to use to populate this resource's properties.
226
- :param pulumi.ResourceOptions opts: Options for the resource.
227
- """
228
- ...
229
- def __init__(__self__, resource_name: str, *args, **kwargs):
230
- resource_args, opts = _utilities.get_resource_args_opts(AccountGrantArgs, pulumi.ResourceOptions, *args, **kwargs)
231
- if resource_args is not None:
232
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
233
- else:
234
- __self__._internal_init(resource_name, *args, **kwargs)
235
-
236
- def _internal_init(__self__,
237
- resource_name: str,
238
- opts: Optional[pulumi.ResourceOptions] = None,
239
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
240
- privilege: Optional[pulumi.Input[str]] = None,
241
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
242
- with_grant_option: Optional[pulumi.Input[bool]] = None,
243
- __props__=None):
244
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
245
- if not isinstance(opts, pulumi.ResourceOptions):
246
- raise TypeError('Expected resource options to be a ResourceOptions instance')
247
- if opts.id is None:
248
- if __props__ is not None:
249
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
250
- __props__ = AccountGrantArgs.__new__(AccountGrantArgs)
251
-
252
- __props__.__dict__["enable_multiple_grants"] = enable_multiple_grants
253
- __props__.__dict__["privilege"] = privilege
254
- __props__.__dict__["roles"] = roles
255
- __props__.__dict__["with_grant_option"] = with_grant_option
256
- super(AccountGrant, __self__).__init__(
257
- 'snowflake:index/accountGrant:AccountGrant',
258
- resource_name,
259
- __props__,
260
- opts)
261
-
262
- @staticmethod
263
- def get(resource_name: str,
264
- id: pulumi.Input[str],
265
- opts: Optional[pulumi.ResourceOptions] = None,
266
- enable_multiple_grants: Optional[pulumi.Input[bool]] = None,
267
- privilege: Optional[pulumi.Input[str]] = None,
268
- roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
269
- with_grant_option: Optional[pulumi.Input[bool]] = None) -> 'AccountGrant':
270
- """
271
- Get an existing AccountGrant resource's state with the given name, id, and optional extra
272
- properties used to qualify the lookup.
273
-
274
- :param str resource_name: The unique name of the resulting resource.
275
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
276
- :param pulumi.ResourceOptions opts: Options for the resource.
277
- :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`.
278
- :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Grants privilege to these roles.
279
- :param pulumi.Input[bool] with_grant_option: When this is set to true, allows the recipient role to grant the privileges to other roles.
280
- """
281
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
282
-
283
- __props__ = _AccountGrantState.__new__(_AccountGrantState)
284
-
285
- __props__.__dict__["enable_multiple_grants"] = enable_multiple_grants
286
- __props__.__dict__["privilege"] = privilege
287
- __props__.__dict__["roles"] = roles
288
- __props__.__dict__["with_grant_option"] = with_grant_option
289
- return AccountGrant(resource_name, opts=opts, __props__=__props__)
290
-
291
- @property
292
- @pulumi.getter(name="enableMultipleGrants")
293
- def enable_multiple_grants(self) -> pulumi.Output[Optional[bool]]:
294
- return pulumi.get(self, "enable_multiple_grants")
295
-
296
- @property
297
- @pulumi.getter
298
- def privilege(self) -> pulumi.Output[Optional[str]]:
299
- """
300
- 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`.
301
- """
302
- return pulumi.get(self, "privilege")
303
-
304
- @property
305
- @pulumi.getter
306
- def roles(self) -> pulumi.Output[Optional[Sequence[str]]]:
307
- """
308
- Grants privilege to these roles.
309
- """
310
- return pulumi.get(self, "roles")
311
-
312
- @property
313
- @pulumi.getter(name="withGrantOption")
314
- def with_grant_option(self) -> pulumi.Output[Optional[bool]]:
315
- """
316
- When this is set to true, allows the recipient role to grant the privileges to other roles.
317
- """
318
- return pulumi.get(self, "with_grant_option")
319
-