pulumi-snowflake 2.1.0a1750230214__py3-none-any.whl → 2.2.0a1751946295__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 (40) hide show
  1. pulumi_snowflake/__init__.py +58 -0
  2. pulumi_snowflake/_inputs.py +4790 -958
  3. pulumi_snowflake/account.py +47 -0
  4. pulumi_snowflake/compute_pool.py +625 -0
  5. pulumi_snowflake/config/__init__.pyi +6 -3
  6. pulumi_snowflake/config/vars.py +6 -3
  7. pulumi_snowflake/cortex_search_service.py +77 -0
  8. pulumi_snowflake/current_account.py +5885 -0
  9. pulumi_snowflake/database.py +7 -7
  10. pulumi_snowflake/get_compute_pools.py +175 -0
  11. pulumi_snowflake/get_cortex_search_services.py +3 -3
  12. pulumi_snowflake/get_database_roles.py +3 -3
  13. pulumi_snowflake/get_databases.py +3 -3
  14. pulumi_snowflake/get_git_repositories.py +175 -0
  15. pulumi_snowflake/get_image_repositories.py +135 -0
  16. pulumi_snowflake/get_masking_policies.py +3 -3
  17. pulumi_snowflake/get_row_access_policies.py +3 -3
  18. pulumi_snowflake/get_schemas.py +3 -3
  19. pulumi_snowflake/get_services.py +215 -0
  20. pulumi_snowflake/get_streamlits.py +3 -3
  21. pulumi_snowflake/get_streams.py +3 -3
  22. pulumi_snowflake/get_tables.py +103 -62
  23. pulumi_snowflake/get_tasks.py +3 -3
  24. pulumi_snowflake/get_users.py +3 -3
  25. pulumi_snowflake/get_views.py +3 -3
  26. pulumi_snowflake/git_repository.py +532 -0
  27. pulumi_snowflake/image_repository.py +361 -0
  28. pulumi_snowflake/job_service.py +653 -0
  29. pulumi_snowflake/outputs.py +4220 -136
  30. pulumi_snowflake/provider.py +24 -12
  31. pulumi_snowflake/pulumi-plugin.json +1 -1
  32. pulumi_snowflake/schema.py +7 -7
  33. pulumi_snowflake/secondary_database.py +7 -7
  34. pulumi_snowflake/service.py +888 -0
  35. pulumi_snowflake/shared_database.py +7 -7
  36. pulumi_snowflake/tag_association.py +7 -7
  37. {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/METADATA +1 -1
  38. {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/RECORD +40 -30
  39. {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/WHEEL +0 -0
  40. {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/top_level.txt +0 -0
@@ -62,7 +62,7 @@ class DatabaseArgs:
62
62
  :param pulumi.Input[builtins.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).
63
63
  :param pulumi.Input[builtins.int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
64
64
  :param pulumi.Input[builtins.int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
65
- :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
65
+ :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
66
66
  :param pulumi.Input[builtins.str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
67
67
  :param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
68
68
  :param pulumi.Input[builtins.int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
@@ -318,7 +318,7 @@ class DatabaseArgs:
318
318
  @pulumi.getter(name="traceLevel")
319
319
  def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
320
320
  """
321
- Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
321
+ Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
322
322
  """
323
323
  return pulumi.get(self, "trace_level")
324
324
 
@@ -408,7 +408,7 @@ class _DatabaseState:
408
408
  :param pulumi.Input[builtins.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).
409
409
  :param pulumi.Input[builtins.int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
410
410
  :param pulumi.Input[builtins.int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
411
- :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
411
+ :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
412
412
  :param pulumi.Input[builtins.str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
413
413
  :param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
414
414
  :param pulumi.Input[builtins.int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
@@ -678,7 +678,7 @@ class _DatabaseState:
678
678
  @pulumi.getter(name="traceLevel")
679
679
  def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
680
680
  """
681
- Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
681
+ Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
682
682
  """
683
683
  return pulumi.get(self, "trace_level")
684
684
 
@@ -777,7 +777,7 @@ class Database(pulumi.CustomResource):
777
777
  :param pulumi.Input[builtins.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).
778
778
  :param pulumi.Input[builtins.int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
779
779
  :param pulumi.Input[builtins.int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
780
- :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
780
+ :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
781
781
  :param pulumi.Input[builtins.str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
782
782
  :param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
783
783
  :param pulumi.Input[builtins.int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
@@ -919,7 +919,7 @@ class Database(pulumi.CustomResource):
919
919
  :param pulumi.Input[builtins.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).
920
920
  :param pulumi.Input[builtins.int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
921
921
  :param pulumi.Input[builtins.int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
922
- :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
922
+ :param pulumi.Input[builtins.str] trace_level: Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
923
923
  :param pulumi.Input[builtins.str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
924
924
  :param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
925
925
  :param pulumi.Input[builtins.int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
@@ -1100,7 +1100,7 @@ class Database(pulumi.CustomResource):
1100
1100
  @pulumi.getter(name="traceLevel")
1101
1101
  def trace_level(self) -> pulumi.Output[builtins.str]:
1102
1102
  """
1103
- Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
1103
+ Controls how trace events are ingested into the event table. Valid options are: `ALWAYS` | `ON_EVENT` | `PROPAGATE` | `OFF`. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
1104
1104
  """
1105
1105
  return pulumi.get(self, "trace_level")
1106
1106
 
@@ -0,0 +1,175 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = [
21
+ 'GetComputePoolsResult',
22
+ 'AwaitableGetComputePoolsResult',
23
+ 'get_compute_pools',
24
+ 'get_compute_pools_output',
25
+ ]
26
+
27
+ @pulumi.output_type
28
+ class GetComputePoolsResult:
29
+ """
30
+ A collection of values returned by getComputePools.
31
+ """
32
+ def __init__(__self__, compute_pools=None, id=None, like=None, limit=None, starts_with=None, with_describe=None):
33
+ if compute_pools and not isinstance(compute_pools, list):
34
+ raise TypeError("Expected argument 'compute_pools' to be a list")
35
+ pulumi.set(__self__, "compute_pools", compute_pools)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if like and not isinstance(like, str):
40
+ raise TypeError("Expected argument 'like' to be a str")
41
+ pulumi.set(__self__, "like", like)
42
+ if limit and not isinstance(limit, dict):
43
+ raise TypeError("Expected argument 'limit' to be a dict")
44
+ pulumi.set(__self__, "limit", limit)
45
+ if starts_with and not isinstance(starts_with, str):
46
+ raise TypeError("Expected argument 'starts_with' to be a str")
47
+ pulumi.set(__self__, "starts_with", starts_with)
48
+ if with_describe and not isinstance(with_describe, bool):
49
+ raise TypeError("Expected argument 'with_describe' to be a bool")
50
+ pulumi.set(__self__, "with_describe", with_describe)
51
+
52
+ @property
53
+ @pulumi.getter(name="computePools")
54
+ def compute_pools(self) -> Sequence['outputs.GetComputePoolsComputePoolResult']:
55
+ """
56
+ Holds the aggregated output of all compute pools details queries.
57
+ """
58
+ return pulumi.get(self, "compute_pools")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def id(self) -> builtins.str:
63
+ """
64
+ The provider-assigned unique ID for this managed resource.
65
+ """
66
+ return pulumi.get(self, "id")
67
+
68
+ @property
69
+ @pulumi.getter
70
+ def like(self) -> Optional[builtins.str]:
71
+ """
72
+ Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
73
+ """
74
+ return pulumi.get(self, "like")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def limit(self) -> Optional['outputs.GetComputePoolsLimitResult']:
79
+ """
80
+ Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
81
+ """
82
+ return pulumi.get(self, "limit")
83
+
84
+ @property
85
+ @pulumi.getter(name="startsWith")
86
+ def starts_with(self) -> Optional[builtins.str]:
87
+ """
88
+ Filters the output with **case-sensitive** characters indicating the beginning of the object name.
89
+ """
90
+ return pulumi.get(self, "starts_with")
91
+
92
+ @property
93
+ @pulumi.getter(name="withDescribe")
94
+ def with_describe(self) -> Optional[builtins.bool]:
95
+ """
96
+ (Default: `true`) Runs DESC COMPUTE POOL for each compute pool returned by SHOW COMPUTE POOLS. The output of describe is saved to the description field. By default this value is set to true.
97
+ """
98
+ return pulumi.get(self, "with_describe")
99
+
100
+
101
+ class AwaitableGetComputePoolsResult(GetComputePoolsResult):
102
+ # pylint: disable=using-constant-test
103
+ def __await__(self):
104
+ if False:
105
+ yield self
106
+ return GetComputePoolsResult(
107
+ compute_pools=self.compute_pools,
108
+ id=self.id,
109
+ like=self.like,
110
+ limit=self.limit,
111
+ starts_with=self.starts_with,
112
+ with_describe=self.with_describe)
113
+
114
+
115
+ def get_compute_pools(like: Optional[builtins.str] = None,
116
+ limit: Optional[Union['GetComputePoolsLimitArgs', 'GetComputePoolsLimitArgsDict']] = None,
117
+ starts_with: Optional[builtins.str] = None,
118
+ with_describe: Optional[builtins.bool] = None,
119
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputePoolsResult:
120
+ """
121
+ !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
122
+
123
+ Data source used to get details of filtered compute pools. Filtering is aligned with the current possibilities for [SHOW COMPUTE POOLS](https://docs.snowflake.com/en/sql-reference/sql/show-compute-pools) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `compute_pools`.
124
+
125
+
126
+ :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
127
+ :param Union['GetComputePoolsLimitArgs', 'GetComputePoolsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
128
+ :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
129
+ :param builtins.bool with_describe: (Default: `true`) Runs DESC COMPUTE POOL for each compute pool returned by SHOW COMPUTE POOLS. The output of describe is saved to the description field. By default this value is set to true.
130
+ """
131
+ __args__ = dict()
132
+ __args__['like'] = like
133
+ __args__['limit'] = limit
134
+ __args__['startsWith'] = starts_with
135
+ __args__['withDescribe'] = with_describe
136
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
137
+ __ret__ = pulumi.runtime.invoke('snowflake:index/getComputePools:getComputePools', __args__, opts=opts, typ=GetComputePoolsResult).value
138
+
139
+ return AwaitableGetComputePoolsResult(
140
+ compute_pools=pulumi.get(__ret__, 'compute_pools'),
141
+ id=pulumi.get(__ret__, 'id'),
142
+ like=pulumi.get(__ret__, 'like'),
143
+ limit=pulumi.get(__ret__, 'limit'),
144
+ starts_with=pulumi.get(__ret__, 'starts_with'),
145
+ with_describe=pulumi.get(__ret__, 'with_describe'))
146
+ def get_compute_pools_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
147
+ limit: Optional[pulumi.Input[Optional[Union['GetComputePoolsLimitArgs', 'GetComputePoolsLimitArgsDict']]]] = None,
148
+ starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
149
+ with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
150
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputePoolsResult]:
151
+ """
152
+ !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
153
+
154
+ Data source used to get details of filtered compute pools. Filtering is aligned with the current possibilities for [SHOW COMPUTE POOLS](https://docs.snowflake.com/en/sql-reference/sql/show-compute-pools) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `compute_pools`.
155
+
156
+
157
+ :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
158
+ :param Union['GetComputePoolsLimitArgs', 'GetComputePoolsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
159
+ :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
160
+ :param builtins.bool with_describe: (Default: `true`) Runs DESC COMPUTE POOL for each compute pool returned by SHOW COMPUTE POOLS. The output of describe is saved to the description field. By default this value is set to true.
161
+ """
162
+ __args__ = dict()
163
+ __args__['like'] = like
164
+ __args__['limit'] = limit
165
+ __args__['startsWith'] = starts_with
166
+ __args__['withDescribe'] = with_describe
167
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
168
+ __ret__ = pulumi.runtime.invoke_output('snowflake:index/getComputePools:getComputePools', __args__, opts=opts, typ=GetComputePoolsResult)
169
+ return __ret__.apply(lambda __response__: GetComputePoolsResult(
170
+ compute_pools=pulumi.get(__response__, 'compute_pools'),
171
+ id=pulumi.get(__response__, 'id'),
172
+ like=pulumi.get(__response__, 'like'),
173
+ limit=pulumi.get(__response__, 'limit'),
174
+ starts_with=pulumi.get(__response__, 'starts_with'),
175
+ with_describe=pulumi.get(__response__, 'with_describe')))
@@ -85,7 +85,7 @@ class GetCortexSearchServicesResult:
85
85
  @pulumi.getter
86
86
  def limit(self) -> Optional['outputs.GetCortexSearchServicesLimitResult']:
87
87
  """
88
- Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
88
+ Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
89
89
  """
90
90
  return pulumi.get(self, "limit")
91
91
 
@@ -148,7 +148,7 @@ def get_cortex_search_services(in_: Optional[Union['GetCortexSearchServicesInArg
148
148
 
149
149
  :param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
150
150
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
151
- :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
151
+ :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
152
152
  :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
153
153
  """
154
154
  __args__ = dict()
@@ -202,7 +202,7 @@ def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[Union[
202
202
 
203
203
  :param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
204
204
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
205
- :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
205
+ :param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
206
206
  :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
207
207
  """
208
208
  __args__ = dict()
@@ -82,7 +82,7 @@ class GetDatabaseRolesResult:
82
82
  @pulumi.getter
83
83
  def limit(self) -> Optional['outputs.GetDatabaseRolesLimitResult']:
84
84
  """
85
- Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
85
+ Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
86
86
  """
87
87
  return pulumi.get(self, "limit")
88
88
 
@@ -110,7 +110,7 @@ def get_database_roles(in_database: Optional[builtins.str] = None,
110
110
 
111
111
  :param builtins.str in_database: The database from which to return the database roles from.
112
112
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
113
- :param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
113
+ :param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
114
114
  """
115
115
  __args__ = dict()
116
116
  __args__['inDatabase'] = in_database
@@ -135,7 +135,7 @@ def get_database_roles_output(in_database: Optional[pulumi.Input[builtins.str]]
135
135
 
136
136
  :param builtins.str in_database: The database from which to return the database roles from.
137
137
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
138
- :param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
138
+ :param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
139
139
  """
140
140
  __args__ = dict()
141
141
  __args__['inDatabase'] = in_database
@@ -80,7 +80,7 @@ class GetDatabasesResult:
80
80
  @pulumi.getter
81
81
  def limit(self) -> Optional['outputs.GetDatabasesLimitResult']:
82
82
  """
83
- Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
83
+ Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
84
84
  """
85
85
  return pulumi.get(self, "limit")
86
86
 
@@ -135,7 +135,7 @@ def get_databases(like: Optional[builtins.str] = None,
135
135
 
136
136
 
137
137
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
138
- :param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
138
+ :param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
139
139
  :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
140
140
  :param builtins.bool with_describe: (Default: `true`) Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
141
141
  :param builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
@@ -168,7 +168,7 @@ def get_databases_output(like: Optional[pulumi.Input[Optional[builtins.str]]] =
168
168
 
169
169
 
170
170
  :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
171
- :param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
171
+ :param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
172
172
  :param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
173
173
  :param builtins.bool with_describe: (Default: `true`) Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
174
174
  :param builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
@@ -0,0 +1,175 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = [
21
+ 'GetGitRepositoriesResult',
22
+ 'AwaitableGetGitRepositoriesResult',
23
+ 'get_git_repositories',
24
+ 'get_git_repositories_output',
25
+ ]
26
+
27
+ @pulumi.output_type
28
+ class GetGitRepositoriesResult:
29
+ """
30
+ A collection of values returned by getGitRepositories.
31
+ """
32
+ def __init__(__self__, git_repositories=None, id=None, in_=None, like=None, limit=None, with_describe=None):
33
+ if git_repositories and not isinstance(git_repositories, list):
34
+ raise TypeError("Expected argument 'git_repositories' to be a list")
35
+ pulumi.set(__self__, "git_repositories", git_repositories)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if in_ and not isinstance(in_, dict):
40
+ raise TypeError("Expected argument 'in_' to be a dict")
41
+ pulumi.set(__self__, "in_", in_)
42
+ if like and not isinstance(like, str):
43
+ raise TypeError("Expected argument 'like' to be a str")
44
+ pulumi.set(__self__, "like", like)
45
+ if limit and not isinstance(limit, dict):
46
+ raise TypeError("Expected argument 'limit' to be a dict")
47
+ pulumi.set(__self__, "limit", limit)
48
+ if with_describe and not isinstance(with_describe, bool):
49
+ raise TypeError("Expected argument 'with_describe' to be a bool")
50
+ pulumi.set(__self__, "with_describe", with_describe)
51
+
52
+ @property
53
+ @pulumi.getter(name="gitRepositories")
54
+ def git_repositories(self) -> Sequence['outputs.GetGitRepositoriesGitRepositoryResult']:
55
+ """
56
+ Holds the aggregated output of all git repositories details queries.
57
+ """
58
+ return pulumi.get(self, "git_repositories")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def id(self) -> builtins.str:
63
+ """
64
+ The provider-assigned unique ID for this managed resource.
65
+ """
66
+ return pulumi.get(self, "id")
67
+
68
+ @property
69
+ @pulumi.getter(name="in")
70
+ def in_(self) -> Optional['outputs.GetGitRepositoriesInResult']:
71
+ """
72
+ IN clause to filter the list of objects
73
+ """
74
+ return pulumi.get(self, "in_")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def like(self) -> Optional[builtins.str]:
79
+ """
80
+ Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
81
+ """
82
+ return pulumi.get(self, "like")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def limit(self) -> Optional['outputs.GetGitRepositoriesLimitResult']:
87
+ """
88
+ Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
89
+ """
90
+ return pulumi.get(self, "limit")
91
+
92
+ @property
93
+ @pulumi.getter(name="withDescribe")
94
+ def with_describe(self) -> Optional[builtins.bool]:
95
+ """
96
+ (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
97
+ """
98
+ return pulumi.get(self, "with_describe")
99
+
100
+
101
+ class AwaitableGetGitRepositoriesResult(GetGitRepositoriesResult):
102
+ # pylint: disable=using-constant-test
103
+ def __await__(self):
104
+ if False:
105
+ yield self
106
+ return GetGitRepositoriesResult(
107
+ git_repositories=self.git_repositories,
108
+ id=self.id,
109
+ in_=self.in_,
110
+ like=self.like,
111
+ limit=self.limit,
112
+ with_describe=self.with_describe)
113
+
114
+
115
+ def get_git_repositories(in_: Optional[Union['GetGitRepositoriesInArgs', 'GetGitRepositoriesInArgsDict']] = None,
116
+ like: Optional[builtins.str] = None,
117
+ limit: Optional[Union['GetGitRepositoriesLimitArgs', 'GetGitRepositoriesLimitArgsDict']] = None,
118
+ with_describe: Optional[builtins.bool] = None,
119
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitRepositoriesResult:
120
+ """
121
+ !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
122
+
123
+ Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `git_repositories`.
124
+
125
+
126
+ :param Union['GetGitRepositoriesInArgs', 'GetGitRepositoriesInArgsDict'] in_: IN clause to filter the list of objects
127
+ :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
128
+ :param Union['GetGitRepositoriesLimitArgs', 'GetGitRepositoriesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
129
+ :param builtins.bool with_describe: (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
130
+ """
131
+ __args__ = dict()
132
+ __args__['in'] = in_
133
+ __args__['like'] = like
134
+ __args__['limit'] = limit
135
+ __args__['withDescribe'] = with_describe
136
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
137
+ __ret__ = pulumi.runtime.invoke('snowflake:index/getGitRepositories:getGitRepositories', __args__, opts=opts, typ=GetGitRepositoriesResult).value
138
+
139
+ return AwaitableGetGitRepositoriesResult(
140
+ git_repositories=pulumi.get(__ret__, 'git_repositories'),
141
+ id=pulumi.get(__ret__, 'id'),
142
+ in_=pulumi.get(__ret__, 'in_'),
143
+ like=pulumi.get(__ret__, 'like'),
144
+ limit=pulumi.get(__ret__, 'limit'),
145
+ with_describe=pulumi.get(__ret__, 'with_describe'))
146
+ def get_git_repositories_output(in_: Optional[pulumi.Input[Optional[Union['GetGitRepositoriesInArgs', 'GetGitRepositoriesInArgsDict']]]] = None,
147
+ like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
148
+ limit: Optional[pulumi.Input[Optional[Union['GetGitRepositoriesLimitArgs', 'GetGitRepositoriesLimitArgsDict']]]] = None,
149
+ with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
150
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitRepositoriesResult]:
151
+ """
152
+ !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
153
+
154
+ Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `git_repositories`.
155
+
156
+
157
+ :param Union['GetGitRepositoriesInArgs', 'GetGitRepositoriesInArgsDict'] in_: IN clause to filter the list of objects
158
+ :param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
159
+ :param Union['GetGitRepositoriesLimitArgs', 'GetGitRepositoriesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
160
+ :param builtins.bool with_describe: (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
161
+ """
162
+ __args__ = dict()
163
+ __args__['in'] = in_
164
+ __args__['like'] = like
165
+ __args__['limit'] = limit
166
+ __args__['withDescribe'] = with_describe
167
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
168
+ __ret__ = pulumi.runtime.invoke_output('snowflake:index/getGitRepositories:getGitRepositories', __args__, opts=opts, typ=GetGitRepositoriesResult)
169
+ return __ret__.apply(lambda __response__: GetGitRepositoriesResult(
170
+ git_repositories=pulumi.get(__response__, 'git_repositories'),
171
+ id=pulumi.get(__response__, 'id'),
172
+ in_=pulumi.get(__response__, 'in_'),
173
+ like=pulumi.get(__response__, 'like'),
174
+ limit=pulumi.get(__response__, 'limit'),
175
+ with_describe=pulumi.get(__response__, 'with_describe')))