pulumi-snowflake 2.3.0a1752907264__py3-none-any.whl → 2.3.0a1753398370__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 -1
- pulumi_snowflake/_inputs.py +16796 -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 +2088 -2089
- 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_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 +15510 -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_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1752907264.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.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,25 +21,25 @@ __all__ = ['FailoverGroupArgs', 'FailoverGroup']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class FailoverGroupArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
26
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
27
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
28
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
25
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
26
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
27
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
29
28
|
from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
|
|
30
|
-
ignore_edition_check: Optional[pulumi.Input[
|
|
31
|
-
name: Optional[pulumi.Input[
|
|
32
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
29
|
+
ignore_edition_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
33
32
|
replication_schedule: Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']] = None):
|
|
34
33
|
"""
|
|
35
34
|
The set of arguments for constructing a FailoverGroup resource.
|
|
36
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
37
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
38
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
38
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
40
39
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
40
|
+
:param pulumi.Input[_builtins.bool] ignore_edition_check: (Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
41
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
44
43
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
45
44
|
"""
|
|
46
45
|
if allowed_accounts is not None:
|
|
@@ -62,55 +61,55 @@ class FailoverGroupArgs:
|
|
|
62
61
|
if replication_schedule is not None:
|
|
63
62
|
pulumi.set(__self__, "replication_schedule", replication_schedule)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="allowedAccounts")
|
|
67
|
-
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
66
|
+
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
68
67
|
"""
|
|
69
68
|
Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "allowed_accounts")
|
|
72
71
|
|
|
73
72
|
@allowed_accounts.setter
|
|
74
|
-
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
73
|
+
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
75
74
|
pulumi.set(self, "allowed_accounts", value)
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter(name="allowedDatabases")
|
|
79
|
-
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
78
|
+
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
80
79
|
"""
|
|
81
80
|
Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
82
81
|
"""
|
|
83
82
|
return pulumi.get(self, "allowed_databases")
|
|
84
83
|
|
|
85
84
|
@allowed_databases.setter
|
|
86
|
-
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
85
|
+
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
87
86
|
pulumi.set(self, "allowed_databases", value)
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
91
|
-
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
90
|
+
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
92
91
|
"""
|
|
93
92
|
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "allowed_integration_types")
|
|
96
95
|
|
|
97
96
|
@allowed_integration_types.setter
|
|
98
|
-
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
97
|
+
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
99
98
|
pulumi.set(self, "allowed_integration_types", value)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter(name="allowedShares")
|
|
103
|
-
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
102
|
+
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
104
103
|
"""
|
|
105
104
|
Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "allowed_shares")
|
|
108
107
|
|
|
109
108
|
@allowed_shares.setter
|
|
110
|
-
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
109
|
+
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
111
110
|
pulumi.set(self, "allowed_shares", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="fromReplica")
|
|
115
114
|
def from_replica(self) -> Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]:
|
|
116
115
|
"""
|
|
@@ -122,43 +121,43 @@ class FailoverGroupArgs:
|
|
|
122
121
|
def from_replica(self, value: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]):
|
|
123
122
|
pulumi.set(self, "from_replica", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
127
|
-
def ignore_edition_check(self) -> Optional[pulumi.Input[
|
|
126
|
+
def ignore_edition_check(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
128
127
|
"""
|
|
129
128
|
(Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "ignore_edition_check")
|
|
132
131
|
|
|
133
132
|
@ignore_edition_check.setter
|
|
134
|
-
def ignore_edition_check(self, value: Optional[pulumi.Input[
|
|
133
|
+
def ignore_edition_check(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
135
134
|
pulumi.set(self, "ignore_edition_check", value)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter
|
|
139
|
-
def name(self) -> Optional[pulumi.Input[
|
|
138
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
140
139
|
"""
|
|
141
140
|
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "name")
|
|
144
143
|
|
|
145
144
|
@name.setter
|
|
146
|
-
def name(self, value: Optional[pulumi.Input[
|
|
145
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
147
146
|
pulumi.set(self, "name", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="objectTypes")
|
|
151
|
-
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
150
|
+
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
152
151
|
"""
|
|
153
152
|
Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
154
153
|
"""
|
|
155
154
|
return pulumi.get(self, "object_types")
|
|
156
155
|
|
|
157
156
|
@object_types.setter
|
|
158
|
-
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
157
|
+
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
159
158
|
pulumi.set(self, "object_types", value)
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter(name="replicationSchedule")
|
|
163
162
|
def replication_schedule(self) -> Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']]:
|
|
164
163
|
"""
|
|
@@ -174,27 +173,27 @@ class FailoverGroupArgs:
|
|
|
174
173
|
@pulumi.input_type
|
|
175
174
|
class _FailoverGroupState:
|
|
176
175
|
def __init__(__self__, *,
|
|
177
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
178
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
179
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
180
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
176
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
177
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
178
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
179
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
181
180
|
from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
|
|
182
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
183
|
-
ignore_edition_check: Optional[pulumi.Input[
|
|
184
|
-
name: Optional[pulumi.Input[
|
|
185
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
181
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
182
|
+
ignore_edition_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
183
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
186
185
|
replication_schedule: Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']] = None):
|
|
187
186
|
"""
|
|
188
187
|
Input properties used for looking up and filtering FailoverGroup resources.
|
|
189
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
190
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
191
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
192
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
188
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
190
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
191
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
193
192
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
194
|
-
:param pulumi.Input[
|
|
195
|
-
:param pulumi.Input[
|
|
196
|
-
:param pulumi.Input[
|
|
197
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
193
|
+
: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).
|
|
194
|
+
:param pulumi.Input[_builtins.bool] ignore_edition_check: (Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
195
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
196
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
198
197
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
199
198
|
"""
|
|
200
199
|
if allowed_accounts is not None:
|
|
@@ -218,55 +217,55 @@ class _FailoverGroupState:
|
|
|
218
217
|
if replication_schedule is not None:
|
|
219
218
|
pulumi.set(__self__, "replication_schedule", replication_schedule)
|
|
220
219
|
|
|
221
|
-
@property
|
|
220
|
+
@_builtins.property
|
|
222
221
|
@pulumi.getter(name="allowedAccounts")
|
|
223
|
-
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
222
|
+
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
224
223
|
"""
|
|
225
224
|
Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
226
225
|
"""
|
|
227
226
|
return pulumi.get(self, "allowed_accounts")
|
|
228
227
|
|
|
229
228
|
@allowed_accounts.setter
|
|
230
|
-
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
229
|
+
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
231
230
|
pulumi.set(self, "allowed_accounts", value)
|
|
232
231
|
|
|
233
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
234
233
|
@pulumi.getter(name="allowedDatabases")
|
|
235
|
-
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
234
|
+
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
236
235
|
"""
|
|
237
236
|
Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
238
237
|
"""
|
|
239
238
|
return pulumi.get(self, "allowed_databases")
|
|
240
239
|
|
|
241
240
|
@allowed_databases.setter
|
|
242
|
-
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
241
|
+
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
243
242
|
pulumi.set(self, "allowed_databases", value)
|
|
244
243
|
|
|
245
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
246
245
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
247
|
-
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
246
|
+
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
248
247
|
"""
|
|
249
248
|
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
250
249
|
"""
|
|
251
250
|
return pulumi.get(self, "allowed_integration_types")
|
|
252
251
|
|
|
253
252
|
@allowed_integration_types.setter
|
|
254
|
-
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
253
|
+
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
255
254
|
pulumi.set(self, "allowed_integration_types", value)
|
|
256
255
|
|
|
257
|
-
@property
|
|
256
|
+
@_builtins.property
|
|
258
257
|
@pulumi.getter(name="allowedShares")
|
|
259
|
-
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
258
|
+
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
260
259
|
"""
|
|
261
260
|
Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
262
261
|
"""
|
|
263
262
|
return pulumi.get(self, "allowed_shares")
|
|
264
263
|
|
|
265
264
|
@allowed_shares.setter
|
|
266
|
-
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
265
|
+
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
267
266
|
pulumi.set(self, "allowed_shares", value)
|
|
268
267
|
|
|
269
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
270
269
|
@pulumi.getter(name="fromReplica")
|
|
271
270
|
def from_replica(self) -> Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]:
|
|
272
271
|
"""
|
|
@@ -278,55 +277,55 @@ class _FailoverGroupState:
|
|
|
278
277
|
def from_replica(self, value: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']]):
|
|
279
278
|
pulumi.set(self, "from_replica", value)
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter(name="fullyQualifiedName")
|
|
283
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
282
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
284
283
|
"""
|
|
285
284
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
286
285
|
"""
|
|
287
286
|
return pulumi.get(self, "fully_qualified_name")
|
|
288
287
|
|
|
289
288
|
@fully_qualified_name.setter
|
|
290
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
289
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
291
290
|
pulumi.set(self, "fully_qualified_name", value)
|
|
292
291
|
|
|
293
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
294
293
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
295
|
-
def ignore_edition_check(self) -> Optional[pulumi.Input[
|
|
294
|
+
def ignore_edition_check(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
296
295
|
"""
|
|
297
296
|
(Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
298
297
|
"""
|
|
299
298
|
return pulumi.get(self, "ignore_edition_check")
|
|
300
299
|
|
|
301
300
|
@ignore_edition_check.setter
|
|
302
|
-
def ignore_edition_check(self, value: Optional[pulumi.Input[
|
|
301
|
+
def ignore_edition_check(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
303
302
|
pulumi.set(self, "ignore_edition_check", value)
|
|
304
303
|
|
|
305
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
306
305
|
@pulumi.getter
|
|
307
|
-
def name(self) -> Optional[pulumi.Input[
|
|
306
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
308
307
|
"""
|
|
309
308
|
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
310
309
|
"""
|
|
311
310
|
return pulumi.get(self, "name")
|
|
312
311
|
|
|
313
312
|
@name.setter
|
|
314
|
-
def name(self, value: Optional[pulumi.Input[
|
|
313
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
315
314
|
pulumi.set(self, "name", value)
|
|
316
315
|
|
|
317
|
-
@property
|
|
316
|
+
@_builtins.property
|
|
318
317
|
@pulumi.getter(name="objectTypes")
|
|
319
|
-
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
318
|
+
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
320
319
|
"""
|
|
321
320
|
Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
322
321
|
"""
|
|
323
322
|
return pulumi.get(self, "object_types")
|
|
324
323
|
|
|
325
324
|
@object_types.setter
|
|
326
|
-
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
325
|
+
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
327
326
|
pulumi.set(self, "object_types", value)
|
|
328
327
|
|
|
329
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
330
329
|
@pulumi.getter(name="replicationSchedule")
|
|
331
330
|
def replication_schedule(self) -> Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']]:
|
|
332
331
|
"""
|
|
@@ -345,14 +344,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
345
344
|
def __init__(__self__,
|
|
346
345
|
resource_name: str,
|
|
347
346
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
348
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
349
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
350
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
351
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
347
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
348
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
349
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
350
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
352
351
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
353
|
-
ignore_edition_check: Optional[pulumi.Input[
|
|
354
|
-
name: Optional[pulumi.Input[
|
|
355
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
352
|
+
ignore_edition_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
353
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
356
355
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
357
356
|
__props__=None):
|
|
358
357
|
"""
|
|
@@ -364,14 +363,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
364
363
|
|
|
365
364
|
:param str resource_name: The name of the resource.
|
|
366
365
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
367
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
368
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
369
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
370
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
366
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
367
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
368
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
369
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
371
370
|
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
372
|
-
:param pulumi.Input[
|
|
373
|
-
:param pulumi.Input[
|
|
374
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
371
|
+
:param pulumi.Input[_builtins.bool] ignore_edition_check: (Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
372
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
373
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
375
374
|
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
376
375
|
"""
|
|
377
376
|
...
|
|
@@ -402,14 +401,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
402
401
|
def _internal_init(__self__,
|
|
403
402
|
resource_name: str,
|
|
404
403
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
405
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
406
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
407
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
408
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
404
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
405
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
406
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
407
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
409
408
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
410
|
-
ignore_edition_check: Optional[pulumi.Input[
|
|
411
|
-
name: Optional[pulumi.Input[
|
|
412
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
409
|
+
ignore_edition_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
410
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
411
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
413
412
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
414
413
|
__props__=None):
|
|
415
414
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -440,15 +439,15 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
440
439
|
def get(resource_name: str,
|
|
441
440
|
id: pulumi.Input[str],
|
|
442
441
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
443
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
444
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
445
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
446
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
442
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
443
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
444
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
445
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
447
446
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
448
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
449
|
-
ignore_edition_check: Optional[pulumi.Input[
|
|
450
|
-
name: Optional[pulumi.Input[
|
|
451
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
447
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
448
|
+
ignore_edition_check: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
449
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
450
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
452
451
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None) -> 'FailoverGroup':
|
|
453
452
|
"""
|
|
454
453
|
Get an existing FailoverGroup resource's state with the given name, id, and optional extra
|
|
@@ -457,15 +456,15 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
457
456
|
:param str resource_name: The unique name of the resulting resource.
|
|
458
457
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
459
458
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
460
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
461
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
462
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
463
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
459
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_accounts: Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
460
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_databases: Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
461
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_integration_types: Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
462
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_shares: Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
464
463
|
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
:param pulumi.Input[
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
464
|
+
: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).
|
|
465
|
+
:param pulumi.Input[_builtins.bool] ignore_edition_check: (Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
466
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
467
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] object_types: Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
469
468
|
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
470
469
|
"""
|
|
471
470
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -484,39 +483,39 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
484
483
|
__props__.__dict__["replication_schedule"] = replication_schedule
|
|
485
484
|
return FailoverGroup(resource_name, opts=opts, __props__=__props__)
|
|
486
485
|
|
|
487
|
-
@property
|
|
486
|
+
@_builtins.property
|
|
488
487
|
@pulumi.getter(name="allowedAccounts")
|
|
489
|
-
def allowed_accounts(self) -> pulumi.Output[Optional[Sequence[
|
|
488
|
+
def allowed_accounts(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
490
489
|
"""
|
|
491
490
|
Specifies the target account or list of target accounts to which replication and failover of specified objects from the source account is enabled. Secondary failover groups in the target accounts in this list can be promoted to serve as the primary failover group in case of failover. Expected in the form \\n\\n.\\n\\n
|
|
492
491
|
"""
|
|
493
492
|
return pulumi.get(self, "allowed_accounts")
|
|
494
493
|
|
|
495
|
-
@property
|
|
494
|
+
@_builtins.property
|
|
496
495
|
@pulumi.getter(name="allowedDatabases")
|
|
497
|
-
def allowed_databases(self) -> pulumi.Output[Optional[Sequence[
|
|
496
|
+
def allowed_databases(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
498
497
|
"""
|
|
499
498
|
Specifies the database or list of databases for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include DATABASES to set this parameter.
|
|
500
499
|
"""
|
|
501
500
|
return pulumi.get(self, "allowed_databases")
|
|
502
501
|
|
|
503
|
-
@property
|
|
502
|
+
@_builtins.property
|
|
504
503
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
505
|
-
def allowed_integration_types(self) -> pulumi.Output[Optional[Sequence[
|
|
504
|
+
def allowed_integration_types(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
506
505
|
"""
|
|
507
506
|
Type(s) of integrations for which you are enabling replication and failover from the source account to the target account. This property requires that the OBJECT_TYPES list include INTEGRATIONS to set this parameter. The following integration types are supported: "SECURITY INTEGRATIONS", "API INTEGRATIONS", "STORAGE INTEGRATIONS", "EXTERNAL ACCESS INTEGRATIONS", "NOTIFICATION INTEGRATIONS"
|
|
508
507
|
"""
|
|
509
508
|
return pulumi.get(self, "allowed_integration_types")
|
|
510
509
|
|
|
511
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
512
511
|
@pulumi.getter(name="allowedShares")
|
|
513
|
-
def allowed_shares(self) -> pulumi.Output[Optional[Sequence[
|
|
512
|
+
def allowed_shares(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
514
513
|
"""
|
|
515
514
|
Specifies the share or list of shares for which you are enabling replication and failover from the source account to the target account. The OBJECT_TYPES list must include SHARES to set this parameter.
|
|
516
515
|
"""
|
|
517
516
|
return pulumi.get(self, "allowed_shares")
|
|
518
517
|
|
|
519
|
-
@property
|
|
518
|
+
@_builtins.property
|
|
520
519
|
@pulumi.getter(name="fromReplica")
|
|
521
520
|
def from_replica(self) -> pulumi.Output[Optional['outputs.FailoverGroupFromReplica']]:
|
|
522
521
|
"""
|
|
@@ -524,39 +523,39 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
524
523
|
"""
|
|
525
524
|
return pulumi.get(self, "from_replica")
|
|
526
525
|
|
|
527
|
-
@property
|
|
526
|
+
@_builtins.property
|
|
528
527
|
@pulumi.getter(name="fullyQualifiedName")
|
|
529
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
528
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
530
529
|
"""
|
|
531
530
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
532
531
|
"""
|
|
533
532
|
return pulumi.get(self, "fully_qualified_name")
|
|
534
533
|
|
|
535
|
-
@property
|
|
534
|
+
@_builtins.property
|
|
536
535
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
537
|
-
def ignore_edition_check(self) -> pulumi.Output[Optional[
|
|
536
|
+
def ignore_edition_check(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
538
537
|
"""
|
|
539
538
|
(Default: `false`) Allows replicating objects to accounts on lower editions.
|
|
540
539
|
"""
|
|
541
540
|
return pulumi.get(self, "ignore_edition_check")
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter
|
|
545
|
-
def name(self) -> pulumi.Output[
|
|
544
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
546
545
|
"""
|
|
547
546
|
Specifies the identifier for the failover group. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive.
|
|
548
547
|
"""
|
|
549
548
|
return pulumi.get(self, "name")
|
|
550
549
|
|
|
551
|
-
@property
|
|
550
|
+
@_builtins.property
|
|
552
551
|
@pulumi.getter(name="objectTypes")
|
|
553
|
-
def object_types(self) -> pulumi.Output[Optional[Sequence[
|
|
552
|
+
def object_types(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
554
553
|
"""
|
|
555
554
|
Type(s) of objects for which you are enabling replication and failover from the source account to the target account. The following object types are supported: "ACCOUNT PARAMETERS", "DATABASES", "INTEGRATIONS", "NETWORK POLICIES", "RESOURCE MONITORS", "ROLES", "SHARES", "USERS", "WAREHOUSES"
|
|
556
555
|
"""
|
|
557
556
|
return pulumi.get(self, "object_types")
|
|
558
557
|
|
|
559
|
-
@property
|
|
558
|
+
@_builtins.property
|
|
560
559
|
@pulumi.getter(name="replicationSchedule")
|
|
561
560
|
def replication_schedule(self) -> pulumi.Output[Optional['outputs.FailoverGroupReplicationSchedule']]:
|
|
562
561
|
"""
|