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
@@ -0,0 +1,517 @@
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 sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['StreamOnDirectoryTableArgs', 'StreamOnDirectoryTable']
20
+
21
+ @pulumi.input_type
22
+ class StreamOnDirectoryTableArgs:
23
+ def __init__(__self__, *,
24
+ database: pulumi.Input[str],
25
+ schema: pulumi.Input[str],
26
+ stage: pulumi.Input[str],
27
+ comment: Optional[pulumi.Input[str]] = None,
28
+ copy_grants: Optional[pulumi.Input[bool]] = None,
29
+ name: Optional[pulumi.Input[str]] = None):
30
+ """
31
+ The set of arguments for constructing a StreamOnDirectoryTable resource.
32
+ :param pulumi.Input[str] database: The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
33
+ :param pulumi.Input[str] schema: The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
34
+ :param pulumi.Input[str] stage: Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
35
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
36
+ :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
37
+ """
38
+ pulumi.set(__self__, "database", database)
39
+ pulumi.set(__self__, "schema", schema)
40
+ pulumi.set(__self__, "stage", stage)
41
+ if comment is not None:
42
+ pulumi.set(__self__, "comment", comment)
43
+ if copy_grants is not None:
44
+ pulumi.set(__self__, "copy_grants", copy_grants)
45
+ if name is not None:
46
+ pulumi.set(__self__, "name", name)
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def database(self) -> pulumi.Input[str]:
51
+ """
52
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
53
+ """
54
+ return pulumi.get(self, "database")
55
+
56
+ @database.setter
57
+ def database(self, value: pulumi.Input[str]):
58
+ pulumi.set(self, "database", value)
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def schema(self) -> pulumi.Input[str]:
63
+ """
64
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
65
+ """
66
+ return pulumi.get(self, "schema")
67
+
68
+ @schema.setter
69
+ def schema(self, value: pulumi.Input[str]):
70
+ pulumi.set(self, "schema", value)
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def stage(self) -> pulumi.Input[str]:
75
+ """
76
+ Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
77
+ """
78
+ return pulumi.get(self, "stage")
79
+
80
+ @stage.setter
81
+ def stage(self, value: pulumi.Input[str]):
82
+ pulumi.set(self, "stage", value)
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def comment(self) -> Optional[pulumi.Input[str]]:
87
+ """
88
+ Specifies a comment for the stream.
89
+ """
90
+ return pulumi.get(self, "comment")
91
+
92
+ @comment.setter
93
+ def comment(self, value: Optional[pulumi.Input[str]]):
94
+ pulumi.set(self, "comment", value)
95
+
96
+ @property
97
+ @pulumi.getter(name="copyGrants")
98
+ def copy_grants(self) -> Optional[pulumi.Input[bool]]:
99
+ return pulumi.get(self, "copy_grants")
100
+
101
+ @copy_grants.setter
102
+ def copy_grants(self, value: Optional[pulumi.Input[bool]]):
103
+ pulumi.set(self, "copy_grants", value)
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def name(self) -> Optional[pulumi.Input[str]]:
108
+ """
109
+ Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
110
+ """
111
+ return pulumi.get(self, "name")
112
+
113
+ @name.setter
114
+ def name(self, value: Optional[pulumi.Input[str]]):
115
+ pulumi.set(self, "name", value)
116
+
117
+
118
+ @pulumi.input_type
119
+ class _StreamOnDirectoryTableState:
120
+ def __init__(__self__, *,
121
+ comment: Optional[pulumi.Input[str]] = None,
122
+ copy_grants: Optional[pulumi.Input[bool]] = None,
123
+ database: Optional[pulumi.Input[str]] = None,
124
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableDescribeOutputArgs']]]] = None,
125
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
126
+ name: Optional[pulumi.Input[str]] = None,
127
+ schema: Optional[pulumi.Input[str]] = None,
128
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableShowOutputArgs']]]] = None,
129
+ stage: Optional[pulumi.Input[str]] = None,
130
+ stale: Optional[pulumi.Input[bool]] = None,
131
+ stream_type: Optional[pulumi.Input[str]] = None):
132
+ """
133
+ Input properties used for looking up and filtering StreamOnDirectoryTable resources.
134
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
135
+ :param pulumi.Input[str] database: The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
136
+ :param pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAM` for the given stream.
137
+ :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
138
+ :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
139
+ :param pulumi.Input[str] schema: The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
140
+ :param pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
141
+ :param pulumi.Input[str] stage: Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
142
+ :param pulumi.Input[str] stream_type: Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
143
+ """
144
+ if comment is not None:
145
+ pulumi.set(__self__, "comment", comment)
146
+ if copy_grants is not None:
147
+ pulumi.set(__self__, "copy_grants", copy_grants)
148
+ if database is not None:
149
+ pulumi.set(__self__, "database", database)
150
+ if describe_outputs is not None:
151
+ pulumi.set(__self__, "describe_outputs", describe_outputs)
152
+ if fully_qualified_name is not None:
153
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
154
+ if name is not None:
155
+ pulumi.set(__self__, "name", name)
156
+ if schema is not None:
157
+ pulumi.set(__self__, "schema", schema)
158
+ if show_outputs is not None:
159
+ pulumi.set(__self__, "show_outputs", show_outputs)
160
+ if stage is not None:
161
+ pulumi.set(__self__, "stage", stage)
162
+ if stale is not None:
163
+ pulumi.set(__self__, "stale", stale)
164
+ if stream_type is not None:
165
+ pulumi.set(__self__, "stream_type", stream_type)
166
+
167
+ @property
168
+ @pulumi.getter
169
+ def comment(self) -> Optional[pulumi.Input[str]]:
170
+ """
171
+ Specifies a comment for the stream.
172
+ """
173
+ return pulumi.get(self, "comment")
174
+
175
+ @comment.setter
176
+ def comment(self, value: Optional[pulumi.Input[str]]):
177
+ pulumi.set(self, "comment", value)
178
+
179
+ @property
180
+ @pulumi.getter(name="copyGrants")
181
+ def copy_grants(self) -> Optional[pulumi.Input[bool]]:
182
+ return pulumi.get(self, "copy_grants")
183
+
184
+ @copy_grants.setter
185
+ def copy_grants(self, value: Optional[pulumi.Input[bool]]):
186
+ pulumi.set(self, "copy_grants", value)
187
+
188
+ @property
189
+ @pulumi.getter
190
+ def database(self) -> Optional[pulumi.Input[str]]:
191
+ """
192
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
193
+ """
194
+ return pulumi.get(self, "database")
195
+
196
+ @database.setter
197
+ def database(self, value: Optional[pulumi.Input[str]]):
198
+ pulumi.set(self, "database", value)
199
+
200
+ @property
201
+ @pulumi.getter(name="describeOutputs")
202
+ def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableDescribeOutputArgs']]]]:
203
+ """
204
+ Outputs the result of `DESCRIBE STREAM` for the given stream.
205
+ """
206
+ return pulumi.get(self, "describe_outputs")
207
+
208
+ @describe_outputs.setter
209
+ def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableDescribeOutputArgs']]]]):
210
+ pulumi.set(self, "describe_outputs", value)
211
+
212
+ @property
213
+ @pulumi.getter(name="fullyQualifiedName")
214
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
215
+ """
216
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
217
+ """
218
+ return pulumi.get(self, "fully_qualified_name")
219
+
220
+ @fully_qualified_name.setter
221
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
222
+ pulumi.set(self, "fully_qualified_name", value)
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def name(self) -> Optional[pulumi.Input[str]]:
227
+ """
228
+ Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
229
+ """
230
+ return pulumi.get(self, "name")
231
+
232
+ @name.setter
233
+ def name(self, value: Optional[pulumi.Input[str]]):
234
+ pulumi.set(self, "name", value)
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def schema(self) -> Optional[pulumi.Input[str]]:
239
+ """
240
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
241
+ """
242
+ return pulumi.get(self, "schema")
243
+
244
+ @schema.setter
245
+ def schema(self, value: Optional[pulumi.Input[str]]):
246
+ pulumi.set(self, "schema", value)
247
+
248
+ @property
249
+ @pulumi.getter(name="showOutputs")
250
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableShowOutputArgs']]]]:
251
+ """
252
+ Outputs the result of `SHOW STREAMS` for the given stream.
253
+ """
254
+ return pulumi.get(self, "show_outputs")
255
+
256
+ @show_outputs.setter
257
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnDirectoryTableShowOutputArgs']]]]):
258
+ pulumi.set(self, "show_outputs", value)
259
+
260
+ @property
261
+ @pulumi.getter
262
+ def stage(self) -> Optional[pulumi.Input[str]]:
263
+ """
264
+ Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
265
+ """
266
+ return pulumi.get(self, "stage")
267
+
268
+ @stage.setter
269
+ def stage(self, value: Optional[pulumi.Input[str]]):
270
+ pulumi.set(self, "stage", value)
271
+
272
+ @property
273
+ @pulumi.getter
274
+ def stale(self) -> Optional[pulumi.Input[bool]]:
275
+ return pulumi.get(self, "stale")
276
+
277
+ @stale.setter
278
+ def stale(self, value: Optional[pulumi.Input[bool]]):
279
+ pulumi.set(self, "stale", value)
280
+
281
+ @property
282
+ @pulumi.getter(name="streamType")
283
+ def stream_type(self) -> Optional[pulumi.Input[str]]:
284
+ """
285
+ Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
286
+ """
287
+ return pulumi.get(self, "stream_type")
288
+
289
+ @stream_type.setter
290
+ def stream_type(self, value: Optional[pulumi.Input[str]]):
291
+ pulumi.set(self, "stream_type", value)
292
+
293
+
294
+ class StreamOnDirectoryTable(pulumi.CustomResource):
295
+ @overload
296
+ def __init__(__self__,
297
+ resource_name: str,
298
+ opts: Optional[pulumi.ResourceOptions] = None,
299
+ comment: Optional[pulumi.Input[str]] = None,
300
+ copy_grants: Optional[pulumi.Input[bool]] = None,
301
+ database: Optional[pulumi.Input[str]] = None,
302
+ name: Optional[pulumi.Input[str]] = None,
303
+ schema: Optional[pulumi.Input[str]] = None,
304
+ stage: Optional[pulumi.Input[str]] = None,
305
+ __props__=None):
306
+ """
307
+ ## Import
308
+
309
+ ```sh
310
+ $ pulumi import snowflake:index/streamOnDirectoryTable:StreamOnDirectoryTable example '"<database_name>"."<schema_name>"."<stream_name>"'
311
+ ```
312
+
313
+ :param str resource_name: The name of the resource.
314
+ :param pulumi.ResourceOptions opts: Options for the resource.
315
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
316
+ :param pulumi.Input[str] database: The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
317
+ :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
318
+ :param pulumi.Input[str] schema: The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
319
+ :param pulumi.Input[str] stage: Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
320
+ """
321
+ ...
322
+ @overload
323
+ def __init__(__self__,
324
+ resource_name: str,
325
+ args: StreamOnDirectoryTableArgs,
326
+ opts: Optional[pulumi.ResourceOptions] = None):
327
+ """
328
+ ## Import
329
+
330
+ ```sh
331
+ $ pulumi import snowflake:index/streamOnDirectoryTable:StreamOnDirectoryTable example '"<database_name>"."<schema_name>"."<stream_name>"'
332
+ ```
333
+
334
+ :param str resource_name: The name of the resource.
335
+ :param StreamOnDirectoryTableArgs args: The arguments to use to populate this resource's properties.
336
+ :param pulumi.ResourceOptions opts: Options for the resource.
337
+ """
338
+ ...
339
+ def __init__(__self__, resource_name: str, *args, **kwargs):
340
+ resource_args, opts = _utilities.get_resource_args_opts(StreamOnDirectoryTableArgs, pulumi.ResourceOptions, *args, **kwargs)
341
+ if resource_args is not None:
342
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
343
+ else:
344
+ __self__._internal_init(resource_name, *args, **kwargs)
345
+
346
+ def _internal_init(__self__,
347
+ resource_name: str,
348
+ opts: Optional[pulumi.ResourceOptions] = None,
349
+ comment: Optional[pulumi.Input[str]] = None,
350
+ copy_grants: Optional[pulumi.Input[bool]] = None,
351
+ database: Optional[pulumi.Input[str]] = None,
352
+ name: Optional[pulumi.Input[str]] = None,
353
+ schema: Optional[pulumi.Input[str]] = None,
354
+ stage: Optional[pulumi.Input[str]] = None,
355
+ __props__=None):
356
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
357
+ if not isinstance(opts, pulumi.ResourceOptions):
358
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
359
+ if opts.id is None:
360
+ if __props__ is not None:
361
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
362
+ __props__ = StreamOnDirectoryTableArgs.__new__(StreamOnDirectoryTableArgs)
363
+
364
+ __props__.__dict__["comment"] = comment
365
+ __props__.__dict__["copy_grants"] = copy_grants
366
+ if database is None and not opts.urn:
367
+ raise TypeError("Missing required property 'database'")
368
+ __props__.__dict__["database"] = database
369
+ __props__.__dict__["name"] = name
370
+ if schema is None and not opts.urn:
371
+ raise TypeError("Missing required property 'schema'")
372
+ __props__.__dict__["schema"] = schema
373
+ if stage is None and not opts.urn:
374
+ raise TypeError("Missing required property 'stage'")
375
+ __props__.__dict__["stage"] = stage
376
+ __props__.__dict__["describe_outputs"] = None
377
+ __props__.__dict__["fully_qualified_name"] = None
378
+ __props__.__dict__["show_outputs"] = None
379
+ __props__.__dict__["stale"] = None
380
+ __props__.__dict__["stream_type"] = None
381
+ super(StreamOnDirectoryTable, __self__).__init__(
382
+ 'snowflake:index/streamOnDirectoryTable:StreamOnDirectoryTable',
383
+ resource_name,
384
+ __props__,
385
+ opts)
386
+
387
+ @staticmethod
388
+ def get(resource_name: str,
389
+ id: pulumi.Input[str],
390
+ opts: Optional[pulumi.ResourceOptions] = None,
391
+ comment: Optional[pulumi.Input[str]] = None,
392
+ copy_grants: Optional[pulumi.Input[bool]] = None,
393
+ database: Optional[pulumi.Input[str]] = None,
394
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamOnDirectoryTableDescribeOutputArgs', 'StreamOnDirectoryTableDescribeOutputArgsDict']]]]] = None,
395
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
396
+ name: Optional[pulumi.Input[str]] = None,
397
+ schema: Optional[pulumi.Input[str]] = None,
398
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamOnDirectoryTableShowOutputArgs', 'StreamOnDirectoryTableShowOutputArgsDict']]]]] = None,
399
+ stage: Optional[pulumi.Input[str]] = None,
400
+ stale: Optional[pulumi.Input[bool]] = None,
401
+ stream_type: Optional[pulumi.Input[str]] = None) -> 'StreamOnDirectoryTable':
402
+ """
403
+ Get an existing StreamOnDirectoryTable resource's state with the given name, id, and optional extra
404
+ properties used to qualify the lookup.
405
+
406
+ :param str resource_name: The unique name of the resulting resource.
407
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
408
+ :param pulumi.ResourceOptions opts: Options for the resource.
409
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
410
+ :param pulumi.Input[str] database: The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
411
+ :param pulumi.Input[Sequence[pulumi.Input[Union['StreamOnDirectoryTableDescribeOutputArgs', 'StreamOnDirectoryTableDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE STREAM` for the given stream.
412
+ :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
413
+ :param pulumi.Input[str] name: Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
414
+ :param pulumi.Input[str] schema: The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
415
+ :param pulumi.Input[Sequence[pulumi.Input[Union['StreamOnDirectoryTableShowOutputArgs', 'StreamOnDirectoryTableShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
416
+ :param pulumi.Input[str] stage: Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
417
+ :param pulumi.Input[str] stream_type: Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
418
+ """
419
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
420
+
421
+ __props__ = _StreamOnDirectoryTableState.__new__(_StreamOnDirectoryTableState)
422
+
423
+ __props__.__dict__["comment"] = comment
424
+ __props__.__dict__["copy_grants"] = copy_grants
425
+ __props__.__dict__["database"] = database
426
+ __props__.__dict__["describe_outputs"] = describe_outputs
427
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
428
+ __props__.__dict__["name"] = name
429
+ __props__.__dict__["schema"] = schema
430
+ __props__.__dict__["show_outputs"] = show_outputs
431
+ __props__.__dict__["stage"] = stage
432
+ __props__.__dict__["stale"] = stale
433
+ __props__.__dict__["stream_type"] = stream_type
434
+ return StreamOnDirectoryTable(resource_name, opts=opts, __props__=__props__)
435
+
436
+ @property
437
+ @pulumi.getter
438
+ def comment(self) -> pulumi.Output[Optional[str]]:
439
+ """
440
+ Specifies a comment for the stream.
441
+ """
442
+ return pulumi.get(self, "comment")
443
+
444
+ @property
445
+ @pulumi.getter(name="copyGrants")
446
+ def copy_grants(self) -> pulumi.Output[Optional[bool]]:
447
+ return pulumi.get(self, "copy_grants")
448
+
449
+ @property
450
+ @pulumi.getter
451
+ def database(self) -> pulumi.Output[str]:
452
+ """
453
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
454
+ """
455
+ return pulumi.get(self, "database")
456
+
457
+ @property
458
+ @pulumi.getter(name="describeOutputs")
459
+ def describe_outputs(self) -> pulumi.Output[Sequence['outputs.StreamOnDirectoryTableDescribeOutput']]:
460
+ """
461
+ Outputs the result of `DESCRIBE STREAM` for the given stream.
462
+ """
463
+ return pulumi.get(self, "describe_outputs")
464
+
465
+ @property
466
+ @pulumi.getter(name="fullyQualifiedName")
467
+ def fully_qualified_name(self) -> pulumi.Output[str]:
468
+ """
469
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
470
+ """
471
+ return pulumi.get(self, "fully_qualified_name")
472
+
473
+ @property
474
+ @pulumi.getter
475
+ def name(self) -> pulumi.Output[str]:
476
+ """
477
+ Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
478
+ """
479
+ return pulumi.get(self, "name")
480
+
481
+ @property
482
+ @pulumi.getter
483
+ def schema(self) -> pulumi.Output[str]:
484
+ """
485
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
486
+ """
487
+ return pulumi.get(self, "schema")
488
+
489
+ @property
490
+ @pulumi.getter(name="showOutputs")
491
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamOnDirectoryTableShowOutput']]:
492
+ """
493
+ Outputs the result of `SHOW STREAMS` for the given stream.
494
+ """
495
+ return pulumi.get(self, "show_outputs")
496
+
497
+ @property
498
+ @pulumi.getter
499
+ def stage(self) -> pulumi.Output[str]:
500
+ """
501
+ Specifies an identifier for the stage the stream will monitor. Due to Snowflake limitations, the provider can not read the stage's database and schema. For stages, Snowflake returns only partially qualified name instead of fully qualified name. Please use stages located in the same schema as the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
502
+ """
503
+ return pulumi.get(self, "stage")
504
+
505
+ @property
506
+ @pulumi.getter
507
+ def stale(self) -> pulumi.Output[bool]:
508
+ return pulumi.get(self, "stale")
509
+
510
+ @property
511
+ @pulumi.getter(name="streamType")
512
+ def stream_type(self) -> pulumi.Output[str]:
513
+ """
514
+ Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
515
+ """
516
+ return pulumi.get(self, "stream_type")
517
+