pulumi-snowflake 0.59.0a1726831379__py3-none-any.whl → 0.60.0__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 +36 -0
- pulumi_snowflake/_inputs.py +19813 -3512
- pulumi_snowflake/_utilities.py +1 -1
- pulumi_snowflake/account.py +5 -0
- pulumi_snowflake/account_parameter.py +5 -0
- pulumi_snowflake/account_password_policy_attachment.py +5 -0
- pulumi_snowflake/account_role.py +5 -0
- pulumi_snowflake/alert.py +5 -0
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +5 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +5 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +5 -0
- pulumi_snowflake/api_integration.py +5 -0
- pulumi_snowflake/config/__init__.pyi +5 -0
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +5 -0
- pulumi_snowflake/cortex_search_service.py +5 -0
- pulumi_snowflake/database.py +5 -0
- pulumi_snowflake/database_old.py +5 -0
- pulumi_snowflake/database_role.py +5 -0
- pulumi_snowflake/dynamic_table.py +5 -0
- pulumi_snowflake/email_notification_integration.py +5 -0
- pulumi_snowflake/external_function.py +5 -0
- pulumi_snowflake/external_oauth_integration.py +5 -0
- pulumi_snowflake/external_table.py +5 -0
- pulumi_snowflake/failover_group.py +5 -0
- pulumi_snowflake/file_format.py +5 -0
- pulumi_snowflake/function.py +5 -0
- pulumi_snowflake/get_accounts.py +13 -4
- pulumi_snowflake/get_alerts.py +17 -4
- pulumi_snowflake/get_cortex_search_services.py +19 -4
- pulumi_snowflake/get_current_account.py +13 -4
- pulumi_snowflake/get_current_role.py +11 -4
- pulumi_snowflake/get_database.py +20 -4
- pulumi_snowflake/get_database_role.py +16 -4
- pulumi_snowflake/get_database_roles.py +17 -4
- pulumi_snowflake/get_databases.py +21 -4
- pulumi_snowflake/get_dynamic_tables.py +19 -4
- pulumi_snowflake/get_external_functions.py +15 -4
- pulumi_snowflake/get_external_tables.py +15 -4
- pulumi_snowflake/get_failover_groups.py +13 -4
- pulumi_snowflake/get_file_formats.py +15 -4
- pulumi_snowflake/get_functions.py +15 -4
- pulumi_snowflake/get_grants.py +21 -4
- pulumi_snowflake/get_masking_policies.py +19 -4
- pulumi_snowflake/get_materialized_views.py +15 -4
- pulumi_snowflake/get_network_policies.py +15 -4
- pulumi_snowflake/get_parameters.py +21 -4
- pulumi_snowflake/get_pipes.py +15 -4
- pulumi_snowflake/get_procedures.py +15 -4
- pulumi_snowflake/get_resource_monitors.py +13 -4
- pulumi_snowflake/get_role.py +13 -4
- pulumi_snowflake/get_roles.py +15 -4
- pulumi_snowflake/get_row_access_policies.py +19 -4
- pulumi_snowflake/get_schemas.py +23 -4
- pulumi_snowflake/get_security_integrations.py +15 -4
- pulumi_snowflake/get_sequences.py +15 -4
- pulumi_snowflake/get_shares.py +13 -4
- pulumi_snowflake/get_stages.py +15 -4
- pulumi_snowflake/get_storage_integrations.py +11 -4
- pulumi_snowflake/get_streamlits.py +19 -4
- pulumi_snowflake/get_streams.py +15 -4
- pulumi_snowflake/get_system_generate_scim_access_token.py +13 -4
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +13 -4
- pulumi_snowflake/get_system_get_private_link_config.py +19 -4
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +12 -4
- pulumi_snowflake/get_tables.py +15 -4
- pulumi_snowflake/get_tasks.py +15 -4
- pulumi_snowflake/get_users.py +21 -4
- pulumi_snowflake/get_views.py +21 -4
- pulumi_snowflake/get_warehouses.py +17 -4
- pulumi_snowflake/grant_account_role.py +5 -0
- pulumi_snowflake/grant_application_role.py +5 -0
- pulumi_snowflake/grant_database_role.py +5 -0
- pulumi_snowflake/grant_ownership.py +5 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +5 -0
- pulumi_snowflake/grant_privileges_to_database_role.py +5 -0
- pulumi_snowflake/grant_privileges_to_share.py +5 -0
- pulumi_snowflake/legacy_service_user.py +3666 -0
- pulumi_snowflake/managed_account.py +5 -0
- pulumi_snowflake/masking_policy.py +9 -4
- pulumi_snowflake/materialized_view.py +5 -0
- pulumi_snowflake/network_policy.py +5 -0
- pulumi_snowflake/network_policy_attachment.py +5 -0
- pulumi_snowflake/network_rule.py +5 -0
- pulumi_snowflake/notification_integration.py +5 -0
- pulumi_snowflake/oauth_integration.py +5 -0
- pulumi_snowflake/oauth_integration_for_custom_clients.py +5 -0
- pulumi_snowflake/oauth_integration_for_partner_applications.py +5 -0
- pulumi_snowflake/object_parameter.py +5 -0
- pulumi_snowflake/outputs.py +10648 -2668
- pulumi_snowflake/password_policy.py +5 -0
- pulumi_snowflake/pipe.py +5 -0
- pulumi_snowflake/procedure.py +5 -0
- pulumi_snowflake/provider.py +5 -0
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +5 -0
- pulumi_snowflake/role.py +5 -0
- pulumi_snowflake/row_access_policy.py +9 -4
- pulumi_snowflake/saml2_integration.py +5 -0
- pulumi_snowflake/saml_integration.py +5 -0
- pulumi_snowflake/schema.py +5 -0
- pulumi_snowflake/scim_integration.py +5 -0
- pulumi_snowflake/secondary_database.py +5 -0
- pulumi_snowflake/sequence.py +5 -0
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/session_parameter.py +5 -0
- pulumi_snowflake/share.py +5 -0
- pulumi_snowflake/shared_database.py +5 -0
- pulumi_snowflake/stage.py +12 -7
- pulumi_snowflake/storage_integration.py +5 -0
- pulumi_snowflake/stream.py +5 -0
- pulumi_snowflake/stream_on_external_table.py +597 -0
- pulumi_snowflake/stream_on_table.py +631 -0
- pulumi_snowflake/streamlit.py +5 -0
- pulumi_snowflake/table.py +5 -0
- pulumi_snowflake/table_column_masking_policy_application.py +5 -0
- pulumi_snowflake/table_constraint.py +5 -0
- pulumi_snowflake/tag.py +5 -0
- pulumi_snowflake/tag_association.py +5 -0
- pulumi_snowflake/tag_masking_policy_association.py +5 -0
- pulumi_snowflake/task.py +5 -0
- pulumi_snowflake/unsafe_execute.py +5 -0
- pulumi_snowflake/user.py +7 -2
- pulumi_snowflake/user_password_policy_attachment.py +5 -0
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +5 -0
- pulumi_snowflake/warehouse.py +5 -0
- {pulumi_snowflake-0.59.0a1726831379.dist-info → pulumi_snowflake-0.60.0.dist-info}/METADATA +3 -2
- pulumi_snowflake-0.60.0.dist-info/RECORD +133 -0
- pulumi_snowflake-0.59.0a1726831379.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.59.0a1726831379.dist-info → pulumi_snowflake-0.60.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.59.0a1726831379.dist-info → pulumi_snowflake-0.60.0.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -122,9 +127,6 @@ def get_database_role(database: Optional[str] = None,
|
|
|
122
127
|
id=pulumi.get(__ret__, 'id'),
|
|
123
128
|
name=pulumi.get(__ret__, 'name'),
|
|
124
129
|
owner=pulumi.get(__ret__, 'owner'))
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
@_utilities.lift_output_func(get_database_role)
|
|
128
130
|
def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
129
131
|
name: Optional[pulumi.Input[str]] = None,
|
|
130
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseRoleResult]:
|
|
@@ -143,4 +145,14 @@ def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
143
145
|
:param str database: The database from which to return the database role from.
|
|
144
146
|
:param str name: Database role name.
|
|
145
147
|
"""
|
|
146
|
-
|
|
148
|
+
__args__ = dict()
|
|
149
|
+
__args__['database'] = database
|
|
150
|
+
__args__['name'] = name
|
|
151
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getDatabaseRole:getDatabaseRole', __args__, opts=opts, typ=GetDatabaseRoleResult)
|
|
153
|
+
return __ret__.apply(lambda __response__: GetDatabaseRoleResult(
|
|
154
|
+
comment=pulumi.get(__response__, 'comment'),
|
|
155
|
+
database=pulumi.get(__response__, 'database'),
|
|
156
|
+
id=pulumi.get(__response__, 'id'),
|
|
157
|
+
name=pulumi.get(__response__, 'name'),
|
|
158
|
+
owner=pulumi.get(__response__, 'owner')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -121,9 +126,6 @@ def get_database_roles(in_database: Optional[str] = None,
|
|
|
121
126
|
in_database=pulumi.get(__ret__, 'in_database'),
|
|
122
127
|
like=pulumi.get(__ret__, 'like'),
|
|
123
128
|
limit=pulumi.get(__ret__, 'limit'))
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
@_utilities.lift_output_func(get_database_roles)
|
|
127
129
|
def get_database_roles_output(in_database: Optional[pulumi.Input[str]] = None,
|
|
128
130
|
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
129
131
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']]]] = None,
|
|
@@ -138,4 +140,15 @@ def get_database_roles_output(in_database: Optional[pulumi.Input[str]] = None,
|
|
|
138
140
|
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
139
141
|
:param Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
140
142
|
"""
|
|
141
|
-
|
|
143
|
+
__args__ = dict()
|
|
144
|
+
__args__['inDatabase'] = in_database
|
|
145
|
+
__args__['like'] = like
|
|
146
|
+
__args__['limit'] = limit
|
|
147
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
148
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getDatabaseRoles:getDatabaseRoles', __args__, opts=opts, typ=GetDatabaseRolesResult)
|
|
149
|
+
return __ret__.apply(lambda __response__: GetDatabaseRolesResult(
|
|
150
|
+
database_roles=pulumi.get(__response__, 'database_roles'),
|
|
151
|
+
id=pulumi.get(__response__, 'id'),
|
|
152
|
+
in_database=pulumi.get(__response__, 'in_database'),
|
|
153
|
+
like=pulumi.get(__response__, 'like'),
|
|
154
|
+
limit=pulumi.get(__response__, 'limit')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -153,9 +158,6 @@ def get_databases(like: Optional[str] = None,
|
|
|
153
158
|
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
154
159
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
155
160
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
@_utilities.lift_output_func(get_databases)
|
|
159
161
|
def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
162
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']]]] = None,
|
|
161
163
|
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -174,4 +176,19 @@ def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
174
176
|
:param bool with_describe: Runs DESC DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the description field. By default this value is set to true.
|
|
175
177
|
:param bool with_parameters: Runs SHOW PARAMETERS FOR DATABASE for each database returned by SHOW DATABASES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
176
178
|
"""
|
|
177
|
-
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['like'] = like
|
|
181
|
+
__args__['limit'] = limit
|
|
182
|
+
__args__['startsWith'] = starts_with
|
|
183
|
+
__args__['withDescribe'] = with_describe
|
|
184
|
+
__args__['withParameters'] = with_parameters
|
|
185
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
186
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getDatabases:getDatabases', __args__, opts=opts, typ=GetDatabasesResult)
|
|
187
|
+
return __ret__.apply(lambda __response__: GetDatabasesResult(
|
|
188
|
+
databases=pulumi.get(__response__, 'databases'),
|
|
189
|
+
id=pulumi.get(__response__, 'id'),
|
|
190
|
+
like=pulumi.get(__response__, 'like'),
|
|
191
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
192
|
+
starts_with=pulumi.get(__response__, 'starts_with'),
|
|
193
|
+
with_describe=pulumi.get(__response__, 'with_describe'),
|
|
194
|
+
with_parameters=pulumi.get(__response__, 'with_parameters')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -134,9 +139,6 @@ def get_dynamic_tables(in_: Optional[Union['GetDynamicTablesInArgs', 'GetDynamic
|
|
|
134
139
|
limit=pulumi.get(__ret__, 'limit'),
|
|
135
140
|
records=pulumi.get(__ret__, 'records'),
|
|
136
141
|
starts_with=pulumi.get(__ret__, 'starts_with'))
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
@_utilities.lift_output_func(get_dynamic_tables)
|
|
140
142
|
def get_dynamic_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict']]]] = None,
|
|
141
143
|
like: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict']]]] = None,
|
|
142
144
|
limit: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLimitArgs', 'GetDynamicTablesLimitArgsDict']]]] = None,
|
|
@@ -150,4 +152,17 @@ def get_dynamic_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetDyna
|
|
|
150
152
|
:param Union['GetDynamicTablesLimitArgs', 'GetDynamicTablesLimitArgsDict'] limit: Optionally limits the maximum number of rows returned, while also enabling “pagination” of the results. Note that the actual number of rows returned might be less than the specified limit (e.g. the number of existing objects is less than the specified limit).
|
|
151
153
|
:param str starts_with: Optionally filters the command output based on the characters that appear at the beginning of the object name. The string is case-sensitive.
|
|
152
154
|
"""
|
|
153
|
-
|
|
155
|
+
__args__ = dict()
|
|
156
|
+
__args__['in'] = in_
|
|
157
|
+
__args__['like'] = like
|
|
158
|
+
__args__['limit'] = limit
|
|
159
|
+
__args__['startsWith'] = starts_with
|
|
160
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
161
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getDynamicTables:getDynamicTables', __args__, opts=opts, typ=GetDynamicTablesResult)
|
|
162
|
+
return __ret__.apply(lambda __response__: GetDynamicTablesResult(
|
|
163
|
+
id=pulumi.get(__response__, 'id'),
|
|
164
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
165
|
+
like=pulumi.get(__response__, 'like'),
|
|
166
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
167
|
+
records=pulumi.get(__response__, 'records'),
|
|
168
|
+
starts_with=pulumi.get(__response__, 'starts_with')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_external_functions(database: Optional[str] = None,
|
|
|
110
115
|
external_functions=pulumi.get(__ret__, 'external_functions'),
|
|
111
116
|
id=pulumi.get(__ret__, 'id'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_external_functions)
|
|
116
118
|
def get_external_functions_output(database: Optional[pulumi.Input[Optional[str]]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[Optional[str]]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalFunctionsResult]:
|
|
@@ -131,4 +133,13 @@ def get_external_functions_output(database: Optional[pulumi.Input[Optional[str]]
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the external functions from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getExternalFunctions:getExternalFunctions', __args__, opts=opts, typ=GetExternalFunctionsResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetExternalFunctionsResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
external_functions=pulumi.get(__response__, 'external_functions'),
|
|
144
|
+
id=pulumi.get(__response__, 'id'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_external_tables(database: Optional[str] = None,
|
|
|
110
115
|
external_tables=pulumi.get(__ret__, 'external_tables'),
|
|
111
116
|
id=pulumi.get(__ret__, 'id'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_external_tables)
|
|
116
118
|
def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[str]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalTablesResult]:
|
|
@@ -131,4 +133,13 @@ def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the external tables from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getExternalTables:getExternalTables', __args__, opts=opts, typ=GetExternalTablesResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetExternalTablesResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
external_tables=pulumi.get(__response__, 'external_tables'),
|
|
144
|
+
id=pulumi.get(__response__, 'id'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -85,9 +90,6 @@ def get_failover_groups(in_account: Optional[str] = None,
|
|
|
85
90
|
failover_groups=pulumi.get(__ret__, 'failover_groups'),
|
|
86
91
|
id=pulumi.get(__ret__, 'id'),
|
|
87
92
|
in_account=pulumi.get(__ret__, 'in_account'))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
@_utilities.lift_output_func(get_failover_groups)
|
|
91
93
|
def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[str]]] = None,
|
|
92
94
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFailoverGroupsResult]:
|
|
93
95
|
"""
|
|
@@ -95,4 +97,11 @@ def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[str]]]
|
|
|
95
97
|
|
|
96
98
|
:param str in_account: Specifies the identifier for the account
|
|
97
99
|
"""
|
|
98
|
-
|
|
100
|
+
__args__ = dict()
|
|
101
|
+
__args__['inAccount'] = in_account
|
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
103
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getFailoverGroups:getFailoverGroups', __args__, opts=opts, typ=GetFailoverGroupsResult)
|
|
104
|
+
return __ret__.apply(lambda __response__: GetFailoverGroupsResult(
|
|
105
|
+
failover_groups=pulumi.get(__response__, 'failover_groups'),
|
|
106
|
+
id=pulumi.get(__response__, 'id'),
|
|
107
|
+
in_account=pulumi.get(__response__, 'in_account')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_file_formats(database: Optional[str] = None,
|
|
|
110
115
|
file_formats=pulumi.get(__ret__, 'file_formats'),
|
|
111
116
|
id=pulumi.get(__ret__, 'id'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_file_formats)
|
|
116
118
|
def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[str]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFileFormatsResult]:
|
|
@@ -131,4 +133,13 @@ def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the file formats from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getFileFormats:getFileFormats', __args__, opts=opts, typ=GetFileFormatsResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetFileFormatsResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
file_formats=pulumi.get(__response__, 'file_formats'),
|
|
144
|
+
id=pulumi.get(__response__, 'id'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_functions(database: Optional[str] = None,
|
|
|
110
115
|
functions=pulumi.get(__ret__, 'functions'),
|
|
111
116
|
id=pulumi.get(__ret__, 'id'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_functions)
|
|
116
118
|
def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[str]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionsResult]:
|
|
@@ -131,4 +133,13 @@ def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the functions from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getFunctions:getFunctions', __args__, opts=opts, typ=GetFunctionsResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetFunctionsResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
functions=pulumi.get(__response__, 'functions'),
|
|
144
|
+
id=pulumi.get(__response__, 'id'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|
pulumi_snowflake/get_grants.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -237,9 +242,6 @@ def get_grants(future_grants_in: Optional[Union['GetGrantsFutureGrantsInArgs', '
|
|
|
237
242
|
grants_on=pulumi.get(__ret__, 'grants_on'),
|
|
238
243
|
grants_to=pulumi.get(__ret__, 'grants_to'),
|
|
239
244
|
id=pulumi.get(__ret__, 'id'))
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
@_utilities.lift_output_func(get_grants)
|
|
243
245
|
def get_grants_output(future_grants_in: Optional[pulumi.Input[Optional[Union['GetGrantsFutureGrantsInArgs', 'GetGrantsFutureGrantsInArgsDict']]]] = None,
|
|
244
246
|
future_grants_to: Optional[pulumi.Input[Optional[Union['GetGrantsFutureGrantsToArgs', 'GetGrantsFutureGrantsToArgsDict']]]] = None,
|
|
245
247
|
grants_of: Optional[pulumi.Input[Optional[Union['GetGrantsGrantsOfArgs', 'GetGrantsGrantsOfArgsDict']]]] = None,
|
|
@@ -342,4 +344,19 @@ def get_grants_output(future_grants_in: Optional[pulumi.Input[Optional[Union['Ge
|
|
|
342
344
|
:param Union['GetGrantsGrantsOnArgs', 'GetGrantsGrantsOnArgsDict'] grants_on: Lists all privileges that have been granted on an object or on an account.
|
|
343
345
|
:param Union['GetGrantsGrantsToArgs', 'GetGrantsGrantsToArgsDict'] grants_to: Lists all privileges granted to the object.
|
|
344
346
|
"""
|
|
345
|
-
|
|
347
|
+
__args__ = dict()
|
|
348
|
+
__args__['futureGrantsIn'] = future_grants_in
|
|
349
|
+
__args__['futureGrantsTo'] = future_grants_to
|
|
350
|
+
__args__['grantsOf'] = grants_of
|
|
351
|
+
__args__['grantsOn'] = grants_on
|
|
352
|
+
__args__['grantsTo'] = grants_to
|
|
353
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
354
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getGrants:getGrants', __args__, opts=opts, typ=GetGrantsResult)
|
|
355
|
+
return __ret__.apply(lambda __response__: GetGrantsResult(
|
|
356
|
+
future_grants_in=pulumi.get(__response__, 'future_grants_in'),
|
|
357
|
+
future_grants_to=pulumi.get(__response__, 'future_grants_to'),
|
|
358
|
+
grants=pulumi.get(__response__, 'grants'),
|
|
359
|
+
grants_of=pulumi.get(__response__, 'grants_of'),
|
|
360
|
+
grants_on=pulumi.get(__response__, 'grants_on'),
|
|
361
|
+
grants_to=pulumi.get(__response__, 'grants_to'),
|
|
362
|
+
id=pulumi.get(__response__, 'id')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -137,9 +142,6 @@ def get_masking_policies(in_: Optional[Union['GetMaskingPoliciesInArgs', 'GetMas
|
|
|
137
142
|
limit=pulumi.get(__ret__, 'limit'),
|
|
138
143
|
masking_policies=pulumi.get(__ret__, 'masking_policies'),
|
|
139
144
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
@_utilities.lift_output_func(get_masking_policies)
|
|
143
145
|
def get_masking_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict']]]] = None,
|
|
144
146
|
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
147
|
limit: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict']]]] = None,
|
|
@@ -156,4 +158,17 @@ def get_masking_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetMa
|
|
|
156
158
|
:param Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
157
159
|
:param bool with_describe: Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
158
160
|
"""
|
|
159
|
-
|
|
161
|
+
__args__ = dict()
|
|
162
|
+
__args__['in'] = in_
|
|
163
|
+
__args__['like'] = like
|
|
164
|
+
__args__['limit'] = limit
|
|
165
|
+
__args__['withDescribe'] = with_describe
|
|
166
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
167
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getMaskingPolicies:getMaskingPolicies', __args__, opts=opts, typ=GetMaskingPoliciesResult)
|
|
168
|
+
return __ret__.apply(lambda __response__: GetMaskingPoliciesResult(
|
|
169
|
+
id=pulumi.get(__response__, 'id'),
|
|
170
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
171
|
+
like=pulumi.get(__response__, 'like'),
|
|
172
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
173
|
+
masking_policies=pulumi.get(__response__, 'masking_policies'),
|
|
174
|
+
with_describe=pulumi.get(__response__, 'with_describe')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_materialized_views(database: Optional[str] = None,
|
|
|
110
115
|
id=pulumi.get(__ret__, 'id'),
|
|
111
116
|
materialized_views=pulumi.get(__ret__, 'materialized_views'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_materialized_views)
|
|
116
118
|
def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[str]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaterializedViewsResult]:
|
|
@@ -131,4 +133,13 @@ def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the views from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getMaterializedViews:getMaterializedViews', __args__, opts=opts, typ=GetMaterializedViewsResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetMaterializedViewsResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
|
144
|
+
materialized_views=pulumi.get(__response__, 'materialized_views'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -104,9 +109,6 @@ def get_network_policies(like: Optional[str] = None,
|
|
|
104
109
|
like=pulumi.get(__ret__, 'like'),
|
|
105
110
|
network_policies=pulumi.get(__ret__, 'network_policies'),
|
|
106
111
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@_utilities.lift_output_func(get_network_policies)
|
|
110
112
|
def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
113
|
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
112
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPoliciesResult]:
|
|
@@ -119,4 +121,13 @@ def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
119
121
|
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
120
122
|
:param bool with_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
121
123
|
"""
|
|
122
|
-
|
|
124
|
+
__args__ = dict()
|
|
125
|
+
__args__['like'] = like
|
|
126
|
+
__args__['withDescribe'] = with_describe
|
|
127
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getNetworkPolicies:getNetworkPolicies', __args__, opts=opts, typ=GetNetworkPoliciesResult)
|
|
129
|
+
return __ret__.apply(lambda __response__: GetNetworkPoliciesResult(
|
|
130
|
+
id=pulumi.get(__response__, 'id'),
|
|
131
|
+
like=pulumi.get(__response__, 'like'),
|
|
132
|
+
network_policies=pulumi.get(__response__, 'network_policies'),
|
|
133
|
+
with_describe=pulumi.get(__response__, 'with_describe')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -168,9 +173,6 @@ def get_parameters(object_name: Optional[str] = None,
|
|
|
168
173
|
parameters=pulumi.get(__ret__, 'parameters'),
|
|
169
174
|
pattern=pulumi.get(__ret__, 'pattern'),
|
|
170
175
|
user=pulumi.get(__ret__, 'user'))
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
@_utilities.lift_output_func(get_parameters)
|
|
174
176
|
def get_parameters_output(object_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
175
177
|
object_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
176
178
|
parameter_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -205,4 +207,19 @@ def get_parameters_output(object_name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
205
207
|
:param str pattern: Allows limiting the list of parameters by name using LIKE clause. Refer to [Limiting the List of Parameters by Name](https://docs.snowflake.com/en/sql-reference/parameters.html#limiting-the-list-of-parameters-by-name)
|
|
206
208
|
:param str user: If parameter_type is set to "SESSION" then user is the name of the user to display session parameters for.
|
|
207
209
|
"""
|
|
208
|
-
|
|
210
|
+
__args__ = dict()
|
|
211
|
+
__args__['objectName'] = object_name
|
|
212
|
+
__args__['objectType'] = object_type
|
|
213
|
+
__args__['parameterType'] = parameter_type
|
|
214
|
+
__args__['pattern'] = pattern
|
|
215
|
+
__args__['user'] = user
|
|
216
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
217
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getParameters:getParameters', __args__, opts=opts, typ=GetParametersResult)
|
|
218
|
+
return __ret__.apply(lambda __response__: GetParametersResult(
|
|
219
|
+
id=pulumi.get(__response__, 'id'),
|
|
220
|
+
object_name=pulumi.get(__response__, 'object_name'),
|
|
221
|
+
object_type=pulumi.get(__response__, 'object_type'),
|
|
222
|
+
parameter_type=pulumi.get(__response__, 'parameter_type'),
|
|
223
|
+
parameters=pulumi.get(__response__, 'parameters'),
|
|
224
|
+
pattern=pulumi.get(__response__, 'pattern'),
|
|
225
|
+
user=pulumi.get(__response__, 'user')))
|
pulumi_snowflake/get_pipes.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -110,9 +115,6 @@ def get_pipes(database: Optional[str] = None,
|
|
|
110
115
|
id=pulumi.get(__ret__, 'id'),
|
|
111
116
|
pipes=pulumi.get(__ret__, 'pipes'),
|
|
112
117
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@_utilities.lift_output_func(get_pipes)
|
|
116
118
|
def get_pipes_output(database: Optional[pulumi.Input[str]] = None,
|
|
117
119
|
schema: Optional[pulumi.Input[str]] = None,
|
|
118
120
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipesResult]:
|
|
@@ -131,4 +133,13 @@ def get_pipes_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
131
133
|
:param str database: The database from which to return the schemas from.
|
|
132
134
|
:param str schema: The schema from which to return the pipes from.
|
|
133
135
|
"""
|
|
134
|
-
|
|
136
|
+
__args__ = dict()
|
|
137
|
+
__args__['database'] = database
|
|
138
|
+
__args__['schema'] = schema
|
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getPipes:getPipes', __args__, opts=opts, typ=GetPipesResult)
|
|
141
|
+
return __ret__.apply(lambda __response__: GetPipesResult(
|
|
142
|
+
database=pulumi.get(__response__, 'database'),
|
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
|
144
|
+
pipes=pulumi.get(__response__, 'pipes'),
|
|
145
|
+
schema=pulumi.get(__response__, 'schema')))
|