pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.58.0a1726066221__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 (80) hide show
  1. pulumi_snowflake/_inputs.py +5859 -127
  2. pulumi_snowflake/account.py +28 -50
  3. pulumi_snowflake/account_parameter.py +0 -28
  4. pulumi_snowflake/account_password_policy_attachment.py +2 -30
  5. pulumi_snowflake/account_role.py +41 -36
  6. pulumi_snowflake/alert.py +28 -40
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
  10. pulumi_snowflake/api_integration.py +28 -54
  11. pulumi_snowflake/cortex_search_service.py +28 -76
  12. pulumi_snowflake/database.py +82 -15
  13. pulumi_snowflake/database_old.py +0 -72
  14. pulumi_snowflake/database_role.py +76 -42
  15. pulumi_snowflake/dynamic_table.py +28 -38
  16. pulumi_snowflake/email_notification_integration.py +28 -26
  17. pulumi_snowflake/external_function.py +28 -52
  18. pulumi_snowflake/external_oauth_integration.py +35 -15
  19. pulumi_snowflake/external_table.py +28 -48
  20. pulumi_snowflake/failover_group.py +28 -72
  21. pulumi_snowflake/file_format.py +28 -26
  22. pulumi_snowflake/function.py +28 -4
  23. pulumi_snowflake/get_database_roles.py +61 -38
  24. pulumi_snowflake/get_users.py +96 -33
  25. pulumi_snowflake/get_views.py +92 -53
  26. pulumi_snowflake/grant_account_role.py +0 -4
  27. pulumi_snowflake/grant_application_role.py +0 -4
  28. pulumi_snowflake/grant_database_role.py +0 -4
  29. pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
  30. pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
  31. pulumi_snowflake/grant_privileges_to_share.py +49 -2
  32. pulumi_snowflake/managed_account.py +28 -4
  33. pulumi_snowflake/masking_policy.py +28 -84
  34. pulumi_snowflake/materialized_view.py +28 -34
  35. pulumi_snowflake/network_policy.py +35 -15
  36. pulumi_snowflake/network_policy_attachment.py +0 -30
  37. pulumi_snowflake/network_rule.py +28 -66
  38. pulumi_snowflake/notification_integration.py +28 -34
  39. pulumi_snowflake/oauth_integration.py +0 -34
  40. pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
  41. pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
  42. pulumi_snowflake/object_parameter.py +0 -98
  43. pulumi_snowflake/outputs.py +11648 -3842
  44. pulumi_snowflake/password_policy.py +28 -28
  45. pulumi_snowflake/pipe.py +28 -4
  46. pulumi_snowflake/procedure.py +28 -4
  47. pulumi_snowflake/pulumi-plugin.json +1 -1
  48. pulumi_snowflake/resource_monitor.py +28 -48
  49. pulumi_snowflake/role.py +41 -36
  50. pulumi_snowflake/row_access_policy.py +28 -34
  51. pulumi_snowflake/saml2_integration.py +35 -15
  52. pulumi_snowflake/saml_integration.py +0 -34
  53. pulumi_snowflake/schema.py +39 -19
  54. pulumi_snowflake/scim_integration.py +35 -15
  55. pulumi_snowflake/secondary_database.py +35 -19
  56. pulumi_snowflake/sequence.py +4 -36
  57. pulumi_snowflake/session_parameter.py +0 -32
  58. pulumi_snowflake/share.py +28 -28
  59. pulumi_snowflake/shared_database.py +35 -15
  60. pulumi_snowflake/stage.py +28 -28
  61. pulumi_snowflake/storage_integration.py +28 -4
  62. pulumi_snowflake/stream.py +28 -4
  63. pulumi_snowflake/streamlit.py +36 -16
  64. pulumi_snowflake/table.py +28 -32
  65. pulumi_snowflake/table_column_masking_policy_application.py +2 -14
  66. pulumi_snowflake/table_constraint.py +0 -152
  67. pulumi_snowflake/tag.py +28 -40
  68. pulumi_snowflake/tag_association.py +0 -120
  69. pulumi_snowflake/tag_masking_policy_association.py +0 -4
  70. pulumi_snowflake/task.py +28 -92
  71. pulumi_snowflake/unsafe_execute.py +2 -20
  72. pulumi_snowflake/user.py +3341 -368
  73. pulumi_snowflake/user_password_policy_attachment.py +0 -46
  74. pulumi_snowflake/view.py +465 -185
  75. pulumi_snowflake/warehouse.py +35 -39
  76. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
  77. pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
  78. pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
  79. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
  80. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
@@ -128,7 +128,7 @@ class _SequenceState:
128
128
  Input properties used for looking up and filtering Sequence resources.
129
129
  :param pulumi.Input[str] comment: Specifies a comment for the sequence.
130
130
  :param pulumi.Input[str] database: The database in which to create the sequence. Don't use the | character.
131
- :param pulumi.Input[str] fully_qualified_name: The fully qualified name of the sequence.
131
+ :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).
132
132
  :param pulumi.Input[int] increment: The amount the sequence will increase by each time it is used
133
133
  :param pulumi.Input[str] name: Specifies the name for the sequence.
134
134
  :param pulumi.Input[int] next_value: The increment sequence interval.
@@ -180,7 +180,7 @@ class _SequenceState:
180
180
  @pulumi.getter(name="fullyQualifiedName")
181
181
  def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
182
182
  """
183
- The fully qualified name of the sequence.
183
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
184
184
  """
185
185
  return pulumi.get(self, "fully_qualified_name")
186
186
 
@@ -262,22 +262,6 @@ class Sequence(pulumi.CustomResource):
262
262
  schema: Optional[pulumi.Input[str]] = None,
263
263
  __props__=None):
264
264
  """
265
- ## Example Usage
266
-
267
- ```python
268
- import pulumi
269
- import pulumi_snowflake as snowflake
270
-
271
- test = snowflake.Database("test", name="things")
272
- test_schema = snowflake.Schema("test_schema",
273
- name="things",
274
- database=test.name)
275
- test_sequence = snowflake.Sequence("test_sequence",
276
- database=test.name,
277
- schema=test_schema.name,
278
- name="thing_counter")
279
- ```
280
-
281
265
  ## Import
282
266
 
283
267
  format is database name | schema name | sequence name
@@ -302,22 +286,6 @@ class Sequence(pulumi.CustomResource):
302
286
  args: SequenceArgs,
303
287
  opts: Optional[pulumi.ResourceOptions] = None):
304
288
  """
305
- ## Example Usage
306
-
307
- ```python
308
- import pulumi
309
- import pulumi_snowflake as snowflake
310
-
311
- test = snowflake.Database("test", name="things")
312
- test_schema = snowflake.Schema("test_schema",
313
- name="things",
314
- database=test.name)
315
- test_sequence = snowflake.Sequence("test_sequence",
316
- database=test.name,
317
- schema=test_schema.name,
318
- name="thing_counter")
319
- ```
320
-
321
289
  ## Import
322
290
 
323
291
  format is database name | schema name | sequence name
@@ -395,7 +363,7 @@ class Sequence(pulumi.CustomResource):
395
363
  :param pulumi.ResourceOptions opts: Options for the resource.
396
364
  :param pulumi.Input[str] comment: Specifies a comment for the sequence.
397
365
  :param pulumi.Input[str] database: The database in which to create the sequence. Don't use the | character.
398
- :param pulumi.Input[str] fully_qualified_name: The fully qualified name of the sequence.
366
+ :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).
399
367
  :param pulumi.Input[int] increment: The amount the sequence will increase by each time it is used
400
368
  :param pulumi.Input[str] name: Specifies the name for the sequence.
401
369
  :param pulumi.Input[int] next_value: The increment sequence interval.
@@ -436,7 +404,7 @@ class Sequence(pulumi.CustomResource):
436
404
  @pulumi.getter(name="fullyQualifiedName")
437
405
  def fully_qualified_name(self) -> pulumi.Output[str]:
438
406
  """
439
- The fully qualified name of the sequence.
407
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
440
408
  """
441
409
  return pulumi.get(self, "fully_qualified_name")
442
410
 
@@ -164,22 +164,6 @@ class SessionParameter(pulumi.CustomResource):
164
164
  value: Optional[pulumi.Input[str]] = None,
165
165
  __props__=None):
166
166
  """
167
- ## Example Usage
168
-
169
- ```python
170
- import pulumi
171
- import pulumi_snowflake as snowflake
172
-
173
- s = snowflake.SessionParameter("s",
174
- key="AUTOCOMMIT",
175
- value="false",
176
- user="TEST_USER")
177
- s2 = snowflake.SessionParameter("s2",
178
- key="BINARY_OUTPUT_FORMAT",
179
- value="BASE64",
180
- on_account=True)
181
- ```
182
-
183
167
  ## Import
184
168
 
185
169
  ```sh
@@ -200,22 +184,6 @@ class SessionParameter(pulumi.CustomResource):
200
184
  args: SessionParameterArgs,
201
185
  opts: Optional[pulumi.ResourceOptions] = None):
202
186
  """
203
- ## Example Usage
204
-
205
- ```python
206
- import pulumi
207
- import pulumi_snowflake as snowflake
208
-
209
- s = snowflake.SessionParameter("s",
210
- key="AUTOCOMMIT",
211
- value="false",
212
- user="TEST_USER")
213
- s2 = snowflake.SessionParameter("s2",
214
- key="BINARY_OUTPUT_FORMAT",
215
- value="BASE64",
216
- on_account=True)
217
- ```
218
-
219
187
  ## Import
220
188
 
221
189
  ```sh
pulumi_snowflake/share.py CHANGED
@@ -72,17 +72,21 @@ class _ShareState:
72
72
  def __init__(__self__, *,
73
73
  accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
74
74
  comment: Optional[pulumi.Input[str]] = None,
75
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
75
76
  name: Optional[pulumi.Input[str]] = None):
76
77
  """
77
78
  Input properties used for looking up and filtering Share resources.
78
79
  :param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
79
80
  :param pulumi.Input[str] comment: Specifies a comment for the managed account.
81
+ :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).
80
82
  :param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
81
83
  """
82
84
  if accounts is not None:
83
85
  pulumi.set(__self__, "accounts", accounts)
84
86
  if comment is not None:
85
87
  pulumi.set(__self__, "comment", comment)
88
+ if fully_qualified_name is not None:
89
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
86
90
  if name is not None:
87
91
  pulumi.set(__self__, "name", name)
88
92
 
@@ -110,6 +114,18 @@ class _ShareState:
110
114
  def comment(self, value: Optional[pulumi.Input[str]]):
111
115
  pulumi.set(self, "comment", value)
112
116
 
117
+ @property
118
+ @pulumi.getter(name="fullyQualifiedName")
119
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
120
+ """
121
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
122
+ """
123
+ return pulumi.get(self, "fully_qualified_name")
124
+
125
+ @fully_qualified_name.setter
126
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
127
+ pulumi.set(self, "fully_qualified_name", value)
128
+
113
129
  @property
114
130
  @pulumi.getter
115
131
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -133,20 +149,6 @@ class Share(pulumi.CustomResource):
133
149
  name: Optional[pulumi.Input[str]] = None,
134
150
  __props__=None):
135
151
  """
136
- ## Example Usage
137
-
138
- ```python
139
- import pulumi
140
- import pulumi_snowflake as snowflake
141
-
142
- test = snowflake.Share("test",
143
- name="share_name",
144
- comment="cool comment",
145
- accounts=["organizationName.accountName"])
146
- example = snowflake.Database("example", name="test",
147
- opts = pulumi.ResourceOptions(depends_on=[test]))
148
- ```
149
-
150
152
  ## Import
151
153
 
152
154
  ```sh
@@ -166,20 +168,6 @@ class Share(pulumi.CustomResource):
166
168
  args: Optional[ShareArgs] = None,
167
169
  opts: Optional[pulumi.ResourceOptions] = None):
168
170
  """
169
- ## Example Usage
170
-
171
- ```python
172
- import pulumi
173
- import pulumi_snowflake as snowflake
174
-
175
- test = snowflake.Share("test",
176
- name="share_name",
177
- comment="cool comment",
178
- accounts=["organizationName.accountName"])
179
- example = snowflake.Database("example", name="test",
180
- opts = pulumi.ResourceOptions(depends_on=[test]))
181
- ```
182
-
183
171
  ## Import
184
172
 
185
173
  ```sh
@@ -216,6 +204,7 @@ class Share(pulumi.CustomResource):
216
204
  __props__.__dict__["accounts"] = accounts
217
205
  __props__.__dict__["comment"] = comment
218
206
  __props__.__dict__["name"] = name
207
+ __props__.__dict__["fully_qualified_name"] = None
219
208
  super(Share, __self__).__init__(
220
209
  'snowflake:index/share:Share',
221
210
  resource_name,
@@ -228,6 +217,7 @@ class Share(pulumi.CustomResource):
228
217
  opts: Optional[pulumi.ResourceOptions] = None,
229
218
  accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
230
219
  comment: Optional[pulumi.Input[str]] = None,
220
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
231
221
  name: Optional[pulumi.Input[str]] = None) -> 'Share':
232
222
  """
233
223
  Get an existing Share resource's state with the given name, id, and optional extra
@@ -238,6 +228,7 @@ class Share(pulumi.CustomResource):
238
228
  :param pulumi.ResourceOptions opts: Options for the resource.
239
229
  :param pulumi.Input[Sequence[pulumi.Input[str]]] accounts: A list of accounts to be added to the share. Values should not be the account locator, but in the form of 'organization*name.account*name
240
230
  :param pulumi.Input[str] comment: Specifies a comment for the managed account.
231
+ :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).
241
232
  :param pulumi.Input[str] name: Specifies the identifier for the share; must be unique for the account in which the share is created.
242
233
  """
243
234
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -246,6 +237,7 @@ class Share(pulumi.CustomResource):
246
237
 
247
238
  __props__.__dict__["accounts"] = accounts
248
239
  __props__.__dict__["comment"] = comment
240
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
249
241
  __props__.__dict__["name"] = name
250
242
  return Share(resource_name, opts=opts, __props__=__props__)
251
243
 
@@ -265,6 +257,14 @@ class Share(pulumi.CustomResource):
265
257
  """
266
258
  return pulumi.get(self, "comment")
267
259
 
260
+ @property
261
+ @pulumi.getter(name="fullyQualifiedName")
262
+ def fully_qualified_name(self) -> pulumi.Output[str]:
263
+ """
264
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
265
+ """
266
+ return pulumi.get(self, "fully_qualified_name")
267
+
268
268
  @property
269
269
  @pulumi.getter
270
270
  def name(self) -> pulumi.Output[str]:
@@ -40,7 +40,7 @@ class SharedDatabaseArgs:
40
40
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
41
41
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
42
42
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
43
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
43
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
44
44
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
45
45
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
46
46
  :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
@@ -173,7 +173,7 @@ class SharedDatabaseArgs:
173
173
  @pulumi.getter
174
174
  def name(self) -> Optional[pulumi.Input[str]]:
175
175
  """
176
- Specifies the identifier for the database; must be unique for your account.
176
+ Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
177
177
  """
178
178
  return pulumi.get(self, "name")
179
179
 
@@ -299,6 +299,7 @@ class _SharedDatabaseState:
299
299
  enable_console_output: Optional[pulumi.Input[bool]] = None,
300
300
  external_volume: Optional[pulumi.Input[str]] = None,
301
301
  from_share: Optional[pulumi.Input[str]] = None,
302
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
302
303
  log_level: Optional[pulumi.Input[str]] = None,
303
304
  name: Optional[pulumi.Input[str]] = None,
304
305
  quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
@@ -318,8 +319,9 @@ class _SharedDatabaseState:
318
319
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
319
320
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
320
321
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
322
+ :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).
321
323
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
322
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
324
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
323
325
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
324
326
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
325
327
  :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
@@ -342,6 +344,8 @@ class _SharedDatabaseState:
342
344
  pulumi.set(__self__, "external_volume", external_volume)
343
345
  if from_share is not None:
344
346
  pulumi.set(__self__, "from_share", from_share)
347
+ if fully_qualified_name is not None:
348
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
345
349
  if log_level is not None:
346
350
  pulumi.set(__self__, "log_level", log_level)
347
351
  if name is not None:
@@ -437,6 +441,18 @@ class _SharedDatabaseState:
437
441
  def from_share(self, value: Optional[pulumi.Input[str]]):
438
442
  pulumi.set(self, "from_share", value)
439
443
 
444
+ @property
445
+ @pulumi.getter(name="fullyQualifiedName")
446
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
447
+ """
448
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
449
+ """
450
+ return pulumi.get(self, "fully_qualified_name")
451
+
452
+ @fully_qualified_name.setter
453
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
454
+ pulumi.set(self, "fully_qualified_name", value)
455
+
440
456
  @property
441
457
  @pulumi.getter(name="logLevel")
442
458
  def log_level(self) -> Optional[pulumi.Input[str]]:
@@ -453,7 +469,7 @@ class _SharedDatabaseState:
453
469
  @pulumi.getter
454
470
  def name(self) -> Optional[pulumi.Input[str]]:
455
471
  """
456
- Specifies the identifier for the database; must be unique for your account.
472
+ Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
457
473
  """
458
474
  return pulumi.get(self, "name")
459
475
 
@@ -594,10 +610,6 @@ class SharedDatabase(pulumi.CustomResource):
594
610
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
595
611
  __props__=None):
596
612
  """
597
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
598
-
599
- A shared database creates a database from a share provided by another Snowflake account. For more information about shares, see [Introduction to Secure Data Sharing](https://docs.snowflake.com/en/user-guide/data-sharing-intro).
600
-
601
613
  ## Import
602
614
 
603
615
  ```sh
@@ -613,7 +625,7 @@ class SharedDatabase(pulumi.CustomResource):
613
625
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
614
626
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
615
627
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
616
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
628
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
617
629
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
618
630
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
619
631
  :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
@@ -631,10 +643,6 @@ class SharedDatabase(pulumi.CustomResource):
631
643
  args: SharedDatabaseArgs,
632
644
  opts: Optional[pulumi.ResourceOptions] = None):
633
645
  """
634
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
635
-
636
- A shared database creates a database from a share provided by another Snowflake account. For more information about shares, see [Introduction to Secure Data Sharing](https://docs.snowflake.com/en/user-guide/data-sharing-intro).
637
-
638
646
  ## Import
639
647
 
640
648
  ```sh
@@ -701,6 +709,7 @@ class SharedDatabase(pulumi.CustomResource):
701
709
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
702
710
  __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
703
711
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
712
+ __props__.__dict__["fully_qualified_name"] = None
704
713
  super(SharedDatabase, __self__).__init__(
705
714
  'snowflake:index/sharedDatabase:SharedDatabase',
706
715
  resource_name,
@@ -717,6 +726,7 @@ class SharedDatabase(pulumi.CustomResource):
717
726
  enable_console_output: Optional[pulumi.Input[bool]] = None,
718
727
  external_volume: Optional[pulumi.Input[str]] = None,
719
728
  from_share: Optional[pulumi.Input[str]] = None,
729
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
720
730
  log_level: Optional[pulumi.Input[str]] = None,
721
731
  name: Optional[pulumi.Input[str]] = None,
722
732
  quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
@@ -741,8 +751,9 @@ class SharedDatabase(pulumi.CustomResource):
741
751
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
742
752
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
743
753
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
754
+ :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).
744
755
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
745
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
756
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
746
757
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
747
758
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
748
759
  :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
@@ -763,6 +774,7 @@ class SharedDatabase(pulumi.CustomResource):
763
774
  __props__.__dict__["enable_console_output"] = enable_console_output
764
775
  __props__.__dict__["external_volume"] = external_volume
765
776
  __props__.__dict__["from_share"] = from_share
777
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
766
778
  __props__.__dict__["log_level"] = log_level
767
779
  __props__.__dict__["name"] = name
768
780
  __props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
@@ -824,6 +836,14 @@ class SharedDatabase(pulumi.CustomResource):
824
836
  """
825
837
  return pulumi.get(self, "from_share")
826
838
 
839
+ @property
840
+ @pulumi.getter(name="fullyQualifiedName")
841
+ def fully_qualified_name(self) -> pulumi.Output[str]:
842
+ """
843
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
844
+ """
845
+ return pulumi.get(self, "fully_qualified_name")
846
+
827
847
  @property
828
848
  @pulumi.getter(name="logLevel")
829
849
  def log_level(self) -> pulumi.Output[str]:
@@ -836,7 +856,7 @@ class SharedDatabase(pulumi.CustomResource):
836
856
  @pulumi.getter
837
857
  def name(self) -> pulumi.Output[str]:
838
858
  """
839
- Specifies the identifier for the database; must be unique for your account.
859
+ Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
840
860
  """
841
861
  return pulumi.get(self, "name")
842
862
 
pulumi_snowflake/stage.py CHANGED
@@ -258,6 +258,7 @@ class _StageState:
258
258
  directory: Optional[pulumi.Input[str]] = None,
259
259
  encryption: Optional[pulumi.Input[str]] = None,
260
260
  file_format: Optional[pulumi.Input[str]] = None,
261
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
261
262
  name: Optional[pulumi.Input[str]] = None,
262
263
  schema: Optional[pulumi.Input[str]] = None,
263
264
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
@@ -274,6 +275,7 @@ class _StageState:
274
275
  :param pulumi.Input[str] directory: Specifies the directory settings for the stage.
275
276
  :param pulumi.Input[str] encryption: Specifies the encryption settings for the stage.
276
277
  :param pulumi.Input[str] file_format: Specifies the file format for the stage.
278
+ :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).
277
279
  :param pulumi.Input[str] name: Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
278
280
  :param pulumi.Input[str] schema: The schema in which to create the stage.
279
281
  :param pulumi.Input[str] snowflake_iam_user: An AWS IAM user created for your Snowflake account. This user is the same for every external S3 stage created in your account.
@@ -297,6 +299,8 @@ class _StageState:
297
299
  pulumi.set(__self__, "encryption", encryption)
298
300
  if file_format is not None:
299
301
  pulumi.set(__self__, "file_format", file_format)
302
+ if fully_qualified_name is not None:
303
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
300
304
  if name is not None:
301
305
  pulumi.set(__self__, "name", name)
302
306
  if schema is not None:
@@ -409,6 +413,18 @@ class _StageState:
409
413
  def file_format(self, value: Optional[pulumi.Input[str]]):
410
414
  pulumi.set(self, "file_format", value)
411
415
 
416
+ @property
417
+ @pulumi.getter(name="fullyQualifiedName")
418
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
419
+ """
420
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
421
+ """
422
+ return pulumi.get(self, "fully_qualified_name")
423
+
424
+ @fully_qualified_name.setter
425
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
426
+ pulumi.set(self, "fully_qualified_name", value)
427
+
412
428
  @property
413
429
  @pulumi.getter
414
430
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -504,20 +520,6 @@ class Stage(pulumi.CustomResource):
504
520
  url: Optional[pulumi.Input[str]] = None,
505
521
  __props__=None):
506
522
  """
507
- ## Example Usage
508
-
509
- ```python
510
- import pulumi
511
- import pulumi_snowflake as snowflake
512
-
513
- example_stage = snowflake.Stage("example_stage",
514
- name="EXAMPLE_STAGE",
515
- url="s3://com.example.bucket/prefix",
516
- database="EXAMPLE_DB",
517
- schema="EXAMPLE_SCHEMA",
518
- credentials=f"AWS_KEY_ID='{example_aws_key_id}' AWS_SECRET_KEY='{example_aws_secret_key}'")
519
- ```
520
-
521
523
  ## Import
522
524
 
523
525
  format is database name | schema name | stage name
@@ -550,20 +552,6 @@ class Stage(pulumi.CustomResource):
550
552
  args: StageArgs,
551
553
  opts: Optional[pulumi.ResourceOptions] = None):
552
554
  """
553
- ## Example Usage
554
-
555
- ```python
556
- import pulumi
557
- import pulumi_snowflake as snowflake
558
-
559
- example_stage = snowflake.Stage("example_stage",
560
- name="EXAMPLE_STAGE",
561
- url="s3://com.example.bucket/prefix",
562
- database="EXAMPLE_DB",
563
- schema="EXAMPLE_SCHEMA",
564
- credentials=f"AWS_KEY_ID='{example_aws_key_id}' AWS_SECRET_KEY='{example_aws_secret_key}'")
565
- ```
566
-
567
555
  ## Import
568
556
 
569
557
  format is database name | schema name | stage name
@@ -628,6 +616,7 @@ class Stage(pulumi.CustomResource):
628
616
  __props__.__dict__["storage_integration"] = storage_integration
629
617
  __props__.__dict__["tags"] = tags
630
618
  __props__.__dict__["url"] = url
619
+ __props__.__dict__["fully_qualified_name"] = None
631
620
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"])
632
621
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
633
622
  super(Stage, __self__).__init__(
@@ -648,6 +637,7 @@ class Stage(pulumi.CustomResource):
648
637
  directory: Optional[pulumi.Input[str]] = None,
649
638
  encryption: Optional[pulumi.Input[str]] = None,
650
639
  file_format: Optional[pulumi.Input[str]] = None,
640
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
651
641
  name: Optional[pulumi.Input[str]] = None,
652
642
  schema: Optional[pulumi.Input[str]] = None,
653
643
  snowflake_iam_user: Optional[pulumi.Input[str]] = None,
@@ -669,6 +659,7 @@ class Stage(pulumi.CustomResource):
669
659
  :param pulumi.Input[str] directory: Specifies the directory settings for the stage.
670
660
  :param pulumi.Input[str] encryption: Specifies the encryption settings for the stage.
671
661
  :param pulumi.Input[str] file_format: Specifies the file format for the stage.
662
+ :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).
672
663
  :param pulumi.Input[str] name: Specifies the identifier for the stage; must be unique for the database and schema in which the stage is created.
673
664
  :param pulumi.Input[str] schema: The schema in which to create the stage.
674
665
  :param pulumi.Input[str] snowflake_iam_user: An AWS IAM user created for your Snowflake account. This user is the same for every external S3 stage created in your account.
@@ -688,6 +679,7 @@ class Stage(pulumi.CustomResource):
688
679
  __props__.__dict__["directory"] = directory
689
680
  __props__.__dict__["encryption"] = encryption
690
681
  __props__.__dict__["file_format"] = file_format
682
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
691
683
  __props__.__dict__["name"] = name
692
684
  __props__.__dict__["schema"] = schema
693
685
  __props__.__dict__["snowflake_iam_user"] = snowflake_iam_user
@@ -760,6 +752,14 @@ class Stage(pulumi.CustomResource):
760
752
  """
761
753
  return pulumi.get(self, "file_format")
762
754
 
755
+ @property
756
+ @pulumi.getter(name="fullyQualifiedName")
757
+ def fully_qualified_name(self) -> pulumi.Output[str]:
758
+ """
759
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
760
+ """
761
+ return pulumi.get(self, "fully_qualified_name")
762
+
763
763
  @property
764
764
  @pulumi.getter
765
765
  def name(self) -> pulumi.Output[str]: