pulumi-snowflake 1.1.4a1742960027__py3-none-any.whl → 1.2.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 +1 -0
- pulumi_snowflake/_inputs.py +12306 -12305
- pulumi_snowflake/account.py +189 -188
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +123 -122
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +161 -160
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +147 -146
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +157 -156
- pulumi_snowflake/api_integration.py +218 -217
- pulumi_snowflake/authentication_policy.py +137 -136
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +227 -226
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +237 -236
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +206 -205
- pulumi_snowflake/external_volume.py +59 -54
- pulumi_snowflake/failover_group.py +109 -108
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +255 -254
- pulumi_snowflake/function_javascript.py +199 -198
- pulumi_snowflake/function_python.py +272 -271
- pulumi_snowflake/function_scala.py +255 -254
- pulumi_snowflake/function_sql.py +185 -184
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +23 -18
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +18 -13
- pulumi_snowflake/get_current_account.py +11 -6
- pulumi_snowflake/get_current_role.py +9 -4
- pulumi_snowflake/get_database.py +21 -16
- pulumi_snowflake/get_database_role.py +20 -15
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +24 -23
- pulumi_snowflake/get_dynamic_tables.py +13 -8
- pulumi_snowflake/get_external_functions.py +18 -13
- pulumi_snowflake/get_external_tables.py +18 -13
- pulumi_snowflake/get_failover_groups.py +13 -8
- pulumi_snowflake/get_file_formats.py +18 -13
- pulumi_snowflake/get_functions.py +18 -13
- pulumi_snowflake/get_grants.py +6 -1
- pulumi_snowflake/get_masking_policies.py +13 -12
- pulumi_snowflake/get_materialized_views.py +18 -13
- pulumi_snowflake/get_network_policies.py +13 -12
- pulumi_snowflake/get_parameters.py +34 -29
- pulumi_snowflake/get_pipes.py +18 -13
- pulumi_snowflake/get_procedures.py +18 -13
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +13 -12
- pulumi_snowflake/get_schemas.py +24 -23
- pulumi_snowflake/get_secrets.py +17 -12
- pulumi_snowflake/get_security_integrations.py +13 -12
- pulumi_snowflake/get_sequences.py +18 -13
- pulumi_snowflake/get_shares.py +13 -8
- pulumi_snowflake/get_stages.py +18 -13
- pulumi_snowflake/get_storage_integrations.py +8 -3
- pulumi_snowflake/get_streamlits.py +13 -12
- pulumi_snowflake/get_streams.py +18 -17
- pulumi_snowflake/get_system_generate_scim_access_token.py +14 -9
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +12 -7
- pulumi_snowflake/get_system_get_private_link_config.py +17 -12
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +10 -5
- pulumi_snowflake/get_tables.py +18 -13
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +23 -22
- pulumi_snowflake/get_users.py +24 -23
- pulumi_snowflake/get_views.py +18 -17
- pulumi_snowflake/get_warehouses.py +19 -18
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +107 -106
- pulumi_snowflake/grant_privileges_to_database_role.py +104 -103
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1048 -1047
- pulumi_snowflake/managed_account.py +116 -115
- pulumi_snowflake/masking_policy.py +109 -108
- pulumi_snowflake/materialized_view.py +126 -125
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +46 -45
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +254 -240
- pulumi_snowflake/oauth_integration_for_custom_clients.py +225 -224
- pulumi_snowflake/oauth_integration_for_partner_applications.py +143 -142
- pulumi_snowflake/object_parameter.py +60 -59
- pulumi_snowflake/outputs.py +9282 -9281
- pulumi_snowflake/password_policy.py +291 -286
- pulumi_snowflake/pipe.py +151 -150
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +273 -272
- pulumi_snowflake/procedure_javascript.py +203 -202
- pulumi_snowflake/procedure_python.py +273 -272
- pulumi_snowflake/procedure_scala.py +273 -272
- pulumi_snowflake/procedure_sql.py +203 -202
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +258 -257
- pulumi_snowflake/schema.py +322 -321
- pulumi_snowflake/scim_integration.py +109 -108
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +108 -107
- pulumi_snowflake/service_user.py +1021 -1020
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +231 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +117 -116
- pulumi_snowflake/stream_on_table.py +127 -126
- pulumi_snowflake/stream_on_view.py +127 -126
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +119 -118
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +173 -172
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +74 -73
- pulumi_snowflake/task.py +1005 -1004
- pulumi_snowflake/user.py +1110 -1109
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +142 -141
- pulumi_snowflake/warehouse.py +244 -243
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0.dist-info/RECORD +148 -0
- pulumi_snowflake-1.1.4a1742960027.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/top_level.txt +0 -0
pulumi_snowflake/get_streams.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -53,7 +54,7 @@ class GetStreamsResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -69,7 +70,7 @@ class GetStreamsResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def like(self) -> Optional[str]:
|
|
73
|
+
def like(self) -> Optional[builtins.str]:
|
|
73
74
|
"""
|
|
74
75
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
75
76
|
"""
|
|
@@ -85,7 +86,7 @@ class GetStreamsResult:
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter(name="startsWith")
|
|
88
|
-
def starts_with(self) -> Optional[str]:
|
|
89
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
89
90
|
"""
|
|
90
91
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
91
92
|
"""
|
|
@@ -101,9 +102,9 @@ class GetStreamsResult:
|
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter(name="withDescribe")
|
|
104
|
-
def with_describe(self) -> Optional[bool]:
|
|
105
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
105
106
|
"""
|
|
106
|
-
Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
107
|
+
(Default: `true`) Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
107
108
|
"""
|
|
108
109
|
return pulumi.get(self, "with_describe")
|
|
109
110
|
|
|
@@ -124,20 +125,20 @@ class AwaitableGetStreamsResult(GetStreamsResult):
|
|
|
124
125
|
|
|
125
126
|
|
|
126
127
|
def get_streams(in_: Optional[Union['GetStreamsInArgs', 'GetStreamsInArgsDict']] = None,
|
|
127
|
-
like: Optional[str] = None,
|
|
128
|
+
like: Optional[builtins.str] = None,
|
|
128
129
|
limit: Optional[Union['GetStreamsLimitArgs', 'GetStreamsLimitArgsDict']] = None,
|
|
129
|
-
starts_with: Optional[str] = None,
|
|
130
|
-
with_describe: Optional[bool] = None,
|
|
130
|
+
starts_with: Optional[builtins.str] = None,
|
|
131
|
+
with_describe: Optional[builtins.bool] = None,
|
|
131
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamsResult:
|
|
132
133
|
"""
|
|
133
134
|
Data source used to get details of filtered streams. Filtering is aligned with the current possibilities for [SHOW STREAMS](https://docs.snowflake.com/en/sql-reference/sql/show-streams) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `streams`.
|
|
134
135
|
|
|
135
136
|
|
|
136
137
|
:param Union['GetStreamsInArgs', 'GetStreamsInArgsDict'] in_: IN clause to filter the list of objects
|
|
137
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
139
|
:param Union['GetStreamsLimitArgs', 'GetStreamsLimitArgsDict'] 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`.
|
|
139
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
140
|
-
:param bool with_describe: Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
140
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
141
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
141
142
|
"""
|
|
142
143
|
__args__ = dict()
|
|
143
144
|
__args__['in'] = in_
|
|
@@ -157,20 +158,20 @@ def get_streams(in_: Optional[Union['GetStreamsInArgs', 'GetStreamsInArgsDict']]
|
|
|
157
158
|
streams=pulumi.get(__ret__, 'streams'),
|
|
158
159
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
159
160
|
def get_streams_output(in_: Optional[pulumi.Input[Optional[Union['GetStreamsInArgs', 'GetStreamsInArgsDict']]]] = None,
|
|
160
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
161
162
|
limit: Optional[pulumi.Input[Optional[Union['GetStreamsLimitArgs', 'GetStreamsLimitArgsDict']]]] = None,
|
|
162
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
163
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
163
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
164
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
165
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamsResult]:
|
|
165
166
|
"""
|
|
166
167
|
Data source used to get details of filtered streams. Filtering is aligned with the current possibilities for [SHOW STREAMS](https://docs.snowflake.com/en/sql-reference/sql/show-streams) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `streams`.
|
|
167
168
|
|
|
168
169
|
|
|
169
170
|
:param Union['GetStreamsInArgs', 'GetStreamsInArgsDict'] in_: IN clause to filter the list of objects
|
|
170
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
172
|
:param Union['GetStreamsLimitArgs', 'GetStreamsLimitArgsDict'] 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`.
|
|
172
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
173
|
-
:param bool with_describe: Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
173
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
174
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC STREAM for each user returned by SHOW STREAMS. The output of describe is saved to the description field. By default this value is set to true.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['in'] = in_
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -39,7 +40,7 @@ class GetSystemGenerateScimAccessTokenResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter(name="accessToken")
|
|
42
|
-
def access_token(self) -> str:
|
|
43
|
+
def access_token(self) -> builtins.str:
|
|
43
44
|
"""
|
|
44
45
|
SCIM Access Token
|
|
45
46
|
"""
|
|
@@ -47,7 +48,7 @@ class GetSystemGenerateScimAccessTokenResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,7 +56,7 @@ class GetSystemGenerateScimAccessTokenResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter(name="integrationName")
|
|
58
|
-
def integration_name(self) -> str:
|
|
59
|
+
def integration_name(self) -> builtins.str:
|
|
59
60
|
"""
|
|
60
61
|
SCIM Integration Name
|
|
61
62
|
"""
|
|
@@ -73,10 +74,10 @@ class AwaitableGetSystemGenerateScimAccessTokenResult(GetSystemGenerateScimAcces
|
|
|
73
74
|
integration_name=self.integration_name)
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
def get_system_generate_scim_access_token(integration_name: Optional[str] = None,
|
|
77
|
+
def get_system_generate_scim_access_token(integration_name: Optional[builtins.str] = None,
|
|
77
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSystemGenerateScimAccessTokenResult:
|
|
78
79
|
"""
|
|
79
|
-
!> **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
|
|
80
|
+
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
80
81
|
|
|
81
82
|
## Example Usage
|
|
82
83
|
|
|
@@ -87,8 +88,10 @@ def get_system_generate_scim_access_token(integration_name: Optional[str] = None
|
|
|
87
88
|
scim = snowflake.get_system_generate_scim_access_token(integration_name="AAD_PROVISIONING")
|
|
88
89
|
```
|
|
89
90
|
|
|
91
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
90
92
|
|
|
91
|
-
|
|
93
|
+
|
|
94
|
+
:param builtins.str integration_name: SCIM Integration Name
|
|
92
95
|
"""
|
|
93
96
|
__args__ = dict()
|
|
94
97
|
__args__['integrationName'] = integration_name
|
|
@@ -99,10 +102,10 @@ def get_system_generate_scim_access_token(integration_name: Optional[str] = None
|
|
|
99
102
|
access_token=pulumi.get(__ret__, 'access_token'),
|
|
100
103
|
id=pulumi.get(__ret__, 'id'),
|
|
101
104
|
integration_name=pulumi.get(__ret__, 'integration_name'))
|
|
102
|
-
def get_system_generate_scim_access_token_output(integration_name: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
def get_system_generate_scim_access_token_output(integration_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
103
106
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSystemGenerateScimAccessTokenResult]:
|
|
104
107
|
"""
|
|
105
|
-
!> **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
|
|
108
|
+
!> **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.
|
|
106
109
|
|
|
107
110
|
## Example Usage
|
|
108
111
|
|
|
@@ -113,8 +116,10 @@ def get_system_generate_scim_access_token_output(integration_name: Optional[pulu
|
|
|
113
116
|
scim = snowflake.get_system_generate_scim_access_token(integration_name="AAD_PROVISIONING")
|
|
114
117
|
```
|
|
115
118
|
|
|
119
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
120
|
+
|
|
116
121
|
|
|
117
|
-
:param str integration_name: SCIM Integration Name
|
|
122
|
+
:param builtins.str integration_name: SCIM Integration Name
|
|
118
123
|
"""
|
|
119
124
|
__args__ = dict()
|
|
120
125
|
__args__['integrationName'] = integration_name
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -39,7 +40,7 @@ class GetSystemGetAwsSnsIamPolicyResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter(name="awsSnsTopicArn")
|
|
42
|
-
def aws_sns_topic_arn(self) -> str:
|
|
43
|
+
def aws_sns_topic_arn(self) -> builtins.str:
|
|
43
44
|
"""
|
|
44
45
|
Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
|
|
45
46
|
"""
|
|
@@ -47,7 +48,7 @@ class GetSystemGetAwsSnsIamPolicyResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter(name="awsSnsTopicPolicyJson")
|
|
50
|
-
def aws_sns_topic_policy_json(self) -> str:
|
|
51
|
+
def aws_sns_topic_policy_json(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
IAM policy for Snowflake’s SQS queue to subscribe to this topic
|
|
53
54
|
"""
|
|
@@ -55,7 +56,7 @@ class GetSystemGetAwsSnsIamPolicyResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def id(self) -> str:
|
|
59
|
+
def id(self) -> builtins.str:
|
|
59
60
|
"""
|
|
60
61
|
The provider-assigned unique ID for this managed resource.
|
|
61
62
|
"""
|
|
@@ -73,7 +74,7 @@ class AwaitableGetSystemGetAwsSnsIamPolicyResult(GetSystemGetAwsSnsIamPolicyResu
|
|
|
73
74
|
id=self.id)
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
def get_system_get_aws_sns_iam_policy(aws_sns_topic_arn: Optional[str] = None,
|
|
77
|
+
def get_system_get_aws_sns_iam_policy(aws_sns_topic_arn: Optional[builtins.str] = None,
|
|
77
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSystemGetAwsSnsIamPolicyResult:
|
|
78
79
|
"""
|
|
79
80
|
## Example Usage
|
|
@@ -85,8 +86,10 @@ def get_system_get_aws_sns_iam_policy(aws_sns_topic_arn: Optional[str] = None,
|
|
|
85
86
|
snowflake_policy = snowflake.get_system_get_aws_sns_iam_policy(aws_sns_topic_arn="<aws_sns_topic_arn>")
|
|
86
87
|
```
|
|
87
88
|
|
|
89
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
88
90
|
|
|
89
|
-
|
|
91
|
+
|
|
92
|
+
:param builtins.str aws_sns_topic_arn: Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
|
|
90
93
|
"""
|
|
91
94
|
__args__ = dict()
|
|
92
95
|
__args__['awsSnsTopicArn'] = aws_sns_topic_arn
|
|
@@ -97,7 +100,7 @@ def get_system_get_aws_sns_iam_policy(aws_sns_topic_arn: Optional[str] = None,
|
|
|
97
100
|
aws_sns_topic_arn=pulumi.get(__ret__, 'aws_sns_topic_arn'),
|
|
98
101
|
aws_sns_topic_policy_json=pulumi.get(__ret__, 'aws_sns_topic_policy_json'),
|
|
99
102
|
id=pulumi.get(__ret__, 'id'))
|
|
100
|
-
def get_system_get_aws_sns_iam_policy_output(aws_sns_topic_arn: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
def get_system_get_aws_sns_iam_policy_output(aws_sns_topic_arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
101
104
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSystemGetAwsSnsIamPolicyResult]:
|
|
102
105
|
"""
|
|
103
106
|
## Example Usage
|
|
@@ -109,8 +112,10 @@ def get_system_get_aws_sns_iam_policy_output(aws_sns_topic_arn: Optional[pulumi.
|
|
|
109
112
|
snowflake_policy = snowflake.get_system_get_aws_sns_iam_policy(aws_sns_topic_arn="<aws_sns_topic_arn>")
|
|
110
113
|
```
|
|
111
114
|
|
|
115
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
116
|
+
|
|
112
117
|
|
|
113
|
-
:param str aws_sns_topic_arn: Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
|
|
118
|
+
:param builtins.str aws_sns_topic_arn: Amazon Resource Name (ARN) of the SNS topic for your S3 bucket
|
|
114
119
|
"""
|
|
115
120
|
__args__ = dict()
|
|
116
121
|
__args__['awsSnsTopicArn'] = aws_sns_topic_arn
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -60,7 +61,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="accountName")
|
|
63
|
-
def account_name(self) -> str:
|
|
64
|
+
def account_name(self) -> builtins.str:
|
|
64
65
|
"""
|
|
65
66
|
The name of your Snowflake account.
|
|
66
67
|
"""
|
|
@@ -68,7 +69,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter(name="accountUrl")
|
|
71
|
-
def account_url(self) -> str:
|
|
72
|
+
def account_url(self) -> builtins.str:
|
|
72
73
|
"""
|
|
73
74
|
The URL used to connect to Snowflake through AWS PrivateLink or Azure Private Link.
|
|
74
75
|
"""
|
|
@@ -76,7 +77,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
76
77
|
|
|
77
78
|
@property
|
|
78
79
|
@pulumi.getter(name="awsVpceId")
|
|
79
|
-
def aws_vpce_id(self) -> str:
|
|
80
|
+
def aws_vpce_id(self) -> builtins.str:
|
|
80
81
|
"""
|
|
81
82
|
The AWS VPCE ID for your account.
|
|
82
83
|
"""
|
|
@@ -84,7 +85,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter(name="azurePlsId")
|
|
87
|
-
def azure_pls_id(self) -> str:
|
|
88
|
+
def azure_pls_id(self) -> builtins.str:
|
|
88
89
|
"""
|
|
89
90
|
The Azure Private Link Service ID for your account.
|
|
90
91
|
"""
|
|
@@ -92,7 +93,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
92
93
|
|
|
93
94
|
@property
|
|
94
95
|
@pulumi.getter
|
|
95
|
-
def id(self) -> str:
|
|
96
|
+
def id(self) -> builtins.str:
|
|
96
97
|
"""
|
|
97
98
|
The provider-assigned unique ID for this managed resource.
|
|
98
99
|
"""
|
|
@@ -100,7 +101,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter(name="internalStage")
|
|
103
|
-
def internal_stage(self) -> str:
|
|
104
|
+
def internal_stage(self) -> builtins.str:
|
|
104
105
|
"""
|
|
105
106
|
The endpoint to connect to your Snowflake internal stage using AWS PrivateLink or Azure Private Link.
|
|
106
107
|
"""
|
|
@@ -108,7 +109,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter(name="ocspUrl")
|
|
111
|
-
def ocsp_url(self) -> str:
|
|
112
|
+
def ocsp_url(self) -> builtins.str:
|
|
112
113
|
"""
|
|
113
114
|
The OCSP URL corresponding to your Snowflake account that uses AWS PrivateLink or Azure Private Link.
|
|
114
115
|
"""
|
|
@@ -116,7 +117,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter(name="regionlessAccountUrl")
|
|
119
|
-
def regionless_account_url(self) -> str:
|
|
120
|
+
def regionless_account_url(self) -> builtins.str:
|
|
120
121
|
"""
|
|
121
122
|
The regionless URL to connect to your Snowflake account using AWS PrivateLink, Azure Private Link, or Google Cloud Private Service Connect.
|
|
122
123
|
"""
|
|
@@ -124,7 +125,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="regionlessSnowsightUrl")
|
|
127
|
-
def regionless_snowsight_url(self) -> str:
|
|
128
|
+
def regionless_snowsight_url(self) -> builtins.str:
|
|
128
129
|
"""
|
|
129
130
|
The URL for your organization to access Snowsight using Private Connectivity to the Snowflake Service.
|
|
130
131
|
"""
|
|
@@ -132,7 +133,7 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter(name="snowsightUrl")
|
|
135
|
-
def snowsight_url(self) -> str:
|
|
136
|
+
def snowsight_url(self) -> builtins.str:
|
|
136
137
|
"""
|
|
137
138
|
The URL containing the cloud region to access Snowsight and the Snowflake Marketplace using Private Connectivity to the Snowflake Service.
|
|
138
139
|
"""
|
|
@@ -159,7 +160,7 @@ class AwaitableGetSystemGetPrivateLinkConfigResult(GetSystemGetPrivateLinkConfig
|
|
|
159
160
|
|
|
160
161
|
def get_system_get_private_link_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSystemGetPrivateLinkConfigResult:
|
|
161
162
|
"""
|
|
162
|
-
!> **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
|
|
163
|
+
!> **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.
|
|
163
164
|
|
|
164
165
|
## Example Usage
|
|
165
166
|
|
|
@@ -210,6 +211,8 @@ def get_system_get_private_link_config(opts: Optional[pulumi.InvokeOptions] = No
|
|
|
210
211
|
ttl=300,
|
|
211
212
|
records=[snowflake_private_link_vpc_endpoint.dns_entry[0].dns_name])
|
|
212
213
|
```
|
|
214
|
+
|
|
215
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
213
216
|
"""
|
|
214
217
|
__args__ = dict()
|
|
215
218
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -228,7 +231,7 @@ def get_system_get_private_link_config(opts: Optional[pulumi.InvokeOptions] = No
|
|
|
228
231
|
snowsight_url=pulumi.get(__ret__, 'snowsight_url'))
|
|
229
232
|
def get_system_get_private_link_config_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSystemGetPrivateLinkConfigResult]:
|
|
230
233
|
"""
|
|
231
|
-
!> **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
|
|
234
|
+
!> **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.
|
|
232
235
|
|
|
233
236
|
## Example Usage
|
|
234
237
|
|
|
@@ -279,6 +282,8 @@ def get_system_get_private_link_config_output(opts: Optional[Union[pulumi.Invoke
|
|
|
279
282
|
ttl=300,
|
|
280
283
|
records=[snowflake_private_link_vpc_endpoint.dns_entry[0].dns_name])
|
|
281
284
|
```
|
|
285
|
+
|
|
286
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
282
287
|
"""
|
|
283
288
|
__args__ = dict()
|
|
284
289
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -39,7 +40,7 @@ class GetSystemGetSnowflakePlatformInfoResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter(name="awsVpcIds")
|
|
42
|
-
def aws_vpc_ids(self) -> Sequence[str]:
|
|
43
|
+
def aws_vpc_ids(self) -> Sequence[builtins.str]:
|
|
43
44
|
"""
|
|
44
45
|
Snowflake AWS Virtual Private Cloud IDs
|
|
45
46
|
"""
|
|
@@ -47,7 +48,7 @@ class GetSystemGetSnowflakePlatformInfoResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter(name="azureVnetSubnetIds")
|
|
50
|
-
def azure_vnet_subnet_ids(self) -> Sequence[str]:
|
|
51
|
+
def azure_vnet_subnet_ids(self) -> Sequence[builtins.str]:
|
|
51
52
|
"""
|
|
52
53
|
Snowflake Azure Virtual Network Subnet IDs
|
|
53
54
|
"""
|
|
@@ -55,7 +56,7 @@ class GetSystemGetSnowflakePlatformInfoResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def id(self) -> str:
|
|
59
|
+
def id(self) -> builtins.str:
|
|
59
60
|
"""
|
|
60
61
|
The provider-assigned unique ID for this managed resource.
|
|
61
62
|
"""
|
|
@@ -75,7 +76,9 @@ class AwaitableGetSystemGetSnowflakePlatformInfoResult(GetSystemGetSnowflakePlat
|
|
|
75
76
|
|
|
76
77
|
def get_system_get_snowflake_platform_info(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSystemGetSnowflakePlatformInfoResult:
|
|
77
78
|
"""
|
|
78
|
-
!> **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
|
|
79
|
+
!> **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.
|
|
80
|
+
|
|
81
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
79
82
|
"""
|
|
80
83
|
__args__ = dict()
|
|
81
84
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -87,7 +90,9 @@ def get_system_get_snowflake_platform_info(opts: Optional[pulumi.InvokeOptions]
|
|
|
87
90
|
id=pulumi.get(__ret__, 'id'))
|
|
88
91
|
def get_system_get_snowflake_platform_info_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSystemGetSnowflakePlatformInfoResult]:
|
|
89
92
|
"""
|
|
90
|
-
!> **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
|
|
93
|
+
!> **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.
|
|
94
|
+
|
|
95
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
91
96
|
"""
|
|
92
97
|
__args__ = dict()
|
|
93
98
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
pulumi_snowflake/get_tables.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -43,7 +44,7 @@ class GetTablesResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> str:
|
|
47
|
+
def database(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -51,7 +52,7 @@ class GetTablesResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
55
|
+
def id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetTablesResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def schema(self) -> str:
|
|
63
|
+
def schema(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The schema from which to return the tables from.
|
|
65
66
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetTablesResult(GetTablesResult):
|
|
|
86
87
|
tables=self.tables)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_tables(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_tables(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTablesResult:
|
|
92
93
|
"""
|
|
93
|
-
!> **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
|
|
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.
|
|
94
95
|
|
|
95
96
|
## Example Usage
|
|
96
97
|
|
|
@@ -102,9 +103,11 @@ def get_tables(database: Optional[str] = None,
|
|
|
102
103
|
schema="MYSCHEMA")
|
|
103
104
|
```
|
|
104
105
|
|
|
106
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
:param str
|
|
108
|
+
|
|
109
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
+
:param builtins.str schema: The schema from which to return the tables from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_tables(database: Optional[str] = None,
|
|
|
117
120
|
id=pulumi.get(__ret__, 'id'),
|
|
118
121
|
schema=pulumi.get(__ret__, 'schema'),
|
|
119
122
|
tables=pulumi.get(__ret__, 'tables'))
|
|
120
|
-
def get_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_tables_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]:
|
|
123
126
|
"""
|
|
124
|
-
!> **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
|
|
127
|
+
!> **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.
|
|
125
128
|
|
|
126
129
|
## Example Usage
|
|
127
130
|
|
|
@@ -133,9 +136,11 @@ def get_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
136
|
schema="MYSCHEMA")
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
140
|
+
|
|
136
141
|
|
|
137
|
-
:param str database: The database from which to return the schemas from.
|
|
138
|
-
:param str schema: The schema from which to return the tables from.
|
|
142
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
143
|
+
:param builtins.str schema: The schema from which to return the tables from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__args__['database'] = database
|
pulumi_snowflake/get_tags.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -44,7 +45,7 @@ class GetTagsResult:
|
|
|
44
45
|
|
|
45
46
|
@property
|
|
46
47
|
@pulumi.getter
|
|
47
|
-
def id(self) -> str:
|
|
48
|
+
def id(self) -> builtins.str:
|
|
48
49
|
"""
|
|
49
50
|
The provider-assigned unique ID for this managed resource.
|
|
50
51
|
"""
|
|
@@ -60,7 +61,7 @@ class GetTagsResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def like(self) -> Optional[str]:
|
|
64
|
+
def like(self) -> Optional[builtins.str]:
|
|
64
65
|
"""
|
|
65
66
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
66
67
|
"""
|
|
@@ -88,14 +89,14 @@ class AwaitableGetTagsResult(GetTagsResult):
|
|
|
88
89
|
|
|
89
90
|
|
|
90
91
|
def get_tags(in_: Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']] = None,
|
|
91
|
-
like: Optional[str] = None,
|
|
92
|
+
like: Optional[builtins.str] = None,
|
|
92
93
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagsResult:
|
|
93
94
|
"""
|
|
94
95
|
Data source used to get details of filtered tags. Filtering is aligned with the current possibilities for [SHOW TAGS](https://docs.snowflake.com/en/sql-reference/sql/show-tags) query. The results of SHOW are encapsulated in one output collection `tags`.
|
|
95
96
|
|
|
96
97
|
|
|
97
98
|
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
98
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
99
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
99
100
|
"""
|
|
100
101
|
__args__ = dict()
|
|
101
102
|
__args__['in'] = in_
|
|
@@ -109,14 +110,14 @@ def get_tags(in_: Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']] = None,
|
|
|
109
110
|
like=pulumi.get(__ret__, 'like'),
|
|
110
111
|
tags=pulumi.get(__ret__, 'tags'))
|
|
111
112
|
def get_tags_output(in_: Optional[pulumi.Input[Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']]]] = None,
|
|
112
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
113
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
113
114
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagsResult]:
|
|
114
115
|
"""
|
|
115
116
|
Data source used to get details of filtered tags. Filtering is aligned with the current possibilities for [SHOW TAGS](https://docs.snowflake.com/en/sql-reference/sql/show-tags) query. The results of SHOW are encapsulated in one output collection `tags`.
|
|
116
117
|
|
|
117
118
|
|
|
118
119
|
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
119
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
120
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
120
121
|
"""
|
|
121
122
|
__args__ = dict()
|
|
122
123
|
__args__['in'] = in_
|