pulumi-snowflake 2.6.0a1758005717__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.
- pulumi_snowflake/__init__.py +21 -0
- pulumi_snowflake/_inputs.py +2582 -296
- pulumi_snowflake/authentication_policy.py +181 -31
- pulumi_snowflake/compute_pool.py +7 -7
- pulumi_snowflake/config/__init__.pyi +64 -1
- pulumi_snowflake/config/vars.py +88 -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_notebooks.py +174 -0
- pulumi_snowflake/get_semantic_views.py +178 -0
- 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/notebook.py +623 -0
- pulumi_snowflake/outputs.py +2492 -147
- pulumi_snowflake/provider.py +315 -6
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/semantic_view.py +535 -0
- pulumi_snowflake/storage_integration.py +98 -38
- pulumi_snowflake/task.py +7 -7
- pulumi_snowflake/warehouse.py +94 -0
- {pulumi_snowflake-2.6.0a1758005717.dist-info → pulumi_snowflake-2.11.0a1766126285.dist-info}/METADATA +1 -1
- {pulumi_snowflake-2.6.0a1758005717.dist-info → pulumi_snowflake-2.11.0a1766126285.dist-info}/RECORD +27 -22
- {pulumi_snowflake-2.6.0a1758005717.dist-info → pulumi_snowflake-2.11.0a1766126285.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.6.0a1758005717.dist-info → pulumi_snowflake-2.11.0a1766126285.dist-info}/top_level.txt +0 -0
pulumi_snowflake/compute_pool.py
CHANGED
|
@@ -32,7 +32,7 @@ class ComputePoolArgs:
|
|
|
32
32
|
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
33
33
|
"""
|
|
34
34
|
The set of arguments for constructing a ComputePool resource.
|
|
35
|
-
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
35
|
+
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
36
36
|
:param pulumi.Input[_builtins.int] max_nodes: Specifies the maximum number of nodes for the compute pool.
|
|
37
37
|
:param pulumi.Input[_builtins.int] min_nodes: Specifies the minimum number of nodes for the compute pool.
|
|
38
38
|
:param pulumi.Input[_builtins.str] auto_resume: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume a compute pool when a service or job is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
@@ -62,7 +62,7 @@ class ComputePoolArgs:
|
|
|
62
62
|
@pulumi.getter(name="instanceFamily")
|
|
63
63
|
def instance_family(self) -> pulumi.Input[_builtins.str]:
|
|
64
64
|
"""
|
|
65
|
-
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
65
|
+
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "instance_family")
|
|
68
68
|
|
|
@@ -191,7 +191,7 @@ class _ComputePoolState:
|
|
|
191
191
|
:param pulumi.Input[_builtins.str] for_application: Specifies the Snowflake Native App name.
|
|
192
192
|
:param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
193
193
|
:param pulumi.Input[_builtins.str] initially_suspended: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation.
|
|
194
|
-
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
194
|
+
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
195
195
|
:param pulumi.Input[_builtins.int] max_nodes: Specifies the maximum number of nodes for the compute pool.
|
|
196
196
|
:param pulumi.Input[_builtins.int] min_nodes: Specifies the minimum number of nodes for the compute pool.
|
|
197
197
|
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -310,7 +310,7 @@ class _ComputePoolState:
|
|
|
310
310
|
@pulumi.getter(name="instanceFamily")
|
|
311
311
|
def instance_family(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
312
312
|
"""
|
|
313
|
-
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
313
|
+
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
314
314
|
"""
|
|
315
315
|
return pulumi.get(self, "instance_family")
|
|
316
316
|
|
|
@@ -397,7 +397,7 @@ class ComputePool(pulumi.CustomResource):
|
|
|
397
397
|
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the compute pool.
|
|
398
398
|
:param pulumi.Input[_builtins.str] for_application: Specifies the Snowflake Native App name.
|
|
399
399
|
:param pulumi.Input[_builtins.str] initially_suspended: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation.
|
|
400
|
-
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
400
|
+
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
401
401
|
:param pulumi.Input[_builtins.int] max_nodes: Specifies the maximum number of nodes for the compute pool.
|
|
402
402
|
:param pulumi.Input[_builtins.int] min_nodes: Specifies the minimum number of nodes for the compute pool.
|
|
403
403
|
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -502,7 +502,7 @@ class ComputePool(pulumi.CustomResource):
|
|
|
502
502
|
:param pulumi.Input[_builtins.str] for_application: Specifies the Snowflake Native App name.
|
|
503
503
|
:param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
504
504
|
:param pulumi.Input[_builtins.str] initially_suspended: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation.
|
|
505
|
-
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
505
|
+
:param pulumi.Input[_builtins.str] instance_family: Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
506
506
|
:param pulumi.Input[_builtins.int] max_nodes: Specifies the maximum number of nodes for the compute pool.
|
|
507
507
|
:param pulumi.Input[_builtins.int] min_nodes: Specifies the minimum number of nodes for the compute pool.
|
|
508
508
|
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -586,7 +586,7 @@ class ComputePool(pulumi.CustomResource):
|
|
|
586
586
|
@pulumi.getter(name="instanceFamily")
|
|
587
587
|
def instance_family(self) -> pulumi.Output[_builtins.str]:
|
|
588
588
|
"""
|
|
589
|
-
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL`.
|
|
589
|
+
Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive): `CPU_X64_XS` | `CPU_X64_S` | `CPU_X64_M` | `CPU_X64_SL` | `CPU_X64_L` | `HIGHMEM_X64_S` | `HIGHMEM_X64_M` | `HIGHMEM_X64_L` | `HIGHMEM_X64_SL` | `GPU_NV_S` | `GPU_NV_M` | `GPU_NV_L` | `GPU_NV_XS` | `GPU_NV_SM` | `GPU_NV_2M` | `GPU_NV_3M` | `GPU_NV_SL` | `GPU_GCP_NV_L4_1_24G` | `GPU_GCP_NV_L4_4_24G` | `GPU_GCP_NV_A100_8_40G`. Not all instance families are supported in all regions. Run `SHOW COMPUTE POOL INSTANCE FAMILIES` to see the list of supported instance families in your region.
|
|
590
590
|
"""
|
|
591
591
|
return pulumi.get(self, "instance_family")
|
|
592
592
|
|
|
@@ -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`. 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]
|
|
@@ -65,6 +65,16 @@ driverTracing: Optional[str]
|
|
|
65
65
|
Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` | `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
|
+
enableSingleUseRefreshTokens: Optional[bool]
|
|
69
|
+
"""
|
|
70
|
+
Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the `SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENS` environment variable.
|
|
71
|
+
"""
|
|
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: `PARAMETERS_IGNORE_VALUE_CHANGES_IF_NOT_ON_OBJECT_LEVEL` | `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
76
|
+
"""
|
|
77
|
+
|
|
68
78
|
externalBrowserTimeout: Optional[int]
|
|
69
79
|
"""
|
|
70
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.
|
|
@@ -100,6 +110,16 @@ keepSessionAlive: Optional[bool]
|
|
|
100
110
|
Enables the session to persist even after the connection is closed. Can also be sourced from the `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
|
|
101
111
|
"""
|
|
102
112
|
|
|
113
|
+
logQueryParameters: Optional[bool]
|
|
114
|
+
"""
|
|
115
|
+
When set to true, the parameters will be logged. Requires logQueryText to be enabled first. Be aware that it may include sensitive information. Default value is false. Can also be sourced from the `SNOWFLAKE_LOG_QUERY_PARAMETERS` environment variable.
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
logQueryText: Optional[bool]
|
|
119
|
+
"""
|
|
120
|
+
When set to true, the full query text will be logged. Be aware that it may include sensitive information. Default value is false. Can also be sourced from the `SNOWFLAKE_LOG_QUERY_TEXT` environment variable.
|
|
121
|
+
"""
|
|
122
|
+
|
|
103
123
|
loginTimeout: Optional[int]
|
|
104
124
|
"""
|
|
105
125
|
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
|
|
@@ -110,6 +130,36 @@ maxRetryCount: Optional[int]
|
|
|
110
130
|
Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
111
131
|
"""
|
|
112
132
|
|
|
133
|
+
oauthAuthorizationUrl: Optional[str]
|
|
134
|
+
"""
|
|
135
|
+
Authorization URL of OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_AUTHORIZATION_URL` environment variable.
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
oauthClientId: Optional[str]
|
|
139
|
+
"""
|
|
140
|
+
Client id for OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
141
|
+
"""
|
|
142
|
+
|
|
143
|
+
oauthClientSecret: Optional[str]
|
|
144
|
+
"""
|
|
145
|
+
Client secret for OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment variable.
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
oauthRedirectUri: Optional[str]
|
|
149
|
+
"""
|
|
150
|
+
Redirect URI registered in IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_REDIRECT_URI` environment variable.
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
oauthScope: Optional[str]
|
|
154
|
+
"""
|
|
155
|
+
Comma separated list of scopes. If empty it is derived from role. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_SCOPE` environment variable.
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
oauthTokenRequestUrl: Optional[str]
|
|
159
|
+
"""
|
|
160
|
+
Token request URL of OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_TOKEN_REQUEST_URL` environment variable.
|
|
161
|
+
"""
|
|
162
|
+
|
|
113
163
|
ocspFailOpen: Optional[str]
|
|
114
164
|
"""
|
|
115
165
|
True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
@@ -198,6 +248,9 @@ Token to use for OAuth and other forms of token based auth. When this field is s
|
|
|
198
248
|
"""
|
|
199
249
|
|
|
200
250
|
tokenAccessor: Optional[str]
|
|
251
|
+
"""
|
|
252
|
+
If you are using the OAuth authentication flows, use the dedicated `authenticator` and `oauth...` fields instead. See our authentication methods guide for more information.
|
|
253
|
+
"""
|
|
201
254
|
|
|
202
255
|
useLegacyTomlFile: Optional[bool]
|
|
203
256
|
"""
|
|
@@ -219,3 +272,13 @@ warehouse: Optional[str]
|
|
|
219
272
|
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.
|
|
220
273
|
"""
|
|
221
274
|
|
|
275
|
+
workloadIdentityEntraResource: Optional[str]
|
|
276
|
+
"""
|
|
277
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
278
|
+
"""
|
|
279
|
+
|
|
280
|
+
workloadIdentityProvider: Optional[str]
|
|
281
|
+
"""
|
|
282
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
283
|
+
"""
|
|
284
|
+
|
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`. 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
|
|
|
@@ -91,6 +91,20 @@ class _ExportableConfig(types.ModuleType):
|
|
|
91
91
|
"""
|
|
92
92
|
return __config__.get('driverTracing')
|
|
93
93
|
|
|
94
|
+
@_builtins.property
|
|
95
|
+
def enable_single_use_refresh_tokens(self) -> Optional[bool]:
|
|
96
|
+
"""
|
|
97
|
+
Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the `SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENS` environment variable.
|
|
98
|
+
"""
|
|
99
|
+
return __config__.get_bool('enableSingleUseRefreshTokens')
|
|
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: `PARAMETERS_IGNORE_VALUE_CHANGES_IF_NOT_ON_OBJECT_LEVEL` | `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
105
|
+
"""
|
|
106
|
+
return __config__.get('experimentalFeaturesEnableds')
|
|
107
|
+
|
|
94
108
|
@_builtins.property
|
|
95
109
|
def external_browser_timeout(self) -> Optional[int]:
|
|
96
110
|
"""
|
|
@@ -140,6 +154,20 @@ class _ExportableConfig(types.ModuleType):
|
|
|
140
154
|
"""
|
|
141
155
|
return __config__.get_bool('keepSessionAlive')
|
|
142
156
|
|
|
157
|
+
@_builtins.property
|
|
158
|
+
def log_query_parameters(self) -> Optional[bool]:
|
|
159
|
+
"""
|
|
160
|
+
When set to true, the parameters will be logged. Requires logQueryText to be enabled first. Be aware that it may include sensitive information. Default value is false. Can also be sourced from the `SNOWFLAKE_LOG_QUERY_PARAMETERS` environment variable.
|
|
161
|
+
"""
|
|
162
|
+
return __config__.get_bool('logQueryParameters')
|
|
163
|
+
|
|
164
|
+
@_builtins.property
|
|
165
|
+
def log_query_text(self) -> Optional[bool]:
|
|
166
|
+
"""
|
|
167
|
+
When set to true, the full query text will be logged. Be aware that it may include sensitive information. Default value is false. Can also be sourced from the `SNOWFLAKE_LOG_QUERY_TEXT` environment variable.
|
|
168
|
+
"""
|
|
169
|
+
return __config__.get_bool('logQueryText')
|
|
170
|
+
|
|
143
171
|
@_builtins.property
|
|
144
172
|
def login_timeout(self) -> Optional[int]:
|
|
145
173
|
"""
|
|
@@ -154,6 +182,48 @@ class _ExportableConfig(types.ModuleType):
|
|
|
154
182
|
"""
|
|
155
183
|
return __config__.get_int('maxRetryCount')
|
|
156
184
|
|
|
185
|
+
@_builtins.property
|
|
186
|
+
def oauth_authorization_url(self) -> Optional[str]:
|
|
187
|
+
"""
|
|
188
|
+
Authorization URL of OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_AUTHORIZATION_URL` environment variable.
|
|
189
|
+
"""
|
|
190
|
+
return __config__.get('oauthAuthorizationUrl')
|
|
191
|
+
|
|
192
|
+
@_builtins.property
|
|
193
|
+
def oauth_client_id(self) -> Optional[str]:
|
|
194
|
+
"""
|
|
195
|
+
Client id for OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
196
|
+
"""
|
|
197
|
+
return __config__.get('oauthClientId')
|
|
198
|
+
|
|
199
|
+
@_builtins.property
|
|
200
|
+
def oauth_client_secret(self) -> Optional[str]:
|
|
201
|
+
"""
|
|
202
|
+
Client secret for OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment variable.
|
|
203
|
+
"""
|
|
204
|
+
return __config__.get('oauthClientSecret')
|
|
205
|
+
|
|
206
|
+
@_builtins.property
|
|
207
|
+
def oauth_redirect_uri(self) -> Optional[str]:
|
|
208
|
+
"""
|
|
209
|
+
Redirect URI registered in IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_REDIRECT_URI` environment variable.
|
|
210
|
+
"""
|
|
211
|
+
return __config__.get('oauthRedirectUri')
|
|
212
|
+
|
|
213
|
+
@_builtins.property
|
|
214
|
+
def oauth_scope(self) -> Optional[str]:
|
|
215
|
+
"""
|
|
216
|
+
Comma separated list of scopes. If empty it is derived from role. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_SCOPE` environment variable.
|
|
217
|
+
"""
|
|
218
|
+
return __config__.get('oauthScope')
|
|
219
|
+
|
|
220
|
+
@_builtins.property
|
|
221
|
+
def oauth_token_request_url(self) -> Optional[str]:
|
|
222
|
+
"""
|
|
223
|
+
Token request URL of OAuth2 external IdP. See [Snowflake OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth). Can also be sourced from the `SNOWFLAKE_OAUTH_TOKEN_REQUEST_URL` environment variable.
|
|
224
|
+
"""
|
|
225
|
+
return __config__.get('oauthTokenRequestUrl')
|
|
226
|
+
|
|
157
227
|
@_builtins.property
|
|
158
228
|
def ocsp_fail_open(self) -> Optional[str]:
|
|
159
229
|
"""
|
|
@@ -279,6 +349,9 @@ class _ExportableConfig(types.ModuleType):
|
|
|
279
349
|
|
|
280
350
|
@_builtins.property
|
|
281
351
|
def token_accessor(self) -> Optional[str]:
|
|
352
|
+
"""
|
|
353
|
+
If you are using the OAuth authentication flows, use the dedicated `authenticator` and `oauth...` fields instead. See our authentication methods guide for more information.
|
|
354
|
+
"""
|
|
282
355
|
return __config__.get('tokenAccessor')
|
|
283
356
|
|
|
284
357
|
@_builtins.property
|
|
@@ -309,3 +382,17 @@ class _ExportableConfig(types.ModuleType):
|
|
|
309
382
|
"""
|
|
310
383
|
return __config__.get('warehouse') or _utilities.get_env('SNOWFLAKE_WAREHOUSE')
|
|
311
384
|
|
|
385
|
+
@_builtins.property
|
|
386
|
+
def workload_identity_entra_resource(self) -> Optional[str]:
|
|
387
|
+
"""
|
|
388
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
389
|
+
"""
|
|
390
|
+
return __config__.get('workloadIdentityEntraResource')
|
|
391
|
+
|
|
392
|
+
@_builtins.property
|
|
393
|
+
def workload_identity_provider(self) -> Optional[str]:
|
|
394
|
+
"""
|
|
395
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
396
|
+
"""
|
|
397
|
+
return __config__.get('workloadIdentityProvider')
|
|
398
|
+
|
|
@@ -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
|
|