pulumi-snowflake 2.2.0__py3-none-any.whl → 2.3.0__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 +20 -1
- pulumi_snowflake/_inputs.py +17236 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2096 -2097
- pulumi_snowflake/current_organization_account.py +5863 -0
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_user_programmatic_access_tokens.py +113 -0
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15957 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_programmatic_access_token.py +598 -0
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0.dist-info/RECORD +161 -0
- pulumi_snowflake-2.2.0.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.2.0.dist-info → pulumi_snowflake-2.3.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,14 +21,14 @@ __all__ = ['SecondaryConnectionArgs', 'SecondaryConnection']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class SecondaryConnectionArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
as_replica_of: pulumi.Input[
|
|
26
|
-
comment: Optional[pulumi.Input[
|
|
27
|
-
name: Optional[pulumi.Input[
|
|
24
|
+
as_replica_of: pulumi.Input[_builtins.str],
|
|
25
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a SecondaryConnection resource.
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
29
|
+
: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.
|
|
30
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secondary connection.
|
|
31
|
+
: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: `|`, `.`, `"`.
|
|
33
32
|
"""
|
|
34
33
|
pulumi.set(__self__, "as_replica_of", as_replica_of)
|
|
35
34
|
if comment is not None:
|
|
@@ -37,59 +36,59 @@ class SecondaryConnectionArgs:
|
|
|
37
36
|
if name is not None:
|
|
38
37
|
pulumi.set(__self__, "name", name)
|
|
39
38
|
|
|
40
|
-
@property
|
|
39
|
+
@_builtins.property
|
|
41
40
|
@pulumi.getter(name="asReplicaOf")
|
|
42
|
-
def as_replica_of(self) -> pulumi.Input[
|
|
41
|
+
def as_replica_of(self) -> pulumi.Input[_builtins.str]:
|
|
43
42
|
"""
|
|
44
43
|
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.
|
|
45
44
|
"""
|
|
46
45
|
return pulumi.get(self, "as_replica_of")
|
|
47
46
|
|
|
48
47
|
@as_replica_of.setter
|
|
49
|
-
def as_replica_of(self, value: pulumi.Input[
|
|
48
|
+
def as_replica_of(self, value: pulumi.Input[_builtins.str]):
|
|
50
49
|
pulumi.set(self, "as_replica_of", value)
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
53
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
55
54
|
"""
|
|
56
55
|
Specifies a comment for the secondary connection.
|
|
57
56
|
"""
|
|
58
57
|
return pulumi.get(self, "comment")
|
|
59
58
|
|
|
60
59
|
@comment.setter
|
|
61
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
60
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
62
61
|
pulumi.set(self, "comment", value)
|
|
63
62
|
|
|
64
|
-
@property
|
|
63
|
+
@_builtins.property
|
|
65
64
|
@pulumi.getter
|
|
66
|
-
def name(self) -> Optional[pulumi.Input[
|
|
65
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
67
66
|
"""
|
|
68
67
|
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: `|`, `.`, `"`.
|
|
69
68
|
"""
|
|
70
69
|
return pulumi.get(self, "name")
|
|
71
70
|
|
|
72
71
|
@name.setter
|
|
73
|
-
def name(self, value: Optional[pulumi.Input[
|
|
72
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
74
73
|
pulumi.set(self, "name", value)
|
|
75
74
|
|
|
76
75
|
|
|
77
76
|
@pulumi.input_type
|
|
78
77
|
class _SecondaryConnectionState:
|
|
79
78
|
def __init__(__self__, *,
|
|
80
|
-
as_replica_of: Optional[pulumi.Input[
|
|
81
|
-
comment: Optional[pulumi.Input[
|
|
82
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
83
|
-
is_primary: Optional[pulumi.Input[
|
|
84
|
-
name: Optional[pulumi.Input[
|
|
79
|
+
as_replica_of: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
81
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
82
|
+
is_primary: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
83
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
85
84
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SecondaryConnectionShowOutputArgs']]]] = None):
|
|
86
85
|
"""
|
|
87
86
|
Input properties used for looking up and filtering SecondaryConnection resources.
|
|
88
|
-
:param pulumi.Input[
|
|
89
|
-
:param pulumi.Input[
|
|
90
|
-
:param pulumi.Input[
|
|
91
|
-
:param pulumi.Input[
|
|
92
|
-
:param pulumi.Input[
|
|
87
|
+
: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.
|
|
88
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the secondary connection.
|
|
89
|
+
: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).
|
|
90
|
+
:param pulumi.Input[_builtins.bool] is_primary: Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
91
|
+
: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: `|`, `.`, `"`.
|
|
93
92
|
:param pulumi.Input[Sequence[pulumi.Input['SecondaryConnectionShowOutputArgs']]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
94
93
|
"""
|
|
95
94
|
if as_replica_of is not None:
|
|
@@ -105,67 +104,67 @@ class _SecondaryConnectionState:
|
|
|
105
104
|
if show_outputs is not None:
|
|
106
105
|
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
107
106
|
|
|
108
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
109
108
|
@pulumi.getter(name="asReplicaOf")
|
|
110
|
-
def as_replica_of(self) -> Optional[pulumi.Input[
|
|
109
|
+
def as_replica_of(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
111
110
|
"""
|
|
112
111
|
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.
|
|
113
112
|
"""
|
|
114
113
|
return pulumi.get(self, "as_replica_of")
|
|
115
114
|
|
|
116
115
|
@as_replica_of.setter
|
|
117
|
-
def as_replica_of(self, value: Optional[pulumi.Input[
|
|
116
|
+
def as_replica_of(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
118
117
|
pulumi.set(self, "as_replica_of", value)
|
|
119
118
|
|
|
120
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
121
120
|
@pulumi.getter
|
|
122
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
121
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
123
122
|
"""
|
|
124
123
|
Specifies a comment for the secondary connection.
|
|
125
124
|
"""
|
|
126
125
|
return pulumi.get(self, "comment")
|
|
127
126
|
|
|
128
127
|
@comment.setter
|
|
129
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
128
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
130
129
|
pulumi.set(self, "comment", value)
|
|
131
130
|
|
|
132
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
133
132
|
@pulumi.getter(name="fullyQualifiedName")
|
|
134
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
133
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
134
|
"""
|
|
136
135
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
137
136
|
"""
|
|
138
137
|
return pulumi.get(self, "fully_qualified_name")
|
|
139
138
|
|
|
140
139
|
@fully_qualified_name.setter
|
|
141
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
140
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
142
141
|
pulumi.set(self, "fully_qualified_name", value)
|
|
143
142
|
|
|
144
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
145
144
|
@pulumi.getter(name="isPrimary")
|
|
146
|
-
def is_primary(self) -> Optional[pulumi.Input[
|
|
145
|
+
def is_primary(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
147
146
|
"""
|
|
148
147
|
Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
149
148
|
"""
|
|
150
149
|
return pulumi.get(self, "is_primary")
|
|
151
150
|
|
|
152
151
|
@is_primary.setter
|
|
153
|
-
def is_primary(self, value: Optional[pulumi.Input[
|
|
152
|
+
def is_primary(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
154
153
|
pulumi.set(self, "is_primary", value)
|
|
155
154
|
|
|
156
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
157
156
|
@pulumi.getter
|
|
158
|
-
def name(self) -> Optional[pulumi.Input[
|
|
157
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
159
158
|
"""
|
|
160
159
|
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: `|`, `.`, `"`.
|
|
161
160
|
"""
|
|
162
161
|
return pulumi.get(self, "name")
|
|
163
162
|
|
|
164
163
|
@name.setter
|
|
165
|
-
def name(self, value: Optional[pulumi.Input[
|
|
164
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
166
165
|
pulumi.set(self, "name", value)
|
|
167
166
|
|
|
168
|
-
@property
|
|
167
|
+
@_builtins.property
|
|
169
168
|
@pulumi.getter(name="showOutputs")
|
|
170
169
|
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecondaryConnectionShowOutputArgs']]]]:
|
|
171
170
|
"""
|
|
@@ -184,9 +183,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
184
183
|
def __init__(__self__,
|
|
185
184
|
resource_name: str,
|
|
186
185
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
187
|
-
as_replica_of: Optional[pulumi.Input[
|
|
188
|
-
comment: Optional[pulumi.Input[
|
|
189
|
-
name: Optional[pulumi.Input[
|
|
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,
|
|
190
189
|
__props__=None):
|
|
191
190
|
"""
|
|
192
191
|
## Import
|
|
@@ -197,9 +196,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
197
196
|
|
|
198
197
|
:param str resource_name: The name of the resource.
|
|
199
198
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
200
|
-
:param pulumi.Input[
|
|
201
|
-
:param pulumi.Input[
|
|
202
|
-
:param pulumi.Input[
|
|
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: `|`, `.`, `"`.
|
|
203
202
|
"""
|
|
204
203
|
...
|
|
205
204
|
@overload
|
|
@@ -229,9 +228,9 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
229
228
|
def _internal_init(__self__,
|
|
230
229
|
resource_name: str,
|
|
231
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
232
|
-
as_replica_of: Optional[pulumi.Input[
|
|
233
|
-
comment: Optional[pulumi.Input[
|
|
234
|
-
name: Optional[pulumi.Input[
|
|
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,
|
|
235
234
|
__props__=None):
|
|
236
235
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
237
236
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -259,11 +258,11 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
259
258
|
def get(resource_name: str,
|
|
260
259
|
id: pulumi.Input[str],
|
|
261
260
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
262
|
-
as_replica_of: Optional[pulumi.Input[
|
|
263
|
-
comment: Optional[pulumi.Input[
|
|
264
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
265
|
-
is_primary: Optional[pulumi.Input[
|
|
266
|
-
name: Optional[pulumi.Input[
|
|
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,
|
|
267
266
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecondaryConnectionShowOutputArgs', 'SecondaryConnectionShowOutputArgsDict']]]]] = None) -> 'SecondaryConnection':
|
|
268
267
|
"""
|
|
269
268
|
Get an existing SecondaryConnection resource's state with the given name, id, and optional extra
|
|
@@ -272,11 +271,11 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
272
271
|
:param str resource_name: The unique name of the resulting resource.
|
|
273
272
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
274
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
275
|
-
:param pulumi.Input[
|
|
276
|
-
:param pulumi.Input[
|
|
277
|
-
:param pulumi.Input[
|
|
278
|
-
:param pulumi.Input[
|
|
279
|
-
:param pulumi.Input[
|
|
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: `|`, `.`, `"`.
|
|
280
279
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SecondaryConnectionShowOutputArgs', 'SecondaryConnectionShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
281
280
|
"""
|
|
282
281
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -291,47 +290,47 @@ class SecondaryConnection(pulumi.CustomResource):
|
|
|
291
290
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
292
291
|
return SecondaryConnection(resource_name, opts=opts, __props__=__props__)
|
|
293
292
|
|
|
294
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
295
294
|
@pulumi.getter(name="asReplicaOf")
|
|
296
|
-
def as_replica_of(self) -> pulumi.Output[
|
|
295
|
+
def as_replica_of(self) -> pulumi.Output[_builtins.str]:
|
|
297
296
|
"""
|
|
298
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.
|
|
299
298
|
"""
|
|
300
299
|
return pulumi.get(self, "as_replica_of")
|
|
301
300
|
|
|
302
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
303
302
|
@pulumi.getter
|
|
304
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
303
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
305
304
|
"""
|
|
306
305
|
Specifies a comment for the secondary connection.
|
|
307
306
|
"""
|
|
308
307
|
return pulumi.get(self, "comment")
|
|
309
308
|
|
|
310
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
311
310
|
@pulumi.getter(name="fullyQualifiedName")
|
|
312
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
311
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
313
312
|
"""
|
|
314
313
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "fully_qualified_name")
|
|
317
316
|
|
|
318
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
319
318
|
@pulumi.getter(name="isPrimary")
|
|
320
|
-
def is_primary(self) -> pulumi.Output[
|
|
319
|
+
def is_primary(self) -> pulumi.Output[_builtins.bool]:
|
|
321
320
|
"""
|
|
322
321
|
Indicates if the connection primary status has been changed. If change is detected, resource will be recreated.
|
|
323
322
|
"""
|
|
324
323
|
return pulumi.get(self, "is_primary")
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter
|
|
328
|
-
def name(self) -> pulumi.Output[
|
|
327
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
329
328
|
"""
|
|
330
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: `|`, `.`, `"`.
|
|
331
330
|
"""
|
|
332
331
|
return pulumi.get(self, "name")
|
|
333
332
|
|
|
334
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
335
334
|
@pulumi.getter(name="showOutputs")
|
|
336
335
|
def show_outputs(self) -> pulumi.Output[Sequence['outputs.SecondaryConnectionShowOutput']]:
|
|
337
336
|
"""
|