pulumi-snowflake 0.59.0a1726827563__py3-none-any.whl → 0.60.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.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (132) hide show
  1. pulumi_snowflake/__init__.py +36 -0
  2. pulumi_snowflake/_inputs.py +20444 -3310
  3. pulumi_snowflake/_utilities.py +1 -1
  4. pulumi_snowflake/account.py +5 -0
  5. pulumi_snowflake/account_parameter.py +5 -0
  6. pulumi_snowflake/account_password_policy_attachment.py +5 -0
  7. pulumi_snowflake/account_role.py +5 -0
  8. pulumi_snowflake/alert.py +5 -0
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +5 -0
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +5 -0
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +5 -0
  12. pulumi_snowflake/api_integration.py +5 -0
  13. pulumi_snowflake/config/__init__.pyi +5 -0
  14. pulumi_snowflake/config/outputs.py +5 -0
  15. pulumi_snowflake/config/vars.py +5 -0
  16. pulumi_snowflake/cortex_search_service.py +5 -0
  17. pulumi_snowflake/database.py +5 -0
  18. pulumi_snowflake/database_old.py +5 -0
  19. pulumi_snowflake/database_role.py +5 -0
  20. pulumi_snowflake/dynamic_table.py +5 -0
  21. pulumi_snowflake/email_notification_integration.py +5 -0
  22. pulumi_snowflake/external_function.py +5 -0
  23. pulumi_snowflake/external_oauth_integration.py +5 -0
  24. pulumi_snowflake/external_table.py +5 -0
  25. pulumi_snowflake/failover_group.py +5 -0
  26. pulumi_snowflake/file_format.py +5 -0
  27. pulumi_snowflake/function.py +5 -0
  28. pulumi_snowflake/get_accounts.py +13 -4
  29. pulumi_snowflake/get_alerts.py +17 -4
  30. pulumi_snowflake/get_cortex_search_services.py +19 -4
  31. pulumi_snowflake/get_current_account.py +13 -4
  32. pulumi_snowflake/get_current_role.py +11 -4
  33. pulumi_snowflake/get_database.py +20 -4
  34. pulumi_snowflake/get_database_role.py +16 -4
  35. pulumi_snowflake/get_database_roles.py +21 -4
  36. pulumi_snowflake/get_databases.py +21 -4
  37. pulumi_snowflake/get_dynamic_tables.py +19 -4
  38. pulumi_snowflake/get_external_functions.py +15 -4
  39. pulumi_snowflake/get_external_tables.py +15 -4
  40. pulumi_snowflake/get_failover_groups.py +13 -4
  41. pulumi_snowflake/get_file_formats.py +15 -4
  42. pulumi_snowflake/get_functions.py +15 -4
  43. pulumi_snowflake/get_grants.py +21 -4
  44. pulumi_snowflake/get_masking_policies.py +92 -52
  45. pulumi_snowflake/get_materialized_views.py +15 -4
  46. pulumi_snowflake/get_network_policies.py +15 -4
  47. pulumi_snowflake/get_parameters.py +21 -4
  48. pulumi_snowflake/get_pipes.py +15 -4
  49. pulumi_snowflake/get_procedures.py +15 -4
  50. pulumi_snowflake/get_resource_monitors.py +41 -20
  51. pulumi_snowflake/get_role.py +13 -4
  52. pulumi_snowflake/get_roles.py +15 -4
  53. pulumi_snowflake/get_row_access_policies.py +92 -52
  54. pulumi_snowflake/get_schemas.py +23 -4
  55. pulumi_snowflake/get_security_integrations.py +15 -4
  56. pulumi_snowflake/get_sequences.py +15 -4
  57. pulumi_snowflake/get_shares.py +13 -4
  58. pulumi_snowflake/get_stages.py +15 -4
  59. pulumi_snowflake/get_storage_integrations.py +11 -4
  60. pulumi_snowflake/get_streamlits.py +19 -4
  61. pulumi_snowflake/get_streams.py +15 -4
  62. pulumi_snowflake/get_system_generate_scim_access_token.py +13 -4
  63. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +13 -4
  64. pulumi_snowflake/get_system_get_private_link_config.py +19 -4
  65. pulumi_snowflake/get_system_get_snowflake_platform_info.py +12 -4
  66. pulumi_snowflake/get_tables.py +15 -4
  67. pulumi_snowflake/get_tasks.py +15 -4
  68. pulumi_snowflake/get_users.py +21 -4
  69. pulumi_snowflake/get_views.py +25 -4
  70. pulumi_snowflake/get_warehouses.py +17 -4
  71. pulumi_snowflake/grant_account_role.py +5 -0
  72. pulumi_snowflake/grant_application_role.py +5 -0
  73. pulumi_snowflake/grant_database_role.py +5 -0
  74. pulumi_snowflake/grant_ownership.py +5 -0
  75. pulumi_snowflake/grant_privileges_to_account_role.py +5 -0
  76. pulumi_snowflake/grant_privileges_to_database_role.py +5 -0
  77. pulumi_snowflake/grant_privileges_to_share.py +5 -0
  78. pulumi_snowflake/legacy_service_user.py +3666 -0
  79. pulumi_snowflake/managed_account.py +5 -0
  80. pulumi_snowflake/masking_policy.py +197 -234
  81. pulumi_snowflake/materialized_view.py +5 -0
  82. pulumi_snowflake/network_policy.py +5 -0
  83. pulumi_snowflake/network_policy_attachment.py +5 -0
  84. pulumi_snowflake/network_rule.py +5 -0
  85. pulumi_snowflake/notification_integration.py +5 -0
  86. pulumi_snowflake/oauth_integration.py +5 -0
  87. pulumi_snowflake/oauth_integration_for_custom_clients.py +5 -0
  88. pulumi_snowflake/oauth_integration_for_partner_applications.py +5 -0
  89. pulumi_snowflake/object_parameter.py +5 -0
  90. pulumi_snowflake/outputs.py +11392 -2385
  91. pulumi_snowflake/password_policy.py +5 -0
  92. pulumi_snowflake/pipe.py +5 -0
  93. pulumi_snowflake/procedure.py +5 -0
  94. pulumi_snowflake/provider.py +5 -0
  95. pulumi_snowflake/pulumi-plugin.json +1 -1
  96. pulumi_snowflake/resource_monitor.py +88 -259
  97. pulumi_snowflake/role.py +5 -0
  98. pulumi_snowflake/row_access_policy.py +173 -114
  99. pulumi_snowflake/saml2_integration.py +5 -0
  100. pulumi_snowflake/saml_integration.py +5 -0
  101. pulumi_snowflake/schema.py +5 -0
  102. pulumi_snowflake/scim_integration.py +5 -0
  103. pulumi_snowflake/secondary_database.py +5 -0
  104. pulumi_snowflake/sequence.py +5 -0
  105. pulumi_snowflake/service_user.py +3585 -0
  106. pulumi_snowflake/session_parameter.py +5 -0
  107. pulumi_snowflake/share.py +5 -0
  108. pulumi_snowflake/shared_database.py +5 -0
  109. pulumi_snowflake/stage.py +12 -7
  110. pulumi_snowflake/storage_integration.py +5 -0
  111. pulumi_snowflake/stream.py +5 -0
  112. pulumi_snowflake/stream_on_external_table.py +597 -0
  113. pulumi_snowflake/stream_on_table.py +631 -0
  114. pulumi_snowflake/streamlit.py +5 -0
  115. pulumi_snowflake/table.py +5 -0
  116. pulumi_snowflake/table_column_masking_policy_application.py +5 -0
  117. pulumi_snowflake/table_constraint.py +5 -0
  118. pulumi_snowflake/tag.py +5 -0
  119. pulumi_snowflake/tag_association.py +5 -0
  120. pulumi_snowflake/tag_masking_policy_association.py +5 -0
  121. pulumi_snowflake/task.py +5 -0
  122. pulumi_snowflake/unsafe_execute.py +5 -0
  123. pulumi_snowflake/user.py +7 -2
  124. pulumi_snowflake/user_password_policy_attachment.py +5 -0
  125. pulumi_snowflake/user_public_keys.py +5 -0
  126. pulumi_snowflake/view.py +12 -7
  127. pulumi_snowflake/warehouse.py +9 -4
  128. {pulumi_snowflake-0.59.0a1726827563.dist-info → pulumi_snowflake-0.60.0.dist-info}/METADATA +3 -2
  129. pulumi_snowflake-0.60.0.dist-info/RECORD +133 -0
  130. pulumi_snowflake-0.59.0a1726827563.dist-info/RECORD +0 -129
  131. {pulumi_snowflake-0.59.0a1726827563.dist-info → pulumi_snowflake-0.60.0.dist-info}/WHEEL +0 -0
  132. {pulumi_snowflake-0.59.0a1726827563.dist-info → pulumi_snowflake-0.60.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,597 @@
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__ = ['StreamOnExternalTableArgs', 'StreamOnExternalTable']
20
+
21
+ @pulumi.input_type
22
+ class StreamOnExternalTableArgs:
23
+ def __init__(__self__, *,
24
+ database: pulumi.Input[str],
25
+ external_table: pulumi.Input[str],
26
+ schema: pulumi.Input[str],
27
+ at: Optional[pulumi.Input['StreamOnExternalTableAtArgs']] = None,
28
+ before: Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']] = None,
29
+ comment: Optional[pulumi.Input[str]] = None,
30
+ copy_grants: Optional[pulumi.Input[bool]] = None,
31
+ insert_only: Optional[pulumi.Input[str]] = None,
32
+ name: Optional[pulumi.Input[str]] = None):
33
+ """
34
+ The set of arguments for constructing a StreamOnExternalTable resource.
35
+ :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: `|`, `.`, `(`, `)`, `"`
36
+ :param pulumi.Input[str] external_table: Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
37
+ :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: `|`, `.`, `(`, `)`, `"`
38
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
39
+ :param pulumi.Input[bool] copy_grants: Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
40
+ :param pulumi.Input[str] insert_only: Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
41
+ :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: `|`, `.`, `(`, `)`, `"`
42
+ """
43
+ pulumi.set(__self__, "database", database)
44
+ pulumi.set(__self__, "external_table", external_table)
45
+ pulumi.set(__self__, "schema", schema)
46
+ if at is not None:
47
+ pulumi.set(__self__, "at", at)
48
+ if before is not None:
49
+ pulumi.set(__self__, "before", before)
50
+ if comment is not None:
51
+ pulumi.set(__self__, "comment", comment)
52
+ if copy_grants is not None:
53
+ pulumi.set(__self__, "copy_grants", copy_grants)
54
+ if insert_only is not None:
55
+ pulumi.set(__self__, "insert_only", insert_only)
56
+ if name is not None:
57
+ pulumi.set(__self__, "name", name)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def database(self) -> pulumi.Input[str]:
62
+ """
63
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
64
+ """
65
+ return pulumi.get(self, "database")
66
+
67
+ @database.setter
68
+ def database(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "database", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="externalTable")
73
+ def external_table(self) -> pulumi.Input[str]:
74
+ """
75
+ Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
76
+ """
77
+ return pulumi.get(self, "external_table")
78
+
79
+ @external_table.setter
80
+ def external_table(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "external_table", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def schema(self) -> pulumi.Input[str]:
86
+ """
87
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
88
+ """
89
+ return pulumi.get(self, "schema")
90
+
91
+ @schema.setter
92
+ def schema(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "schema", value)
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def at(self) -> Optional[pulumi.Input['StreamOnExternalTableAtArgs']]:
98
+ return pulumi.get(self, "at")
99
+
100
+ @at.setter
101
+ def at(self, value: Optional[pulumi.Input['StreamOnExternalTableAtArgs']]):
102
+ pulumi.set(self, "at", value)
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def before(self) -> Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']]:
107
+ return pulumi.get(self, "before")
108
+
109
+ @before.setter
110
+ def before(self, value: Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']]):
111
+ pulumi.set(self, "before", value)
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def comment(self) -> Optional[pulumi.Input[str]]:
116
+ """
117
+ Specifies a comment for the stream.
118
+ """
119
+ return pulumi.get(self, "comment")
120
+
121
+ @comment.setter
122
+ def comment(self, value: Optional[pulumi.Input[str]]):
123
+ pulumi.set(self, "comment", value)
124
+
125
+ @property
126
+ @pulumi.getter(name="copyGrants")
127
+ def copy_grants(self) -> Optional[pulumi.Input[bool]]:
128
+ """
129
+ Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
130
+ """
131
+ return pulumi.get(self, "copy_grants")
132
+
133
+ @copy_grants.setter
134
+ def copy_grants(self, value: Optional[pulumi.Input[bool]]):
135
+ pulumi.set(self, "copy_grants", value)
136
+
137
+ @property
138
+ @pulumi.getter(name="insertOnly")
139
+ def insert_only(self) -> Optional[pulumi.Input[str]]:
140
+ """
141
+ Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
142
+ """
143
+ return pulumi.get(self, "insert_only")
144
+
145
+ @insert_only.setter
146
+ def insert_only(self, value: Optional[pulumi.Input[str]]):
147
+ pulumi.set(self, "insert_only", value)
148
+
149
+ @property
150
+ @pulumi.getter
151
+ def name(self) -> Optional[pulumi.Input[str]]:
152
+ """
153
+ 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: `|`, `.`, `(`, `)`, `"`
154
+ """
155
+ return pulumi.get(self, "name")
156
+
157
+ @name.setter
158
+ def name(self, value: Optional[pulumi.Input[str]]):
159
+ pulumi.set(self, "name", value)
160
+
161
+
162
+ @pulumi.input_type
163
+ class _StreamOnExternalTableState:
164
+ def __init__(__self__, *,
165
+ at: Optional[pulumi.Input['StreamOnExternalTableAtArgs']] = None,
166
+ before: Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']] = None,
167
+ comment: Optional[pulumi.Input[str]] = None,
168
+ copy_grants: Optional[pulumi.Input[bool]] = None,
169
+ database: Optional[pulumi.Input[str]] = None,
170
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableDescribeOutputArgs']]]] = None,
171
+ external_table: Optional[pulumi.Input[str]] = None,
172
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
173
+ insert_only: Optional[pulumi.Input[str]] = None,
174
+ name: Optional[pulumi.Input[str]] = None,
175
+ schema: Optional[pulumi.Input[str]] = None,
176
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableShowOutputArgs']]]] = None):
177
+ """
178
+ Input properties used for looking up and filtering StreamOnExternalTable resources.
179
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
180
+ :param pulumi.Input[bool] copy_grants: Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
181
+ :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: `|`, `.`, `(`, `)`, `"`
182
+ :param pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAM` for the given stream.
183
+ :param pulumi.Input[str] external_table: Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
184
+ :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).
185
+ :param pulumi.Input[str] insert_only: Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
186
+ :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: `|`, `.`, `(`, `)`, `"`
187
+ :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: `|`, `.`, `(`, `)`, `"`
188
+ :param pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
189
+ """
190
+ if at is not None:
191
+ pulumi.set(__self__, "at", at)
192
+ if before is not None:
193
+ pulumi.set(__self__, "before", before)
194
+ if comment is not None:
195
+ pulumi.set(__self__, "comment", comment)
196
+ if copy_grants is not None:
197
+ pulumi.set(__self__, "copy_grants", copy_grants)
198
+ if database is not None:
199
+ pulumi.set(__self__, "database", database)
200
+ if describe_outputs is not None:
201
+ pulumi.set(__self__, "describe_outputs", describe_outputs)
202
+ if external_table is not None:
203
+ pulumi.set(__self__, "external_table", external_table)
204
+ if fully_qualified_name is not None:
205
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
206
+ if insert_only is not None:
207
+ pulumi.set(__self__, "insert_only", insert_only)
208
+ if name is not None:
209
+ pulumi.set(__self__, "name", name)
210
+ if schema is not None:
211
+ pulumi.set(__self__, "schema", schema)
212
+ if show_outputs is not None:
213
+ pulumi.set(__self__, "show_outputs", show_outputs)
214
+
215
+ @property
216
+ @pulumi.getter
217
+ def at(self) -> Optional[pulumi.Input['StreamOnExternalTableAtArgs']]:
218
+ return pulumi.get(self, "at")
219
+
220
+ @at.setter
221
+ def at(self, value: Optional[pulumi.Input['StreamOnExternalTableAtArgs']]):
222
+ pulumi.set(self, "at", value)
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def before(self) -> Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']]:
227
+ return pulumi.get(self, "before")
228
+
229
+ @before.setter
230
+ def before(self, value: Optional[pulumi.Input['StreamOnExternalTableBeforeArgs']]):
231
+ pulumi.set(self, "before", value)
232
+
233
+ @property
234
+ @pulumi.getter
235
+ def comment(self) -> Optional[pulumi.Input[str]]:
236
+ """
237
+ Specifies a comment for the stream.
238
+ """
239
+ return pulumi.get(self, "comment")
240
+
241
+ @comment.setter
242
+ def comment(self, value: Optional[pulumi.Input[str]]):
243
+ pulumi.set(self, "comment", value)
244
+
245
+ @property
246
+ @pulumi.getter(name="copyGrants")
247
+ def copy_grants(self) -> Optional[pulumi.Input[bool]]:
248
+ """
249
+ Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
250
+ """
251
+ return pulumi.get(self, "copy_grants")
252
+
253
+ @copy_grants.setter
254
+ def copy_grants(self, value: Optional[pulumi.Input[bool]]):
255
+ pulumi.set(self, "copy_grants", value)
256
+
257
+ @property
258
+ @pulumi.getter
259
+ def database(self) -> Optional[pulumi.Input[str]]:
260
+ """
261
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
262
+ """
263
+ return pulumi.get(self, "database")
264
+
265
+ @database.setter
266
+ def database(self, value: Optional[pulumi.Input[str]]):
267
+ pulumi.set(self, "database", value)
268
+
269
+ @property
270
+ @pulumi.getter(name="describeOutputs")
271
+ def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableDescribeOutputArgs']]]]:
272
+ """
273
+ Outputs the result of `DESCRIBE STREAM` for the given stream.
274
+ """
275
+ return pulumi.get(self, "describe_outputs")
276
+
277
+ @describe_outputs.setter
278
+ def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableDescribeOutputArgs']]]]):
279
+ pulumi.set(self, "describe_outputs", value)
280
+
281
+ @property
282
+ @pulumi.getter(name="externalTable")
283
+ def external_table(self) -> Optional[pulumi.Input[str]]:
284
+ """
285
+ Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
286
+ """
287
+ return pulumi.get(self, "external_table")
288
+
289
+ @external_table.setter
290
+ def external_table(self, value: Optional[pulumi.Input[str]]):
291
+ pulumi.set(self, "external_table", value)
292
+
293
+ @property
294
+ @pulumi.getter(name="fullyQualifiedName")
295
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
296
+ """
297
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
298
+ """
299
+ return pulumi.get(self, "fully_qualified_name")
300
+
301
+ @fully_qualified_name.setter
302
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
303
+ pulumi.set(self, "fully_qualified_name", value)
304
+
305
+ @property
306
+ @pulumi.getter(name="insertOnly")
307
+ def insert_only(self) -> Optional[pulumi.Input[str]]:
308
+ """
309
+ Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
310
+ """
311
+ return pulumi.get(self, "insert_only")
312
+
313
+ @insert_only.setter
314
+ def insert_only(self, value: Optional[pulumi.Input[str]]):
315
+ pulumi.set(self, "insert_only", value)
316
+
317
+ @property
318
+ @pulumi.getter
319
+ def name(self) -> Optional[pulumi.Input[str]]:
320
+ """
321
+ 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: `|`, `.`, `(`, `)`, `"`
322
+ """
323
+ return pulumi.get(self, "name")
324
+
325
+ @name.setter
326
+ def name(self, value: Optional[pulumi.Input[str]]):
327
+ pulumi.set(self, "name", value)
328
+
329
+ @property
330
+ @pulumi.getter
331
+ def schema(self) -> Optional[pulumi.Input[str]]:
332
+ """
333
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
334
+ """
335
+ return pulumi.get(self, "schema")
336
+
337
+ @schema.setter
338
+ def schema(self, value: Optional[pulumi.Input[str]]):
339
+ pulumi.set(self, "schema", value)
340
+
341
+ @property
342
+ @pulumi.getter(name="showOutputs")
343
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableShowOutputArgs']]]]:
344
+ """
345
+ Outputs the result of `SHOW STREAMS` for the given stream.
346
+ """
347
+ return pulumi.get(self, "show_outputs")
348
+
349
+ @show_outputs.setter
350
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnExternalTableShowOutputArgs']]]]):
351
+ pulumi.set(self, "show_outputs", value)
352
+
353
+
354
+ class StreamOnExternalTable(pulumi.CustomResource):
355
+ @overload
356
+ def __init__(__self__,
357
+ resource_name: str,
358
+ opts: Optional[pulumi.ResourceOptions] = None,
359
+ at: Optional[pulumi.Input[Union['StreamOnExternalTableAtArgs', 'StreamOnExternalTableAtArgsDict']]] = None,
360
+ before: Optional[pulumi.Input[Union['StreamOnExternalTableBeforeArgs', 'StreamOnExternalTableBeforeArgsDict']]] = None,
361
+ comment: Optional[pulumi.Input[str]] = None,
362
+ copy_grants: Optional[pulumi.Input[bool]] = None,
363
+ database: Optional[pulumi.Input[str]] = None,
364
+ external_table: Optional[pulumi.Input[str]] = None,
365
+ insert_only: Optional[pulumi.Input[str]] = None,
366
+ name: Optional[pulumi.Input[str]] = None,
367
+ schema: Optional[pulumi.Input[str]] = None,
368
+ __props__=None):
369
+ """
370
+ ## Import
371
+
372
+ ```sh
373
+ $ pulumi import snowflake:index/streamOnExternalTable:StreamOnExternalTable example '"<database_name>"."<schema_name>"."<stream_name>"'
374
+ ```
375
+
376
+ :param str resource_name: The name of the resource.
377
+ :param pulumi.ResourceOptions opts: Options for the resource.
378
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
379
+ :param pulumi.Input[bool] copy_grants: Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
380
+ :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: `|`, `.`, `(`, `)`, `"`
381
+ :param pulumi.Input[str] external_table: Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
382
+ :param pulumi.Input[str] insert_only: Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
383
+ :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: `|`, `.`, `(`, `)`, `"`
384
+ :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: `|`, `.`, `(`, `)`, `"`
385
+ """
386
+ ...
387
+ @overload
388
+ def __init__(__self__,
389
+ resource_name: str,
390
+ args: StreamOnExternalTableArgs,
391
+ opts: Optional[pulumi.ResourceOptions] = None):
392
+ """
393
+ ## Import
394
+
395
+ ```sh
396
+ $ pulumi import snowflake:index/streamOnExternalTable:StreamOnExternalTable example '"<database_name>"."<schema_name>"."<stream_name>"'
397
+ ```
398
+
399
+ :param str resource_name: The name of the resource.
400
+ :param StreamOnExternalTableArgs args: The arguments to use to populate this resource's properties.
401
+ :param pulumi.ResourceOptions opts: Options for the resource.
402
+ """
403
+ ...
404
+ def __init__(__self__, resource_name: str, *args, **kwargs):
405
+ resource_args, opts = _utilities.get_resource_args_opts(StreamOnExternalTableArgs, pulumi.ResourceOptions, *args, **kwargs)
406
+ if resource_args is not None:
407
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
408
+ else:
409
+ __self__._internal_init(resource_name, *args, **kwargs)
410
+
411
+ def _internal_init(__self__,
412
+ resource_name: str,
413
+ opts: Optional[pulumi.ResourceOptions] = None,
414
+ at: Optional[pulumi.Input[Union['StreamOnExternalTableAtArgs', 'StreamOnExternalTableAtArgsDict']]] = None,
415
+ before: Optional[pulumi.Input[Union['StreamOnExternalTableBeforeArgs', 'StreamOnExternalTableBeforeArgsDict']]] = None,
416
+ comment: Optional[pulumi.Input[str]] = None,
417
+ copy_grants: Optional[pulumi.Input[bool]] = None,
418
+ database: Optional[pulumi.Input[str]] = None,
419
+ external_table: Optional[pulumi.Input[str]] = None,
420
+ insert_only: Optional[pulumi.Input[str]] = None,
421
+ name: Optional[pulumi.Input[str]] = None,
422
+ schema: Optional[pulumi.Input[str]] = None,
423
+ __props__=None):
424
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
425
+ if not isinstance(opts, pulumi.ResourceOptions):
426
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
427
+ if opts.id is None:
428
+ if __props__ is not None:
429
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
430
+ __props__ = StreamOnExternalTableArgs.__new__(StreamOnExternalTableArgs)
431
+
432
+ __props__.__dict__["at"] = at
433
+ __props__.__dict__["before"] = before
434
+ __props__.__dict__["comment"] = comment
435
+ __props__.__dict__["copy_grants"] = copy_grants
436
+ if database is None and not opts.urn:
437
+ raise TypeError("Missing required property 'database'")
438
+ __props__.__dict__["database"] = database
439
+ if external_table is None and not opts.urn:
440
+ raise TypeError("Missing required property 'external_table'")
441
+ __props__.__dict__["external_table"] = external_table
442
+ __props__.__dict__["insert_only"] = insert_only
443
+ __props__.__dict__["name"] = name
444
+ if schema is None and not opts.urn:
445
+ raise TypeError("Missing required property 'schema'")
446
+ __props__.__dict__["schema"] = schema
447
+ __props__.__dict__["describe_outputs"] = None
448
+ __props__.__dict__["fully_qualified_name"] = None
449
+ __props__.__dict__["show_outputs"] = None
450
+ super(StreamOnExternalTable, __self__).__init__(
451
+ 'snowflake:index/streamOnExternalTable:StreamOnExternalTable',
452
+ resource_name,
453
+ __props__,
454
+ opts)
455
+
456
+ @staticmethod
457
+ def get(resource_name: str,
458
+ id: pulumi.Input[str],
459
+ opts: Optional[pulumi.ResourceOptions] = None,
460
+ at: Optional[pulumi.Input[Union['StreamOnExternalTableAtArgs', 'StreamOnExternalTableAtArgsDict']]] = None,
461
+ before: Optional[pulumi.Input[Union['StreamOnExternalTableBeforeArgs', 'StreamOnExternalTableBeforeArgsDict']]] = None,
462
+ comment: Optional[pulumi.Input[str]] = None,
463
+ copy_grants: Optional[pulumi.Input[bool]] = None,
464
+ database: Optional[pulumi.Input[str]] = None,
465
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamOnExternalTableDescribeOutputArgs', 'StreamOnExternalTableDescribeOutputArgsDict']]]]] = None,
466
+ external_table: Optional[pulumi.Input[str]] = None,
467
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
468
+ insert_only: Optional[pulumi.Input[str]] = None,
469
+ name: Optional[pulumi.Input[str]] = None,
470
+ schema: Optional[pulumi.Input[str]] = None,
471
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamOnExternalTableShowOutputArgs', 'StreamOnExternalTableShowOutputArgsDict']]]]] = None) -> 'StreamOnExternalTable':
472
+ """
473
+ Get an existing StreamOnExternalTable resource's state with the given name, id, and optional extra
474
+ properties used to qualify the lookup.
475
+
476
+ :param str resource_name: The unique name of the resulting resource.
477
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
478
+ :param pulumi.ResourceOptions opts: Options for the resource.
479
+ :param pulumi.Input[str] comment: Specifies a comment for the stream.
480
+ :param pulumi.Input[bool] copy_grants: Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
481
+ :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: `|`, `.`, `(`, `)`, `"`
482
+ :param pulumi.Input[Sequence[pulumi.Input[Union['StreamOnExternalTableDescribeOutputArgs', 'StreamOnExternalTableDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE STREAM` for the given stream.
483
+ :param pulumi.Input[str] external_table: Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
484
+ :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).
485
+ :param pulumi.Input[str] insert_only: Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
486
+ :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: `|`, `.`, `(`, `)`, `"`
487
+ :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: `|`, `.`, `(`, `)`, `"`
488
+ :param pulumi.Input[Sequence[pulumi.Input[Union['StreamOnExternalTableShowOutputArgs', 'StreamOnExternalTableShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
489
+ """
490
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
491
+
492
+ __props__ = _StreamOnExternalTableState.__new__(_StreamOnExternalTableState)
493
+
494
+ __props__.__dict__["at"] = at
495
+ __props__.__dict__["before"] = before
496
+ __props__.__dict__["comment"] = comment
497
+ __props__.__dict__["copy_grants"] = copy_grants
498
+ __props__.__dict__["database"] = database
499
+ __props__.__dict__["describe_outputs"] = describe_outputs
500
+ __props__.__dict__["external_table"] = external_table
501
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
502
+ __props__.__dict__["insert_only"] = insert_only
503
+ __props__.__dict__["name"] = name
504
+ __props__.__dict__["schema"] = schema
505
+ __props__.__dict__["show_outputs"] = show_outputs
506
+ return StreamOnExternalTable(resource_name, opts=opts, __props__=__props__)
507
+
508
+ @property
509
+ @pulumi.getter
510
+ def at(self) -> pulumi.Output[Optional['outputs.StreamOnExternalTableAt']]:
511
+ return pulumi.get(self, "at")
512
+
513
+ @property
514
+ @pulumi.getter
515
+ def before(self) -> pulumi.Output[Optional['outputs.StreamOnExternalTableBefore']]:
516
+ return pulumi.get(self, "before")
517
+
518
+ @property
519
+ @pulumi.getter
520
+ def comment(self) -> pulumi.Output[Optional[str]]:
521
+ """
522
+ Specifies a comment for the stream.
523
+ """
524
+ return pulumi.get(self, "comment")
525
+
526
+ @property
527
+ @pulumi.getter(name="copyGrants")
528
+ def copy_grants(self) -> pulumi.Output[Optional[bool]]:
529
+ """
530
+ Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
531
+ """
532
+ return pulumi.get(self, "copy_grants")
533
+
534
+ @property
535
+ @pulumi.getter
536
+ def database(self) -> pulumi.Output[str]:
537
+ """
538
+ The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
539
+ """
540
+ return pulumi.get(self, "database")
541
+
542
+ @property
543
+ @pulumi.getter(name="describeOutputs")
544
+ def describe_outputs(self) -> pulumi.Output[Sequence['outputs.StreamOnExternalTableDescribeOutput']]:
545
+ """
546
+ Outputs the result of `DESCRIBE STREAM` for the given stream.
547
+ """
548
+ return pulumi.get(self, "describe_outputs")
549
+
550
+ @property
551
+ @pulumi.getter(name="externalTable")
552
+ def external_table(self) -> pulumi.Output[str]:
553
+ """
554
+ Specifies an identifier for the external table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
555
+ """
556
+ return pulumi.get(self, "external_table")
557
+
558
+ @property
559
+ @pulumi.getter(name="fullyQualifiedName")
560
+ def fully_qualified_name(self) -> pulumi.Output[str]:
561
+ """
562
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
563
+ """
564
+ return pulumi.get(self, "fully_qualified_name")
565
+
566
+ @property
567
+ @pulumi.getter(name="insertOnly")
568
+ def insert_only(self) -> pulumi.Output[Optional[str]]:
569
+ """
570
+ Specifies whether this is an insert-only stream. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
571
+ """
572
+ return pulumi.get(self, "insert_only")
573
+
574
+ @property
575
+ @pulumi.getter
576
+ def name(self) -> pulumi.Output[str]:
577
+ """
578
+ 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: `|`, `.`, `(`, `)`, `"`
579
+ """
580
+ return pulumi.get(self, "name")
581
+
582
+ @property
583
+ @pulumi.getter
584
+ def schema(self) -> pulumi.Output[str]:
585
+ """
586
+ The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
587
+ """
588
+ return pulumi.get(self, "schema")
589
+
590
+ @property
591
+ @pulumi.getter(name="showOutputs")
592
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamOnExternalTableShowOutput']]:
593
+ """
594
+ Outputs the result of `SHOW STREAMS` for the given stream.
595
+ """
596
+ return pulumi.get(self, "show_outputs")
597
+