pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__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 +12288 -12287
- pulumi_snowflake/account.py +186 -185
- 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 +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- 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 +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- 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 +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- 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 +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- 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 +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- 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 +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
pulumi_snowflake/view.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
|
|
@@ -21,34 +22,34 @@ __all__ = ['ViewArgs', 'View']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ViewArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
database: pulumi.Input[str],
|
|
25
|
-
schema: pulumi.Input[str],
|
|
26
|
-
statement: pulumi.Input[str],
|
|
25
|
+
database: pulumi.Input[builtins.str],
|
|
26
|
+
schema: pulumi.Input[builtins.str],
|
|
27
|
+
statement: pulumi.Input[builtins.str],
|
|
27
28
|
aggregation_policy: Optional[pulumi.Input['ViewAggregationPolicyArgs']] = None,
|
|
28
|
-
change_tracking: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
change_tracking: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
30
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]]] = None,
|
|
30
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
copy_grants: Optional[pulumi.Input[bool]] = None,
|
|
31
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
copy_grants: Optional[pulumi.Input[builtins.bool]] = None,
|
|
32
33
|
data_metric_functions: Optional[pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]]] = None,
|
|
33
34
|
data_metric_schedule: Optional[pulumi.Input['ViewDataMetricScheduleArgs']] = None,
|
|
34
|
-
is_recursive: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
is_temporary: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
is_recursive: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
is_temporary: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
39
|
row_access_policy: Optional[pulumi.Input['ViewRowAccessPolicyArgs']] = None):
|
|
39
40
|
"""
|
|
40
41
|
The set of arguments for constructing a View resource.
|
|
41
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
42
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
42
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
44
|
+
:param pulumi.Input[builtins.str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
44
45
|
:param pulumi.Input['ViewAggregationPolicyArgs'] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
45
|
-
:param pulumi.Input[str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
46
|
+
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
46
47
|
:param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
47
|
-
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
48
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
48
49
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
49
50
|
:param pulumi.Input['ViewDataMetricScheduleArgs'] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
50
|
-
:param pulumi.Input[str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
51
|
-
:param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
51
|
+
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
52
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
52
53
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
53
54
|
"""
|
|
54
55
|
pulumi.set(__self__, "database", database)
|
|
@@ -81,38 +82,38 @@ class ViewArgs:
|
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@pulumi.getter
|
|
84
|
-
def database(self) -> pulumi.Input[str]:
|
|
85
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
85
86
|
"""
|
|
86
87
|
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
87
88
|
"""
|
|
88
89
|
return pulumi.get(self, "database")
|
|
89
90
|
|
|
90
91
|
@database.setter
|
|
91
|
-
def database(self, value: pulumi.Input[str]):
|
|
92
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
92
93
|
pulumi.set(self, "database", value)
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter
|
|
96
|
-
def schema(self) -> pulumi.Input[str]:
|
|
97
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
97
98
|
"""
|
|
98
99
|
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
99
100
|
"""
|
|
100
101
|
return pulumi.get(self, "schema")
|
|
101
102
|
|
|
102
103
|
@schema.setter
|
|
103
|
-
def schema(self, value: pulumi.Input[str]):
|
|
104
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
104
105
|
pulumi.set(self, "schema", value)
|
|
105
106
|
|
|
106
107
|
@property
|
|
107
108
|
@pulumi.getter
|
|
108
|
-
def statement(self) -> pulumi.Input[str]:
|
|
109
|
+
def statement(self) -> pulumi.Input[builtins.str]:
|
|
109
110
|
"""
|
|
110
111
|
Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
111
112
|
"""
|
|
112
113
|
return pulumi.get(self, "statement")
|
|
113
114
|
|
|
114
115
|
@statement.setter
|
|
115
|
-
def statement(self, value: pulumi.Input[str]):
|
|
116
|
+
def statement(self, value: pulumi.Input[builtins.str]):
|
|
116
117
|
pulumi.set(self, "statement", value)
|
|
117
118
|
|
|
118
119
|
@property
|
|
@@ -129,14 +130,14 @@ class ViewArgs:
|
|
|
129
130
|
|
|
130
131
|
@property
|
|
131
132
|
@pulumi.getter(name="changeTracking")
|
|
132
|
-
def change_tracking(self) -> Optional[pulumi.Input[str]]:
|
|
133
|
+
def change_tracking(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
133
134
|
"""
|
|
134
135
|
Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
135
136
|
"""
|
|
136
137
|
return pulumi.get(self, "change_tracking")
|
|
137
138
|
|
|
138
139
|
@change_tracking.setter
|
|
139
|
-
def change_tracking(self, value: Optional[pulumi.Input[str]]):
|
|
140
|
+
def change_tracking(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
140
141
|
pulumi.set(self, "change_tracking", value)
|
|
141
142
|
|
|
142
143
|
@property
|
|
@@ -153,23 +154,23 @@ class ViewArgs:
|
|
|
153
154
|
|
|
154
155
|
@property
|
|
155
156
|
@pulumi.getter
|
|
156
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
157
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
157
158
|
"""
|
|
158
159
|
Specifies a comment for the view.
|
|
159
160
|
"""
|
|
160
161
|
return pulumi.get(self, "comment")
|
|
161
162
|
|
|
162
163
|
@comment.setter
|
|
163
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
164
165
|
pulumi.set(self, "comment", value)
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter(name="copyGrants")
|
|
168
|
-
def copy_grants(self) -> Optional[pulumi.Input[bool]]:
|
|
169
|
+
def copy_grants(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
169
170
|
return pulumi.get(self, "copy_grants")
|
|
170
171
|
|
|
171
172
|
@copy_grants.setter
|
|
172
|
-
def copy_grants(self, value: Optional[pulumi.Input[bool]]):
|
|
173
|
+
def copy_grants(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
173
174
|
pulumi.set(self, "copy_grants", value)
|
|
174
175
|
|
|
175
176
|
@property
|
|
@@ -198,44 +199,44 @@ class ViewArgs:
|
|
|
198
199
|
|
|
199
200
|
@property
|
|
200
201
|
@pulumi.getter(name="isRecursive")
|
|
201
|
-
def is_recursive(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
def is_recursive(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
202
203
|
"""
|
|
203
204
|
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
204
205
|
"""
|
|
205
206
|
return pulumi.get(self, "is_recursive")
|
|
206
207
|
|
|
207
208
|
@is_recursive.setter
|
|
208
|
-
def is_recursive(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
def is_recursive(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
209
210
|
pulumi.set(self, "is_recursive", value)
|
|
210
211
|
|
|
211
212
|
@property
|
|
212
213
|
@pulumi.getter(name="isSecure")
|
|
213
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
214
215
|
return pulumi.get(self, "is_secure")
|
|
215
216
|
|
|
216
217
|
@is_secure.setter
|
|
217
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
218
219
|
pulumi.set(self, "is_secure", value)
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="isTemporary")
|
|
222
|
-
def is_temporary(self) -> Optional[pulumi.Input[str]]:
|
|
223
|
+
def is_temporary(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
223
224
|
return pulumi.get(self, "is_temporary")
|
|
224
225
|
|
|
225
226
|
@is_temporary.setter
|
|
226
|
-
def is_temporary(self, value: Optional[pulumi.Input[str]]):
|
|
227
|
+
def is_temporary(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
227
228
|
pulumi.set(self, "is_temporary", value)
|
|
228
229
|
|
|
229
230
|
@property
|
|
230
231
|
@pulumi.getter
|
|
231
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
232
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
232
233
|
"""
|
|
233
234
|
Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
234
235
|
"""
|
|
235
236
|
return pulumi.get(self, "name")
|
|
236
237
|
|
|
237
238
|
@name.setter
|
|
238
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
239
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
239
240
|
pulumi.set(self, "name", value)
|
|
240
241
|
|
|
241
242
|
@property
|
|
@@ -255,40 +256,40 @@ class ViewArgs:
|
|
|
255
256
|
class _ViewState:
|
|
256
257
|
def __init__(__self__, *,
|
|
257
258
|
aggregation_policy: Optional[pulumi.Input['ViewAggregationPolicyArgs']] = None,
|
|
258
|
-
change_tracking: Optional[pulumi.Input[str]] = None,
|
|
259
|
+
change_tracking: Optional[pulumi.Input[builtins.str]] = None,
|
|
259
260
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]]] = None,
|
|
260
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
261
|
-
copy_grants: Optional[pulumi.Input[bool]] = None,
|
|
261
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
262
|
+
copy_grants: Optional[pulumi.Input[builtins.bool]] = None,
|
|
262
263
|
data_metric_functions: Optional[pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]]] = None,
|
|
263
264
|
data_metric_schedule: Optional[pulumi.Input['ViewDataMetricScheduleArgs']] = None,
|
|
264
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
265
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
265
266
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ViewDescribeOutputArgs']]]] = None,
|
|
266
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
267
|
-
is_recursive: Optional[pulumi.Input[str]] = None,
|
|
268
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
269
|
-
is_temporary: Optional[pulumi.Input[str]] = None,
|
|
270
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
267
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
268
|
+
is_recursive: Optional[pulumi.Input[builtins.str]] = None,
|
|
269
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
270
|
+
is_temporary: Optional[pulumi.Input[builtins.str]] = None,
|
|
271
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
271
272
|
row_access_policy: Optional[pulumi.Input['ViewRowAccessPolicyArgs']] = None,
|
|
272
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
273
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
273
274
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ViewShowOutputArgs']]]] = None,
|
|
274
|
-
statement: Optional[pulumi.Input[str]] = None):
|
|
275
|
+
statement: Optional[pulumi.Input[builtins.str]] = None):
|
|
275
276
|
"""
|
|
276
277
|
Input properties used for looking up and filtering View resources.
|
|
277
278
|
:param pulumi.Input['ViewAggregationPolicyArgs'] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
278
|
-
:param pulumi.Input[str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
279
|
+
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
279
280
|
:param pulumi.Input[Sequence[pulumi.Input['ViewColumnArgs']]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
280
|
-
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
281
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
281
282
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDataMetricFunctionArgs']]] data_metric_functions: Data metric functions used for the view.
|
|
282
283
|
:param pulumi.Input['ViewDataMetricScheduleArgs'] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
283
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
284
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
284
285
|
:param pulumi.Input[Sequence[pulumi.Input['ViewDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
285
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
286
|
-
:param pulumi.Input[str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
287
|
-
:param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
286
|
+
:param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
287
|
+
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
288
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
288
289
|
:param pulumi.Input['ViewRowAccessPolicyArgs'] row_access_policy: Specifies the row access policy to set on a view.
|
|
289
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
290
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
290
291
|
:param pulumi.Input[Sequence[pulumi.Input['ViewShowOutputArgs']]] show_outputs: Outputs the result of `SHOW VIEW` for the given view.
|
|
291
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
292
|
+
:param pulumi.Input[builtins.str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
292
293
|
"""
|
|
293
294
|
if aggregation_policy is not None:
|
|
294
295
|
pulumi.set(__self__, "aggregation_policy", aggregation_policy)
|
|
@@ -341,14 +342,14 @@ class _ViewState:
|
|
|
341
342
|
|
|
342
343
|
@property
|
|
343
344
|
@pulumi.getter(name="changeTracking")
|
|
344
|
-
def change_tracking(self) -> Optional[pulumi.Input[str]]:
|
|
345
|
+
def change_tracking(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
345
346
|
"""
|
|
346
347
|
Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
347
348
|
"""
|
|
348
349
|
return pulumi.get(self, "change_tracking")
|
|
349
350
|
|
|
350
351
|
@change_tracking.setter
|
|
351
|
-
def change_tracking(self, value: Optional[pulumi.Input[str]]):
|
|
352
|
+
def change_tracking(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
352
353
|
pulumi.set(self, "change_tracking", value)
|
|
353
354
|
|
|
354
355
|
@property
|
|
@@ -365,23 +366,23 @@ class _ViewState:
|
|
|
365
366
|
|
|
366
367
|
@property
|
|
367
368
|
@pulumi.getter
|
|
368
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
369
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
369
370
|
"""
|
|
370
371
|
Specifies a comment for the view.
|
|
371
372
|
"""
|
|
372
373
|
return pulumi.get(self, "comment")
|
|
373
374
|
|
|
374
375
|
@comment.setter
|
|
375
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
376
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
376
377
|
pulumi.set(self, "comment", value)
|
|
377
378
|
|
|
378
379
|
@property
|
|
379
380
|
@pulumi.getter(name="copyGrants")
|
|
380
|
-
def copy_grants(self) -> Optional[pulumi.Input[bool]]:
|
|
381
|
+
def copy_grants(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
381
382
|
return pulumi.get(self, "copy_grants")
|
|
382
383
|
|
|
383
384
|
@copy_grants.setter
|
|
384
|
-
def copy_grants(self, value: Optional[pulumi.Input[bool]]):
|
|
385
|
+
def copy_grants(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
385
386
|
pulumi.set(self, "copy_grants", value)
|
|
386
387
|
|
|
387
388
|
@property
|
|
@@ -410,14 +411,14 @@ class _ViewState:
|
|
|
410
411
|
|
|
411
412
|
@property
|
|
412
413
|
@pulumi.getter
|
|
413
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
414
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
414
415
|
"""
|
|
415
416
|
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
416
417
|
"""
|
|
417
418
|
return pulumi.get(self, "database")
|
|
418
419
|
|
|
419
420
|
@database.setter
|
|
420
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
421
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
421
422
|
pulumi.set(self, "database", value)
|
|
422
423
|
|
|
423
424
|
@property
|
|
@@ -434,56 +435,56 @@ class _ViewState:
|
|
|
434
435
|
|
|
435
436
|
@property
|
|
436
437
|
@pulumi.getter(name="fullyQualifiedName")
|
|
437
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
438
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
438
439
|
"""
|
|
439
440
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
440
441
|
"""
|
|
441
442
|
return pulumi.get(self, "fully_qualified_name")
|
|
442
443
|
|
|
443
444
|
@fully_qualified_name.setter
|
|
444
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
445
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
445
446
|
pulumi.set(self, "fully_qualified_name", value)
|
|
446
447
|
|
|
447
448
|
@property
|
|
448
449
|
@pulumi.getter(name="isRecursive")
|
|
449
|
-
def is_recursive(self) -> Optional[pulumi.Input[str]]:
|
|
450
|
+
def is_recursive(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
450
451
|
"""
|
|
451
452
|
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
452
453
|
"""
|
|
453
454
|
return pulumi.get(self, "is_recursive")
|
|
454
455
|
|
|
455
456
|
@is_recursive.setter
|
|
456
|
-
def is_recursive(self, value: Optional[pulumi.Input[str]]):
|
|
457
|
+
def is_recursive(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
457
458
|
pulumi.set(self, "is_recursive", value)
|
|
458
459
|
|
|
459
460
|
@property
|
|
460
461
|
@pulumi.getter(name="isSecure")
|
|
461
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
462
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
462
463
|
return pulumi.get(self, "is_secure")
|
|
463
464
|
|
|
464
465
|
@is_secure.setter
|
|
465
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
466
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
466
467
|
pulumi.set(self, "is_secure", value)
|
|
467
468
|
|
|
468
469
|
@property
|
|
469
470
|
@pulumi.getter(name="isTemporary")
|
|
470
|
-
def is_temporary(self) -> Optional[pulumi.Input[str]]:
|
|
471
|
+
def is_temporary(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
471
472
|
return pulumi.get(self, "is_temporary")
|
|
472
473
|
|
|
473
474
|
@is_temporary.setter
|
|
474
|
-
def is_temporary(self, value: Optional[pulumi.Input[str]]):
|
|
475
|
+
def is_temporary(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
475
476
|
pulumi.set(self, "is_temporary", value)
|
|
476
477
|
|
|
477
478
|
@property
|
|
478
479
|
@pulumi.getter
|
|
479
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
480
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
480
481
|
"""
|
|
481
482
|
Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
482
483
|
"""
|
|
483
484
|
return pulumi.get(self, "name")
|
|
484
485
|
|
|
485
486
|
@name.setter
|
|
486
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
487
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
487
488
|
pulumi.set(self, "name", value)
|
|
488
489
|
|
|
489
490
|
@property
|
|
@@ -500,14 +501,14 @@ class _ViewState:
|
|
|
500
501
|
|
|
501
502
|
@property
|
|
502
503
|
@pulumi.getter
|
|
503
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
504
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
504
505
|
"""
|
|
505
506
|
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
506
507
|
"""
|
|
507
508
|
return pulumi.get(self, "schema")
|
|
508
509
|
|
|
509
510
|
@schema.setter
|
|
510
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
511
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
511
512
|
pulumi.set(self, "schema", value)
|
|
512
513
|
|
|
513
514
|
@property
|
|
@@ -524,14 +525,14 @@ class _ViewState:
|
|
|
524
525
|
|
|
525
526
|
@property
|
|
526
527
|
@pulumi.getter
|
|
527
|
-
def statement(self) -> Optional[pulumi.Input[str]]:
|
|
528
|
+
def statement(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
528
529
|
"""
|
|
529
530
|
Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
530
531
|
"""
|
|
531
532
|
return pulumi.get(self, "statement")
|
|
532
533
|
|
|
533
534
|
@statement.setter
|
|
534
|
-
def statement(self, value: Optional[pulumi.Input[str]]):
|
|
535
|
+
def statement(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
535
536
|
pulumi.set(self, "statement", value)
|
|
536
537
|
|
|
537
538
|
|
|
@@ -541,20 +542,20 @@ class View(pulumi.CustomResource):
|
|
|
541
542
|
resource_name: str,
|
|
542
543
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
543
544
|
aggregation_policy: Optional[pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']]] = None,
|
|
544
|
-
change_tracking: Optional[pulumi.Input[str]] = None,
|
|
545
|
+
change_tracking: Optional[pulumi.Input[builtins.str]] = None,
|
|
545
546
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
|
|
546
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
547
|
-
copy_grants: Optional[pulumi.Input[bool]] = None,
|
|
547
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
548
|
+
copy_grants: Optional[pulumi.Input[builtins.bool]] = None,
|
|
548
549
|
data_metric_functions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]]] = None,
|
|
549
550
|
data_metric_schedule: Optional[pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']]] = None,
|
|
550
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
551
|
-
is_recursive: Optional[pulumi.Input[str]] = None,
|
|
552
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
553
|
-
is_temporary: Optional[pulumi.Input[str]] = None,
|
|
554
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
551
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
552
|
+
is_recursive: Optional[pulumi.Input[builtins.str]] = None,
|
|
553
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
554
|
+
is_temporary: Optional[pulumi.Input[builtins.str]] = None,
|
|
555
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
555
556
|
row_access_policy: Optional[pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']]] = None,
|
|
556
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
557
|
-
statement: Optional[pulumi.Input[str]] = None,
|
|
557
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
558
|
+
statement: Optional[pulumi.Input[builtins.str]] = None,
|
|
558
559
|
__props__=None):
|
|
559
560
|
"""
|
|
560
561
|
## Import
|
|
@@ -566,17 +567,17 @@ class View(pulumi.CustomResource):
|
|
|
566
567
|
:param str resource_name: The name of the resource.
|
|
567
568
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
568
569
|
:param pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
569
|
-
:param pulumi.Input[str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
570
|
+
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
570
571
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
571
|
-
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
572
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
572
573
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
573
574
|
:param pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
574
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
575
|
-
:param pulumi.Input[str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
576
|
-
:param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
575
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
576
|
+
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
577
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
577
578
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
578
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
579
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
579
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
580
|
+
:param pulumi.Input[builtins.str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
580
581
|
"""
|
|
581
582
|
...
|
|
582
583
|
@overload
|
|
@@ -607,20 +608,20 @@ class View(pulumi.CustomResource):
|
|
|
607
608
|
resource_name: str,
|
|
608
609
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
609
610
|
aggregation_policy: Optional[pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']]] = None,
|
|
610
|
-
change_tracking: Optional[pulumi.Input[str]] = None,
|
|
611
|
+
change_tracking: Optional[pulumi.Input[builtins.str]] = None,
|
|
611
612
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
|
|
612
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
613
|
-
copy_grants: Optional[pulumi.Input[bool]] = None,
|
|
613
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
614
|
+
copy_grants: Optional[pulumi.Input[builtins.bool]] = None,
|
|
614
615
|
data_metric_functions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]]] = None,
|
|
615
616
|
data_metric_schedule: Optional[pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']]] = None,
|
|
616
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
617
|
-
is_recursive: Optional[pulumi.Input[str]] = None,
|
|
618
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
619
|
-
is_temporary: Optional[pulumi.Input[str]] = None,
|
|
620
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
617
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
618
|
+
is_recursive: Optional[pulumi.Input[builtins.str]] = None,
|
|
619
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
620
|
+
is_temporary: Optional[pulumi.Input[builtins.str]] = None,
|
|
621
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
621
622
|
row_access_policy: Optional[pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']]] = None,
|
|
622
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
623
|
-
statement: Optional[pulumi.Input[str]] = None,
|
|
623
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
624
|
+
statement: Optional[pulumi.Input[builtins.str]] = None,
|
|
624
625
|
__props__=None):
|
|
625
626
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
626
627
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -665,23 +666,23 @@ class View(pulumi.CustomResource):
|
|
|
665
666
|
id: pulumi.Input[str],
|
|
666
667
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
667
668
|
aggregation_policy: Optional[pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']]] = None,
|
|
668
|
-
change_tracking: Optional[pulumi.Input[str]] = None,
|
|
669
|
+
change_tracking: Optional[pulumi.Input[builtins.str]] = None,
|
|
669
670
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]]] = None,
|
|
670
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
671
|
-
copy_grants: Optional[pulumi.Input[bool]] = None,
|
|
671
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
672
|
+
copy_grants: Optional[pulumi.Input[builtins.bool]] = None,
|
|
672
673
|
data_metric_functions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]]] = None,
|
|
673
674
|
data_metric_schedule: Optional[pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']]] = None,
|
|
674
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
675
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
675
676
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewDescribeOutputArgs', 'ViewDescribeOutputArgsDict']]]]] = None,
|
|
676
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
677
|
-
is_recursive: Optional[pulumi.Input[str]] = None,
|
|
678
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
679
|
-
is_temporary: Optional[pulumi.Input[str]] = None,
|
|
680
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
677
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
678
|
+
is_recursive: Optional[pulumi.Input[builtins.str]] = None,
|
|
679
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
680
|
+
is_temporary: Optional[pulumi.Input[builtins.str]] = None,
|
|
681
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
681
682
|
row_access_policy: Optional[pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']]] = None,
|
|
682
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
683
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
683
684
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ViewShowOutputArgs', 'ViewShowOutputArgsDict']]]]] = None,
|
|
684
|
-
statement: Optional[pulumi.Input[str]] = None) -> 'View':
|
|
685
|
+
statement: Optional[pulumi.Input[builtins.str]] = None) -> 'View':
|
|
685
686
|
"""
|
|
686
687
|
Get an existing View resource's state with the given name, id, and optional extra
|
|
687
688
|
properties used to qualify the lookup.
|
|
@@ -690,20 +691,20 @@ class View(pulumi.CustomResource):
|
|
|
690
691
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
691
692
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
692
693
|
:param pulumi.Input[Union['ViewAggregationPolicyArgs', 'ViewAggregationPolicyArgsDict']] aggregation_policy: Specifies the aggregation policy to set on a view.
|
|
693
|
-
:param pulumi.Input[str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
694
|
+
:param pulumi.Input[builtins.str] change_tracking: Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
694
695
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewColumnArgs', 'ViewColumnArgsDict']]]] columns: If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
695
|
-
:param pulumi.Input[str] comment: Specifies a comment for the view.
|
|
696
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the view.
|
|
696
697
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDataMetricFunctionArgs', 'ViewDataMetricFunctionArgsDict']]]] data_metric_functions: Data metric functions used for the view.
|
|
697
698
|
:param pulumi.Input[Union['ViewDataMetricScheduleArgs', 'ViewDataMetricScheduleArgsDict']] data_metric_schedule: Specifies the schedule to run the data metric functions periodically.
|
|
698
|
-
:param pulumi.Input[str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
699
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
699
700
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewDescribeOutputArgs', 'ViewDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE VIEW` for the given view.
|
|
700
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
701
|
-
:param pulumi.Input[str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
702
|
-
:param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
701
|
+
:param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
702
|
+
:param pulumi.Input[builtins.str] is_recursive: Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
703
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
703
704
|
:param pulumi.Input[Union['ViewRowAccessPolicyArgs', 'ViewRowAccessPolicyArgsDict']] row_access_policy: Specifies the row access policy to set on a view.
|
|
704
|
-
:param pulumi.Input[str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
705
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
705
706
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ViewShowOutputArgs', 'ViewShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW VIEW` for the given view.
|
|
706
|
-
:param pulumi.Input[str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
707
|
+
:param pulumi.Input[builtins.str] statement: Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
707
708
|
"""
|
|
708
709
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
709
710
|
|
|
@@ -739,7 +740,7 @@ class View(pulumi.CustomResource):
|
|
|
739
740
|
|
|
740
741
|
@property
|
|
741
742
|
@pulumi.getter(name="changeTracking")
|
|
742
|
-
def change_tracking(self) -> pulumi.Output[Optional[str]]:
|
|
743
|
+
def change_tracking(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
743
744
|
"""
|
|
744
745
|
Specifies to enable or disable change tracking on the table. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
745
746
|
"""
|
|
@@ -755,7 +756,7 @@ class View(pulumi.CustomResource):
|
|
|
755
756
|
|
|
756
757
|
@property
|
|
757
758
|
@pulumi.getter
|
|
758
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
759
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
759
760
|
"""
|
|
760
761
|
Specifies a comment for the view.
|
|
761
762
|
"""
|
|
@@ -763,7 +764,7 @@ class View(pulumi.CustomResource):
|
|
|
763
764
|
|
|
764
765
|
@property
|
|
765
766
|
@pulumi.getter(name="copyGrants")
|
|
766
|
-
def copy_grants(self) -> pulumi.Output[Optional[bool]]:
|
|
767
|
+
def copy_grants(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
767
768
|
return pulumi.get(self, "copy_grants")
|
|
768
769
|
|
|
769
770
|
@property
|
|
@@ -784,7 +785,7 @@ class View(pulumi.CustomResource):
|
|
|
784
785
|
|
|
785
786
|
@property
|
|
786
787
|
@pulumi.getter
|
|
787
|
-
def database(self) -> pulumi.Output[str]:
|
|
788
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
788
789
|
"""
|
|
789
790
|
The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
790
791
|
"""
|
|
@@ -800,7 +801,7 @@ class View(pulumi.CustomResource):
|
|
|
800
801
|
|
|
801
802
|
@property
|
|
802
803
|
@pulumi.getter(name="fullyQualifiedName")
|
|
803
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
804
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
804
805
|
"""
|
|
805
806
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
806
807
|
"""
|
|
@@ -808,7 +809,7 @@ class View(pulumi.CustomResource):
|
|
|
808
809
|
|
|
809
810
|
@property
|
|
810
811
|
@pulumi.getter(name="isRecursive")
|
|
811
|
-
def is_recursive(self) -> pulumi.Output[Optional[str]]:
|
|
812
|
+
def is_recursive(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
812
813
|
"""
|
|
813
814
|
Specifies that the view can refer to itself using recursive syntax without necessarily using a CTE (common table expression). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
814
815
|
"""
|
|
@@ -816,17 +817,17 @@ class View(pulumi.CustomResource):
|
|
|
816
817
|
|
|
817
818
|
@property
|
|
818
819
|
@pulumi.getter(name="isSecure")
|
|
819
|
-
def is_secure(self) -> pulumi.Output[Optional[str]]:
|
|
820
|
+
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
820
821
|
return pulumi.get(self, "is_secure")
|
|
821
822
|
|
|
822
823
|
@property
|
|
823
824
|
@pulumi.getter(name="isTemporary")
|
|
824
|
-
def is_temporary(self) -> pulumi.Output[Optional[str]]:
|
|
825
|
+
def is_temporary(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
825
826
|
return pulumi.get(self, "is_temporary")
|
|
826
827
|
|
|
827
828
|
@property
|
|
828
829
|
@pulumi.getter
|
|
829
|
-
def name(self) -> pulumi.Output[str]:
|
|
830
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
830
831
|
"""
|
|
831
832
|
Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
832
833
|
"""
|
|
@@ -842,7 +843,7 @@ class View(pulumi.CustomResource):
|
|
|
842
843
|
|
|
843
844
|
@property
|
|
844
845
|
@pulumi.getter
|
|
845
|
-
def schema(self) -> pulumi.Output[str]:
|
|
846
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
846
847
|
"""
|
|
847
848
|
The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
848
849
|
"""
|
|
@@ -858,7 +859,7 @@ class View(pulumi.CustomResource):
|
|
|
858
859
|
|
|
859
860
|
@property
|
|
860
861
|
@pulumi.getter
|
|
861
|
-
def statement(self) -> pulumi.Output[str]:
|
|
862
|
+
def statement(self) -> pulumi.Output[builtins.str]:
|
|
862
863
|
"""
|
|
863
864
|
Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
864
865
|
"""
|