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_database.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
|
|
@@ -60,17 +61,17 @@ class GetDatabaseResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def comment(self) -> str:
|
|
64
|
+
def comment(self) -> builtins.str:
|
|
64
65
|
return pulumi.get(self, "comment")
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter(name="createdOn")
|
|
68
|
-
def created_on(self) -> str:
|
|
69
|
+
def created_on(self) -> builtins.str:
|
|
69
70
|
return pulumi.get(self, "created_on")
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def id(self) -> str:
|
|
74
|
+
def id(self) -> builtins.str:
|
|
74
75
|
"""
|
|
75
76
|
The provider-assigned unique ID for this managed resource.
|
|
76
77
|
"""
|
|
@@ -78,17 +79,17 @@ class GetDatabaseResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter(name="isCurrent")
|
|
81
|
-
def is_current(self) -> bool:
|
|
82
|
+
def is_current(self) -> builtins.bool:
|
|
82
83
|
return pulumi.get(self, "is_current")
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter(name="isDefault")
|
|
86
|
-
def is_default(self) -> bool:
|
|
87
|
+
def is_default(self) -> builtins.bool:
|
|
87
88
|
return pulumi.get(self, "is_default")
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter
|
|
91
|
-
def name(self) -> str:
|
|
92
|
+
def name(self) -> builtins.str:
|
|
92
93
|
"""
|
|
93
94
|
The database from which to return its metadata.
|
|
94
95
|
"""
|
|
@@ -96,22 +97,22 @@ class GetDatabaseResult:
|
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter
|
|
99
|
-
def options(self) -> str:
|
|
100
|
+
def options(self) -> builtins.str:
|
|
100
101
|
return pulumi.get(self, "options")
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter
|
|
104
|
-
def origin(self) -> str:
|
|
105
|
+
def origin(self) -> builtins.str:
|
|
105
106
|
return pulumi.get(self, "origin")
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter
|
|
109
|
-
def owner(self) -> str:
|
|
110
|
+
def owner(self) -> builtins.str:
|
|
110
111
|
return pulumi.get(self, "owner")
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter(name="retentionTime")
|
|
114
|
-
def retention_time(self) -> int:
|
|
115
|
+
def retention_time(self) -> builtins.int:
|
|
115
116
|
return pulumi.get(self, "retention_time")
|
|
116
117
|
|
|
117
118
|
|
|
@@ -133,10 +134,10 @@ class AwaitableGetDatabaseResult(GetDatabaseResult):
|
|
|
133
134
|
retention_time=self.retention_time)
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
def get_database(name: Optional[str] = None,
|
|
137
|
+
def get_database(name: Optional[builtins.str] = None,
|
|
137
138
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult:
|
|
138
139
|
"""
|
|
139
|
-
!> **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
|
|
140
|
+
!> **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.
|
|
140
141
|
|
|
141
142
|
## Example Usage
|
|
142
143
|
|
|
@@ -147,8 +148,10 @@ def get_database(name: Optional[str] = None,
|
|
|
147
148
|
this = snowflake.get_database(name="DEMO_DB")
|
|
148
149
|
```
|
|
149
150
|
|
|
151
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
150
152
|
|
|
151
|
-
|
|
153
|
+
|
|
154
|
+
:param builtins.str name: The database from which to return its metadata.
|
|
152
155
|
"""
|
|
153
156
|
__args__ = dict()
|
|
154
157
|
__args__['name'] = name
|
|
@@ -166,10 +169,10 @@ def get_database(name: Optional[str] = None,
|
|
|
166
169
|
origin=pulumi.get(__ret__, 'origin'),
|
|
167
170
|
owner=pulumi.get(__ret__, 'owner'),
|
|
168
171
|
retention_time=pulumi.get(__ret__, 'retention_time'))
|
|
169
|
-
def get_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
def get_database_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
173
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
171
174
|
"""
|
|
172
|
-
!> **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
|
|
175
|
+
!> **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.
|
|
173
176
|
|
|
174
177
|
## Example Usage
|
|
175
178
|
|
|
@@ -180,8 +183,10 @@ def get_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
180
183
|
this = snowflake.get_database(name="DEMO_DB")
|
|
181
184
|
```
|
|
182
185
|
|
|
186
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
187
|
+
|
|
183
188
|
|
|
184
|
-
:param str name: The database from which to return its metadata.
|
|
189
|
+
:param builtins.str name: The database from which to return its metadata.
|
|
185
190
|
"""
|
|
186
191
|
__args__ = dict()
|
|
187
192
|
__args__['name'] = 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
|
|
@@ -45,7 +46,7 @@ class GetDatabaseRoleResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter
|
|
48
|
-
def comment(self) -> str:
|
|
49
|
+
def comment(self) -> builtins.str:
|
|
49
50
|
"""
|
|
50
51
|
The comment on the role
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetDatabaseRoleResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def database(self) -> str:
|
|
57
|
+
def database(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The database from which to return the database role from.
|
|
59
60
|
"""
|
|
@@ -61,7 +62,7 @@ class GetDatabaseRoleResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def id(self) -> str:
|
|
65
|
+
def id(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
The provider-assigned unique ID for this managed resource.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class GetDatabaseRoleResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def name(self) -> str:
|
|
73
|
+
def name(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
Database role name.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class GetDatabaseRoleResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def owner(self) -> str:
|
|
81
|
+
def owner(self) -> builtins.str:
|
|
81
82
|
"""
|
|
82
83
|
The owner of the role
|
|
83
84
|
"""
|
|
@@ -97,11 +98,11 @@ class AwaitableGetDatabaseRoleResult(GetDatabaseRoleResult):
|
|
|
97
98
|
owner=self.owner)
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
def get_database_role(database: Optional[str] = None,
|
|
101
|
-
name: Optional[str] = None,
|
|
101
|
+
def get_database_role(database: Optional[builtins.str] = None,
|
|
102
|
+
name: Optional[builtins.str] = None,
|
|
102
103
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseRoleResult:
|
|
103
104
|
"""
|
|
104
|
-
!> **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
|
|
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 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.
|
|
105
106
|
|
|
106
107
|
## Example Usage
|
|
107
108
|
|
|
@@ -113,9 +114,11 @@ def get_database_role(database: Optional[str] = None,
|
|
|
113
114
|
name="DBROLE")
|
|
114
115
|
```
|
|
115
116
|
|
|
117
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
116
118
|
|
|
117
|
-
|
|
118
|
-
:param str
|
|
119
|
+
|
|
120
|
+
:param builtins.str database: The database from which to return the database role from.
|
|
121
|
+
:param builtins.str name: Database role name.
|
|
119
122
|
"""
|
|
120
123
|
__args__ = dict()
|
|
121
124
|
__args__['database'] = database
|
|
@@ -129,11 +132,11 @@ def get_database_role(database: Optional[str] = None,
|
|
|
129
132
|
id=pulumi.get(__ret__, 'id'),
|
|
130
133
|
name=pulumi.get(__ret__, 'name'),
|
|
131
134
|
owner=pulumi.get(__ret__, 'owner'))
|
|
132
|
-
def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
133
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
def get_database_role_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
136
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
134
137
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseRoleResult]:
|
|
135
138
|
"""
|
|
136
|
-
!> **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
|
|
139
|
+
!> **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.
|
|
137
140
|
|
|
138
141
|
## Example Usage
|
|
139
142
|
|
|
@@ -145,9 +148,11 @@ def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
145
148
|
name="DBROLE")
|
|
146
149
|
```
|
|
147
150
|
|
|
151
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
152
|
+
|
|
148
153
|
|
|
149
|
-
:param str database: The database from which to return the database role from.
|
|
150
|
-
:param str name: Database role name.
|
|
154
|
+
:param builtins.str database: The database from which to return the database role from.
|
|
155
|
+
:param builtins.str name: Database role name.
|
|
151
156
|
"""
|
|
152
157
|
__args__ = dict()
|
|
153
158
|
__args__['database'] = database
|
|
@@ -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
|
|
@@ -55,7 +56,7 @@ class GetDatabaseRolesResult:
|
|
|
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
|
"""
|
|
@@ -63,7 +64,7 @@ class GetDatabaseRolesResult:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter(name="inDatabase")
|
|
66
|
-
def in_database(self) -> str:
|
|
67
|
+
def in_database(self) -> builtins.str:
|
|
67
68
|
"""
|
|
68
69
|
The database from which to return the database roles from.
|
|
69
70
|
"""
|
|
@@ -71,7 +72,7 @@ class GetDatabaseRolesResult:
|
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def like(self) -> Optional[str]:
|
|
75
|
+
def like(self) -> Optional[builtins.str]:
|
|
75
76
|
"""
|
|
76
77
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
77
78
|
"""
|
|
@@ -99,16 +100,16 @@ class AwaitableGetDatabaseRolesResult(GetDatabaseRolesResult):
|
|
|
99
100
|
limit=self.limit)
|
|
100
101
|
|
|
101
102
|
|
|
102
|
-
def get_database_roles(in_database: Optional[str] = None,
|
|
103
|
-
like: Optional[str] = None,
|
|
103
|
+
def get_database_roles(in_database: Optional[builtins.str] = None,
|
|
104
|
+
like: Optional[builtins.str] = None,
|
|
104
105
|
limit: Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']] = None,
|
|
105
106
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseRolesResult:
|
|
106
107
|
"""
|
|
107
108
|
Data source used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
|
|
108
109
|
|
|
109
110
|
|
|
110
|
-
:param str in_database: The database from which to return the database roles from.
|
|
111
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
111
|
+
:param builtins.str in_database: The database from which to return the database roles from.
|
|
112
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
112
113
|
: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`.
|
|
113
114
|
"""
|
|
114
115
|
__args__ = dict()
|
|
@@ -124,16 +125,16 @@ def get_database_roles(in_database: Optional[str] = None,
|
|
|
124
125
|
in_database=pulumi.get(__ret__, 'in_database'),
|
|
125
126
|
like=pulumi.get(__ret__, 'like'),
|
|
126
127
|
limit=pulumi.get(__ret__, 'limit'))
|
|
127
|
-
def get_database_roles_output(in_database: Optional[pulumi.Input[str]] = None,
|
|
128
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
128
|
+
def get_database_roles_output(in_database: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
129
130
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabaseRolesLimitArgs', 'GetDatabaseRolesLimitArgsDict']]]] = None,
|
|
130
131
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseRolesResult]:
|
|
131
132
|
"""
|
|
132
133
|
Data source used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
|
|
133
134
|
|
|
134
135
|
|
|
135
|
-
:param str in_database: The database from which to return the database roles from.
|
|
136
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
136
|
+
:param builtins.str in_database: The database from which to return the database roles from.
|
|
137
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
137
138
|
: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`.
|
|
138
139
|
"""
|
|
139
140
|
__args__ = dict()
|
|
@@ -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
|
|
@@ -61,7 +62,7 @@ class GetDatabasesResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def id(self) -> str:
|
|
65
|
+
def id(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
The provider-assigned unique ID for this managed resource.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class GetDatabasesResult:
|
|
|
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 GetDatabasesResult:
|
|
|
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
|
"""
|
|
@@ -93,17 +94,17 @@ class GetDatabasesResult:
|
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter(name="withDescribe")
|
|
96
|
-
def with_describe(self) -> Optional[bool]:
|
|
97
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
97
98
|
"""
|
|
98
|
-
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.
|
|
99
|
+
(Default: `true`) 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.
|
|
99
100
|
"""
|
|
100
101
|
return pulumi.get(self, "with_describe")
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter(name="withParameters")
|
|
104
|
-
def with_parameters(self) -> Optional[bool]:
|
|
105
|
+
def with_parameters(self) -> Optional[builtins.bool]:
|
|
105
106
|
"""
|
|
106
|
-
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.
|
|
107
|
+
(Default: `true`) 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.
|
|
107
108
|
"""
|
|
108
109
|
return pulumi.get(self, "with_parameters")
|
|
109
110
|
|
|
@@ -123,21 +124,21 @@ class AwaitableGetDatabasesResult(GetDatabasesResult):
|
|
|
123
124
|
with_parameters=self.with_parameters)
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
def get_databases(like: Optional[str] = None,
|
|
127
|
+
def get_databases(like: Optional[builtins.str] = None,
|
|
127
128
|
limit: Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']] = None,
|
|
128
|
-
starts_with: Optional[str] = None,
|
|
129
|
-
with_describe: Optional[bool] = None,
|
|
130
|
-
with_parameters: Optional[bool] = None,
|
|
129
|
+
starts_with: Optional[builtins.str] = None,
|
|
130
|
+
with_describe: Optional[builtins.bool] = None,
|
|
131
|
+
with_parameters: Optional[builtins.bool] = None,
|
|
131
132
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabasesResult:
|
|
132
133
|
"""
|
|
133
134
|
Data source used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
137
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
137
138
|
:param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] 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`.
|
|
138
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
139
|
-
: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.
|
|
140
|
-
: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.
|
|
139
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
140
|
+
:param builtins.bool with_describe: (Default: `true`) 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.
|
|
141
|
+
:param builtins.bool with_parameters: (Default: `true`) 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.
|
|
141
142
|
"""
|
|
142
143
|
__args__ = dict()
|
|
143
144
|
__args__['like'] = like
|
|
@@ -156,21 +157,21 @@ def get_databases(like: Optional[str] = None,
|
|
|
156
157
|
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
157
158
|
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
158
159
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
159
|
-
def get_databases_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
+
def get_databases_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
160
161
|
limit: Optional[pulumi.Input[Optional[Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict']]]] = None,
|
|
161
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
162
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
163
|
-
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
162
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
163
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
|
+
with_parameters: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
164
165
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabasesResult]:
|
|
165
166
|
"""
|
|
166
167
|
Data source used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `starts_with`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
167
168
|
|
|
168
169
|
|
|
169
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
170
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
170
171
|
:param Union['GetDatabasesLimitArgs', 'GetDatabasesLimitArgsDict'] 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`.
|
|
171
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
172
|
-
: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.
|
|
173
|
-
: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.
|
|
172
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
173
|
+
:param builtins.bool with_describe: (Default: `true`) 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.
|
|
174
|
+
:param builtins.bool with_parameters: (Default: `true`) 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.
|
|
174
175
|
"""
|
|
175
176
|
__args__ = dict()
|
|
176
177
|
__args__['like'] = like
|
|
@@ -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
|
|
@@ -50,7 +51,7 @@ class GetDynamicTablesResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter
|
|
53
|
-
def id(self) -> str:
|
|
54
|
+
def id(self) -> builtins.str:
|
|
54
55
|
"""
|
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
|
56
57
|
"""
|
|
@@ -90,7 +91,7 @@ class GetDynamicTablesResult:
|
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter(name="startsWith")
|
|
93
|
-
def starts_with(self) -> Optional[str]:
|
|
94
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
94
95
|
"""
|
|
95
96
|
Optionally filters the command output based on the characters that appear at the beginning of the object name. The string is case-sensitive.
|
|
96
97
|
"""
|
|
@@ -114,16 +115,18 @@ class AwaitableGetDynamicTablesResult(GetDynamicTablesResult):
|
|
|
114
115
|
def get_dynamic_tables(in_: Optional[Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict']] = None,
|
|
115
116
|
like: Optional[Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict']] = None,
|
|
116
117
|
limit: Optional[Union['GetDynamicTablesLimitArgs', 'GetDynamicTablesLimitArgsDict']] = None,
|
|
117
|
-
starts_with: Optional[str] = None,
|
|
118
|
+
starts_with: Optional[builtins.str] = None,
|
|
118
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDynamicTablesResult:
|
|
119
120
|
"""
|
|
120
|
-
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field
|
|
121
|
+
!> **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.
|
|
122
|
+
|
|
123
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
121
124
|
|
|
122
125
|
|
|
123
126
|
:param Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict'] in_: IN clause to filter the list of dynamic tables.
|
|
124
127
|
:param Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict'] like: LIKE clause to filter the list of dynamic tables.
|
|
125
128
|
: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).
|
|
126
|
-
: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.
|
|
129
|
+
:param builtins.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.
|
|
127
130
|
"""
|
|
128
131
|
__args__ = dict()
|
|
129
132
|
__args__['in'] = in_
|
|
@@ -143,16 +146,18 @@ def get_dynamic_tables(in_: Optional[Union['GetDynamicTablesInArgs', 'GetDynamic
|
|
|
143
146
|
def get_dynamic_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict']]]] = None,
|
|
144
147
|
like: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict']]]] = None,
|
|
145
148
|
limit: Optional[pulumi.Input[Optional[Union['GetDynamicTablesLimitArgs', 'GetDynamicTablesLimitArgsDict']]]] = None,
|
|
146
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
149
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
147
150
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDynamicTablesResult]:
|
|
148
151
|
"""
|
|
149
|
-
!> **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
|
|
152
|
+
!> **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.
|
|
153
|
+
|
|
154
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
150
155
|
|
|
151
156
|
|
|
152
157
|
:param Union['GetDynamicTablesInArgs', 'GetDynamicTablesInArgsDict'] in_: IN clause to filter the list of dynamic tables.
|
|
153
158
|
:param Union['GetDynamicTablesLikeArgs', 'GetDynamicTablesLikeArgsDict'] like: LIKE clause to filter the list of dynamic tables.
|
|
154
159
|
: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).
|
|
155
|
-
: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.
|
|
160
|
+
:param builtins.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.
|
|
156
161
|
"""
|
|
157
162
|
__args__ = dict()
|
|
158
163
|
__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
|
|
@@ -43,7 +44,7 @@ class GetExternalFunctionsResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> Optional[str]:
|
|
47
|
+
def database(self) -> Optional[builtins.str]:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -59,7 +60,7 @@ class GetExternalFunctionsResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetExternalFunctionsResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def schema(self) -> Optional[str]:
|
|
71
|
+
def schema(self) -> Optional[builtins.str]:
|
|
71
72
|
"""
|
|
72
73
|
The schema from which to return the external functions from.
|
|
73
74
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetExternalFunctionsResult(GetExternalFunctionsResult):
|
|
|
86
87
|
schema=self.schema)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_external_functions(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_external_functions(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalFunctionsResult:
|
|
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_external_functions(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 external functions from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_external_functions(database: Optional[str] = None,
|
|
|
117
120
|
external_functions=pulumi.get(__ret__, 'external_functions'),
|
|
118
121
|
id=pulumi.get(__ret__, 'id'),
|
|
119
122
|
schema=pulumi.get(__ret__, 'schema'))
|
|
120
|
-
def get_external_functions_output(database: Optional[pulumi.Input[Optional[str]]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[Optional[str]]] = None,
|
|
123
|
+
def get_external_functions_output(database: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalFunctionsResult]:
|
|
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_external_functions_output(database: Optional[pulumi.Input[Optional[str]]
|
|
|
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 external functions 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 external functions from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__args__['database'] = database
|