pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__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 +224 -172
- pulumi_snowflake/_inputs.py +52854 -1662
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -214
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -44
- pulumi_snowflake/account_password_policy_attachment.py +7 -28
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -43
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +35 -50
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -209
- pulumi_snowflake/database_role.py +81 -40
- pulumi_snowflake/dynamic_table.py +44 -47
- pulumi_snowflake/email_notification_integration.py +35 -26
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
- pulumi_snowflake/external_function.py +54 -71
- pulumi_snowflake/external_oauth_integration.py +593 -538
- pulumi_snowflake/external_table.py +67 -86
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +59 -96
- pulumi_snowflake/file_format.py +33 -24
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -5
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -9
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -5
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -43
- pulumi_snowflake/get_databases.py +91 -69
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -5
- pulumi_snowflake/get_external_tables.py +28 -5
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -5
- pulumi_snowflake/get_functions.py +28 -5
- pulumi_snowflake/get_grants.py +207 -80
- pulumi_snowflake/get_masking_policies.py +91 -47
- pulumi_snowflake/get_materialized_views.py +28 -5
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -11
- pulumi_snowflake/get_pipes.py +28 -5
- pulumi_snowflake/get_procedures.py +28 -5
- pulumi_snowflake/get_resource_monitors.py +37 -20
- pulumi_snowflake/get_row_access_policies.py +91 -47
- pulumi_snowflake/get_schemas.py +145 -37
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -5
- pulumi_snowflake/get_shares.py +18 -5
- pulumi_snowflake/get_stages.py +28 -5
- pulumi_snowflake/get_storage_integrations.py +16 -5
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -50
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +121 -6
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -5
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -50
- pulumi_snowflake/get_users.py +116 -40
- pulumi_snowflake/get_views.py +114 -50
- pulumi_snowflake/get_warehouses.py +79 -22
- pulumi_snowflake/grant_account_role.py +28 -61
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -108
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +42 -9
- pulumi_snowflake/masking_policy.py +213 -306
- pulumi_snowflake/materialized_view.py +62 -67
- pulumi_snowflake/network_policy.py +217 -57
- pulumi_snowflake/network_policy_attachment.py +7 -32
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +51 -82
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
- pulumi_snowflake/object_parameter.py +12 -99
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -0
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -323
- pulumi_snowflake/row_access_policy.py +200 -145
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
- pulumi_snowflake/schema.py +949 -174
- pulumi_snowflake/scim_integration.py +286 -105
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/sequence.py +9 -30
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +35 -26
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -80
- pulumi_snowflake/storage_integration.py +48 -2
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -93
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -168
- pulumi_snowflake/tag.py +142 -70
- pulumi_snowflake/tag_association.py +40 -211
- pulumi_snowflake/task.py +3048 -414
- pulumi_snowflake/user.py +3351 -380
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +7 -6
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -211
- pulumi_snowflake/warehouse.py +184 -164
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -339
- pulumi_snowflake/database_grant.py +0 -491
- pulumi_snowflake/external_table_grant.py +0 -686
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -631
- pulumi_snowflake/function.py +0 -868
- pulumi_snowflake/function_grant.py +0 -741
- pulumi_snowflake/get_role.py +0 -117
- pulumi_snowflake/get_roles.py +0 -116
- pulumi_snowflake/grant_privileges_to_role.py +0 -667
- pulumi_snowflake/integration_grant.py +0 -436
- pulumi_snowflake/masking_policy_grant.py +0 -538
- pulumi_snowflake/materialized_view_grant.py +0 -685
- pulumi_snowflake/pipe_grant.py +0 -583
- pulumi_snowflake/procedure.py +0 -883
- pulumi_snowflake/procedure_grant.py +0 -741
- pulumi_snowflake/resource_monitor_grant.py +0 -383
- pulumi_snowflake/role.py +0 -269
- pulumi_snowflake/role_grants.py +0 -348
- pulumi_snowflake/role_ownership_grant.py +0 -334
- pulumi_snowflake/row_access_policy_grant.py +0 -536
- pulumi_snowflake/schema_grant.py +0 -643
- pulumi_snowflake/sequence_grant.py +0 -631
- pulumi_snowflake/session_parameter.py +0 -328
- pulumi_snowflake/stage_grant.py +0 -631
- pulumi_snowflake/stream.py +0 -610
- pulumi_snowflake/stream_grant.py +0 -631
- pulumi_snowflake/table_grant.py +0 -673
- pulumi_snowflake/tag_grant.py +0 -528
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -631
- pulumi_snowflake/user_grant.py +0 -390
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -701
- pulumi_snowflake/warehouse_grant.py +0 -436
- pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -29,11 +34,11 @@ class FailoverGroupArgs:
|
|
|
29
34
|
The set of arguments for constructing a FailoverGroup resource.
|
|
30
35
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
31
36
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
32
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
33
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
34
39
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
35
40
|
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
36
|
-
:param pulumi.Input[str] name:
|
|
41
|
+
:param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
37
42
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
38
43
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
39
44
|
"""
|
|
@@ -84,7 +89,7 @@ class FailoverGroupArgs:
|
|
|
84
89
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
85
90
|
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
86
91
|
"""
|
|
87
|
-
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
92
|
+
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
88
93
|
"""
|
|
89
94
|
return pulumi.get(self, "allowed_integration_types")
|
|
90
95
|
|
|
@@ -132,7 +137,7 @@ class FailoverGroupArgs:
|
|
|
132
137
|
@pulumi.getter
|
|
133
138
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
134
139
|
"""
|
|
135
|
-
|
|
140
|
+
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
136
141
|
"""
|
|
137
142
|
return pulumi.get(self, "name")
|
|
138
143
|
|
|
@@ -173,6 +178,7 @@ class _FailoverGroupState:
|
|
|
173
178
|
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
174
179
|
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
175
180
|
from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
|
|
181
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
176
182
|
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
177
183
|
name: Optional[pulumi.Input[str]] = None,
|
|
178
184
|
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -181,11 +187,12 @@ class _FailoverGroupState:
|
|
|
181
187
|
Input properties used for looking up and filtering FailoverGroup resources.
|
|
182
188
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
183
189
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
184
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
190
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
185
191
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
186
192
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
193
|
+
: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).
|
|
187
194
|
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
188
|
-
:param pulumi.Input[str] name:
|
|
195
|
+
:param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
189
196
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
190
197
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
191
198
|
"""
|
|
@@ -199,6 +206,8 @@ class _FailoverGroupState:
|
|
|
199
206
|
pulumi.set(__self__, "allowed_shares", allowed_shares)
|
|
200
207
|
if from_replica is not None:
|
|
201
208
|
pulumi.set(__self__, "from_replica", from_replica)
|
|
209
|
+
if fully_qualified_name is not None:
|
|
210
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
202
211
|
if ignore_edition_check is not None:
|
|
203
212
|
pulumi.set(__self__, "ignore_edition_check", ignore_edition_check)
|
|
204
213
|
if name is not None:
|
|
@@ -236,7 +245,7 @@ class _FailoverGroupState:
|
|
|
236
245
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
237
246
|
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
238
247
|
"""
|
|
239
|
-
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
248
|
+
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
240
249
|
"""
|
|
241
250
|
return pulumi.get(self, "allowed_integration_types")
|
|
242
251
|
|
|
@@ -268,6 +277,18 @@ class _FailoverGroupState:
|
|
|
268
277
|
def from_replica(self, value: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]):
|
|
269
278
|
pulumi.set(self, "from_replica", value)
|
|
270
279
|
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
282
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
283
|
+
"""
|
|
284
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
287
|
+
|
|
288
|
+
@fully_qualified_name.setter
|
|
289
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
290
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
291
|
+
|
|
271
292
|
@property
|
|
272
293
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
273
294
|
def ignore_edition_check(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -284,7 +305,7 @@ class _FailoverGroupState:
|
|
|
284
305
|
@pulumi.getter
|
|
285
306
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
286
307
|
"""
|
|
287
|
-
|
|
308
|
+
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
288
309
|
"""
|
|
289
310
|
return pulumi.get(self, "name")
|
|
290
311
|
|
|
@@ -326,65 +347,30 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
326
347
|
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
327
348
|
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
328
349
|
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
329
|
-
from_replica: Optional[pulumi.Input[
|
|
350
|
+
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
330
351
|
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
331
352
|
name: Optional[pulumi.Input[str]] = None,
|
|
332
353
|
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
333
|
-
replication_schedule: Optional[pulumi.Input[
|
|
354
|
+
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
334
355
|
__props__=None):
|
|
335
356
|
"""
|
|
336
|
-
## Example Usage
|
|
337
|
-
|
|
338
|
-
```python
|
|
339
|
-
import pulumi
|
|
340
|
-
import pulumi_snowflake as snowflake
|
|
341
|
-
|
|
342
|
-
db = snowflake.Database("db")
|
|
343
|
-
source_failover_group = snowflake.FailoverGroup("sourceFailoverGroup",
|
|
344
|
-
object_types=[
|
|
345
|
-
"WAREHOUSES",
|
|
346
|
-
"DATABASES",
|
|
347
|
-
"INTEGRATIONS",
|
|
348
|
-
"ROLES",
|
|
349
|
-
],
|
|
350
|
-
allowed_accounts=[
|
|
351
|
-
"<org_name>.<target_account_name1>",
|
|
352
|
-
"<org_name>.<target_account_name2>",
|
|
353
|
-
],
|
|
354
|
-
allowed_databases=[db.name],
|
|
355
|
-
allowed_integration_types=["SECURITY INTEGRATIONS"],
|
|
356
|
-
replication_schedule=snowflake.FailoverGroupReplicationScheduleArgs(
|
|
357
|
-
cron=snowflake.FailoverGroupReplicationScheduleCronArgs(
|
|
358
|
-
expression="0 0 10-20 * TUE,THU",
|
|
359
|
-
time_zone="UTC",
|
|
360
|
-
),
|
|
361
|
-
))
|
|
362
|
-
account2 = snowflake.Provider("account2")
|
|
363
|
-
target_failover_group = snowflake.FailoverGroup("targetFailoverGroup", from_replica=snowflake.FailoverGroupFromReplicaArgs(
|
|
364
|
-
organization_name="...",
|
|
365
|
-
source_account_name="...",
|
|
366
|
-
name=snowflake_failover_group["fg"]["name"],
|
|
367
|
-
),
|
|
368
|
-
opts=pulumi.ResourceOptions(provider=snowflake["account2"]))
|
|
369
|
-
```
|
|
370
|
-
|
|
371
357
|
## Import
|
|
372
358
|
|
|
373
359
|
```sh
|
|
374
|
-
|
|
360
|
+
$ pulumi import snowflake:index/failoverGroup:FailoverGroup example 'fg1'
|
|
375
361
|
```
|
|
376
362
|
|
|
377
363
|
:param str resource_name: The name of the resource.
|
|
378
364
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
379
365
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
380
366
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
381
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
367
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
382
368
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
383
|
-
:param pulumi.Input[
|
|
369
|
+
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
384
370
|
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
385
|
-
:param pulumi.Input[str] name:
|
|
371
|
+
:param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
386
372
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
387
|
-
:param pulumi.Input[
|
|
373
|
+
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
388
374
|
"""
|
|
389
375
|
...
|
|
390
376
|
@overload
|
|
@@ -393,45 +379,10 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
393
379
|
args: Optional[FailoverGroupArgs] = None,
|
|
394
380
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
395
381
|
"""
|
|
396
|
-
## Example Usage
|
|
397
|
-
|
|
398
|
-
```python
|
|
399
|
-
import pulumi
|
|
400
|
-
import pulumi_snowflake as snowflake
|
|
401
|
-
|
|
402
|
-
db = snowflake.Database("db")
|
|
403
|
-
source_failover_group = snowflake.FailoverGroup("sourceFailoverGroup",
|
|
404
|
-
object_types=[
|
|
405
|
-
"WAREHOUSES",
|
|
406
|
-
"DATABASES",
|
|
407
|
-
"INTEGRATIONS",
|
|
408
|
-
"ROLES",
|
|
409
|
-
],
|
|
410
|
-
allowed_accounts=[
|
|
411
|
-
"<org_name>.<target_account_name1>",
|
|
412
|
-
"<org_name>.<target_account_name2>",
|
|
413
|
-
],
|
|
414
|
-
allowed_databases=[db.name],
|
|
415
|
-
allowed_integration_types=["SECURITY INTEGRATIONS"],
|
|
416
|
-
replication_schedule=snowflake.FailoverGroupReplicationScheduleArgs(
|
|
417
|
-
cron=snowflake.FailoverGroupReplicationScheduleCronArgs(
|
|
418
|
-
expression="0 0 10-20 * TUE,THU",
|
|
419
|
-
time_zone="UTC",
|
|
420
|
-
),
|
|
421
|
-
))
|
|
422
|
-
account2 = snowflake.Provider("account2")
|
|
423
|
-
target_failover_group = snowflake.FailoverGroup("targetFailoverGroup", from_replica=snowflake.FailoverGroupFromReplicaArgs(
|
|
424
|
-
organization_name="...",
|
|
425
|
-
source_account_name="...",
|
|
426
|
-
name=snowflake_failover_group["fg"]["name"],
|
|
427
|
-
),
|
|
428
|
-
opts=pulumi.ResourceOptions(provider=snowflake["account2"]))
|
|
429
|
-
```
|
|
430
|
-
|
|
431
382
|
## Import
|
|
432
383
|
|
|
433
384
|
```sh
|
|
434
|
-
|
|
385
|
+
$ pulumi import snowflake:index/failoverGroup:FailoverGroup example 'fg1'
|
|
435
386
|
```
|
|
436
387
|
|
|
437
388
|
:param str resource_name: The name of the resource.
|
|
@@ -453,11 +404,11 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
453
404
|
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
454
405
|
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
455
406
|
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
456
|
-
from_replica: Optional[pulumi.Input[
|
|
407
|
+
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
457
408
|
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
458
409
|
name: Optional[pulumi.Input[str]] = None,
|
|
459
410
|
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
460
|
-
replication_schedule: Optional[pulumi.Input[
|
|
411
|
+
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
461
412
|
__props__=None):
|
|
462
413
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
463
414
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -476,6 +427,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
476
427
|
__props__.__dict__["name"] = name
|
|
477
428
|
__props__.__dict__["object_types"] = object_types
|
|
478
429
|
__props__.__dict__["replication_schedule"] = replication_schedule
|
|
430
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
479
431
|
super(FailoverGroup, __self__).__init__(
|
|
480
432
|
'snowflake:index/failoverGroup:FailoverGroup',
|
|
481
433
|
resource_name,
|
|
@@ -490,11 +442,12 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
490
442
|
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
491
443
|
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
492
444
|
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
493
|
-
from_replica: Optional[pulumi.Input[
|
|
445
|
+
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
446
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
494
447
|
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
495
448
|
name: Optional[pulumi.Input[str]] = None,
|
|
496
449
|
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
497
|
-
replication_schedule: Optional[pulumi.Input[
|
|
450
|
+
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None) -> 'FailoverGroup':
|
|
498
451
|
"""
|
|
499
452
|
Get an existing FailoverGroup resource's state with the given name, id, and optional extra
|
|
500
453
|
properties used to qualify the lookup.
|
|
@@ -504,13 +457,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
504
457
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
505
458
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
506
459
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
507
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
460
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
508
461
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
509
|
-
:param pulumi.Input[
|
|
462
|
+
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
463
|
+
: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).
|
|
510
464
|
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
511
|
-
:param pulumi.Input[str] name:
|
|
465
|
+
:param pulumi.Input[str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
512
466
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
513
|
-
:param pulumi.Input[
|
|
467
|
+
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
514
468
|
"""
|
|
515
469
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
516
470
|
|
|
@@ -521,6 +475,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
521
475
|
__props__.__dict__["allowed_integration_types"] = allowed_integration_types
|
|
522
476
|
__props__.__dict__["allowed_shares"] = allowed_shares
|
|
523
477
|
__props__.__dict__["from_replica"] = from_replica
|
|
478
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
524
479
|
__props__.__dict__["ignore_edition_check"] = ignore_edition_check
|
|
525
480
|
__props__.__dict__["name"] = name
|
|
526
481
|
__props__.__dict__["object_types"] = object_types
|
|
@@ -547,7 +502,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
547
502
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
548
503
|
def allowed_integration_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
549
504
|
"""
|
|
550
|
-
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS"
|
|
505
|
+
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
551
506
|
"""
|
|
552
507
|
return pulumi.get(self, "allowed_integration_types")
|
|
553
508
|
|
|
@@ -567,6 +522,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
567
522
|
"""
|
|
568
523
|
return pulumi.get(self, "from_replica")
|
|
569
524
|
|
|
525
|
+
@property
|
|
526
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
527
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
528
|
+
"""
|
|
529
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
530
|
+
"""
|
|
531
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
532
|
+
|
|
570
533
|
@property
|
|
571
534
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
572
535
|
def ignore_edition_check(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -579,7 +542,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
579
542
|
@pulumi.getter
|
|
580
543
|
def name(self) -> pulumi.Output[str]:
|
|
581
544
|
"""
|
|
582
|
-
|
|
545
|
+
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
583
546
|
"""
|
|
584
547
|
return pulumi.get(self, "name")
|
|
585
548
|
|
pulumi_snowflake/file_format.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['FileFormatArgs', 'FileFormat']
|
|
@@ -614,6 +619,7 @@ class _FileFormatState:
|
|
|
614
619
|
field_optionally_enclosed_by: Optional[pulumi.Input[str]] = None,
|
|
615
620
|
file_extension: Optional[pulumi.Input[str]] = None,
|
|
616
621
|
format_type: Optional[pulumi.Input[str]] = None,
|
|
622
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
617
623
|
ignore_utf8_errors: Optional[pulumi.Input[bool]] = None,
|
|
618
624
|
name: Optional[pulumi.Input[str]] = None,
|
|
619
625
|
null_ifs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -652,6 +658,7 @@ class _FileFormatState:
|
|
|
652
658
|
:param pulumi.Input[str] field_optionally_enclosed_by: Character used to enclose strings.
|
|
653
659
|
:param pulumi.Input[str] file_extension: Specifies the extension for files unloaded to a stage.
|
|
654
660
|
:param pulumi.Input[str] format_type: Specifies the format of the input files (for data loading) or output files (for data unloading).
|
|
661
|
+
: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).
|
|
655
662
|
:param pulumi.Input[bool] ignore_utf8_errors: Boolean that specifies whether UTF-8 encoding errors produce error conditions.
|
|
656
663
|
:param pulumi.Input[str] name: Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
|
|
657
664
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] null_ifs: String used to convert to and from SQL NULL.
|
|
@@ -708,6 +715,8 @@ class _FileFormatState:
|
|
|
708
715
|
pulumi.set(__self__, "file_extension", file_extension)
|
|
709
716
|
if format_type is not None:
|
|
710
717
|
pulumi.set(__self__, "format_type", format_type)
|
|
718
|
+
if fully_qualified_name is not None:
|
|
719
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
711
720
|
if ignore_utf8_errors is not None:
|
|
712
721
|
pulumi.set(__self__, "ignore_utf8_errors", ignore_utf8_errors)
|
|
713
722
|
if name is not None:
|
|
@@ -971,6 +980,18 @@ class _FileFormatState:
|
|
|
971
980
|
def format_type(self, value: Optional[pulumi.Input[str]]):
|
|
972
981
|
pulumi.set(self, "format_type", value)
|
|
973
982
|
|
|
983
|
+
@property
|
|
984
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
985
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
986
|
+
"""
|
|
987
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
988
|
+
"""
|
|
989
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
990
|
+
|
|
991
|
+
@fully_qualified_name.setter
|
|
992
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
993
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
994
|
+
|
|
974
995
|
@property
|
|
975
996
|
@pulumi.getter(name="ignoreUtf8Errors")
|
|
976
997
|
def ignore_utf8_errors(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1219,18 +1240,6 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1219
1240
|
trim_space: Optional[pulumi.Input[bool]] = None,
|
|
1220
1241
|
__props__=None):
|
|
1221
1242
|
"""
|
|
1222
|
-
## Example Usage
|
|
1223
|
-
|
|
1224
|
-
```python
|
|
1225
|
-
import pulumi
|
|
1226
|
-
import pulumi_snowflake as snowflake
|
|
1227
|
-
|
|
1228
|
-
example_file_format = snowflake.FileFormat("exampleFileFormat",
|
|
1229
|
-
database="EXAMPLE_DB",
|
|
1230
|
-
format_type="CSV",
|
|
1231
|
-
schema="EXAMPLE_SCHEMA")
|
|
1232
|
-
```
|
|
1233
|
-
|
|
1234
1243
|
## Import
|
|
1235
1244
|
|
|
1236
1245
|
format is database name | schema name | file format name
|
|
@@ -1285,18 +1294,6 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1285
1294
|
args: FileFormatArgs,
|
|
1286
1295
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
1287
1296
|
"""
|
|
1288
|
-
## Example Usage
|
|
1289
|
-
|
|
1290
|
-
```python
|
|
1291
|
-
import pulumi
|
|
1292
|
-
import pulumi_snowflake as snowflake
|
|
1293
|
-
|
|
1294
|
-
example_file_format = snowflake.FileFormat("exampleFileFormat",
|
|
1295
|
-
database="EXAMPLE_DB",
|
|
1296
|
-
format_type="CSV",
|
|
1297
|
-
schema="EXAMPLE_SCHEMA")
|
|
1298
|
-
```
|
|
1299
|
-
|
|
1300
1297
|
## Import
|
|
1301
1298
|
|
|
1302
1299
|
format is database name | schema name | file format name
|
|
@@ -1407,6 +1404,7 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1407
1404
|
__props__.__dict__["time_format"] = time_format
|
|
1408
1405
|
__props__.__dict__["timestamp_format"] = timestamp_format
|
|
1409
1406
|
__props__.__dict__["trim_space"] = trim_space
|
|
1407
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
1410
1408
|
super(FileFormat, __self__).__init__(
|
|
1411
1409
|
'snowflake:index/fileFormat:FileFormat',
|
|
1412
1410
|
resource_name,
|
|
@@ -1436,6 +1434,7 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1436
1434
|
field_optionally_enclosed_by: Optional[pulumi.Input[str]] = None,
|
|
1437
1435
|
file_extension: Optional[pulumi.Input[str]] = None,
|
|
1438
1436
|
format_type: Optional[pulumi.Input[str]] = None,
|
|
1437
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
1439
1438
|
ignore_utf8_errors: Optional[pulumi.Input[bool]] = None,
|
|
1440
1439
|
name: Optional[pulumi.Input[str]] = None,
|
|
1441
1440
|
null_ifs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1479,6 +1478,7 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1479
1478
|
:param pulumi.Input[str] field_optionally_enclosed_by: Character used to enclose strings.
|
|
1480
1479
|
:param pulumi.Input[str] file_extension: Specifies the extension for files unloaded to a stage.
|
|
1481
1480
|
:param pulumi.Input[str] format_type: Specifies the format of the input files (for data loading) or output files (for data unloading).
|
|
1481
|
+
: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).
|
|
1482
1482
|
:param pulumi.Input[bool] ignore_utf8_errors: Boolean that specifies whether UTF-8 encoding errors produce error conditions.
|
|
1483
1483
|
:param pulumi.Input[str] name: Specifies the identifier for the file format; must be unique for the database and schema in which the file format is created.
|
|
1484
1484
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] null_ifs: String used to convert to and from SQL NULL.
|
|
@@ -1520,6 +1520,7 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1520
1520
|
__props__.__dict__["field_optionally_enclosed_by"] = field_optionally_enclosed_by
|
|
1521
1521
|
__props__.__dict__["file_extension"] = file_extension
|
|
1522
1522
|
__props__.__dict__["format_type"] = format_type
|
|
1523
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
1523
1524
|
__props__.__dict__["ignore_utf8_errors"] = ignore_utf8_errors
|
|
1524
1525
|
__props__.__dict__["name"] = name
|
|
1525
1526
|
__props__.__dict__["null_ifs"] = null_ifs
|
|
@@ -1691,6 +1692,14 @@ class FileFormat(pulumi.CustomResource):
|
|
|
1691
1692
|
"""
|
|
1692
1693
|
return pulumi.get(self, "format_type")
|
|
1693
1694
|
|
|
1695
|
+
@property
|
|
1696
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
1697
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
1698
|
+
"""
|
|
1699
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
1700
|
+
"""
|
|
1701
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
1702
|
+
|
|
1694
1703
|
@property
|
|
1695
1704
|
@pulumi.getter(name="ignoreUtf8Errors")
|
|
1696
1705
|
def ignore_utf8_errors(self) -> pulumi.Output[Optional[bool]]:
|