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.
- pulumi_snowflake/__init__.py +58 -0
- pulumi_snowflake/_inputs.py +4790 -958
- pulumi_snowflake/account.py +47 -0
- pulumi_snowflake/compute_pool.py +625 -0
- pulumi_snowflake/config/__init__.pyi +6 -3
- pulumi_snowflake/config/vars.py +6 -3
- pulumi_snowflake/cortex_search_service.py +77 -0
- pulumi_snowflake/current_account.py +5885 -0
- pulumi_snowflake/database.py +7 -7
- pulumi_snowflake/get_compute_pools.py +175 -0
- pulumi_snowflake/get_cortex_search_services.py +3 -3
- pulumi_snowflake/get_database_roles.py +3 -3
- pulumi_snowflake/get_databases.py +3 -3
- pulumi_snowflake/get_git_repositories.py +175 -0
- pulumi_snowflake/get_image_repositories.py +135 -0
- pulumi_snowflake/get_masking_policies.py +3 -3
- pulumi_snowflake/get_row_access_policies.py +3 -3
- pulumi_snowflake/get_schemas.py +3 -3
- pulumi_snowflake/get_services.py +215 -0
- pulumi_snowflake/get_streamlits.py +3 -3
- pulumi_snowflake/get_streams.py +3 -3
- pulumi_snowflake/get_tables.py +103 -62
- pulumi_snowflake/get_tasks.py +3 -3
- pulumi_snowflake/get_users.py +3 -3
- pulumi_snowflake/get_views.py +3 -3
- pulumi_snowflake/git_repository.py +532 -0
- pulumi_snowflake/image_repository.py +361 -0
- pulumi_snowflake/job_service.py +653 -0
- pulumi_snowflake/outputs.py +4220 -136
- pulumi_snowflake/provider.py +24 -12
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/schema.py +7 -7
- pulumi_snowflake/secondary_database.py +7 -7
- pulumi_snowflake/service.py +888 -0
- pulumi_snowflake/shared_database.py +7 -7
- pulumi_snowflake/tag_association.py +7 -7
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/METADATA +1 -1
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/RECORD +40 -30
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.1.0a1750230214.dist-info → pulumi_snowflake-2.2.0a1751946295.dist-info}/top_level.txt +0 -0
pulumi_snowflake/get_tables.py
CHANGED
|
@@ -15,6 +15,7 @@ else:
|
|
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
16
|
from . import _utilities
|
|
17
17
|
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
18
19
|
|
|
19
20
|
__all__ = [
|
|
20
21
|
'GetTablesResult',
|
|
@@ -28,52 +29,85 @@ class GetTablesResult:
|
|
|
28
29
|
"""
|
|
29
30
|
A collection of values returned by getTables.
|
|
30
31
|
"""
|
|
31
|
-
def __init__(__self__,
|
|
32
|
-
if database and not isinstance(database, str):
|
|
33
|
-
raise TypeError("Expected argument 'database' to be a str")
|
|
34
|
-
pulumi.set(__self__, "database", database)
|
|
32
|
+
def __init__(__self__, id=None, in_=None, like=None, limit=None, starts_with=None, tables=None, with_describe=None):
|
|
35
33
|
if id and not isinstance(id, str):
|
|
36
34
|
raise TypeError("Expected argument 'id' to be a str")
|
|
37
35
|
pulumi.set(__self__, "id", id)
|
|
38
|
-
if
|
|
39
|
-
raise TypeError("Expected argument '
|
|
40
|
-
pulumi.set(__self__, "
|
|
36
|
+
if in_ and not isinstance(in_, dict):
|
|
37
|
+
raise TypeError("Expected argument 'in_' to be a dict")
|
|
38
|
+
pulumi.set(__self__, "in_", in_)
|
|
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)
|
|
41
48
|
if tables and not isinstance(tables, list):
|
|
42
49
|
raise TypeError("Expected argument 'tables' to be a list")
|
|
43
50
|
pulumi.set(__self__, "tables", tables)
|
|
51
|
+
if with_describe and not isinstance(with_describe, bool):
|
|
52
|
+
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
53
|
+
pulumi.set(__self__, "with_describe", with_describe)
|
|
44
54
|
|
|
45
55
|
@property
|
|
46
56
|
@pulumi.getter
|
|
47
|
-
def
|
|
57
|
+
def id(self) -> builtins.str:
|
|
58
|
+
"""
|
|
59
|
+
The provider-assigned unique ID for this managed resource.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "id")
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter(name="in")
|
|
65
|
+
def in_(self) -> Optional['outputs.GetTablesInResult']:
|
|
48
66
|
"""
|
|
49
|
-
|
|
67
|
+
IN clause to filter the list of objects
|
|
50
68
|
"""
|
|
51
|
-
return pulumi.get(self, "
|
|
69
|
+
return pulumi.get(self, "in_")
|
|
52
70
|
|
|
53
71
|
@property
|
|
54
72
|
@pulumi.getter
|
|
55
|
-
def
|
|
73
|
+
def like(self) -> Optional[builtins.str]:
|
|
56
74
|
"""
|
|
57
|
-
|
|
75
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
58
76
|
"""
|
|
59
|
-
return pulumi.get(self, "
|
|
77
|
+
return pulumi.get(self, "like")
|
|
60
78
|
|
|
61
79
|
@property
|
|
62
80
|
@pulumi.getter
|
|
63
|
-
def
|
|
81
|
+
def limit(self) -> Optional['outputs.GetTablesLimitResult']:
|
|
82
|
+
"""
|
|
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
|
+
"""
|
|
85
|
+
return pulumi.get(self, "limit")
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter(name="startsWith")
|
|
89
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
64
90
|
"""
|
|
65
|
-
|
|
91
|
+
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
66
92
|
"""
|
|
67
|
-
return pulumi.get(self, "
|
|
93
|
+
return pulumi.get(self, "starts_with")
|
|
68
94
|
|
|
69
95
|
@property
|
|
70
96
|
@pulumi.getter
|
|
71
97
|
def tables(self) -> Sequence['outputs.GetTablesTableResult']:
|
|
72
98
|
"""
|
|
73
|
-
|
|
99
|
+
Holds the aggregated output of all tables details queries.
|
|
74
100
|
"""
|
|
75
101
|
return pulumi.get(self, "tables")
|
|
76
102
|
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="withDescribe")
|
|
105
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
106
|
+
"""
|
|
107
|
+
(Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "with_describe")
|
|
110
|
+
|
|
77
111
|
|
|
78
112
|
class AwaitableGetTablesResult(GetTablesResult):
|
|
79
113
|
# pylint: disable=using-constant-test
|
|
@@ -81,74 +115,81 @@ class AwaitableGetTablesResult(GetTablesResult):
|
|
|
81
115
|
if False:
|
|
82
116
|
yield self
|
|
83
117
|
return GetTablesResult(
|
|
84
|
-
database=self.database,
|
|
85
118
|
id=self.id,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
119
|
+
in_=self.in_,
|
|
120
|
+
like=self.like,
|
|
121
|
+
limit=self.limit,
|
|
122
|
+
starts_with=self.starts_with,
|
|
123
|
+
tables=self.tables,
|
|
124
|
+
with_describe=self.with_describe)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def get_tables(in_: Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']] = None,
|
|
128
|
+
like: Optional[builtins.str] = None,
|
|
129
|
+
limit: Optional[Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict']] = None,
|
|
130
|
+
starts_with: Optional[builtins.str] = None,
|
|
131
|
+
with_describe: Optional[builtins.bool] = None,
|
|
92
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTablesResult:
|
|
93
133
|
"""
|
|
94
134
|
!> **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.
|
|
95
135
|
|
|
96
|
-
|
|
136
|
+
Datasource used to get details of filtered tables. Filtering is aligned with the current possibilities for [SHOW TABLES](https://docs.snowflake.com/en/sql-reference/sql/show-tables) query. The results of SHOW and DESCRIBE (COLUMNS) are encapsulated in one output collection `tables`.
|
|
97
137
|
|
|
98
|
-
```python
|
|
99
|
-
import pulumi
|
|
100
|
-
import pulumi_snowflake as snowflake
|
|
101
138
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
-
:param builtins.str schema: The schema from which to return the tables from.
|
|
139
|
+
:param Union['GetTablesInArgs', 'GetTablesInArgsDict'] in_: IN clause to filter the list of objects
|
|
140
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
141
|
+
:param Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict'] 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`.
|
|
142
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
143
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
111
144
|
"""
|
|
112
145
|
__args__ = dict()
|
|
113
|
-
__args__['
|
|
114
|
-
__args__['
|
|
146
|
+
__args__['in'] = in_
|
|
147
|
+
__args__['like'] = like
|
|
148
|
+
__args__['limit'] = limit
|
|
149
|
+
__args__['startsWith'] = starts_with
|
|
150
|
+
__args__['withDescribe'] = with_describe
|
|
115
151
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
116
152
|
__ret__ = pulumi.runtime.invoke('snowflake:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult).value
|
|
117
153
|
|
|
118
154
|
return AwaitableGetTablesResult(
|
|
119
|
-
database=pulumi.get(__ret__, 'database'),
|
|
120
155
|
id=pulumi.get(__ret__, 'id'),
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
156
|
+
in_=pulumi.get(__ret__, 'in_'),
|
|
157
|
+
like=pulumi.get(__ret__, 'like'),
|
|
158
|
+
limit=pulumi.get(__ret__, 'limit'),
|
|
159
|
+
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
160
|
+
tables=pulumi.get(__ret__, 'tables'),
|
|
161
|
+
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
162
|
+
def get_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']]]] = None,
|
|
163
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
164
|
+
limit: Optional[pulumi.Input[Optional[Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict']]]] = None,
|
|
165
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
166
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
125
167
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]:
|
|
126
168
|
"""
|
|
127
169
|
!> **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.
|
|
128
170
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
```python
|
|
132
|
-
import pulumi
|
|
133
|
-
import pulumi_snowflake as snowflake
|
|
134
|
-
|
|
135
|
-
current = snowflake.get_tables(database="MYDB",
|
|
136
|
-
schema="MYSCHEMA")
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
171
|
+
Datasource used to get details of filtered tables. Filtering is aligned with the current possibilities for [SHOW TABLES](https://docs.snowflake.com/en/sql-reference/sql/show-tables) query. The results of SHOW and DESCRIBE (COLUMNS) are encapsulated in one output collection `tables`.
|
|
140
172
|
|
|
141
173
|
|
|
142
|
-
:param
|
|
143
|
-
:param builtins.str
|
|
174
|
+
:param Union['GetTablesInArgs', 'GetTablesInArgsDict'] in_: IN clause to filter the list of objects
|
|
175
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
176
|
+
:param Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict'] 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`.
|
|
177
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
178
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
144
179
|
"""
|
|
145
180
|
__args__ = dict()
|
|
146
|
-
__args__['
|
|
147
|
-
__args__['
|
|
181
|
+
__args__['in'] = in_
|
|
182
|
+
__args__['like'] = like
|
|
183
|
+
__args__['limit'] = limit
|
|
184
|
+
__args__['startsWith'] = starts_with
|
|
185
|
+
__args__['withDescribe'] = with_describe
|
|
148
186
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
187
|
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult)
|
|
150
188
|
return __ret__.apply(lambda __response__: GetTablesResult(
|
|
151
|
-
database=pulumi.get(__response__, 'database'),
|
|
152
189
|
id=pulumi.get(__response__, 'id'),
|
|
153
|
-
|
|
154
|
-
|
|
190
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
191
|
+
like=pulumi.get(__response__, 'like'),
|
|
192
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
193
|
+
starts_with=pulumi.get(__response__, 'starts_with'),
|
|
194
|
+
tables=pulumi.get(__response__, 'tables'),
|
|
195
|
+
with_describe=pulumi.get(__response__, 'with_describe')))
|
pulumi_snowflake/get_tasks.py
CHANGED
|
@@ -83,7 +83,7 @@ class GetTasksResult:
|
|
|
83
83
|
@pulumi.getter
|
|
84
84
|
def limit(self) -> Optional['outputs.GetTasksLimitResult']:
|
|
85
85
|
"""
|
|
86
|
-
Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
86
|
+
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`.
|
|
87
87
|
"""
|
|
88
88
|
return pulumi.get(self, "limit")
|
|
89
89
|
|
|
@@ -151,7 +151,7 @@ def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = Non
|
|
|
151
151
|
|
|
152
152
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
153
153
|
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
154
|
-
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
154
|
+
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] 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`.
|
|
155
155
|
:param builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
156
156
|
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
157
157
|
:param builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
@@ -190,7 +190,7 @@ def get_tasks_output(in_: Optional[pulumi.Input[Optional[Union['GetTasksInArgs',
|
|
|
190
190
|
|
|
191
191
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
192
192
|
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
193
|
-
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
193
|
+
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] 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`.
|
|
194
194
|
:param builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
195
195
|
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
196
196
|
:param builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
pulumi_snowflake/get_users.py
CHANGED
|
@@ -72,7 +72,7 @@ class GetUsersResult:
|
|
|
72
72
|
@pulumi.getter
|
|
73
73
|
def limit(self) -> Optional['outputs.GetUsersLimitResult']:
|
|
74
74
|
"""
|
|
75
|
-
Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
75
|
+
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`.
|
|
76
76
|
"""
|
|
77
77
|
return pulumi.get(self, "limit")
|
|
78
78
|
|
|
@@ -135,7 +135,7 @@ def get_users(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['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
138
|
+
:param Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] 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 USER for each user returned by SHOW USERS. 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 USER for each user returned by SHOW USERS. 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_users_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None
|
|
|
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['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
171
|
+
:param Union['GetUsersLimitArgs', 'GetUsersLimitArgsDict'] 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 USER for each user returned by SHOW USERS. 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 USER for each user returned by SHOW USERS. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
pulumi_snowflake/get_views.py
CHANGED
|
@@ -80,7 +80,7 @@ class GetViewsResult:
|
|
|
80
80
|
@pulumi.getter
|
|
81
81
|
def limit(self) -> Optional['outputs.GetViewsLimitResult']:
|
|
82
82
|
"""
|
|
83
|
-
Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
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
|
|
|
@@ -138,7 +138,7 @@ def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = Non
|
|
|
138
138
|
|
|
139
139
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
140
140
|
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
141
|
-
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
141
|
+
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] 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`.
|
|
142
142
|
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
143
143
|
:param builtins.bool with_describe: (Default: `true`) Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
144
144
|
"""
|
|
@@ -173,7 +173,7 @@ def get_views_output(in_: Optional[pulumi.Input[Optional[Union['GetViewsInArgs',
|
|
|
173
173
|
|
|
174
174
|
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
175
175
|
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
176
|
-
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit
|
|
176
|
+
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] 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`.
|
|
177
177
|
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
178
178
|
:param builtins.bool with_describe: (Default: `true`) Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
179
179
|
"""
|