pulumi-snowflake 2.9.0a1761589382__py3-none-any.whl → 2.9.0a1761968339__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 +1 -0
- pulumi_snowflake/_inputs.py +482 -1
- pulumi_snowflake/authentication_policy.py +172 -31
- pulumi_snowflake/compute_pool.py +7 -7
- pulumi_snowflake/config/__init__.pyi +16 -1
- pulumi_snowflake/config/vars.py +22 -1
- pulumi_snowflake/get_authentication_policies.py +214 -0
- pulumi_snowflake/get_compute_pools.py +0 -4
- pulumi_snowflake/get_git_repositories.py +0 -4
- pulumi_snowflake/get_image_repositories.py +0 -4
- pulumi_snowflake/get_services.py +0 -4
- pulumi_snowflake/get_user_programmatic_access_tokens.py +0 -4
- pulumi_snowflake/get_warehouses.py +4 -0
- pulumi_snowflake/outputs.py +539 -1
- pulumi_snowflake/provider.py +81 -5
- pulumi_snowflake/pulumi-plugin.json +1 -1
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/METADATA +1 -1
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/RECORD +20 -19
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ Specifies your Snowflake account name assigned by Snowflake. For information abo
|
|
|
22
22
|
|
|
23
23
|
authenticator: Optional[str]
|
|
24
24
|
"""
|
|
25
|
-
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
25
|
+
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
clientIp: Optional[str]
|
|
@@ -70,6 +70,11 @@ enableSingleUseRefreshTokens: Optional[bool]
|
|
|
70
70
|
Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the `SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENS` environment variable.
|
|
71
71
|
"""
|
|
72
72
|
|
|
73
|
+
experimentalFeaturesEnableds: Optional[str]
|
|
74
|
+
"""
|
|
75
|
+
A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are: `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
76
|
+
"""
|
|
77
|
+
|
|
73
78
|
externalBrowserTimeout: Optional[int]
|
|
74
79
|
"""
|
|
75
80
|
The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
@@ -257,3 +262,13 @@ warehouse: Optional[str]
|
|
|
257
262
|
Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the `SNOWFLAKE_WAREHOUSE` environment variable.
|
|
258
263
|
"""
|
|
259
264
|
|
|
265
|
+
workloadIdentityEntraResource: Optional[str]
|
|
266
|
+
"""
|
|
267
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
workloadIdentityProvider: Optional[str]
|
|
271
|
+
"""
|
|
272
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
273
|
+
"""
|
|
274
|
+
|
pulumi_snowflake/config/vars.py
CHANGED
|
@@ -31,7 +31,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
31
31
|
@_builtins.property
|
|
32
32
|
def authenticator(self) -> Optional[str]:
|
|
33
33
|
"""
|
|
34
|
-
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
34
|
+
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
35
35
|
"""
|
|
36
36
|
return __config__.get('authenticator')
|
|
37
37
|
|
|
@@ -98,6 +98,13 @@ class _ExportableConfig(types.ModuleType):
|
|
|
98
98
|
"""
|
|
99
99
|
return __config__.get_bool('enableSingleUseRefreshTokens')
|
|
100
100
|
|
|
101
|
+
@_builtins.property
|
|
102
|
+
def experimental_features_enableds(self) -> Optional[str]:
|
|
103
|
+
"""
|
|
104
|
+
A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are: `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
105
|
+
"""
|
|
106
|
+
return __config__.get('experimentalFeaturesEnableds')
|
|
107
|
+
|
|
101
108
|
@_builtins.property
|
|
102
109
|
def external_browser_timeout(self) -> Optional[int]:
|
|
103
110
|
"""
|
|
@@ -361,3 +368,17 @@ class _ExportableConfig(types.ModuleType):
|
|
|
361
368
|
"""
|
|
362
369
|
return __config__.get('warehouse') or _utilities.get_env('SNOWFLAKE_WAREHOUSE')
|
|
363
370
|
|
|
371
|
+
@_builtins.property
|
|
372
|
+
def workload_identity_entra_resource(self) -> Optional[str]:
|
|
373
|
+
"""
|
|
374
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
375
|
+
"""
|
|
376
|
+
return __config__.get('workloadIdentityEntraResource')
|
|
377
|
+
|
|
378
|
+
@_builtins.property
|
|
379
|
+
def workload_identity_provider(self) -> Optional[str]:
|
|
380
|
+
"""
|
|
381
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
382
|
+
"""
|
|
383
|
+
return __config__.get('workloadIdentityProvider')
|
|
384
|
+
|
|
@@ -0,0 +1,214 @@
|
|
|
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
|
+
'GetAuthenticationPoliciesResult',
|
|
21
|
+
'AwaitableGetAuthenticationPoliciesResult',
|
|
22
|
+
'get_authentication_policies',
|
|
23
|
+
'get_authentication_policies_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetAuthenticationPoliciesResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getAuthenticationPolicies.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, authentication_policies=None, id=None, in_=None, like=None, limit=None, on=None, starts_with=None, with_describe=None):
|
|
32
|
+
if authentication_policies and not isinstance(authentication_policies, list):
|
|
33
|
+
raise TypeError("Expected argument 'authentication_policies' to be a list")
|
|
34
|
+
pulumi.set(__self__, "authentication_policies", authentication_policies)
|
|
35
|
+
if id and not isinstance(id, str):
|
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "id", id)
|
|
38
|
+
if in_ and not isinstance(in_, dict):
|
|
39
|
+
raise TypeError("Expected argument 'in_' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "in_", in_)
|
|
41
|
+
if like and not isinstance(like, str):
|
|
42
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
43
|
+
pulumi.set(__self__, "like", like)
|
|
44
|
+
if limit and not isinstance(limit, dict):
|
|
45
|
+
raise TypeError("Expected argument 'limit' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "limit", limit)
|
|
47
|
+
if on and not isinstance(on, dict):
|
|
48
|
+
raise TypeError("Expected argument 'on' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "on", on)
|
|
50
|
+
if starts_with and not isinstance(starts_with, str):
|
|
51
|
+
raise TypeError("Expected argument 'starts_with' to be a str")
|
|
52
|
+
pulumi.set(__self__, "starts_with", starts_with)
|
|
53
|
+
if with_describe and not isinstance(with_describe, bool):
|
|
54
|
+
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
55
|
+
pulumi.set(__self__, "with_describe", with_describe)
|
|
56
|
+
|
|
57
|
+
@_builtins.property
|
|
58
|
+
@pulumi.getter(name="authenticationPolicies")
|
|
59
|
+
def authentication_policies(self) -> Sequence['outputs.GetAuthenticationPoliciesAuthenticationPolicyResult']:
|
|
60
|
+
"""
|
|
61
|
+
Holds the aggregated output of all authentication policies details queries.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "authentication_policies")
|
|
64
|
+
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter
|
|
67
|
+
def id(self) -> _builtins.str:
|
|
68
|
+
"""
|
|
69
|
+
The provider-assigned unique ID for this managed resource.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "id")
|
|
72
|
+
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter(name="in")
|
|
75
|
+
def in_(self) -> Optional['outputs.GetAuthenticationPoliciesInResult']:
|
|
76
|
+
"""
|
|
77
|
+
IN clause to filter the list of objects
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "in_")
|
|
80
|
+
|
|
81
|
+
@_builtins.property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def like(self) -> Optional[_builtins.str]:
|
|
84
|
+
"""
|
|
85
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "like")
|
|
88
|
+
|
|
89
|
+
@_builtins.property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def limit(self) -> Optional['outputs.GetAuthenticationPoliciesLimitResult']:
|
|
92
|
+
"""
|
|
93
|
+
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`.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "limit")
|
|
96
|
+
|
|
97
|
+
@_builtins.property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def on(self) -> Optional['outputs.GetAuthenticationPoliciesOnResult']:
|
|
100
|
+
"""
|
|
101
|
+
Lists the policies that are effective on the specified object.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "on")
|
|
104
|
+
|
|
105
|
+
@_builtins.property
|
|
106
|
+
@pulumi.getter(name="startsWith")
|
|
107
|
+
def starts_with(self) -> Optional[_builtins.str]:
|
|
108
|
+
"""
|
|
109
|
+
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "starts_with")
|
|
112
|
+
|
|
113
|
+
@_builtins.property
|
|
114
|
+
@pulumi.getter(name="withDescribe")
|
|
115
|
+
def with_describe(self) -> Optional[_builtins.bool]:
|
|
116
|
+
"""
|
|
117
|
+
(Default: `true`) Runs DESC AUTHENTICATION POLICY for each service returned by SHOW AUTHENTICATION POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "with_describe")
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
class AwaitableGetAuthenticationPoliciesResult(GetAuthenticationPoliciesResult):
|
|
123
|
+
# pylint: disable=using-constant-test
|
|
124
|
+
def __await__(self):
|
|
125
|
+
if False:
|
|
126
|
+
yield self
|
|
127
|
+
return GetAuthenticationPoliciesResult(
|
|
128
|
+
authentication_policies=self.authentication_policies,
|
|
129
|
+
id=self.id,
|
|
130
|
+
in_=self.in_,
|
|
131
|
+
like=self.like,
|
|
132
|
+
limit=self.limit,
|
|
133
|
+
on=self.on,
|
|
134
|
+
starts_with=self.starts_with,
|
|
135
|
+
with_describe=self.with_describe)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def get_authentication_policies(in_: Optional[Union['GetAuthenticationPoliciesInArgs', 'GetAuthenticationPoliciesInArgsDict']] = None,
|
|
139
|
+
like: Optional[_builtins.str] = None,
|
|
140
|
+
limit: Optional[Union['GetAuthenticationPoliciesLimitArgs', 'GetAuthenticationPoliciesLimitArgsDict']] = None,
|
|
141
|
+
on: Optional[Union['GetAuthenticationPoliciesOnArgs', 'GetAuthenticationPoliciesOnArgsDict']] = None,
|
|
142
|
+
starts_with: Optional[_builtins.str] = None,
|
|
143
|
+
with_describe: Optional[_builtins.bool] = None,
|
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthenticationPoliciesResult:
|
|
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
|
+
Data source used to get details of filtered authentication policies. Filtering is aligned with the current possibilities for [SHOW AUTHENTICATION POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-authentication-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `authentication_policies`.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:param Union['GetAuthenticationPoliciesInArgs', 'GetAuthenticationPoliciesInArgsDict'] in_: IN clause to filter the list of objects
|
|
152
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
153
|
+
:param Union['GetAuthenticationPoliciesLimitArgs', 'GetAuthenticationPoliciesLimitArgsDict'] 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`.
|
|
154
|
+
:param Union['GetAuthenticationPoliciesOnArgs', 'GetAuthenticationPoliciesOnArgsDict'] on: Lists the policies that are effective on the specified object.
|
|
155
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
156
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC AUTHENTICATION POLICY for each service returned by SHOW AUTHENTICATION POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
157
|
+
"""
|
|
158
|
+
__args__ = dict()
|
|
159
|
+
__args__['in'] = in_
|
|
160
|
+
__args__['like'] = like
|
|
161
|
+
__args__['limit'] = limit
|
|
162
|
+
__args__['on'] = on
|
|
163
|
+
__args__['startsWith'] = starts_with
|
|
164
|
+
__args__['withDescribe'] = with_describe
|
|
165
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
166
|
+
__ret__ = pulumi.runtime.invoke('snowflake:index/getAuthenticationPolicies:getAuthenticationPolicies', __args__, opts=opts, typ=GetAuthenticationPoliciesResult).value
|
|
167
|
+
|
|
168
|
+
return AwaitableGetAuthenticationPoliciesResult(
|
|
169
|
+
authentication_policies=pulumi.get(__ret__, 'authentication_policies'),
|
|
170
|
+
id=pulumi.get(__ret__, 'id'),
|
|
171
|
+
in_=pulumi.get(__ret__, 'in_'),
|
|
172
|
+
like=pulumi.get(__ret__, 'like'),
|
|
173
|
+
limit=pulumi.get(__ret__, 'limit'),
|
|
174
|
+
on=pulumi.get(__ret__, 'on'),
|
|
175
|
+
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
176
|
+
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
177
|
+
def get_authentication_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetAuthenticationPoliciesInArgs', 'GetAuthenticationPoliciesInArgsDict']]]] = None,
|
|
178
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
|
+
limit: Optional[pulumi.Input[Optional[Union['GetAuthenticationPoliciesLimitArgs', 'GetAuthenticationPoliciesLimitArgsDict']]]] = None,
|
|
180
|
+
on: Optional[pulumi.Input[Optional[Union['GetAuthenticationPoliciesOnArgs', 'GetAuthenticationPoliciesOnArgsDict']]]] = None,
|
|
181
|
+
starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
182
|
+
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
183
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthenticationPoliciesResult]:
|
|
184
|
+
"""
|
|
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
|
+
Data source used to get details of filtered authentication policies. Filtering is aligned with the current possibilities for [SHOW AUTHENTICATION POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-authentication-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `authentication_policies`.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:param Union['GetAuthenticationPoliciesInArgs', 'GetAuthenticationPoliciesInArgsDict'] in_: IN clause to filter the list of objects
|
|
191
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
192
|
+
:param Union['GetAuthenticationPoliciesLimitArgs', 'GetAuthenticationPoliciesLimitArgsDict'] 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`.
|
|
193
|
+
:param Union['GetAuthenticationPoliciesOnArgs', 'GetAuthenticationPoliciesOnArgsDict'] on: Lists the policies that are effective on the specified object.
|
|
194
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
195
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC AUTHENTICATION POLICY for each service returned by SHOW AUTHENTICATION POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
196
|
+
"""
|
|
197
|
+
__args__ = dict()
|
|
198
|
+
__args__['in'] = in_
|
|
199
|
+
__args__['like'] = like
|
|
200
|
+
__args__['limit'] = limit
|
|
201
|
+
__args__['on'] = on
|
|
202
|
+
__args__['startsWith'] = starts_with
|
|
203
|
+
__args__['withDescribe'] = with_describe
|
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getAuthenticationPolicies:getAuthenticationPolicies', __args__, opts=opts, typ=GetAuthenticationPoliciesResult)
|
|
206
|
+
return __ret__.apply(lambda __response__: GetAuthenticationPoliciesResult(
|
|
207
|
+
authentication_policies=pulumi.get(__response__, 'authentication_policies'),
|
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
|
209
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
210
|
+
like=pulumi.get(__response__, 'like'),
|
|
211
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
212
|
+
on=pulumi.get(__response__, 'on'),
|
|
213
|
+
starts_with=pulumi.get(__response__, 'starts_with'),
|
|
214
|
+
with_describe=pulumi.get(__response__, 'with_describe')))
|
|
@@ -117,8 +117,6 @@ def get_compute_pools(like: Optional[_builtins.str] = None,
|
|
|
117
117
|
with_describe: Optional[_builtins.bool] = None,
|
|
118
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputePoolsResult:
|
|
119
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
120
|
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`.
|
|
123
121
|
|
|
124
122
|
|
|
@@ -148,8 +146,6 @@ def get_compute_pools_output(like: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
148
146
|
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
149
147
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputePoolsResult]:
|
|
150
148
|
"""
|
|
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
149
|
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`.
|
|
154
150
|
|
|
155
151
|
|
|
@@ -117,8 +117,6 @@ def get_git_repositories(in_: Optional[Union['GetGitRepositoriesInArgs', 'GetGit
|
|
|
117
117
|
with_describe: Optional[_builtins.bool] = None,
|
|
118
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitRepositoriesResult:
|
|
119
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
120
|
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`.
|
|
123
121
|
|
|
124
122
|
|
|
@@ -148,8 +146,6 @@ def get_git_repositories_output(in_: Optional[pulumi.Input[Optional[Union['GetGi
|
|
|
148
146
|
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
149
147
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitRepositoriesResult]:
|
|
150
148
|
"""
|
|
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
149
|
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`.
|
|
154
150
|
|
|
155
151
|
|
|
@@ -91,8 +91,6 @@ def get_image_repositories(in_: Optional[Union['GetImageRepositoriesInArgs', 'Ge
|
|
|
91
91
|
like: Optional[_builtins.str] = None,
|
|
92
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageRepositoriesResult:
|
|
93
93
|
"""
|
|
94
|
-
!> **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
|
-
|
|
96
94
|
Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `image_repositories`.
|
|
97
95
|
|
|
98
96
|
|
|
@@ -114,8 +112,6 @@ def get_image_repositories_output(in_: Optional[pulumi.Input[Optional[Union['Get
|
|
|
114
112
|
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
115
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageRepositoriesResult]:
|
|
116
114
|
"""
|
|
117
|
-
!> **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.
|
|
118
|
-
|
|
119
115
|
Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `image_repositories`.
|
|
120
116
|
|
|
121
117
|
|
pulumi_snowflake/get_services.py
CHANGED
|
@@ -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
|
|