pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744266763__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.0a1744266763.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744266763.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.0a1744266763.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
@@ -22,19 +23,19 @@ __all__ = ['RowAccessPolicyArgs', 'RowAccessPolicy']
|
|
|
22
23
|
class RowAccessPolicyArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
25
|
arguments: pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyArgumentArgs']]],
|
|
25
|
-
body: pulumi.Input[str],
|
|
26
|
-
database: pulumi.Input[str],
|
|
27
|
-
schema: pulumi.Input[str],
|
|
28
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
26
|
+
body: pulumi.Input[builtins.str],
|
|
27
|
+
database: pulumi.Input[builtins.str],
|
|
28
|
+
schema: pulumi.Input[builtins.str],
|
|
29
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
30
31
|
"""
|
|
31
32
|
The set of arguments for constructing a RowAccessPolicy resource.
|
|
32
33
|
:param pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyArgumentArgs']]] arguments: List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
|
|
33
|
-
:param pulumi.Input[str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
34
|
-
:param pulumi.Input[str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
35
|
-
:param pulumi.Input[str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
36
|
-
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
37
|
-
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
34
|
+
:param pulumi.Input[builtins.str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
35
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
36
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the row access policy.
|
|
38
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
38
39
|
"""
|
|
39
40
|
pulumi.set(__self__, "arguments", arguments)
|
|
40
41
|
pulumi.set(__self__, "body", body)
|
|
@@ -59,62 +60,62 @@ class RowAccessPolicyArgs:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def body(self) -> pulumi.Input[str]:
|
|
63
|
+
def body(self) -> pulumi.Input[builtins.str]:
|
|
63
64
|
"""
|
|
64
65
|
Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
65
66
|
"""
|
|
66
67
|
return pulumi.get(self, "body")
|
|
67
68
|
|
|
68
69
|
@body.setter
|
|
69
|
-
def body(self, value: pulumi.Input[str]):
|
|
70
|
+
def body(self, value: pulumi.Input[builtins.str]):
|
|
70
71
|
pulumi.set(self, "body", value)
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def database(self) -> pulumi.Input[str]:
|
|
75
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
75
76
|
"""
|
|
76
77
|
The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
77
78
|
"""
|
|
78
79
|
return pulumi.get(self, "database")
|
|
79
80
|
|
|
80
81
|
@database.setter
|
|
81
|
-
def database(self, value: pulumi.Input[str]):
|
|
82
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
82
83
|
pulumi.set(self, "database", value)
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def schema(self) -> pulumi.Input[str]:
|
|
87
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
87
88
|
"""
|
|
88
89
|
The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
89
90
|
"""
|
|
90
91
|
return pulumi.get(self, "schema")
|
|
91
92
|
|
|
92
93
|
@schema.setter
|
|
93
|
-
def schema(self, value: pulumi.Input[str]):
|
|
94
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
94
95
|
pulumi.set(self, "schema", value)
|
|
95
96
|
|
|
96
97
|
@property
|
|
97
98
|
@pulumi.getter
|
|
98
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
99
100
|
"""
|
|
100
101
|
Specifies a comment for the row access policy.
|
|
101
102
|
"""
|
|
102
103
|
return pulumi.get(self, "comment")
|
|
103
104
|
|
|
104
105
|
@comment.setter
|
|
105
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
106
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
106
107
|
pulumi.set(self, "comment", value)
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
111
112
|
"""
|
|
112
113
|
Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
113
114
|
"""
|
|
114
115
|
return pulumi.get(self, "name")
|
|
115
116
|
|
|
116
117
|
@name.setter
|
|
117
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
118
119
|
pulumi.set(self, "name", value)
|
|
119
120
|
|
|
120
121
|
|
|
@@ -122,24 +123,24 @@ class RowAccessPolicyArgs:
|
|
|
122
123
|
class _RowAccessPolicyState:
|
|
123
124
|
def __init__(__self__, *,
|
|
124
125
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyArgumentArgs']]]] = None,
|
|
125
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
126
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
127
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
126
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
129
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyDescribeOutputArgs']]]] = None,
|
|
129
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
131
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
130
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
131
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
132
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
132
133
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyShowOutputArgs']]]] = None):
|
|
133
134
|
"""
|
|
134
135
|
Input properties used for looking up and filtering RowAccessPolicy resources.
|
|
135
136
|
:param pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyArgumentArgs']]] arguments: List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
|
|
136
|
-
:param pulumi.Input[str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
137
|
-
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
138
|
-
:param pulumi.Input[str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
137
|
+
:param pulumi.Input[builtins.str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
138
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the row access policy.
|
|
139
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
139
140
|
:param pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE ROW ACCESS POLICY` for the given row access policy.
|
|
140
|
-
: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).
|
|
141
|
-
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
142
|
-
:param pulumi.Input[str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
141
|
+
: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).
|
|
142
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
143
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
143
144
|
:param pulumi.Input[Sequence[pulumi.Input['RowAccessPolicyShowOutputArgs']]] show_outputs: Outputs the result of `SHOW ROW ACCESS POLICIES` for the given row access policy.
|
|
144
145
|
"""
|
|
145
146
|
if arguments is not None:
|
|
@@ -175,38 +176,38 @@ class _RowAccessPolicyState:
|
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter
|
|
178
|
-
def body(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
def body(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
179
180
|
"""
|
|
180
181
|
Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
181
182
|
"""
|
|
182
183
|
return pulumi.get(self, "body")
|
|
183
184
|
|
|
184
185
|
@body.setter
|
|
185
|
-
def body(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
def body(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
186
187
|
pulumi.set(self, "body", value)
|
|
187
188
|
|
|
188
189
|
@property
|
|
189
190
|
@pulumi.getter
|
|
190
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
191
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
191
192
|
"""
|
|
192
193
|
Specifies a comment for the row access policy.
|
|
193
194
|
"""
|
|
194
195
|
return pulumi.get(self, "comment")
|
|
195
196
|
|
|
196
197
|
@comment.setter
|
|
197
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
198
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
198
199
|
pulumi.set(self, "comment", value)
|
|
199
200
|
|
|
200
201
|
@property
|
|
201
202
|
@pulumi.getter
|
|
202
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
203
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
203
204
|
"""
|
|
204
205
|
The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
205
206
|
"""
|
|
206
207
|
return pulumi.get(self, "database")
|
|
207
208
|
|
|
208
209
|
@database.setter
|
|
209
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
210
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
210
211
|
pulumi.set(self, "database", value)
|
|
211
212
|
|
|
212
213
|
@property
|
|
@@ -223,38 +224,38 @@ class _RowAccessPolicyState:
|
|
|
223
224
|
|
|
224
225
|
@property
|
|
225
226
|
@pulumi.getter(name="fullyQualifiedName")
|
|
226
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
227
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
227
228
|
"""
|
|
228
229
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
229
230
|
"""
|
|
230
231
|
return pulumi.get(self, "fully_qualified_name")
|
|
231
232
|
|
|
232
233
|
@fully_qualified_name.setter
|
|
233
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
234
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
234
235
|
pulumi.set(self, "fully_qualified_name", value)
|
|
235
236
|
|
|
236
237
|
@property
|
|
237
238
|
@pulumi.getter
|
|
238
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
239
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
240
|
"""
|
|
240
241
|
Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
241
242
|
"""
|
|
242
243
|
return pulumi.get(self, "name")
|
|
243
244
|
|
|
244
245
|
@name.setter
|
|
245
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
246
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
246
247
|
pulumi.set(self, "name", value)
|
|
247
248
|
|
|
248
249
|
@property
|
|
249
250
|
@pulumi.getter
|
|
250
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
251
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
251
252
|
"""
|
|
252
253
|
The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
253
254
|
"""
|
|
254
255
|
return pulumi.get(self, "schema")
|
|
255
256
|
|
|
256
257
|
@schema.setter
|
|
257
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
258
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
258
259
|
pulumi.set(self, "schema", value)
|
|
259
260
|
|
|
260
261
|
@property
|
|
@@ -276,11 +277,11 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
276
277
|
resource_name: str,
|
|
277
278
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
278
279
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyArgumentArgs', 'RowAccessPolicyArgumentArgsDict']]]]] = None,
|
|
279
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
280
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
281
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
282
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
283
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
280
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
281
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
282
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
283
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
284
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
284
285
|
__props__=None):
|
|
285
286
|
"""
|
|
286
287
|
## Import
|
|
@@ -292,11 +293,11 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
292
293
|
:param str resource_name: The name of the resource.
|
|
293
294
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
294
295
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyArgumentArgs', 'RowAccessPolicyArgumentArgsDict']]]] arguments: List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
|
|
295
|
-
:param pulumi.Input[str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
296
|
-
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
297
|
-
:param pulumi.Input[str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
298
|
-
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
299
|
-
:param pulumi.Input[str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
296
|
+
:param pulumi.Input[builtins.str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
297
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the row access policy.
|
|
298
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
299
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
300
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
300
301
|
"""
|
|
301
302
|
...
|
|
302
303
|
@overload
|
|
@@ -327,11 +328,11 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
327
328
|
resource_name: str,
|
|
328
329
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
329
330
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyArgumentArgs', 'RowAccessPolicyArgumentArgsDict']]]]] = None,
|
|
330
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
331
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
333
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
334
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
331
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
335
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
335
336
|
__props__=None):
|
|
336
337
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
337
338
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -369,13 +370,13 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
369
370
|
id: pulumi.Input[str],
|
|
370
371
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
371
372
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyArgumentArgs', 'RowAccessPolicyArgumentArgsDict']]]]] = None,
|
|
372
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
373
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
374
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
373
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
374
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
375
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
375
376
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyDescribeOutputArgs', 'RowAccessPolicyDescribeOutputArgsDict']]]]] = None,
|
|
376
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
378
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
377
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
380
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyShowOutputArgs', 'RowAccessPolicyShowOutputArgsDict']]]]] = None) -> 'RowAccessPolicy':
|
|
380
381
|
"""
|
|
381
382
|
Get an existing RowAccessPolicy resource's state with the given name, id, and optional extra
|
|
@@ -385,13 +386,13 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
385
386
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
387
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
388
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyArgumentArgs', 'RowAccessPolicyArgumentArgsDict']]]] arguments: List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
|
|
388
|
-
:param pulumi.Input[str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
389
|
-
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
390
|
-
:param pulumi.Input[str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
389
|
+
:param pulumi.Input[builtins.str] body: Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
390
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the row access policy.
|
|
391
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
391
392
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyDescribeOutputArgs', 'RowAccessPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE ROW ACCESS POLICY` for the given row access policy.
|
|
392
|
-
: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).
|
|
393
|
-
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
394
|
-
:param pulumi.Input[str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
393
|
+
: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).
|
|
394
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
395
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
395
396
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RowAccessPolicyShowOutputArgs', 'RowAccessPolicyShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW ROW ACCESS POLICIES` for the given row access policy.
|
|
396
397
|
"""
|
|
397
398
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -419,7 +420,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
419
420
|
|
|
420
421
|
@property
|
|
421
422
|
@pulumi.getter
|
|
422
|
-
def body(self) -> pulumi.Output[str]:
|
|
423
|
+
def body(self) -> pulumi.Output[builtins.str]:
|
|
423
424
|
"""
|
|
424
425
|
Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
|
|
425
426
|
"""
|
|
@@ -427,7 +428,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
427
428
|
|
|
428
429
|
@property
|
|
429
430
|
@pulumi.getter
|
|
430
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
431
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
431
432
|
"""
|
|
432
433
|
Specifies a comment for the row access policy.
|
|
433
434
|
"""
|
|
@@ -435,7 +436,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
435
436
|
|
|
436
437
|
@property
|
|
437
438
|
@pulumi.getter
|
|
438
|
-
def database(self) -> pulumi.Output[str]:
|
|
439
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
439
440
|
"""
|
|
440
441
|
The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
441
442
|
"""
|
|
@@ -451,7 +452,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
451
452
|
|
|
452
453
|
@property
|
|
453
454
|
@pulumi.getter(name="fullyQualifiedName")
|
|
454
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
455
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
455
456
|
"""
|
|
456
457
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
457
458
|
"""
|
|
@@ -459,7 +460,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter
|
|
462
|
-
def name(self) -> pulumi.Output[str]:
|
|
463
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
463
464
|
"""
|
|
464
465
|
Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
465
466
|
"""
|
|
@@ -467,7 +468,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
467
468
|
|
|
468
469
|
@property
|
|
469
470
|
@pulumi.getter
|
|
470
|
-
def schema(self) -> pulumi.Output[str]:
|
|
471
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
471
472
|
"""
|
|
472
473
|
The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
473
474
|
"""
|