pulumi-snowflake 0.60.0__py3-none-any.whl → 0.60.0a1727848944__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 +0 -36
- pulumi_snowflake/_inputs.py +3548 -19849
- pulumi_snowflake/_utilities.py +1 -1
- pulumi_snowflake/account.py +0 -5
- pulumi_snowflake/account_parameter.py +0 -5
- pulumi_snowflake/account_password_policy_attachment.py +0 -5
- pulumi_snowflake/account_role.py +0 -5
- pulumi_snowflake/alert.py +0 -5
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +0 -5
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +0 -5
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +0 -5
- pulumi_snowflake/api_integration.py +0 -5
- pulumi_snowflake/config/__init__.pyi +0 -5
- pulumi_snowflake/config/outputs.py +0 -5
- pulumi_snowflake/config/vars.py +0 -5
- pulumi_snowflake/cortex_search_service.py +0 -5
- pulumi_snowflake/database.py +0 -5
- pulumi_snowflake/database_old.py +0 -5
- pulumi_snowflake/database_role.py +0 -5
- pulumi_snowflake/dynamic_table.py +0 -5
- pulumi_snowflake/email_notification_integration.py +0 -5
- pulumi_snowflake/external_function.py +0 -5
- pulumi_snowflake/external_oauth_integration.py +0 -5
- pulumi_snowflake/external_table.py +0 -5
- pulumi_snowflake/failover_group.py +0 -5
- pulumi_snowflake/file_format.py +0 -5
- pulumi_snowflake/function.py +0 -5
- pulumi_snowflake/get_accounts.py +4 -13
- pulumi_snowflake/get_alerts.py +4 -17
- pulumi_snowflake/get_cortex_search_services.py +4 -19
- pulumi_snowflake/get_current_account.py +4 -13
- pulumi_snowflake/get_current_role.py +4 -11
- pulumi_snowflake/get_database.py +4 -20
- pulumi_snowflake/get_database_role.py +4 -16
- pulumi_snowflake/get_database_roles.py +4 -17
- pulumi_snowflake/get_databases.py +4 -21
- pulumi_snowflake/get_dynamic_tables.py +4 -19
- pulumi_snowflake/get_external_functions.py +4 -15
- pulumi_snowflake/get_external_tables.py +4 -15
- pulumi_snowflake/get_failover_groups.py +4 -13
- pulumi_snowflake/get_file_formats.py +4 -15
- pulumi_snowflake/get_functions.py +4 -15
- pulumi_snowflake/get_grants.py +4 -21
- pulumi_snowflake/get_masking_policies.py +4 -19
- pulumi_snowflake/get_materialized_views.py +4 -15
- pulumi_snowflake/get_network_policies.py +4 -15
- pulumi_snowflake/get_parameters.py +4 -21
- pulumi_snowflake/get_pipes.py +4 -15
- pulumi_snowflake/get_procedures.py +4 -15
- pulumi_snowflake/get_resource_monitors.py +4 -13
- pulumi_snowflake/get_role.py +4 -13
- pulumi_snowflake/get_roles.py +4 -15
- pulumi_snowflake/get_row_access_policies.py +4 -19
- pulumi_snowflake/get_schemas.py +4 -23
- pulumi_snowflake/get_security_integrations.py +4 -15
- pulumi_snowflake/get_sequences.py +4 -15
- pulumi_snowflake/get_shares.py +4 -13
- pulumi_snowflake/get_stages.py +4 -15
- pulumi_snowflake/get_storage_integrations.py +4 -11
- pulumi_snowflake/get_streamlits.py +4 -19
- pulumi_snowflake/get_streams.py +4 -15
- pulumi_snowflake/get_system_generate_scim_access_token.py +4 -13
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +4 -13
- pulumi_snowflake/get_system_get_private_link_config.py +4 -19
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -12
- pulumi_snowflake/get_tables.py +4 -15
- pulumi_snowflake/get_tasks.py +4 -15
- pulumi_snowflake/get_users.py +4 -21
- pulumi_snowflake/get_views.py +4 -21
- pulumi_snowflake/get_warehouses.py +4 -17
- pulumi_snowflake/grant_account_role.py +0 -5
- pulumi_snowflake/grant_application_role.py +0 -5
- pulumi_snowflake/grant_database_role.py +0 -5
- pulumi_snowflake/grant_ownership.py +0 -5
- pulumi_snowflake/grant_privileges_to_account_role.py +0 -5
- pulumi_snowflake/grant_privileges_to_database_role.py +0 -5
- pulumi_snowflake/grant_privileges_to_share.py +0 -5
- pulumi_snowflake/managed_account.py +0 -5
- pulumi_snowflake/masking_policy.py +4 -9
- pulumi_snowflake/materialized_view.py +0 -5
- pulumi_snowflake/network_policy.py +0 -5
- pulumi_snowflake/network_policy_attachment.py +0 -5
- pulumi_snowflake/network_rule.py +0 -5
- pulumi_snowflake/notification_integration.py +0 -5
- pulumi_snowflake/oauth_integration.py +0 -5
- pulumi_snowflake/oauth_integration_for_custom_clients.py +0 -5
- pulumi_snowflake/oauth_integration_for_partner_applications.py +0 -5
- pulumi_snowflake/object_parameter.py +0 -5
- pulumi_snowflake/outputs.py +2936 -10916
- pulumi_snowflake/password_policy.py +0 -5
- pulumi_snowflake/pipe.py +0 -5
- pulumi_snowflake/procedure.py +0 -5
- pulumi_snowflake/provider.py +0 -5
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +0 -5
- pulumi_snowflake/role.py +0 -5
- pulumi_snowflake/row_access_policy.py +4 -9
- pulumi_snowflake/saml2_integration.py +0 -5
- pulumi_snowflake/saml_integration.py +0 -5
- pulumi_snowflake/schema.py +0 -5
- pulumi_snowflake/scim_integration.py +0 -5
- pulumi_snowflake/secondary_database.py +0 -5
- pulumi_snowflake/sequence.py +0 -5
- pulumi_snowflake/session_parameter.py +0 -5
- pulumi_snowflake/share.py +0 -5
- pulumi_snowflake/shared_database.py +0 -5
- pulumi_snowflake/stage.py +7 -12
- pulumi_snowflake/storage_integration.py +0 -5
- pulumi_snowflake/stream.py +0 -5
- pulumi_snowflake/streamlit.py +0 -5
- pulumi_snowflake/table.py +0 -5
- pulumi_snowflake/table_column_masking_policy_application.py +0 -5
- pulumi_snowflake/table_constraint.py +0 -5
- pulumi_snowflake/tag.py +0 -5
- pulumi_snowflake/tag_association.py +0 -5
- pulumi_snowflake/tag_masking_policy_association.py +0 -5
- pulumi_snowflake/task.py +0 -5
- pulumi_snowflake/unsafe_execute.py +0 -5
- pulumi_snowflake/user.py +2 -7
- pulumi_snowflake/user_password_policy_attachment.py +0 -5
- pulumi_snowflake/user_public_keys.py +0 -5
- pulumi_snowflake/view.py +0 -5
- pulumi_snowflake/warehouse.py +0 -5
- {pulumi_snowflake-0.60.0.dist-info → pulumi_snowflake-0.60.0a1727848944.dist-info}/METADATA +2 -3
- pulumi_snowflake-0.60.0a1727848944.dist-info/RECORD +129 -0
- pulumi_snowflake/legacy_service_user.py +0 -3666
- pulumi_snowflake/service_user.py +0 -3585
- pulumi_snowflake/stream_on_external_table.py +0 -597
- pulumi_snowflake/stream_on_table.py +0 -631
- pulumi_snowflake-0.60.0.dist-info/RECORD +0 -133
- {pulumi_snowflake-0.60.0.dist-info → pulumi_snowflake-0.60.0a1727848944.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.60.0.dist-info → pulumi_snowflake-0.60.0a1727848944.dist-info}/top_level.txt +0 -0
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
|
|
17
12
|
__all__ = [
|
|
@@ -127,6 +122,9 @@ def get_database_role(database: Optional[str] = None,
|
|
|
127
122
|
id=pulumi.get(__ret__, 'id'),
|
|
128
123
|
name=pulumi.get(__ret__, 'name'),
|
|
129
124
|
owner=pulumi.get(__ret__, 'owner'))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@_utilities.lift_output_func(get_database_role)
|
|
130
128
|
def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
131
129
|
name: Optional[pulumi.Input[str]] = None,
|
|
132
130
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseRoleResult]:
|
|
@@ -145,14 +143,4 @@ def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
145
143
|
:param str database: The database from which to return the database role from.
|
|
146
144
|
:param str name: Database role name.
|
|
147
145
|
"""
|
|
148
|
-
|
|
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')))
|
|
146
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
from ._inputs import *
|
|
@@ -126,6 +121,9 @@ def get_database_roles(in_database: Optional[str] = None,
|
|
|
126
121
|
in_database=pulumi.get(__ret__, 'in_database'),
|
|
127
122
|
like=pulumi.get(__ret__, 'like'),
|
|
128
123
|
limit=pulumi.get(__ret__, 'limit'))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@_utilities.lift_output_func(get_database_roles)
|
|
129
127
|
def get_database_roles_output(in_database: Optional[pulumi.Input[str]] = None,
|
|
130
128
|
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
131
129
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']]]] = None,
|
|
@@ -140,15 +138,4 @@ def get_database_roles_output(in_database: Optional[pulumi.Input[str]] = None,
|
|
|
140
138
|
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
141
139
|
: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`.
|
|
142
140
|
"""
|
|
143
|
-
|
|
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')))
|
|
141
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
from ._inputs import *
|
|
@@ -158,6 +153,9 @@ def get_databases(like: Optional[str] = None,
|
|
|
158
153
|
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
159
154
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
160
155
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
@_utilities.lift_output_func(get_databases)
|
|
161
159
|
def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
162
160
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']]]] = None,
|
|
163
161
|
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -176,19 +174,4 @@ def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
176
174
|
: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.
|
|
177
175
|
: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.
|
|
178
176
|
"""
|
|
179
|
-
|
|
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')))
|
|
177
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
from ._inputs import *
|
|
@@ -139,6 +134,9 @@ def get_dynamic_tables(in_: Optional[Union['GetDynamicTablesInArgs', 'GetDynamic
|
|
|
139
134
|
limit=pulumi.get(__ret__, 'limit'),
|
|
140
135
|
records=pulumi.get(__ret__, 'records'),
|
|
141
136
|
starts_with=pulumi.get(__ret__, 'starts_with'))
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
@_utilities.lift_output_func(get_dynamic_tables)
|
|
142
140
|
def get_dynamic_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict']]]] = None,
|
|
143
141
|
like: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict']]]] = None,
|
|
144
142
|
limit: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLimitArgs', 'GetDynamicTablesLimitArgsDict']]]] = None,
|
|
@@ -152,17 +150,4 @@ def get_dynamic_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetDyna
|
|
|
152
150
|
: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).
|
|
153
151
|
: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.
|
|
154
152
|
"""
|
|
155
|
-
|
|
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')))
|
|
153
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_external_functions(database: Optional[str] = None,
|
|
|
115
110
|
external_functions=pulumi.get(__ret__, 'external_functions'),
|
|
116
111
|
id=pulumi.get(__ret__, 'id'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_external_functions)
|
|
118
116
|
def get_external_functions_output(database: Optional[pulumi.Input[Optional[str]]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[Optional[str]]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalFunctionsResult]:
|
|
@@ -133,13 +131,4 @@ def get_external_functions_output(database: Optional[pulumi.Input[Optional[str]]
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the external functions from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_external_tables(database: Optional[str] = None,
|
|
|
115
110
|
external_tables=pulumi.get(__ret__, 'external_tables'),
|
|
116
111
|
id=pulumi.get(__ret__, 'id'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_external_tables)
|
|
118
116
|
def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[str]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalTablesResult]:
|
|
@@ -133,13 +131,4 @@ def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the external tables from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -90,6 +85,9 @@ def get_failover_groups(in_account: Optional[str] = None,
|
|
|
90
85
|
failover_groups=pulumi.get(__ret__, 'failover_groups'),
|
|
91
86
|
id=pulumi.get(__ret__, 'id'),
|
|
92
87
|
in_account=pulumi.get(__ret__, 'in_account'))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
@_utilities.lift_output_func(get_failover_groups)
|
|
93
91
|
def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[str]]] = None,
|
|
94
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFailoverGroupsResult]:
|
|
95
93
|
"""
|
|
@@ -97,11 +95,4 @@ def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[str]]]
|
|
|
97
95
|
|
|
98
96
|
:param str in_account: Specifies the identifier for the account
|
|
99
97
|
"""
|
|
100
|
-
|
|
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')))
|
|
98
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_file_formats(database: Optional[str] = None,
|
|
|
115
110
|
file_formats=pulumi.get(__ret__, 'file_formats'),
|
|
116
111
|
id=pulumi.get(__ret__, 'id'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_file_formats)
|
|
118
116
|
def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[str]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFileFormatsResult]:
|
|
@@ -133,13 +131,4 @@ def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the file formats from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_functions(database: Optional[str] = None,
|
|
|
115
110
|
functions=pulumi.get(__ret__, 'functions'),
|
|
116
111
|
id=pulumi.get(__ret__, 'id'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_functions)
|
|
118
116
|
def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[str]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionsResult]:
|
|
@@ -133,13 +131,4 @@ def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the functions from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|
pulumi_snowflake/get_grants.py
CHANGED
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
from ._inputs import *
|
|
@@ -242,6 +237,9 @@ def get_grants(future_grants_in: Optional[Union['GetGrantsFutureGrantsInArgs', '
|
|
|
242
237
|
grants_on=pulumi.get(__ret__, 'grants_on'),
|
|
243
238
|
grants_to=pulumi.get(__ret__, 'grants_to'),
|
|
244
239
|
id=pulumi.get(__ret__, 'id'))
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
@_utilities.lift_output_func(get_grants)
|
|
245
243
|
def get_grants_output(future_grants_in: Optional[pulumi.Input[Optional[Union['GetGrantsFutureGrantsInArgs', 'GetGrantsFutureGrantsInArgsDict']]]] = None,
|
|
246
244
|
future_grants_to: Optional[pulumi.Input[Optional[Union['GetGrantsFutureGrantsToArgs', 'GetGrantsFutureGrantsToArgsDict']]]] = None,
|
|
247
245
|
grants_of: Optional[pulumi.Input[Optional[Union['GetGrantsGrantsOfArgs', 'GetGrantsGrantsOfArgsDict']]]] = None,
|
|
@@ -344,19 +342,4 @@ def get_grants_output(future_grants_in: Optional[pulumi.Input[Optional[Union['Ge
|
|
|
344
342
|
:param Union['GetGrantsGrantsOnArgs', 'GetGrantsGrantsOnArgsDict'] grants_on: Lists all privileges that have been granted on an object or on an account.
|
|
345
343
|
:param Union['GetGrantsGrantsToArgs', 'GetGrantsGrantsToArgsDict'] grants_to: Lists all privileges granted to the object.
|
|
346
344
|
"""
|
|
347
|
-
|
|
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')))
|
|
345
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
from ._inputs import *
|
|
@@ -142,6 +137,9 @@ def get_masking_policies(in_: Optional[Union['GetMaskingPoliciesInArgs', 'GetMas
|
|
|
142
137
|
limit=pulumi.get(__ret__, 'limit'),
|
|
143
138
|
masking_policies=pulumi.get(__ret__, 'masking_policies'),
|
|
144
139
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
@_utilities.lift_output_func(get_masking_policies)
|
|
145
143
|
def get_masking_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict']]]] = None,
|
|
146
144
|
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
147
145
|
limit: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict']]]] = None,
|
|
@@ -158,17 +156,4 @@ def get_masking_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetMa
|
|
|
158
156
|
: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`.
|
|
159
157
|
: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.
|
|
160
158
|
"""
|
|
161
|
-
|
|
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')))
|
|
159
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_materialized_views(database: Optional[str] = None,
|
|
|
115
110
|
id=pulumi.get(__ret__, 'id'),
|
|
116
111
|
materialized_views=pulumi.get(__ret__, 'materialized_views'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_materialized_views)
|
|
118
116
|
def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[str]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaterializedViewsResult]:
|
|
@@ -133,13 +131,4 @@ def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the views from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -109,6 +104,9 @@ def get_network_policies(like: Optional[str] = None,
|
|
|
109
104
|
like=pulumi.get(__ret__, 'like'),
|
|
110
105
|
network_policies=pulumi.get(__ret__, 'network_policies'),
|
|
111
106
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
@_utilities.lift_output_func(get_network_policies)
|
|
112
110
|
def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
113
111
|
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
114
112
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPoliciesResult]:
|
|
@@ -121,13 +119,4 @@ def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
121
119
|
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
122
120
|
: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.
|
|
123
121
|
"""
|
|
124
|
-
|
|
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')))
|
|
122
|
+
...
|
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -173,6 +168,9 @@ def get_parameters(object_name: Optional[str] = None,
|
|
|
173
168
|
parameters=pulumi.get(__ret__, 'parameters'),
|
|
174
169
|
pattern=pulumi.get(__ret__, 'pattern'),
|
|
175
170
|
user=pulumi.get(__ret__, 'user'))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
@_utilities.lift_output_func(get_parameters)
|
|
176
174
|
def get_parameters_output(object_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
177
175
|
object_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
178
176
|
parameter_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -207,19 +205,4 @@ def get_parameters_output(object_name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
207
205
|
: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)
|
|
208
206
|
:param str user: If parameter_type is set to "SESSION" then user is the name of the user to display session parameters for.
|
|
209
207
|
"""
|
|
210
|
-
|
|
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')))
|
|
208
|
+
...
|
pulumi_snowflake/get_pipes.py
CHANGED
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
-
import sys
|
|
8
7
|
import pulumi
|
|
9
8
|
import pulumi.runtime
|
|
10
9
|
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
10
|
from . import _utilities
|
|
16
11
|
from . import outputs
|
|
17
12
|
|
|
@@ -115,6 +110,9 @@ def get_pipes(database: Optional[str] = None,
|
|
|
115
110
|
id=pulumi.get(__ret__, 'id'),
|
|
116
111
|
pipes=pulumi.get(__ret__, 'pipes'),
|
|
117
112
|
schema=pulumi.get(__ret__, 'schema'))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@_utilities.lift_output_func(get_pipes)
|
|
118
116
|
def get_pipes_output(database: Optional[pulumi.Input[str]] = None,
|
|
119
117
|
schema: Optional[pulumi.Input[str]] = None,
|
|
120
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipesResult]:
|
|
@@ -133,13 +131,4 @@ def get_pipes_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
131
|
:param str database: The database from which to return the schemas from.
|
|
134
132
|
:param str schema: The schema from which to return the pipes from.
|
|
135
133
|
"""
|
|
136
|
-
|
|
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')))
|
|
134
|
+
...
|