pulumi-snowflake 0.61.0a1731393894__py3-none-any.whl → 0.61.1__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 +110 -0
- pulumi_snowflake/_inputs.py +5182 -1837
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +86 -36
- pulumi_snowflake/config/vars.py +104 -40
- pulumi_snowflake/external_volume.py +378 -0
- pulumi_snowflake/get_connections.py +147 -0
- pulumi_snowflake/get_grants.py +4 -0
- pulumi_snowflake/get_secrets.py +204 -0
- pulumi_snowflake/get_streams.py +105 -56
- pulumi_snowflake/grant_account_role.py +2 -2
- pulumi_snowflake/grant_application_role.py +2 -2
- pulumi_snowflake/grant_database_role.py +2 -2
- pulumi_snowflake/grant_ownership.py +14 -14
- pulumi_snowflake/grant_privileges_to_account_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_database_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_share.py +2 -2
- pulumi_snowflake/legacy_service_user.py +4 -0
- pulumi_snowflake/outputs.py +4390 -1335
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/provider.py +433 -146
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/secondary_connection.py +339 -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/stream_on_directory_table.py +530 -0
- pulumi_snowflake/stream_on_external_table.py +50 -2
- pulumi_snowflake/stream_on_table.py +48 -0
- pulumi_snowflake/stream_on_view.py +679 -0
- pulumi_snowflake/tag_association.py +7 -7
- pulumi_snowflake/user.py +4 -0
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/RECORD +39 -25
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/WHEEL +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['PrimaryConnectionArgs', 'PrimaryConnection']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class PrimaryConnectionArgs:
|
|
23
|
+
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):
|
|
27
|
+
"""
|
|
28
|
+
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.
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
32
|
+
"""
|
|
33
|
+
if comment is not None:
|
|
34
|
+
pulumi.set(__self__, "comment", comment)
|
|
35
|
+
if enable_failover_to_accounts is not None:
|
|
36
|
+
pulumi.set(__self__, "enable_failover_to_accounts", enable_failover_to_accounts)
|
|
37
|
+
if name is not None:
|
|
38
|
+
pulumi.set(__self__, "name", name)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter
|
|
42
|
+
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
43
|
+
"""
|
|
44
|
+
Specifies a comment for the connection.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "comment")
|
|
47
|
+
|
|
48
|
+
@comment.setter
|
|
49
|
+
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
50
|
+
pulumi.set(self, "comment", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter(name="enableFailoverToAccounts")
|
|
54
|
+
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
55
|
+
"""
|
|
56
|
+
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.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "enable_failover_to_accounts")
|
|
59
|
+
|
|
60
|
+
@enable_failover_to_accounts.setter
|
|
61
|
+
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
62
|
+
pulumi.set(self, "enable_failover_to_accounts", value)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
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 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
|
+
return pulumi.get(self, "name")
|
|
71
|
+
|
|
72
|
+
@name.setter
|
|
73
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
+
pulumi.set(self, "name", value)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
@pulumi.input_type
|
|
78
|
+
class _PrimaryConnectionState:
|
|
79
|
+
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,
|
|
85
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]]] = None):
|
|
86
|
+
"""
|
|
87
|
+
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.
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
92
|
+
:param pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
93
|
+
"""
|
|
94
|
+
if comment is not None:
|
|
95
|
+
pulumi.set(__self__, "comment", comment)
|
|
96
|
+
if enable_failover_to_accounts is not None:
|
|
97
|
+
pulumi.set(__self__, "enable_failover_to_accounts", enable_failover_to_accounts)
|
|
98
|
+
if fully_qualified_name is not None:
|
|
99
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
100
|
+
if is_primary is not None:
|
|
101
|
+
pulumi.set(__self__, "is_primary", is_primary)
|
|
102
|
+
if name is not None:
|
|
103
|
+
pulumi.set(__self__, "name", name)
|
|
104
|
+
if show_outputs is not None:
|
|
105
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter
|
|
109
|
+
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
"""
|
|
111
|
+
Specifies a comment for the connection.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "comment")
|
|
114
|
+
|
|
115
|
+
@comment.setter
|
|
116
|
+
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
pulumi.set(self, "comment", value)
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter(name="enableFailoverToAccounts")
|
|
121
|
+
def enable_failover_to_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
122
|
+
"""
|
|
123
|
+
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.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "enable_failover_to_accounts")
|
|
126
|
+
|
|
127
|
+
@enable_failover_to_accounts.setter
|
|
128
|
+
def enable_failover_to_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
129
|
+
pulumi.set(self, "enable_failover_to_accounts", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
133
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
|
+
"""
|
|
135
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
138
|
+
|
|
139
|
+
@fully_qualified_name.setter
|
|
140
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
141
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="isPrimary")
|
|
145
|
+
def is_primary(self) -> Optional[pulumi.Input[bool]]:
|
|
146
|
+
return pulumi.get(self, "is_primary")
|
|
147
|
+
|
|
148
|
+
@is_primary.setter
|
|
149
|
+
def is_primary(self, value: Optional[pulumi.Input[bool]]):
|
|
150
|
+
pulumi.set(self, "is_primary", value)
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter
|
|
154
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
"""
|
|
156
|
+
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
|
+
return pulumi.get(self, "name")
|
|
159
|
+
|
|
160
|
+
@name.setter
|
|
161
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
+
pulumi.set(self, "name", value)
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
@pulumi.getter(name="showOutputs")
|
|
166
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]]]:
|
|
167
|
+
"""
|
|
168
|
+
Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
169
|
+
"""
|
|
170
|
+
return pulumi.get(self, "show_outputs")
|
|
171
|
+
|
|
172
|
+
@show_outputs.setter
|
|
173
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrimaryConnectionShowOutputArgs']]]]):
|
|
174
|
+
pulumi.set(self, "show_outputs", value)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
class PrimaryConnection(pulumi.CustomResource):
|
|
178
|
+
@overload
|
|
179
|
+
def __init__(__self__,
|
|
180
|
+
resource_name: str,
|
|
181
|
+
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,
|
|
185
|
+
__props__=None):
|
|
186
|
+
"""
|
|
187
|
+
## Import
|
|
188
|
+
|
|
189
|
+
```sh
|
|
190
|
+
$ pulumi import snowflake:index/primaryConnection:PrimaryConnection example 'connection_name'
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
:param str resource_name: The name of the resource.
|
|
194
|
+
: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.
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
198
|
+
"""
|
|
199
|
+
...
|
|
200
|
+
@overload
|
|
201
|
+
def __init__(__self__,
|
|
202
|
+
resource_name: str,
|
|
203
|
+
args: Optional[PrimaryConnectionArgs] = None,
|
|
204
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
205
|
+
"""
|
|
206
|
+
## Import
|
|
207
|
+
|
|
208
|
+
```sh
|
|
209
|
+
$ pulumi import snowflake:index/primaryConnection:PrimaryConnection example 'connection_name'
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
:param str resource_name: The name of the resource.
|
|
213
|
+
:param PrimaryConnectionArgs args: The arguments to use to populate this resource's properties.
|
|
214
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
215
|
+
"""
|
|
216
|
+
...
|
|
217
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
218
|
+
resource_args, opts = _utilities.get_resource_args_opts(PrimaryConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
219
|
+
if resource_args is not None:
|
|
220
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
221
|
+
else:
|
|
222
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
223
|
+
|
|
224
|
+
def _internal_init(__self__,
|
|
225
|
+
resource_name: str,
|
|
226
|
+
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,
|
|
230
|
+
__props__=None):
|
|
231
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
232
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
233
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
234
|
+
if opts.id is None:
|
|
235
|
+
if __props__ is not None:
|
|
236
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
237
|
+
__props__ = PrimaryConnectionArgs.__new__(PrimaryConnectionArgs)
|
|
238
|
+
|
|
239
|
+
__props__.__dict__["comment"] = comment
|
|
240
|
+
__props__.__dict__["enable_failover_to_accounts"] = enable_failover_to_accounts
|
|
241
|
+
__props__.__dict__["name"] = name
|
|
242
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
243
|
+
__props__.__dict__["is_primary"] = None
|
|
244
|
+
__props__.__dict__["show_outputs"] = None
|
|
245
|
+
super(PrimaryConnection, __self__).__init__(
|
|
246
|
+
'snowflake:index/primaryConnection:PrimaryConnection',
|
|
247
|
+
resource_name,
|
|
248
|
+
__props__,
|
|
249
|
+
opts)
|
|
250
|
+
|
|
251
|
+
@staticmethod
|
|
252
|
+
def get(resource_name: str,
|
|
253
|
+
id: pulumi.Input[str],
|
|
254
|
+
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,
|
|
260
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrimaryConnectionShowOutputArgs', 'PrimaryConnectionShowOutputArgsDict']]]]] = None) -> 'PrimaryConnection':
|
|
261
|
+
"""
|
|
262
|
+
Get an existing PrimaryConnection resource's state with the given name, id, and optional extra
|
|
263
|
+
properties used to qualify the lookup.
|
|
264
|
+
|
|
265
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
266
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
267
|
+
: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.
|
|
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: `|`, `.`, `(`, `)`, `"`
|
|
272
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PrimaryConnectionShowOutputArgs', 'PrimaryConnectionShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
273
|
+
"""
|
|
274
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
275
|
+
|
|
276
|
+
__props__ = _PrimaryConnectionState.__new__(_PrimaryConnectionState)
|
|
277
|
+
|
|
278
|
+
__props__.__dict__["comment"] = comment
|
|
279
|
+
__props__.__dict__["enable_failover_to_accounts"] = enable_failover_to_accounts
|
|
280
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
281
|
+
__props__.__dict__["is_primary"] = is_primary
|
|
282
|
+
__props__.__dict__["name"] = name
|
|
283
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
284
|
+
return PrimaryConnection(resource_name, opts=opts, __props__=__props__)
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter
|
|
288
|
+
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
289
|
+
"""
|
|
290
|
+
Specifies a comment for the connection.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "comment")
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter(name="enableFailoverToAccounts")
|
|
296
|
+
def enable_failover_to_accounts(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
297
|
+
"""
|
|
298
|
+
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.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "enable_failover_to_accounts")
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
304
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
305
|
+
"""
|
|
306
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="isPrimary")
|
|
312
|
+
def is_primary(self) -> pulumi.Output[bool]:
|
|
313
|
+
return pulumi.get(self, "is_primary")
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
@pulumi.getter
|
|
317
|
+
def name(self) -> pulumi.Output[str]:
|
|
318
|
+
"""
|
|
319
|
+
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
|
+
return pulumi.get(self, "name")
|
|
322
|
+
|
|
323
|
+
@property
|
|
324
|
+
@pulumi.getter(name="showOutputs")
|
|
325
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.PrimaryConnectionShowOutput']]:
|
|
326
|
+
"""
|
|
327
|
+
Outputs the result of `SHOW CONNECTIONS` for the given connection.
|
|
328
|
+
"""
|
|
329
|
+
return pulumi.get(self, "show_outputs")
|
|
330
|
+
|