pulumi-snowflake 1.2.0a1743489585__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.0a1743489585.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.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.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
|
|
@@ -21,14 +22,14 @@ __all__ = ['PrimaryConnectionArgs', 'PrimaryConnection']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class PrimaryConnectionArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a PrimaryConnection resource.
|
|
29
|
-
:param pulumi.Input[str] comment: Specifies a comment for the connection.
|
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
31
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
30
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the connection.
|
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
32
|
+
:param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
32
33
|
"""
|
|
33
34
|
if comment is not None:
|
|
34
35
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -39,56 +40,56 @@ class PrimaryConnectionArgs:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter
|
|
42
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
43
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
43
44
|
"""
|
|
44
45
|
Specifies a comment for the connection.
|
|
45
46
|
"""
|
|
46
47
|
return pulumi.get(self, "comment")
|
|
47
48
|
|
|
48
49
|
@comment.setter
|
|
49
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
50
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
50
51
|
pulumi.set(self, "comment", value)
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="enableFailoverToAccounts")
|
|
54
|
-
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
55
|
+
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
55
56
|
"""
|
|
56
57
|
Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
57
58
|
"""
|
|
58
59
|
return pulumi.get(self, "enable_failover_to_accounts")
|
|
59
60
|
|
|
60
61
|
@enable_failover_to_accounts.setter
|
|
61
|
-
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
62
|
+
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
62
63
|
pulumi.set(self, "enable_failover_to_accounts", value)
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
67
68
|
"""
|
|
68
69
|
String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "name")
|
|
71
72
|
|
|
72
73
|
@name.setter
|
|
73
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
74
75
|
pulumi.set(self, "name", value)
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
@pulumi.input_type
|
|
78
79
|
class _PrimaryConnectionState:
|
|
79
80
|
def __init__(__self__, *,
|
|
80
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
81
|
-
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
82
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
83
|
-
is_primary: Optional[pulumi.Input[bool]] = None,
|
|
84
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
82
|
+
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
83
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
84
|
+
is_primary: Optional[pulumi.Input[builtins.bool]] = None,
|
|
85
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
85
86
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]]] = None):
|
|
86
87
|
"""
|
|
87
88
|
Input properties used for looking up and filtering PrimaryConnection resources.
|
|
88
|
-
:param pulumi.Input[str] comment: Specifies a comment for the connection.
|
|
89
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
90
|
-
: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).
|
|
91
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
89
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the connection.
|
|
90
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
91
|
+
: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).
|
|
92
|
+
:param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
92
93
|
:param pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
93
94
|
"""
|
|
94
95
|
if comment is not None:
|
|
@@ -106,59 +107,59 @@ class _PrimaryConnectionState:
|
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter
|
|
109
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
110
111
|
"""
|
|
111
112
|
Specifies a comment for the connection.
|
|
112
113
|
"""
|
|
113
114
|
return pulumi.get(self, "comment")
|
|
114
115
|
|
|
115
116
|
@comment.setter
|
|
116
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
117
118
|
pulumi.set(self, "comment", value)
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter(name="enableFailoverToAccounts")
|
|
121
|
-
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
122
|
+
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
122
123
|
"""
|
|
123
124
|
Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
124
125
|
"""
|
|
125
126
|
return pulumi.get(self, "enable_failover_to_accounts")
|
|
126
127
|
|
|
127
128
|
@enable_failover_to_accounts.setter
|
|
128
|
-
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
129
|
+
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
129
130
|
pulumi.set(self, "enable_failover_to_accounts", value)
|
|
130
131
|
|
|
131
132
|
@property
|
|
132
133
|
@pulumi.getter(name="fullyQualifiedName")
|
|
133
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
134
135
|
"""
|
|
135
136
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
136
137
|
"""
|
|
137
138
|
return pulumi.get(self, "fully_qualified_name")
|
|
138
139
|
|
|
139
140
|
@fully_qualified_name.setter
|
|
140
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
141
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
141
142
|
pulumi.set(self, "fully_qualified_name", value)
|
|
142
143
|
|
|
143
144
|
@property
|
|
144
145
|
@pulumi.getter(name="isPrimary")
|
|
145
|
-
def is_primary(self) -> Optional[pulumi.Input[bool]]:
|
|
146
|
+
def is_primary(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
146
147
|
return pulumi.get(self, "is_primary")
|
|
147
148
|
|
|
148
149
|
@is_primary.setter
|
|
149
|
-
def is_primary(self, value: Optional[pulumi.Input[bool]]):
|
|
150
|
+
def is_primary(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
150
151
|
pulumi.set(self, "is_primary", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
155
156
|
"""
|
|
156
157
|
String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
157
158
|
"""
|
|
158
159
|
return pulumi.get(self, "name")
|
|
159
160
|
|
|
160
161
|
@name.setter
|
|
161
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
162
163
|
pulumi.set(self, "name", value)
|
|
163
164
|
|
|
164
165
|
@property
|
|
@@ -179,9 +180,9 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
179
180
|
def __init__(__self__,
|
|
180
181
|
resource_name: str,
|
|
181
182
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
182
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
183
|
-
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
184
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
183
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
184
|
+
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
185
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
186
|
__props__=None):
|
|
186
187
|
"""
|
|
187
188
|
## Import
|
|
@@ -192,9 +193,9 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
192
193
|
|
|
193
194
|
:param str resource_name: The name of the resource.
|
|
194
195
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
195
|
-
:param pulumi.Input[str] comment: Specifies a comment for the connection.
|
|
196
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
197
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
196
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the connection.
|
|
197
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
198
|
+
:param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
198
199
|
"""
|
|
199
200
|
...
|
|
200
201
|
@overload
|
|
@@ -224,9 +225,9 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
224
225
|
def _internal_init(__self__,
|
|
225
226
|
resource_name: str,
|
|
226
227
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
227
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
228
|
-
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
229
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
228
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
229
|
+
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
230
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
230
231
|
__props__=None):
|
|
231
232
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
232
233
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -252,11 +253,11 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
252
253
|
def get(resource_name: str,
|
|
253
254
|
id: pulumi.Input[str],
|
|
254
255
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
255
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
256
|
-
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
257
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
258
|
-
is_primary: Optional[pulumi.Input[bool]] = None,
|
|
259
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
256
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
257
|
+
enable_failover_to_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
258
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
259
|
+
is_primary: Optional[pulumi.Input[builtins.bool]] = None,
|
|
260
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
260
261
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrimaryConnectionShowOutputArgs', 'PrimaryConnectionShowOutputArgsDict']]]]] = None) -> 'PrimaryConnection':
|
|
261
262
|
"""
|
|
262
263
|
Get an existing PrimaryConnection resource's state with the given name, id, and optional extra
|
|
@@ -265,10 +266,10 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
265
266
|
:param str resource_name: The unique name of the resulting resource.
|
|
266
267
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
267
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
268
|
-
:param pulumi.Input[str] comment: Specifies a comment for the connection.
|
|
269
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
270
|
-
: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).
|
|
271
|
-
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
269
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the connection.
|
|
270
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] enable_failover_to_accounts: Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
271
|
+
: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).
|
|
272
|
+
:param pulumi.Input[builtins.str] name: String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
272
273
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PrimaryConnectionShowOutputArgs', 'PrimaryConnectionShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
273
274
|
"""
|
|
274
275
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -285,7 +286,7 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
285
286
|
|
|
286
287
|
@property
|
|
287
288
|
@pulumi.getter
|
|
288
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
289
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
289
290
|
"""
|
|
290
291
|
Specifies a comment for the connection.
|
|
291
292
|
"""
|
|
@@ -293,7 +294,7 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
293
294
|
|
|
294
295
|
@property
|
|
295
296
|
@pulumi.getter(name="enableFailoverToAccounts")
|
|
296
|
-
def enable_failover_to_accounts(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
297
|
+
def enable_failover_to_accounts(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
297
298
|
"""
|
|
298
299
|
Enables failover for given connection to provided accounts. Specifies a list of accounts in your organization where a secondary connection for this primary connection can be promoted to serve as the primary connection. Include your organization name for each account in the list. For more information about this resource, see docs.
|
|
299
300
|
"""
|
|
@@ -301,7 +302,7 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
301
302
|
|
|
302
303
|
@property
|
|
303
304
|
@pulumi.getter(name="fullyQualifiedName")
|
|
304
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
305
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
305
306
|
"""
|
|
306
307
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
307
308
|
"""
|
|
@@ -309,12 +310,12 @@ class PrimaryConnection(pulumi.CustomResource):
|
|
|
309
310
|
|
|
310
311
|
@property
|
|
311
312
|
@pulumi.getter(name="isPrimary")
|
|
312
|
-
def is_primary(self) -> pulumi.Output[bool]:
|
|
313
|
+
def is_primary(self) -> pulumi.Output[builtins.bool]:
|
|
313
314
|
return pulumi.get(self, "is_primary")
|
|
314
315
|
|
|
315
316
|
@property
|
|
316
317
|
@pulumi.getter
|
|
317
|
-
def name(self) -> pulumi.Output[str]:
|
|
318
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
318
319
|
"""
|
|
319
320
|
String that specifies the identifier (i.e. name) for the connection. Must start with an alphabetic character and may only contain letters, decimal digits (0-9), and underscores (*). For a primary connection, the name must be unique across connection names and account names in the organization. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
320
321
|
"""
|