pulumi-snowflake 0.61.0a1731393894__py3-none-any.whl → 0.61.1__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 (39) hide show
  1. pulumi_snowflake/__init__.py +110 -0
  2. pulumi_snowflake/_inputs.py +5182 -1837
  3. pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
  4. pulumi_snowflake/authentication_policy.py +622 -0
  5. pulumi_snowflake/config/__init__.pyi +86 -36
  6. pulumi_snowflake/config/vars.py +104 -40
  7. pulumi_snowflake/external_volume.py +378 -0
  8. pulumi_snowflake/get_connections.py +147 -0
  9. pulumi_snowflake/get_grants.py +4 -0
  10. pulumi_snowflake/get_secrets.py +204 -0
  11. pulumi_snowflake/get_streams.py +105 -56
  12. pulumi_snowflake/grant_account_role.py +2 -2
  13. pulumi_snowflake/grant_application_role.py +2 -2
  14. pulumi_snowflake/grant_database_role.py +2 -2
  15. pulumi_snowflake/grant_ownership.py +14 -14
  16. pulumi_snowflake/grant_privileges_to_account_role.py +8 -8
  17. pulumi_snowflake/grant_privileges_to_database_role.py +8 -8
  18. pulumi_snowflake/grant_privileges_to_share.py +2 -2
  19. pulumi_snowflake/legacy_service_user.py +4 -0
  20. pulumi_snowflake/outputs.py +4390 -1335
  21. pulumi_snowflake/primary_connection.py +330 -0
  22. pulumi_snowflake/provider.py +433 -146
  23. pulumi_snowflake/pulumi-plugin.json +1 -1
  24. pulumi_snowflake/secondary_connection.py +339 -0
  25. pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
  26. pulumi_snowflake/secret_with_basic_authentication.py +500 -0
  27. pulumi_snowflake/secret_with_client_credentials.py +511 -0
  28. pulumi_snowflake/secret_with_generic_string.py +452 -0
  29. pulumi_snowflake/stream_on_directory_table.py +530 -0
  30. pulumi_snowflake/stream_on_external_table.py +50 -2
  31. pulumi_snowflake/stream_on_table.py +48 -0
  32. pulumi_snowflake/stream_on_view.py +679 -0
  33. pulumi_snowflake/tag_association.py +7 -7
  34. pulumi_snowflake/user.py +4 -0
  35. pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
  36. {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/METADATA +1 -1
  37. {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/RECORD +39 -25
  38. {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/WHEEL +1 -1
  39. {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/top_level.txt +0 -0
@@ -186,6 +186,8 @@ class _StreamOnTableState:
186
186
  schema: Optional[pulumi.Input[str]] = None,
187
187
  show_initial_rows: Optional[pulumi.Input[str]] = None,
188
188
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnTableShowOutputArgs']]]] = None,
189
+ stale: Optional[pulumi.Input[bool]] = None,
190
+ stream_type: Optional[pulumi.Input[str]] = None,
189
191
  table: Optional[pulumi.Input[str]] = None):
190
192
  """
191
193
  Input properties used for looking up and filtering StreamOnTable resources.
@@ -198,6 +200,7 @@ class _StreamOnTableState:
198
200
  :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: `|`, `.`, `(`, `)`, `"`
199
201
  :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: `|`, `.`, `(`, `)`, `"`
200
202
  :param pulumi.Input[Sequence[pulumi.Input['StreamOnTableShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
203
+ :param pulumi.Input[str] stream_type: Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
201
204
  :param pulumi.Input[str] table: Specifies an identifier for the table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
202
205
  """
203
206
  if append_only is not None:
@@ -224,6 +227,10 @@ class _StreamOnTableState:
224
227
  pulumi.set(__self__, "show_initial_rows", show_initial_rows)
225
228
  if show_outputs is not None:
226
229
  pulumi.set(__self__, "show_outputs", show_outputs)
230
+ if stale is not None:
231
+ pulumi.set(__self__, "stale", stale)
232
+ if stream_type is not None:
233
+ pulumi.set(__self__, "stream_type", stream_type)
227
234
  if table is not None:
228
235
  pulumi.set(__self__, "table", table)
229
236
 
@@ -362,6 +369,27 @@ class _StreamOnTableState:
362
369
  def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamOnTableShowOutputArgs']]]]):
363
370
  pulumi.set(self, "show_outputs", value)
364
371
 
372
+ @property
373
+ @pulumi.getter
374
+ def stale(self) -> Optional[pulumi.Input[bool]]:
375
+ return pulumi.get(self, "stale")
376
+
377
+ @stale.setter
378
+ def stale(self, value: Optional[pulumi.Input[bool]]):
379
+ pulumi.set(self, "stale", value)
380
+
381
+ @property
382
+ @pulumi.getter(name="streamType")
383
+ def stream_type(self) -> Optional[pulumi.Input[str]]:
384
+ """
385
+ Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
386
+ """
387
+ return pulumi.get(self, "stream_type")
388
+
389
+ @stream_type.setter
390
+ def stream_type(self, value: Optional[pulumi.Input[str]]):
391
+ pulumi.set(self, "stream_type", value)
392
+
365
393
  @property
366
394
  @pulumi.getter
367
395
  def table(self) -> Optional[pulumi.Input[str]]:
@@ -474,6 +502,8 @@ class StreamOnTable(pulumi.CustomResource):
474
502
  __props__.__dict__["describe_outputs"] = None
475
503
  __props__.__dict__["fully_qualified_name"] = None
476
504
  __props__.__dict__["show_outputs"] = None
505
+ __props__.__dict__["stale"] = None
506
+ __props__.__dict__["stream_type"] = None
477
507
  super(StreamOnTable, __self__).__init__(
478
508
  'snowflake:index/streamOnTable:StreamOnTable',
479
509
  resource_name,
@@ -496,6 +526,8 @@ class StreamOnTable(pulumi.CustomResource):
496
526
  schema: Optional[pulumi.Input[str]] = None,
497
527
  show_initial_rows: Optional[pulumi.Input[str]] = None,
498
528
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamOnTableShowOutputArgs', 'StreamOnTableShowOutputArgsDict']]]]] = None,
529
+ stale: Optional[pulumi.Input[bool]] = None,
530
+ stream_type: Optional[pulumi.Input[str]] = None,
499
531
  table: Optional[pulumi.Input[str]] = None) -> 'StreamOnTable':
500
532
  """
501
533
  Get an existing StreamOnTable resource's state with the given name, id, and optional extra
@@ -513,6 +545,7 @@ class StreamOnTable(pulumi.CustomResource):
513
545
  :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: `|`, `.`, `(`, `)`, `"`
514
546
  :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: `|`, `.`, `(`, `)`, `"`
515
547
  :param pulumi.Input[Sequence[pulumi.Input[Union['StreamOnTableShowOutputArgs', 'StreamOnTableShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMS` for the given stream.
548
+ :param pulumi.Input[str] stream_type: Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
516
549
  :param pulumi.Input[str] table: Specifies an identifier for the table the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
517
550
  """
518
551
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -531,6 +564,8 @@ class StreamOnTable(pulumi.CustomResource):
531
564
  __props__.__dict__["schema"] = schema
532
565
  __props__.__dict__["show_initial_rows"] = show_initial_rows
533
566
  __props__.__dict__["show_outputs"] = show_outputs
567
+ __props__.__dict__["stale"] = stale
568
+ __props__.__dict__["stream_type"] = stream_type
534
569
  __props__.__dict__["table"] = table
535
570
  return StreamOnTable(resource_name, opts=opts, __props__=__props__)
536
571
 
@@ -621,6 +656,19 @@ class StreamOnTable(pulumi.CustomResource):
621
656
  """
622
657
  return pulumi.get(self, "show_outputs")
623
658
 
659
+ @property
660
+ @pulumi.getter
661
+ def stale(self) -> pulumi.Output[bool]:
662
+ return pulumi.get(self, "stale")
663
+
664
+ @property
665
+ @pulumi.getter(name="streamType")
666
+ def stream_type(self) -> pulumi.Output[str]:
667
+ """
668
+ Specifies a type for the stream. This field is used for checking external changes and recreating the resources if needed.
669
+ """
670
+ return pulumi.get(self, "stream_type")
671
+
624
672
  @property
625
673
  @pulumi.getter
626
674
  def table(self) -> pulumi.Output[str]: