pulumi-snowflake 2.7.0a1759215867__py3-none-any.whl → 2.11.0a1766126285__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.
@@ -0,0 +1,174 @@
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 as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetNotebooksResult',
21
+ 'AwaitableGetNotebooksResult',
22
+ 'get_notebooks',
23
+ 'get_notebooks_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetNotebooksResult:
28
+ """
29
+ A collection of values returned by getNotebooks.
30
+ """
31
+ def __init__(__self__, id=None, like=None, limit=None, notebooks=None, starts_with=None, with_describe=None):
32
+ if id and not isinstance(id, str):
33
+ raise TypeError("Expected argument 'id' to be a str")
34
+ pulumi.set(__self__, "id", id)
35
+ if like and not isinstance(like, str):
36
+ raise TypeError("Expected argument 'like' to be a str")
37
+ pulumi.set(__self__, "like", like)
38
+ if limit and not isinstance(limit, dict):
39
+ raise TypeError("Expected argument 'limit' to be a dict")
40
+ pulumi.set(__self__, "limit", limit)
41
+ if notebooks and not isinstance(notebooks, list):
42
+ raise TypeError("Expected argument 'notebooks' to be a list")
43
+ pulumi.set(__self__, "notebooks", notebooks)
44
+ if starts_with and not isinstance(starts_with, str):
45
+ raise TypeError("Expected argument 'starts_with' to be a str")
46
+ pulumi.set(__self__, "starts_with", starts_with)
47
+ if with_describe and not isinstance(with_describe, bool):
48
+ raise TypeError("Expected argument 'with_describe' to be a bool")
49
+ pulumi.set(__self__, "with_describe", with_describe)
50
+
51
+ @_builtins.property
52
+ @pulumi.getter
53
+ def id(self) -> _builtins.str:
54
+ """
55
+ The provider-assigned unique ID for this managed resource.
56
+ """
57
+ return pulumi.get(self, "id")
58
+
59
+ @_builtins.property
60
+ @pulumi.getter
61
+ def like(self) -> Optional[_builtins.str]:
62
+ """
63
+ Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
64
+ """
65
+ return pulumi.get(self, "like")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter
69
+ def limit(self) -> Optional['outputs.GetNotebooksLimitResult']:
70
+ """
71
+ 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`.
72
+ """
73
+ return pulumi.get(self, "limit")
74
+
75
+ @_builtins.property
76
+ @pulumi.getter
77
+ def notebooks(self) -> Sequence['outputs.GetNotebooksNotebookResult']:
78
+ """
79
+ Holds the aggregated output of all notebooks details queries.
80
+ """
81
+ return pulumi.get(self, "notebooks")
82
+
83
+ @_builtins.property
84
+ @pulumi.getter(name="startsWith")
85
+ def starts_with(self) -> Optional[_builtins.str]:
86
+ """
87
+ Filters the output with **case-sensitive** characters indicating the beginning of the object name.
88
+ """
89
+ return pulumi.get(self, "starts_with")
90
+
91
+ @_builtins.property
92
+ @pulumi.getter(name="withDescribe")
93
+ def with_describe(self) -> Optional[_builtins.bool]:
94
+ """
95
+ (Default: `true`) Runs DESC NOTEBOOK for each notebook returned by SHOW NOTEBOOKS. The output of describe is saved to the description field. By default this value is set to true.
96
+ """
97
+ return pulumi.get(self, "with_describe")
98
+
99
+
100
+ class AwaitableGetNotebooksResult(GetNotebooksResult):
101
+ # pylint: disable=using-constant-test
102
+ def __await__(self):
103
+ if False:
104
+ yield self
105
+ return GetNotebooksResult(
106
+ id=self.id,
107
+ like=self.like,
108
+ limit=self.limit,
109
+ notebooks=self.notebooks,
110
+ starts_with=self.starts_with,
111
+ with_describe=self.with_describe)
112
+
113
+
114
+ def get_notebooks(like: Optional[_builtins.str] = None,
115
+ limit: Optional[Union['GetNotebooksLimitArgs', 'GetNotebooksLimitArgsDict']] = None,
116
+ starts_with: Optional[_builtins.str] = None,
117
+ with_describe: Optional[_builtins.bool] = None,
118
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebooksResult:
119
+ """
120
+ !> **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.
121
+
122
+ Data source used to get details of filtered notebooks. Filtering is aligned with the current possibilities for [SHOW NOTEBOOKS](https://docs.snowflake.com/en/sql-reference/sql/show-notebooks) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `notebooks`.
123
+
124
+
125
+ :param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
126
+ :param Union['GetNotebooksLimitArgs', 'GetNotebooksLimitArgsDict'] 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`.
127
+ :param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
128
+ :param _builtins.bool with_describe: (Default: `true`) Runs DESC NOTEBOOK for each notebook returned by SHOW NOTEBOOKS. The output of describe is saved to the description field. By default this value is set to true.
129
+ """
130
+ __args__ = dict()
131
+ __args__['like'] = like
132
+ __args__['limit'] = limit
133
+ __args__['startsWith'] = starts_with
134
+ __args__['withDescribe'] = with_describe
135
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
136
+ __ret__ = pulumi.runtime.invoke('snowflake:index/getNotebooks:getNotebooks', __args__, opts=opts, typ=GetNotebooksResult).value
137
+
138
+ return AwaitableGetNotebooksResult(
139
+ id=pulumi.get(__ret__, 'id'),
140
+ like=pulumi.get(__ret__, 'like'),
141
+ limit=pulumi.get(__ret__, 'limit'),
142
+ notebooks=pulumi.get(__ret__, 'notebooks'),
143
+ starts_with=pulumi.get(__ret__, 'starts_with'),
144
+ with_describe=pulumi.get(__ret__, 'with_describe'))
145
+ def get_notebooks_output(like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
146
+ limit: Optional[pulumi.Input[Optional[Union['GetNotebooksLimitArgs', 'GetNotebooksLimitArgsDict']]]] = None,
147
+ starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
148
+ with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
149
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebooksResult]:
150
+ """
151
+ !> **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.
152
+
153
+ Data source used to get details of filtered notebooks. Filtering is aligned with the current possibilities for [SHOW NOTEBOOKS](https://docs.snowflake.com/en/sql-reference/sql/show-notebooks) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `notebooks`.
154
+
155
+
156
+ :param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
157
+ :param Union['GetNotebooksLimitArgs', 'GetNotebooksLimitArgsDict'] 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`.
158
+ :param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
159
+ :param _builtins.bool with_describe: (Default: `true`) Runs DESC NOTEBOOK for each notebook returned by SHOW NOTEBOOKS. The output of describe is saved to the description field. By default this value is set to true.
160
+ """
161
+ __args__ = dict()
162
+ __args__['like'] = like
163
+ __args__['limit'] = limit
164
+ __args__['startsWith'] = starts_with
165
+ __args__['withDescribe'] = with_describe
166
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
167
+ __ret__ = pulumi.runtime.invoke_output('snowflake:index/getNotebooks:getNotebooks', __args__, opts=opts, typ=GetNotebooksResult)
168
+ return __ret__.apply(lambda __response__: GetNotebooksResult(
169
+ id=pulumi.get(__response__, 'id'),
170
+ like=pulumi.get(__response__, 'like'),
171
+ limit=pulumi.get(__response__, 'limit'),
172
+ notebooks=pulumi.get(__response__, 'notebooks'),
173
+ starts_with=pulumi.get(__response__, 'starts_with'),
174
+ with_describe=pulumi.get(__response__, 'with_describe')))
@@ -0,0 +1,178 @@
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 as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetSemanticViewsResult',
21
+ 'AwaitableGetSemanticViewsResult',
22
+ 'get_semantic_views',
23
+ 'get_semantic_views_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetSemanticViewsResult:
28
+ """
29
+ A collection of values returned by getSemanticViews.
30
+ """
31
+ def __init__(__self__, id=None, in_=None, like=None, limit=None, semantic_views=None, starts_with=None):
32
+ if id and not isinstance(id, str):
33
+ raise TypeError("Expected argument 'id' to be a str")
34
+ pulumi.set(__self__, "id", id)
35
+ if in_ and not isinstance(in_, dict):
36
+ raise TypeError("Expected argument 'in_' to be a dict")
37
+ pulumi.set(__self__, "in_", in_)
38
+ if like and not isinstance(like, str):
39
+ raise TypeError("Expected argument 'like' to be a str")
40
+ pulumi.set(__self__, "like", like)
41
+ if limit and not isinstance(limit, dict):
42
+ raise TypeError("Expected argument 'limit' to be a dict")
43
+ pulumi.set(__self__, "limit", limit)
44
+ if semantic_views and not isinstance(semantic_views, list):
45
+ raise TypeError("Expected argument 'semantic_views' to be a list")
46
+ pulumi.set(__self__, "semantic_views", semantic_views)
47
+ if starts_with and not isinstance(starts_with, str):
48
+ raise TypeError("Expected argument 'starts_with' to be a str")
49
+ pulumi.set(__self__, "starts_with", starts_with)
50
+
51
+ @_builtins.property
52
+ @pulumi.getter
53
+ def id(self) -> _builtins.str:
54
+ """
55
+ The provider-assigned unique ID for this managed resource.
56
+ """
57
+ return pulumi.get(self, "id")
58
+
59
+ @_builtins.property
60
+ @pulumi.getter(name="in")
61
+ def in_(self) -> Optional['outputs.GetSemanticViewsInResult']:
62
+ """
63
+ IN clause to filter the list of objects
64
+ """
65
+ return pulumi.get(self, "in_")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter
69
+ def like(self) -> Optional[_builtins.str]:
70
+ """
71
+ Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
72
+ """
73
+ return pulumi.get(self, "like")
74
+
75
+ @_builtins.property
76
+ @pulumi.getter
77
+ def limit(self) -> Optional['outputs.GetSemanticViewsLimitResult']:
78
+ """
79
+ 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`.
80
+ """
81
+ return pulumi.get(self, "limit")
82
+
83
+ @_builtins.property
84
+ @pulumi.getter(name="semanticViews")
85
+ def semantic_views(self) -> Sequence['outputs.GetSemanticViewsSemanticViewResult']:
86
+ """
87
+ Holds the aggregated output of all semantic view details queries.
88
+ """
89
+ return pulumi.get(self, "semantic_views")
90
+
91
+ @_builtins.property
92
+ @pulumi.getter(name="startsWith")
93
+ def starts_with(self) -> Optional[_builtins.str]:
94
+ """
95
+ Filters the output with **case-sensitive** characters indicating the beginning of the object name.
96
+ """
97
+ return pulumi.get(self, "starts_with")
98
+
99
+
100
+ class AwaitableGetSemanticViewsResult(GetSemanticViewsResult):
101
+ # pylint: disable=using-constant-test
102
+ def __await__(self):
103
+ if False:
104
+ yield self
105
+ return GetSemanticViewsResult(
106
+ id=self.id,
107
+ in_=self.in_,
108
+ like=self.like,
109
+ limit=self.limit,
110
+ semantic_views=self.semantic_views,
111
+ starts_with=self.starts_with)
112
+
113
+
114
+ def get_semantic_views(in_: Optional[Union['GetSemanticViewsInArgs', 'GetSemanticViewsInArgsDict']] = None,
115
+ like: Optional[_builtins.str] = None,
116
+ limit: Optional[Union['GetSemanticViewsLimitArgs', 'GetSemanticViewsLimitArgsDict']] = None,
117
+ starts_with: Optional[_builtins.str] = None,
118
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSemanticViewsResult:
119
+ """
120
+ !> **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.
121
+
122
+ > **Note** Output from the [`DESCRIBE SEMANTIC VIEW`](https://docs.snowflake.com/en/sql-reference/sql/desc-semantic-view) is not currently available.
123
+
124
+ Data source used to get details of filtered semantic views. Filtering is aligned with the current possibilities for [SHOW SEMANTIC VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-semantic-views) query. The results are encapsulated in one output collection `semantic_views`. DESCRIBE is not currently supported and will be added before promoting the resource to stable.
125
+
126
+
127
+ :param Union['GetSemanticViewsInArgs', 'GetSemanticViewsInArgsDict'] in_: IN clause to filter the list of objects
128
+ :param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
129
+ :param Union['GetSemanticViewsLimitArgs', 'GetSemanticViewsLimitArgsDict'] 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`.
130
+ :param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
131
+ """
132
+ __args__ = dict()
133
+ __args__['in'] = in_
134
+ __args__['like'] = like
135
+ __args__['limit'] = limit
136
+ __args__['startsWith'] = starts_with
137
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
138
+ __ret__ = pulumi.runtime.invoke('snowflake:index/getSemanticViews:getSemanticViews', __args__, opts=opts, typ=GetSemanticViewsResult).value
139
+
140
+ return AwaitableGetSemanticViewsResult(
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
+ semantic_views=pulumi.get(__ret__, 'semantic_views'),
146
+ starts_with=pulumi.get(__ret__, 'starts_with'))
147
+ def get_semantic_views_output(in_: Optional[pulumi.Input[Optional[Union['GetSemanticViewsInArgs', 'GetSemanticViewsInArgsDict']]]] = None,
148
+ like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
149
+ limit: Optional[pulumi.Input[Optional[Union['GetSemanticViewsLimitArgs', 'GetSemanticViewsLimitArgsDict']]]] = None,
150
+ starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
151
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSemanticViewsResult]:
152
+ """
153
+ !> **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.
154
+
155
+ > **Note** Output from the [`DESCRIBE SEMANTIC VIEW`](https://docs.snowflake.com/en/sql-reference/sql/desc-semantic-view) is not currently available.
156
+
157
+ Data source used to get details of filtered semantic views. Filtering is aligned with the current possibilities for [SHOW SEMANTIC VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-semantic-views) query. The results are encapsulated in one output collection `semantic_views`. DESCRIBE is not currently supported and will be added before promoting the resource to stable.
158
+
159
+
160
+ :param Union['GetSemanticViewsInArgs', 'GetSemanticViewsInArgsDict'] in_: IN clause to filter the list of objects
161
+ :param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
162
+ :param Union['GetSemanticViewsLimitArgs', 'GetSemanticViewsLimitArgsDict'] 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`.
163
+ :param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
164
+ """
165
+ __args__ = dict()
166
+ __args__['in'] = in_
167
+ __args__['like'] = like
168
+ __args__['limit'] = limit
169
+ __args__['startsWith'] = starts_with
170
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
+ __ret__ = pulumi.runtime.invoke_output('snowflake:index/getSemanticViews:getSemanticViews', __args__, opts=opts, typ=GetSemanticViewsResult)
172
+ return __ret__.apply(lambda __response__: GetSemanticViewsResult(
173
+ id=pulumi.get(__response__, 'id'),
174
+ in_=pulumi.get(__response__, 'in_'),
175
+ like=pulumi.get(__response__, 'like'),
176
+ limit=pulumi.get(__response__, 'limit'),
177
+ semantic_views=pulumi.get(__response__, 'semantic_views'),
178
+ starts_with=pulumi.get(__response__, 'starts_with')))
@@ -143,8 +143,6 @@ def get_services(in_: Optional[Union['GetServicesInArgs', 'GetServicesInArgsDict
143
143
  with_describe: Optional[_builtins.bool] = None,
144
144
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicesResult:
145
145
  """
146
- !> **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.
147
-
148
146
  Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `service_type` with a relevant option.
149
147
 
150
148
 
@@ -182,8 +180,6 @@ def get_services_output(in_: Optional[pulumi.Input[Optional[Union['GetServicesIn
182
180
  with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
183
181
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicesResult]:
184
182
  """
185
- !> **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.
186
-
187
183
  Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `service_type` with a relevant option.
188
184
 
189
185
 
@@ -77,8 +77,6 @@ class AwaitableGetUserProgrammaticAccessTokensResult(GetUserProgrammaticAccessTo
77
77
  def get_user_programmatic_access_tokens(for_user: Optional[_builtins.str] = None,
78
78
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserProgrammaticAccessTokensResult:
79
79
  """
80
- !> **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.
81
-
82
80
  Data source used to get details of filtered user programmatic access tokens. Filtering is aligned with the current possibilities for [SHOW USER PROGRAMMATIC ACCESS TOKENS](https://docs.snowflake.com/en/sql-reference/sql/show-user-programmatic-access-tokens) query. The results of SHOW are encapsulated in one output collection `user_programmatic_access_tokens`.
83
81
 
84
82
 
@@ -96,8 +94,6 @@ def get_user_programmatic_access_tokens(for_user: Optional[_builtins.str] = None
96
94
  def get_user_programmatic_access_tokens_output(for_user: Optional[pulumi.Input[_builtins.str]] = None,
97
95
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserProgrammaticAccessTokensResult]:
98
96
  """
99
- !> **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.
100
-
101
97
  Data source used to get details of filtered user programmatic access tokens. Filtering is aligned with the current possibilities for [SHOW USER PROGRAMMATIC ACCESS TOKENS](https://docs.snowflake.com/en/sql-reference/sql/show-user-programmatic-access-tokens) query. The results of SHOW are encapsulated in one output collection `user_programmatic_access_tokens`.
102
98
 
103
99
 
@@ -103,6 +103,8 @@ def get_warehouses(like: Optional[_builtins.str] = None,
103
103
  with_parameters: Optional[_builtins.bool] = None,
104
104
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWarehousesResult:
105
105
  """
106
+ > **Note** Since [2025_07 BCR](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_07/bcr-2110), `describe_output` field is different from Snowflake. Now, in Snowflake always `resource_constraint` and `generation` are present. The provider, always takes the value from `resource_constraint` and dispatches it based on the warehouse type: for Standard warehouses, it sets `generation`, for Snowpark-optimized warehouses, it sets `resource_constraint`. This will be adjusted later.
107
+
106
108
  Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
107
109
 
108
110
 
@@ -128,6 +130,8 @@ def get_warehouses_output(like: Optional[pulumi.Input[Optional[_builtins.str]]]
128
130
  with_parameters: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
129
131
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWarehousesResult]:
130
132
  """
133
+ > **Note** Since [2025_07 BCR](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_07/bcr-2110), `describe_output` field is different from Snowflake. Now, in Snowflake always `resource_constraint` and `generation` are present. The provider, always takes the value from `resource_constraint` and dispatches it based on the warehouse type: for Standard warehouses, it sets `generation`, for Snowpark-optimized warehouses, it sets `resource_constraint`. This will be adjusted later.
134
+
131
135
  Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
132
136
 
133
137