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__ = ['GrantPrivilegesToShareArgs', 'GrantPrivilegesToShare']
@@ -18,6 +23,7 @@ class GrantPrivilegesToShareArgs:
18
23
  to_share: pulumi.Input[str],
19
24
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
20
25
  on_database: Optional[pulumi.Input[str]] = None,
26
+ on_function: Optional[pulumi.Input[str]] = None,
21
27
  on_schema: Optional[pulumi.Input[str]] = None,
22
28
  on_table: Optional[pulumi.Input[str]] = None,
23
29
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -25,13 +31,14 @@ class GrantPrivilegesToShareArgs:
25
31
  """
26
32
  The set of arguments for constructing a GrantPrivilegesToShare resource.
27
33
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the share. See available list of privileges: https://docs.snowflake.com/en/sql-reference/sql/grant-privilege-share#syntax
28
- :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted.
34
+ :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
29
35
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
30
- :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
31
- :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
32
- :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
33
- :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
34
- :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted.
36
+ :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
37
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
38
+ :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
39
+ :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
40
+ :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
41
+ :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
35
42
  """
36
43
  pulumi.set(__self__, "privileges", privileges)
37
44
  pulumi.set(__self__, "to_share", to_share)
@@ -39,6 +46,8 @@ class GrantPrivilegesToShareArgs:
39
46
  pulumi.set(__self__, "on_all_tables_in_schema", on_all_tables_in_schema)
40
47
  if on_database is not None:
41
48
  pulumi.set(__self__, "on_database", on_database)
49
+ if on_function is not None:
50
+ pulumi.set(__self__, "on_function", on_function)
42
51
  if on_schema is not None:
43
52
  pulumi.set(__self__, "on_schema", on_schema)
44
53
  if on_table is not None:
@@ -64,7 +73,7 @@ class GrantPrivilegesToShareArgs:
64
73
  @pulumi.getter(name="toShare")
65
74
  def to_share(self) -> pulumi.Input[str]:
66
75
  """
67
- The fully qualified name of the share on which privileges will be granted.
76
+ The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
68
77
  """
69
78
  return pulumi.get(self, "to_share")
70
79
 
@@ -88,7 +97,7 @@ class GrantPrivilegesToShareArgs:
88
97
  @pulumi.getter(name="onDatabase")
89
98
  def on_database(self) -> Optional[pulumi.Input[str]]:
90
99
  """
91
- The fully qualified name of the database on which privileges will be granted.
100
+ The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
92
101
  """
93
102
  return pulumi.get(self, "on_database")
94
103
 
@@ -96,11 +105,23 @@ class GrantPrivilegesToShareArgs:
96
105
  def on_database(self, value: Optional[pulumi.Input[str]]):
97
106
  pulumi.set(self, "on_database", value)
98
107
 
108
+ @property
109
+ @pulumi.getter(name="onFunction")
110
+ def on_function(self) -> Optional[pulumi.Input[str]]:
111
+ """
112
+ The fully qualified name of the function on which privileges will be granted.
113
+ """
114
+ return pulumi.get(self, "on_function")
115
+
116
+ @on_function.setter
117
+ def on_function(self, value: Optional[pulumi.Input[str]]):
118
+ pulumi.set(self, "on_function", value)
119
+
99
120
  @property
100
121
  @pulumi.getter(name="onSchema")
101
122
  def on_schema(self) -> Optional[pulumi.Input[str]]:
102
123
  """
103
- The fully qualified name of the schema on which privileges will be granted.
124
+ The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
104
125
  """
105
126
  return pulumi.get(self, "on_schema")
106
127
 
@@ -112,7 +133,7 @@ class GrantPrivilegesToShareArgs:
112
133
  @pulumi.getter(name="onTable")
113
134
  def on_table(self) -> Optional[pulumi.Input[str]]:
114
135
  """
115
- The fully qualified name of the table on which privileges will be granted.
136
+ The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
116
137
  """
117
138
  return pulumi.get(self, "on_table")
118
139
 
@@ -124,7 +145,7 @@ class GrantPrivilegesToShareArgs:
124
145
  @pulumi.getter(name="onTag")
125
146
  def on_tag(self) -> Optional[pulumi.Input[str]]:
126
147
  """
127
- The fully qualified name of the tag on which privileges will be granted.
148
+ The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
128
149
  """
129
150
  return pulumi.get(self, "on_tag")
130
151
 
@@ -136,7 +157,7 @@ class GrantPrivilegesToShareArgs:
136
157
  @pulumi.getter(name="onView")
137
158
  def on_view(self) -> Optional[pulumi.Input[str]]:
138
159
  """
139
- The fully qualified name of the view on which privileges will be granted.
160
+ The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
140
161
  """
141
162
  return pulumi.get(self, "on_view")
142
163
 
@@ -150,6 +171,7 @@ class _GrantPrivilegesToShareState:
150
171
  def __init__(__self__, *,
151
172
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
152
173
  on_database: Optional[pulumi.Input[str]] = None,
174
+ on_function: Optional[pulumi.Input[str]] = None,
153
175
  on_schema: Optional[pulumi.Input[str]] = None,
154
176
  on_table: Optional[pulumi.Input[str]] = None,
155
177
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -159,18 +181,21 @@ class _GrantPrivilegesToShareState:
159
181
  """
160
182
  Input properties used for looking up and filtering GrantPrivilegesToShare resources.
161
183
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
162
- :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
163
- :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
164
- :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
165
- :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
166
- :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted.
184
+ :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
185
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
186
+ :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
187
+ :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
188
+ :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
189
+ :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
167
190
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the share. See available list of privileges: https://docs.snowflake.com/en/sql-reference/sql/grant-privilege-share#syntax
168
- :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted.
191
+ :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
169
192
  """
170
193
  if on_all_tables_in_schema is not None:
171
194
  pulumi.set(__self__, "on_all_tables_in_schema", on_all_tables_in_schema)
172
195
  if on_database is not None:
173
196
  pulumi.set(__self__, "on_database", on_database)
197
+ if on_function is not None:
198
+ pulumi.set(__self__, "on_function", on_function)
174
199
  if on_schema is not None:
175
200
  pulumi.set(__self__, "on_schema", on_schema)
176
201
  if on_table is not None:
@@ -200,7 +225,7 @@ class _GrantPrivilegesToShareState:
200
225
  @pulumi.getter(name="onDatabase")
201
226
  def on_database(self) -> Optional[pulumi.Input[str]]:
202
227
  """
203
- The fully qualified name of the database on which privileges will be granted.
228
+ The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
204
229
  """
205
230
  return pulumi.get(self, "on_database")
206
231
 
@@ -208,11 +233,23 @@ class _GrantPrivilegesToShareState:
208
233
  def on_database(self, value: Optional[pulumi.Input[str]]):
209
234
  pulumi.set(self, "on_database", value)
210
235
 
236
+ @property
237
+ @pulumi.getter(name="onFunction")
238
+ def on_function(self) -> Optional[pulumi.Input[str]]:
239
+ """
240
+ The fully qualified name of the function on which privileges will be granted.
241
+ """
242
+ return pulumi.get(self, "on_function")
243
+
244
+ @on_function.setter
245
+ def on_function(self, value: Optional[pulumi.Input[str]]):
246
+ pulumi.set(self, "on_function", value)
247
+
211
248
  @property
212
249
  @pulumi.getter(name="onSchema")
213
250
  def on_schema(self) -> Optional[pulumi.Input[str]]:
214
251
  """
215
- The fully qualified name of the schema on which privileges will be granted.
252
+ The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
216
253
  """
217
254
  return pulumi.get(self, "on_schema")
218
255
 
@@ -224,7 +261,7 @@ class _GrantPrivilegesToShareState:
224
261
  @pulumi.getter(name="onTable")
225
262
  def on_table(self) -> Optional[pulumi.Input[str]]:
226
263
  """
227
- The fully qualified name of the table on which privileges will be granted.
264
+ The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
228
265
  """
229
266
  return pulumi.get(self, "on_table")
230
267
 
@@ -236,7 +273,7 @@ class _GrantPrivilegesToShareState:
236
273
  @pulumi.getter(name="onTag")
237
274
  def on_tag(self) -> Optional[pulumi.Input[str]]:
238
275
  """
239
- The fully qualified name of the tag on which privileges will be granted.
276
+ The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
240
277
  """
241
278
  return pulumi.get(self, "on_tag")
242
279
 
@@ -248,7 +285,7 @@ class _GrantPrivilegesToShareState:
248
285
  @pulumi.getter(name="onView")
249
286
  def on_view(self) -> Optional[pulumi.Input[str]]:
250
287
  """
251
- The fully qualified name of the view on which privileges will be granted.
288
+ The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
252
289
  """
253
290
  return pulumi.get(self, "on_view")
254
291
 
@@ -272,7 +309,7 @@ class _GrantPrivilegesToShareState:
272
309
  @pulumi.getter(name="toShare")
273
310
  def to_share(self) -> Optional[pulumi.Input[str]]:
274
311
  """
275
- The fully qualified name of the share on which privileges will be granted.
312
+ The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
276
313
  """
277
314
  return pulumi.get(self, "to_share")
278
315
 
@@ -288,6 +325,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
288
325
  opts: Optional[pulumi.ResourceOptions] = None,
289
326
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
290
327
  on_database: Optional[pulumi.Input[str]] = None,
328
+ on_function: Optional[pulumi.Input[str]] = None,
291
329
  on_schema: Optional[pulumi.Input[str]] = None,
292
330
  on_table: Optional[pulumi.Input[str]] = None,
293
331
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -301,19 +339,20 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
301
339
  ### OnView
302
340
 
303
341
  ```sh
304
- $ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare <view_name>"`
342
+ $ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare example '<share_name>|<privileges>|OnView|<database_name>.<schema_name>.<view_name>'`
305
343
  ```
306
344
 
307
345
  :param str resource_name: The name of the resource.
308
346
  :param pulumi.ResourceOptions opts: Options for the resource.
309
347
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
310
- :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
311
- :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
312
- :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
313
- :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
314
- :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted.
348
+ :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
349
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
350
+ :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
351
+ :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
352
+ :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
353
+ :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
315
354
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the share. See available list of privileges: https://docs.snowflake.com/en/sql-reference/sql/grant-privilege-share#syntax
316
- :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted.
355
+ :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
317
356
  """
318
357
  ...
319
358
  @overload
@@ -327,7 +366,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
327
366
  ### OnView
328
367
 
329
368
  ```sh
330
- $ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare <view_name>"`
369
+ $ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare example '<share_name>|<privileges>|OnView|<database_name>.<schema_name>.<view_name>'`
331
370
  ```
332
371
 
333
372
  :param str resource_name: The name of the resource.
@@ -347,6 +386,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
347
386
  opts: Optional[pulumi.ResourceOptions] = None,
348
387
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
349
388
  on_database: Optional[pulumi.Input[str]] = None,
389
+ on_function: Optional[pulumi.Input[str]] = None,
350
390
  on_schema: Optional[pulumi.Input[str]] = None,
351
391
  on_table: Optional[pulumi.Input[str]] = None,
352
392
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -364,6 +404,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
364
404
 
365
405
  __props__.__dict__["on_all_tables_in_schema"] = on_all_tables_in_schema
366
406
  __props__.__dict__["on_database"] = on_database
407
+ __props__.__dict__["on_function"] = on_function
367
408
  __props__.__dict__["on_schema"] = on_schema
368
409
  __props__.__dict__["on_table"] = on_table
369
410
  __props__.__dict__["on_tag"] = on_tag
@@ -386,6 +427,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
386
427
  opts: Optional[pulumi.ResourceOptions] = None,
387
428
  on_all_tables_in_schema: Optional[pulumi.Input[str]] = None,
388
429
  on_database: Optional[pulumi.Input[str]] = None,
430
+ on_function: Optional[pulumi.Input[str]] = None,
389
431
  on_schema: Optional[pulumi.Input[str]] = None,
390
432
  on_table: Optional[pulumi.Input[str]] = None,
391
433
  on_tag: Optional[pulumi.Input[str]] = None,
@@ -400,13 +442,14 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
400
442
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
401
443
  :param pulumi.ResourceOptions opts: Options for the resource.
402
444
  :param pulumi.Input[str] on_all_tables_in_schema: The fully qualified identifier for the schema for which the specified privilege will be granted for all tables.
403
- :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted.
404
- :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted.
405
- :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted.
406
- :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted.
407
- :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted.
445
+ :param pulumi.Input[str] on_database: The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
446
+ :param pulumi.Input[str] on_function: The fully qualified name of the function on which privileges will be granted.
447
+ :param pulumi.Input[str] on_schema: The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
448
+ :param pulumi.Input[str] on_table: The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
449
+ :param pulumi.Input[str] on_tag: The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
450
+ :param pulumi.Input[str] on_view: The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
408
451
  :param pulumi.Input[Sequence[pulumi.Input[str]]] privileges: The privileges to grant on the share. See available list of privileges: https://docs.snowflake.com/en/sql-reference/sql/grant-privilege-share#syntax
409
- :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted.
452
+ :param pulumi.Input[str] to_share: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
410
453
  """
411
454
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
412
455
 
@@ -414,6 +457,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
414
457
 
415
458
  __props__.__dict__["on_all_tables_in_schema"] = on_all_tables_in_schema
416
459
  __props__.__dict__["on_database"] = on_database
460
+ __props__.__dict__["on_function"] = on_function
417
461
  __props__.__dict__["on_schema"] = on_schema
418
462
  __props__.__dict__["on_table"] = on_table
419
463
  __props__.__dict__["on_tag"] = on_tag
@@ -434,15 +478,23 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
434
478
  @pulumi.getter(name="onDatabase")
435
479
  def on_database(self) -> pulumi.Output[Optional[str]]:
436
480
  """
437
- The fully qualified name of the database on which privileges will be granted.
481
+ The fully qualified name of the database on which privileges will be granted. For more information about this resource, see docs.
438
482
  """
439
483
  return pulumi.get(self, "on_database")
440
484
 
485
+ @property
486
+ @pulumi.getter(name="onFunction")
487
+ def on_function(self) -> pulumi.Output[Optional[str]]:
488
+ """
489
+ The fully qualified name of the function on which privileges will be granted.
490
+ """
491
+ return pulumi.get(self, "on_function")
492
+
441
493
  @property
442
494
  @pulumi.getter(name="onSchema")
443
495
  def on_schema(self) -> pulumi.Output[Optional[str]]:
444
496
  """
445
- The fully qualified name of the schema on which privileges will be granted.
497
+ The fully qualified name of the schema on which privileges will be granted. For more information about this resource, see docs.
446
498
  """
447
499
  return pulumi.get(self, "on_schema")
448
500
 
@@ -450,7 +502,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
450
502
  @pulumi.getter(name="onTable")
451
503
  def on_table(self) -> pulumi.Output[Optional[str]]:
452
504
  """
453
- The fully qualified name of the table on which privileges will be granted.
505
+ The fully qualified name of the table on which privileges will be granted. For more information about this resource, see docs.
454
506
  """
455
507
  return pulumi.get(self, "on_table")
456
508
 
@@ -458,7 +510,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
458
510
  @pulumi.getter(name="onTag")
459
511
  def on_tag(self) -> pulumi.Output[Optional[str]]:
460
512
  """
461
- The fully qualified name of the tag on which privileges will be granted.
513
+ The fully qualified name of the tag on which privileges will be granted. For more information about this resource, see docs.
462
514
  """
463
515
  return pulumi.get(self, "on_tag")
464
516
 
@@ -466,7 +518,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
466
518
  @pulumi.getter(name="onView")
467
519
  def on_view(self) -> pulumi.Output[Optional[str]]:
468
520
  """
469
- The fully qualified name of the view on which privileges will be granted.
521
+ The fully qualified name of the view on which privileges will be granted. For more information about this resource, see docs.
470
522
  """
471
523
  return pulumi.get(self, "on_view")
472
524
 
@@ -482,7 +534,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
482
534
  @pulumi.getter(name="toShare")
483
535
  def to_share(self) -> pulumi.Output[str]:
484
536
  """
485
- The fully qualified name of the share on which privileges will be granted.
537
+ The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
486
538
  """
487
539
  return pulumi.get(self, "to_share")
488
540