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
@@ -182,11 +182,11 @@ class _MaskingPolicyState:
182
182
  comment: Optional[pulumi.Input[str]] = None,
183
183
  database: Optional[pulumi.Input[str]] = None,
184
184
  exempt_other_policies: Optional[pulumi.Input[bool]] = None,
185
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
185
186
  if_not_exists: Optional[pulumi.Input[bool]] = None,
186
187
  masking_expression: Optional[pulumi.Input[str]] = None,
187
188
  name: Optional[pulumi.Input[str]] = None,
188
189
  or_replace: Optional[pulumi.Input[bool]] = None,
189
- qualified_name: Optional[pulumi.Input[str]] = None,
190
190
  return_data_type: Optional[pulumi.Input[str]] = None,
191
191
  schema: Optional[pulumi.Input[str]] = None,
192
192
  signature: Optional[pulumi.Input['MaskingPolicySignatureArgs']] = None):
@@ -195,11 +195,11 @@ class _MaskingPolicyState:
195
195
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
196
196
  :param pulumi.Input[str] database: The database in which to create the masking policy.
197
197
  :param pulumi.Input[bool] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy.
198
+ :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).
198
199
  :param pulumi.Input[bool] if_not_exists: Prevent overwriting a previous masking policy with the same name.
199
200
  :param pulumi.Input[str] masking_expression: Specifies the SQL expression that transforms the data.
200
201
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
201
202
  :param pulumi.Input[bool] or_replace: Whether to override a previous masking policy with the same name.
202
- :param pulumi.Input[str] qualified_name: Specifies the qualified identifier for the masking policy.
203
203
  :param pulumi.Input[str] return_data_type: Specifies the data type to return.
204
204
  :param pulumi.Input[str] schema: The schema in which to create the masking policy.
205
205
  :param pulumi.Input['MaskingPolicySignatureArgs'] signature: The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
@@ -210,6 +210,8 @@ class _MaskingPolicyState:
210
210
  pulumi.set(__self__, "database", database)
211
211
  if exempt_other_policies is not None:
212
212
  pulumi.set(__self__, "exempt_other_policies", exempt_other_policies)
213
+ if fully_qualified_name is not None:
214
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
213
215
  if if_not_exists is not None:
214
216
  pulumi.set(__self__, "if_not_exists", if_not_exists)
215
217
  if masking_expression is not None:
@@ -218,8 +220,6 @@ class _MaskingPolicyState:
218
220
  pulumi.set(__self__, "name", name)
219
221
  if or_replace is not None:
220
222
  pulumi.set(__self__, "or_replace", or_replace)
221
- if qualified_name is not None:
222
- pulumi.set(__self__, "qualified_name", qualified_name)
223
223
  if return_data_type is not None:
224
224
  pulumi.set(__self__, "return_data_type", return_data_type)
225
225
  if schema is not None:
@@ -263,6 +263,18 @@ class _MaskingPolicyState:
263
263
  def exempt_other_policies(self, value: Optional[pulumi.Input[bool]]):
264
264
  pulumi.set(self, "exempt_other_policies", value)
265
265
 
266
+ @property
267
+ @pulumi.getter(name="fullyQualifiedName")
268
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
271
+ """
272
+ return pulumi.get(self, "fully_qualified_name")
273
+
274
+ @fully_qualified_name.setter
275
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
276
+ pulumi.set(self, "fully_qualified_name", value)
277
+
266
278
  @property
267
279
  @pulumi.getter(name="ifNotExists")
268
280
  def if_not_exists(self) -> Optional[pulumi.Input[bool]]:
@@ -311,18 +323,6 @@ class _MaskingPolicyState:
311
323
  def or_replace(self, value: Optional[pulumi.Input[bool]]):
312
324
  pulumi.set(self, "or_replace", value)
313
325
 
314
- @property
315
- @pulumi.getter(name="qualifiedName")
316
- def qualified_name(self) -> Optional[pulumi.Input[str]]:
317
- """
318
- Specifies the qualified identifier for the masking policy.
319
- """
320
- return pulumi.get(self, "qualified_name")
321
-
322
- @qualified_name.setter
323
- def qualified_name(self, value: Optional[pulumi.Input[str]]):
324
- pulumi.set(self, "qualified_name", value)
325
-
326
326
  @property
327
327
  @pulumi.getter(name="returnDataType")
328
328
  def return_data_type(self) -> Optional[pulumi.Input[str]]:
@@ -377,34 +377,6 @@ class MaskingPolicy(pulumi.CustomResource):
377
377
  signature: Optional[pulumi.Input[Union['MaskingPolicySignatureArgs', 'MaskingPolicySignatureArgsDict']]] = None,
378
378
  __props__=None):
379
379
  """
380
- ## Example Usage
381
-
382
- ```python
383
- import pulumi
384
- import pulumi_snowflake as snowflake
385
-
386
- test = snowflake.MaskingPolicy("test",
387
- name="EXAMPLE_MASKING_POLICY",
388
- database="EXAMPLE_DB",
389
- schema="EXAMPLE_SCHEMA",
390
- signature={
391
- "columns": [{
392
- "name": "val",
393
- "type": "VARCHAR",
394
- }],
395
- },
396
- masking_expression=\"\"\"case
397
- when current_role() in ('ROLE_A') then
398
- val
399
- when is_role_in_session( 'ROLE_B' ) then
400
- 'ABC123'
401
- else
402
- '******'
403
- end
404
- \"\"\",
405
- return_data_type="VARCHAR")
406
- ```
407
-
408
380
  ## Import
409
381
 
410
382
  format is database name | schema name | policy name
@@ -433,34 +405,6 @@ class MaskingPolicy(pulumi.CustomResource):
433
405
  args: MaskingPolicyArgs,
434
406
  opts: Optional[pulumi.ResourceOptions] = None):
435
407
  """
436
- ## Example Usage
437
-
438
- ```python
439
- import pulumi
440
- import pulumi_snowflake as snowflake
441
-
442
- test = snowflake.MaskingPolicy("test",
443
- name="EXAMPLE_MASKING_POLICY",
444
- database="EXAMPLE_DB",
445
- schema="EXAMPLE_SCHEMA",
446
- signature={
447
- "columns": [{
448
- "name": "val",
449
- "type": "VARCHAR",
450
- }],
451
- },
452
- masking_expression=\"\"\"case
453
- when current_role() in ('ROLE_A') then
454
- val
455
- when is_role_in_session( 'ROLE_B' ) then
456
- 'ABC123'
457
- else
458
- '******'
459
- end
460
- \"\"\",
461
- return_data_type="VARCHAR")
462
- ```
463
-
464
408
  ## Import
465
409
 
466
410
  format is database name | schema name | policy name
@@ -523,7 +467,7 @@ class MaskingPolicy(pulumi.CustomResource):
523
467
  if signature is None and not opts.urn:
524
468
  raise TypeError("Missing required property 'signature'")
525
469
  __props__.__dict__["signature"] = signature
526
- __props__.__dict__["qualified_name"] = None
470
+ __props__.__dict__["fully_qualified_name"] = None
527
471
  super(MaskingPolicy, __self__).__init__(
528
472
  'snowflake:index/maskingPolicy:MaskingPolicy',
529
473
  resource_name,
@@ -537,11 +481,11 @@ class MaskingPolicy(pulumi.CustomResource):
537
481
  comment: Optional[pulumi.Input[str]] = None,
538
482
  database: Optional[pulumi.Input[str]] = None,
539
483
  exempt_other_policies: Optional[pulumi.Input[bool]] = None,
484
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
540
485
  if_not_exists: Optional[pulumi.Input[bool]] = None,
541
486
  masking_expression: Optional[pulumi.Input[str]] = None,
542
487
  name: Optional[pulumi.Input[str]] = None,
543
488
  or_replace: Optional[pulumi.Input[bool]] = None,
544
- qualified_name: Optional[pulumi.Input[str]] = None,
545
489
  return_data_type: Optional[pulumi.Input[str]] = None,
546
490
  schema: Optional[pulumi.Input[str]] = None,
547
491
  signature: Optional[pulumi.Input[Union['MaskingPolicySignatureArgs', 'MaskingPolicySignatureArgsDict']]] = None) -> 'MaskingPolicy':
@@ -555,11 +499,11 @@ class MaskingPolicy(pulumi.CustomResource):
555
499
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
556
500
  :param pulumi.Input[str] database: The database in which to create the masking policy.
557
501
  :param pulumi.Input[bool] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy.
502
+ :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).
558
503
  :param pulumi.Input[bool] if_not_exists: Prevent overwriting a previous masking policy with the same name.
559
504
  :param pulumi.Input[str] masking_expression: Specifies the SQL expression that transforms the data.
560
505
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
561
506
  :param pulumi.Input[bool] or_replace: Whether to override a previous masking policy with the same name.
562
- :param pulumi.Input[str] qualified_name: Specifies the qualified identifier for the masking policy.
563
507
  :param pulumi.Input[str] return_data_type: Specifies the data type to return.
564
508
  :param pulumi.Input[str] schema: The schema in which to create the masking policy.
565
509
  :param pulumi.Input[Union['MaskingPolicySignatureArgs', 'MaskingPolicySignatureArgsDict']] signature: The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
@@ -571,11 +515,11 @@ class MaskingPolicy(pulumi.CustomResource):
571
515
  __props__.__dict__["comment"] = comment
572
516
  __props__.__dict__["database"] = database
573
517
  __props__.__dict__["exempt_other_policies"] = exempt_other_policies
518
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
574
519
  __props__.__dict__["if_not_exists"] = if_not_exists
575
520
  __props__.__dict__["masking_expression"] = masking_expression
576
521
  __props__.__dict__["name"] = name
577
522
  __props__.__dict__["or_replace"] = or_replace
578
- __props__.__dict__["qualified_name"] = qualified_name
579
523
  __props__.__dict__["return_data_type"] = return_data_type
580
524
  __props__.__dict__["schema"] = schema
581
525
  __props__.__dict__["signature"] = signature
@@ -605,6 +549,14 @@ class MaskingPolicy(pulumi.CustomResource):
605
549
  """
606
550
  return pulumi.get(self, "exempt_other_policies")
607
551
 
552
+ @property
553
+ @pulumi.getter(name="fullyQualifiedName")
554
+ def fully_qualified_name(self) -> pulumi.Output[str]:
555
+ """
556
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
557
+ """
558
+ return pulumi.get(self, "fully_qualified_name")
559
+
608
560
  @property
609
561
  @pulumi.getter(name="ifNotExists")
610
562
  def if_not_exists(self) -> pulumi.Output[Optional[bool]]:
@@ -637,14 +589,6 @@ class MaskingPolicy(pulumi.CustomResource):
637
589
  """
638
590
  return pulumi.get(self, "or_replace")
639
591
 
640
- @property
641
- @pulumi.getter(name="qualifiedName")
642
- def qualified_name(self) -> pulumi.Output[str]:
643
- """
644
- Specifies the qualified identifier for the masking policy.
645
- """
646
- return pulumi.get(self, "qualified_name")
647
-
648
592
  @property
649
593
  @pulumi.getter(name="returnDataType")
650
594
  def return_data_type(self) -> pulumi.Output[str]:
@@ -170,6 +170,7 @@ class _MaterializedViewState:
170
170
  def __init__(__self__, *,
171
171
  comment: Optional[pulumi.Input[str]] = None,
172
172
  database: Optional[pulumi.Input[str]] = None,
173
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
173
174
  is_secure: Optional[pulumi.Input[bool]] = None,
174
175
  name: Optional[pulumi.Input[str]] = None,
175
176
  or_replace: Optional[pulumi.Input[bool]] = None,
@@ -181,6 +182,7 @@ class _MaterializedViewState:
181
182
  Input properties used for looking up and filtering MaterializedView resources.
182
183
  :param pulumi.Input[str] comment: Specifies a comment for the view.
183
184
  :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
185
+ :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).
184
186
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
185
187
  :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
186
188
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
@@ -193,6 +195,8 @@ class _MaterializedViewState:
193
195
  pulumi.set(__self__, "comment", comment)
194
196
  if database is not None:
195
197
  pulumi.set(__self__, "database", database)
198
+ if fully_qualified_name is not None:
199
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
196
200
  if is_secure is not None:
197
201
  pulumi.set(__self__, "is_secure", is_secure)
198
202
  if name is not None:
@@ -235,6 +239,18 @@ class _MaterializedViewState:
235
239
  def database(self, value: Optional[pulumi.Input[str]]):
236
240
  pulumi.set(self, "database", value)
237
241
 
242
+ @property
243
+ @pulumi.getter(name="fullyQualifiedName")
244
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
245
+ """
246
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
247
+ """
248
+ return pulumi.get(self, "fully_qualified_name")
249
+
250
+ @fully_qualified_name.setter
251
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
252
+ pulumi.set(self, "fully_qualified_name", value)
253
+
238
254
  @property
239
255
  @pulumi.getter(name="isSecure")
240
256
  def is_secure(self) -> Optional[pulumi.Input[bool]]:
@@ -337,23 +353,6 @@ class MaterializedView(pulumi.CustomResource):
337
353
  warehouse: Optional[pulumi.Input[str]] = None,
338
354
  __props__=None):
339
355
  """
340
- ## Example Usage
341
-
342
- ```python
343
- import pulumi
344
- import pulumi_snowflake as snowflake
345
-
346
- view = snowflake.MaterializedView("view",
347
- database="db",
348
- schema="schema",
349
- name="view",
350
- warehouse="warehouse",
351
- comment="comment",
352
- statement="select * from foo;\\n",
353
- or_replace=False,
354
- is_secure=False)
355
- ```
356
-
357
356
  ## Import
358
357
 
359
358
  format is database name | schema name | view name
@@ -381,23 +380,6 @@ class MaterializedView(pulumi.CustomResource):
381
380
  args: MaterializedViewArgs,
382
381
  opts: Optional[pulumi.ResourceOptions] = None):
383
382
  """
384
- ## Example Usage
385
-
386
- ```python
387
- import pulumi
388
- import pulumi_snowflake as snowflake
389
-
390
- view = snowflake.MaterializedView("view",
391
- database="db",
392
- schema="schema",
393
- name="view",
394
- warehouse="warehouse",
395
- comment="comment",
396
- statement="select * from foo;\\n",
397
- or_replace=False,
398
- is_secure=False)
399
- ```
400
-
401
383
  ## Import
402
384
 
403
385
  format is database name | schema name | view name
@@ -456,6 +438,7 @@ class MaterializedView(pulumi.CustomResource):
456
438
  if warehouse is None and not opts.urn:
457
439
  raise TypeError("Missing required property 'warehouse'")
458
440
  __props__.__dict__["warehouse"] = warehouse
441
+ __props__.__dict__["fully_qualified_name"] = None
459
442
  super(MaterializedView, __self__).__init__(
460
443
  'snowflake:index/materializedView:MaterializedView',
461
444
  resource_name,
@@ -468,6 +451,7 @@ class MaterializedView(pulumi.CustomResource):
468
451
  opts: Optional[pulumi.ResourceOptions] = None,
469
452
  comment: Optional[pulumi.Input[str]] = None,
470
453
  database: Optional[pulumi.Input[str]] = None,
454
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
471
455
  is_secure: Optional[pulumi.Input[bool]] = None,
472
456
  name: Optional[pulumi.Input[str]] = None,
473
457
  or_replace: Optional[pulumi.Input[bool]] = None,
@@ -484,6 +468,7 @@ class MaterializedView(pulumi.CustomResource):
484
468
  :param pulumi.ResourceOptions opts: Options for the resource.
485
469
  :param pulumi.Input[str] comment: Specifies a comment for the view.
486
470
  :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
471
+ :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).
487
472
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
488
473
  :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
489
474
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
@@ -498,6 +483,7 @@ class MaterializedView(pulumi.CustomResource):
498
483
 
499
484
  __props__.__dict__["comment"] = comment
500
485
  __props__.__dict__["database"] = database
486
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
501
487
  __props__.__dict__["is_secure"] = is_secure
502
488
  __props__.__dict__["name"] = name
503
489
  __props__.__dict__["or_replace"] = or_replace
@@ -523,6 +509,14 @@ class MaterializedView(pulumi.CustomResource):
523
509
  """
524
510
  return pulumi.get(self, "database")
525
511
 
512
+ @property
513
+ @pulumi.getter(name="fullyQualifiedName")
514
+ def fully_qualified_name(self) -> pulumi.Output[str]:
515
+ """
516
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
517
+ """
518
+ return pulumi.get(self, "fully_qualified_name")
519
+
526
520
  @property
527
521
  @pulumi.getter(name="isSecure")
528
522
  def is_secure(self) -> pulumi.Output[Optional[bool]]:
@@ -29,7 +29,7 @@ class NetworkPolicyArgs:
29
29
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_ip_lists: Specifies one or more IPv4 addresses (CIDR notation) that are denied access to your Snowflake account. **Do not** add `0.0.0.0/0` to `blocked_ip_list`, in order to block all IP addresses except a select list, you only need to add IP addresses to `allowed_ip_list`.
30
30
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_network_rule_lists: Specifies a list of fully qualified network rules that contain the network identifiers that are denied access to Snowflake.
31
31
  :param pulumi.Input[str] comment: Specifies a comment for the network policy.
32
- :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
32
+ :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
33
33
  """
34
34
  if allowed_ip_lists is not None:
35
35
  pulumi.set(__self__, "allowed_ip_lists", allowed_ip_lists)
@@ -108,7 +108,7 @@ class NetworkPolicyArgs:
108
108
  @pulumi.getter
109
109
  def name(self) -> Optional[pulumi.Input[str]]:
110
110
  """
111
- Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
111
+ Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
112
112
  """
113
113
  return pulumi.get(self, "name")
114
114
 
@@ -126,6 +126,7 @@ class _NetworkPolicyState:
126
126
  blocked_network_rule_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
127
127
  comment: Optional[pulumi.Input[str]] = None,
128
128
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyDescribeOutputArgs']]]] = None,
129
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
129
130
  name: Optional[pulumi.Input[str]] = None,
130
131
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyShowOutputArgs']]]] = None):
131
132
  """
@@ -136,7 +137,8 @@ class _NetworkPolicyState:
136
137
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_network_rule_lists: Specifies a list of fully qualified network rules that contain the network identifiers that are denied access to Snowflake.
137
138
  :param pulumi.Input[str] comment: Specifies a comment for the network policy.
138
139
  :param pulumi.Input[Sequence[pulumi.Input['NetworkPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE NETWORK POLICY` for the given network policy.
139
- :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
140
+ :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).
141
+ :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
140
142
  :param pulumi.Input[Sequence[pulumi.Input['NetworkPolicyShowOutputArgs']]] show_outputs: Outputs the result of `SHOW NETWORK POLICIES` for the given network policy.
141
143
  """
142
144
  if allowed_ip_lists is not None:
@@ -151,6 +153,8 @@ class _NetworkPolicyState:
151
153
  pulumi.set(__self__, "comment", comment)
152
154
  if describe_outputs is not None:
153
155
  pulumi.set(__self__, "describe_outputs", describe_outputs)
156
+ if fully_qualified_name is not None:
157
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
154
158
  if name is not None:
155
159
  pulumi.set(__self__, "name", name)
156
160
  if show_outputs is not None:
@@ -228,11 +232,23 @@ class _NetworkPolicyState:
228
232
  def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkPolicyDescribeOutputArgs']]]]):
229
233
  pulumi.set(self, "describe_outputs", value)
230
234
 
235
+ @property
236
+ @pulumi.getter(name="fullyQualifiedName")
237
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
238
+ """
239
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
240
+ """
241
+ return pulumi.get(self, "fully_qualified_name")
242
+
243
+ @fully_qualified_name.setter
244
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "fully_qualified_name", value)
246
+
231
247
  @property
232
248
  @pulumi.getter
233
249
  def name(self) -> Optional[pulumi.Input[str]]:
234
250
  """
235
- Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
251
+ Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
236
252
  """
237
253
  return pulumi.get(self, "name")
238
254
 
@@ -266,10 +282,6 @@ class NetworkPolicy(pulumi.CustomResource):
266
282
  name: Optional[pulumi.Input[str]] = None,
267
283
  __props__=None):
268
284
  """
269
- !> **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.
270
-
271
- Resource used to control network traffic. For more information, check an [official guide](https://docs.snowflake.com/en/user-guide/network-policies) on controlling network traffic with network policies.
272
-
273
285
  ## Import
274
286
 
275
287
  ```sh
@@ -283,7 +295,7 @@ class NetworkPolicy(pulumi.CustomResource):
283
295
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_ip_lists: Specifies one or more IPv4 addresses (CIDR notation) that are denied access to your Snowflake account. **Do not** add `0.0.0.0/0` to `blocked_ip_list`, in order to block all IP addresses except a select list, you only need to add IP addresses to `allowed_ip_list`.
284
296
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_network_rule_lists: Specifies a list of fully qualified network rules that contain the network identifiers that are denied access to Snowflake.
285
297
  :param pulumi.Input[str] comment: Specifies a comment for the network policy.
286
- :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
298
+ :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
287
299
  """
288
300
  ...
289
301
  @overload
@@ -292,10 +304,6 @@ class NetworkPolicy(pulumi.CustomResource):
292
304
  args: Optional[NetworkPolicyArgs] = None,
293
305
  opts: Optional[pulumi.ResourceOptions] = None):
294
306
  """
295
- !> **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.
296
-
297
- Resource used to control network traffic. For more information, check an [official guide](https://docs.snowflake.com/en/user-guide/network-policies) on controlling network traffic with network policies.
298
-
299
307
  ## Import
300
308
 
301
309
  ```sh
@@ -339,6 +347,7 @@ class NetworkPolicy(pulumi.CustomResource):
339
347
  __props__.__dict__["comment"] = comment
340
348
  __props__.__dict__["name"] = name
341
349
  __props__.__dict__["describe_outputs"] = None
350
+ __props__.__dict__["fully_qualified_name"] = None
342
351
  __props__.__dict__["show_outputs"] = None
343
352
  super(NetworkPolicy, __self__).__init__(
344
353
  'snowflake:index/networkPolicy:NetworkPolicy',
@@ -356,6 +365,7 @@ class NetworkPolicy(pulumi.CustomResource):
356
365
  blocked_network_rule_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
357
366
  comment: Optional[pulumi.Input[str]] = None,
358
367
  describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkPolicyDescribeOutputArgs', 'NetworkPolicyDescribeOutputArgsDict']]]]] = None,
368
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
359
369
  name: Optional[pulumi.Input[str]] = None,
360
370
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkPolicyShowOutputArgs', 'NetworkPolicyShowOutputArgsDict']]]]] = None) -> 'NetworkPolicy':
361
371
  """
@@ -371,7 +381,8 @@ class NetworkPolicy(pulumi.CustomResource):
371
381
  :param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_network_rule_lists: Specifies a list of fully qualified network rules that contain the network identifiers that are denied access to Snowflake.
372
382
  :param pulumi.Input[str] comment: Specifies a comment for the network policy.
373
383
  :param pulumi.Input[Sequence[pulumi.Input[Union['NetworkPolicyDescribeOutputArgs', 'NetworkPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE NETWORK POLICY` for the given network policy.
374
- :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
384
+ :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).
385
+ :param pulumi.Input[str] name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
375
386
  :param pulumi.Input[Sequence[pulumi.Input[Union['NetworkPolicyShowOutputArgs', 'NetworkPolicyShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW NETWORK POLICIES` for the given network policy.
376
387
  """
377
388
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -384,6 +395,7 @@ class NetworkPolicy(pulumi.CustomResource):
384
395
  __props__.__dict__["blocked_network_rule_lists"] = blocked_network_rule_lists
385
396
  __props__.__dict__["comment"] = comment
386
397
  __props__.__dict__["describe_outputs"] = describe_outputs
398
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
387
399
  __props__.__dict__["name"] = name
388
400
  __props__.__dict__["show_outputs"] = show_outputs
389
401
  return NetworkPolicy(resource_name, opts=opts, __props__=__props__)
@@ -436,11 +448,19 @@ class NetworkPolicy(pulumi.CustomResource):
436
448
  """
437
449
  return pulumi.get(self, "describe_outputs")
438
450
 
451
+ @property
452
+ @pulumi.getter(name="fullyQualifiedName")
453
+ def fully_qualified_name(self) -> pulumi.Output[str]:
454
+ """
455
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
456
+ """
457
+ return pulumi.get(self, "fully_qualified_name")
458
+
439
459
  @property
440
460
  @pulumi.getter
441
461
  def name(self) -> pulumi.Output[str]:
442
462
  """
443
- Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
463
+ Specifies the identifier for the network policy; must be unique for the account in which the network policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
444
464
  """
445
465
  return pulumi.get(self, "name")
446
466
 
@@ -132,21 +132,6 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
132
132
  users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
133
133
  __props__=None):
134
134
  """
135
- ## Example Usage
136
-
137
- ```python
138
- import pulumi
139
- import pulumi_snowflake as snowflake
140
-
141
- attach = snowflake.NetworkPolicyAttachment("attach",
142
- network_policy_name="policy",
143
- set_for_account=False,
144
- users=[
145
- "user1",
146
- "user2",
147
- ])
148
- ```
149
-
150
135
  ## Import
151
136
 
152
137
  ```sh
@@ -166,21 +151,6 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
166
151
  args: NetworkPolicyAttachmentArgs,
167
152
  opts: Optional[pulumi.ResourceOptions] = None):
168
153
  """
169
- ## Example Usage
170
-
171
- ```python
172
- import pulumi
173
- import pulumi_snowflake as snowflake
174
-
175
- attach = snowflake.NetworkPolicyAttachment("attach",
176
- network_policy_name="policy",
177
- set_for_account=False,
178
- users=[
179
- "user1",
180
- "user2",
181
- ])
182
- ```
183
-
184
154
  ## Import
185
155
 
186
156
  ```sh