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__ = ['SecondaryConnectionArgs', 'SecondaryConnection']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class SecondaryConnectionArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
as_replica_of: pulumi.Input[str],
|
|
25
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
as_replica_of: pulumi.Input[builtins.str],
|
|
26
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a SecondaryConnection resource.
|
|
29
|
-
:param pulumi.Input[str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
30
|
-
:param pulumi.Input[str] comment: Specifies a comment for the secondary connection.
|
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
30
|
+
:param pulumi.Input[builtins.str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
31
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the secondary connection.
|
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
32
33
|
"""
|
|
33
34
|
pulumi.set(__self__, "as_replica_of", as_replica_of)
|
|
34
35
|
if comment is not None:
|
|
@@ -38,57 +39,57 @@ class SecondaryConnectionArgs:
|
|
|
38
39
|
|
|
39
40
|
@property
|
|
40
41
|
@pulumi.getter(name="asReplicaOf")
|
|
41
|
-
def as_replica_of(self) -> pulumi.Input[str]:
|
|
42
|
+
def as_replica_of(self) -> pulumi.Input[builtins.str]:
|
|
42
43
|
"""
|
|
43
44
|
Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
44
45
|
"""
|
|
45
46
|
return pulumi.get(self, "as_replica_of")
|
|
46
47
|
|
|
47
48
|
@as_replica_of.setter
|
|
48
|
-
def as_replica_of(self, value: pulumi.Input[str]):
|
|
49
|
+
def as_replica_of(self, value: pulumi.Input[builtins.str]):
|
|
49
50
|
pulumi.set(self, "as_replica_of", value)
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter
|
|
53
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
54
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
54
55
|
"""
|
|
55
56
|
Specifies a comment for the secondary connection.
|
|
56
57
|
"""
|
|
57
58
|
return pulumi.get(self, "comment")
|
|
58
59
|
|
|
59
60
|
@comment.setter
|
|
60
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
61
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
61
62
|
pulumi.set(self, "comment", value)
|
|
62
63
|
|
|
63
64
|
@property
|
|
64
65
|
@pulumi.getter
|
|
65
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
66
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
66
67
|
"""
|
|
67
68
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
68
69
|
"""
|
|
69
70
|
return pulumi.get(self, "name")
|
|
70
71
|
|
|
71
72
|
@name.setter
|
|
72
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
73
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
73
74
|
pulumi.set(self, "name", value)
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
@pulumi.input_type
|
|
77
78
|
class _SecondaryConnectionState:
|
|
78
79
|
def __init__(__self__, *,
|
|
79
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
80
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
81
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
82
|
-
is_primary: Optional[pulumi.Input[bool]] = None,
|
|
83
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
81
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
82
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
83
|
+
is_primary: Optional[pulumi.Input[builtins.bool]] = None,
|
|
84
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
84
85
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecondaryConnectionShowOutputArgs']]]] = None):
|
|
85
86
|
"""
|
|
86
87
|
Input properties used for looking up and filtering SecondaryConnection resources.
|
|
87
|
-
:param pulumi.Input[str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
88
|
-
:param pulumi.Input[str] comment: Specifies a comment for the secondary connection.
|
|
89
|
-
: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).
|
|
90
|
-
:param pulumi.Input[bool] is_primary: Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
88
|
+
:param pulumi.Input[builtins.str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
89
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the secondary connection.
|
|
90
|
+
: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).
|
|
91
|
+
:param pulumi.Input[builtins.bool] is_primary: Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
92
93
|
:param pulumi.Input[Sequence[pulumi.Input['SecondaryConnectionShowOutputArgs']]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
93
94
|
"""
|
|
94
95
|
if as_replica_of is not None:
|
|
@@ -106,62 +107,62 @@ class _SecondaryConnectionState:
|
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter(name="asReplicaOf")
|
|
109
|
-
def as_replica_of(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
def as_replica_of(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
110
111
|
"""
|
|
111
112
|
Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
112
113
|
"""
|
|
113
114
|
return pulumi.get(self, "as_replica_of")
|
|
114
115
|
|
|
115
116
|
@as_replica_of.setter
|
|
116
|
-
def as_replica_of(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
def as_replica_of(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
117
118
|
pulumi.set(self, "as_replica_of", value)
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter
|
|
121
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
122
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
122
123
|
"""
|
|
123
124
|
Specifies a comment for the secondary connection.
|
|
124
125
|
"""
|
|
125
126
|
return pulumi.get(self, "comment")
|
|
126
127
|
|
|
127
128
|
@comment.setter
|
|
128
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
129
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
129
130
|
pulumi.set(self, "comment", 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
|
"""
|
|
147
148
|
Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
148
149
|
"""
|
|
149
150
|
return pulumi.get(self, "is_primary")
|
|
150
151
|
|
|
151
152
|
@is_primary.setter
|
|
152
|
-
def is_primary(self, value: Optional[pulumi.Input[bool]]):
|
|
153
|
+
def is_primary(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
153
154
|
pulumi.set(self, "is_primary", value)
|
|
154
155
|
|
|
155
156
|
@property
|
|
156
157
|
@pulumi.getter
|
|
157
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
158
159
|
"""
|
|
159
160
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
160
161
|
"""
|
|
161
162
|
return pulumi.get(self, "name")
|
|
162
163
|
|
|
163
164
|
@name.setter
|
|
164
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
165
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
165
166
|
pulumi.set(self, "name", value)
|
|
166
167
|
|
|
167
168
|
@property
|
|
@@ -182,9 +183,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
182
183
|
def __init__(__self__,
|
|
183
184
|
resource_name: str,
|
|
184
185
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
185
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
186
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
187
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
186
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
187
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
188
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
188
189
|
__props__=None):
|
|
189
190
|
"""
|
|
190
191
|
## Import
|
|
@@ -195,9 +196,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
195
196
|
|
|
196
197
|
:param str resource_name: The name of the resource.
|
|
197
198
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
199
|
-
:param pulumi.Input[str] comment: Specifies a comment for the secondary connection.
|
|
200
|
-
: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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
199
|
+
:param pulumi.Input[builtins.str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
200
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the secondary connection.
|
|
201
|
+
: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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
201
202
|
"""
|
|
202
203
|
...
|
|
203
204
|
@overload
|
|
@@ -227,9 +228,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
227
228
|
def _internal_init(__self__,
|
|
228
229
|
resource_name: str,
|
|
229
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
230
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
231
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
232
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
232
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
233
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
233
234
|
__props__=None):
|
|
234
235
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
235
236
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -257,11 +258,11 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
257
258
|
def get(resource_name: str,
|
|
258
259
|
id: pulumi.Input[str],
|
|
259
260
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
260
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
261
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
262
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
263
|
-
is_primary: Optional[pulumi.Input[bool]] = None,
|
|
264
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
261
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
262
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
263
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
264
|
+
is_primary: Optional[pulumi.Input[builtins.bool]] = None,
|
|
265
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
265
266
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecondaryConnectionShowOutputArgs', 'SecondaryConnectionShowOutputArgsDict']]]]] = None) -> 'SecondaryConnection':
|
|
266
267
|
"""
|
|
267
268
|
Get an existing SecondaryConnection resource's state with the given name, id, and optional extra
|
|
@@ -270,11 +271,11 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
270
271
|
:param str resource_name: The unique name of the resulting resource.
|
|
271
272
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
272
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
273
|
-
:param pulumi.Input[str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
274
|
-
:param pulumi.Input[str] comment: Specifies a comment for the secondary connection.
|
|
275
|
-
: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).
|
|
276
|
-
:param pulumi.Input[bool] is_primary: Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
277
|
-
: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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
274
|
+
:param pulumi.Input[builtins.str] as_replica_of: Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
275
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the secondary connection.
|
|
276
|
+
: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).
|
|
277
|
+
:param pulumi.Input[builtins.bool] is_primary: Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
278
|
+
: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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
278
279
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SecondaryConnectionShowOutputArgs', 'SecondaryConnectionShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
279
280
|
"""
|
|
280
281
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -291,7 +292,7 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
291
292
|
|
|
292
293
|
@property
|
|
293
294
|
@pulumi.getter(name="asReplicaOf")
|
|
294
|
-
def as_replica_of(self) -> pulumi.Output[str]:
|
|
295
|
+
def as_replica_of(self) -> pulumi.Output[builtins.str]:
|
|
295
296
|
"""
|
|
296
297
|
Specifies the identifier for a primary connection from which to create a replica (i.e. a secondary connection). For more information about this resource, see docs.
|
|
297
298
|
"""
|
|
@@ -299,7 +300,7 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
299
300
|
|
|
300
301
|
@property
|
|
301
302
|
@pulumi.getter
|
|
302
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
303
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
303
304
|
"""
|
|
304
305
|
Specifies a comment for the secondary connection.
|
|
305
306
|
"""
|
|
@@ -307,7 +308,7 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter(name="fullyQualifiedName")
|
|
310
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
311
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
311
312
|
"""
|
|
312
313
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
313
314
|
"""
|
|
@@ -315,7 +316,7 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
315
316
|
|
|
316
317
|
@property
|
|
317
318
|
@pulumi.getter(name="isPrimary")
|
|
318
|
-
def is_primary(self) -> pulumi.Output[bool]:
|
|
319
|
+
def is_primary(self) -> pulumi.Output[builtins.bool]:
|
|
319
320
|
"""
|
|
320
321
|
Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
321
322
|
"""
|
|
@@ -323,7 +324,7 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
323
324
|
|
|
324
325
|
@property
|
|
325
326
|
@pulumi.getter
|
|
326
|
-
def name(self) -> pulumi.Output[str]:
|
|
327
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
327
328
|
"""
|
|
328
329
|
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 secondary connection, the name must match the name of its primary connection. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
329
330
|
"""
|