pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744266763__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744266763.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,25 +22,25 @@ __all__ = ['FailoverGroupArgs', 'FailoverGroup']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class FailoverGroupArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
25
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
26
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
27
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
25
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
26
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
27
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
28
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
28
29
|
from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
|
|
29
|
-
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
30
|
+
ignore_edition_check: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
32
33
|
replication_schedule: Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']] = None):
|
|
33
34
|
"""
|
|
34
35
|
The set of arguments for constructing a FailoverGroup resource.
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[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[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[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[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.
|
|
36
|
+
: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
|
|
37
|
+
: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.
|
|
38
|
+
: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"
|
|
39
|
+
: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.
|
|
39
40
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
40
|
-
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
41
|
-
:param pulumi.Input[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[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"
|
|
41
|
+
:param pulumi.Input[builtins.bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
42
|
+
: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.
|
|
43
|
+
: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"
|
|
43
44
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
44
45
|
"""
|
|
45
46
|
if allowed_accounts is not None:
|
|
@@ -63,50 +64,50 @@ class FailoverGroupArgs:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter(name="allowedAccounts")
|
|
66
|
-
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
67
|
+
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
67
68
|
"""
|
|
68
69
|
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
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "allowed_accounts")
|
|
71
72
|
|
|
72
73
|
@allowed_accounts.setter
|
|
73
|
-
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
74
|
+
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
74
75
|
pulumi.set(self, "allowed_accounts", value)
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="allowedDatabases")
|
|
78
|
-
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
79
|
+
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
79
80
|
"""
|
|
80
81
|
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.
|
|
81
82
|
"""
|
|
82
83
|
return pulumi.get(self, "allowed_databases")
|
|
83
84
|
|
|
84
85
|
@allowed_databases.setter
|
|
85
|
-
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
86
|
+
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
86
87
|
pulumi.set(self, "allowed_databases", value)
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
90
|
-
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
91
|
+
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
91
92
|
"""
|
|
92
93
|
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"
|
|
93
94
|
"""
|
|
94
95
|
return pulumi.get(self, "allowed_integration_types")
|
|
95
96
|
|
|
96
97
|
@allowed_integration_types.setter
|
|
97
|
-
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
98
|
+
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
98
99
|
pulumi.set(self, "allowed_integration_types", value)
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter(name="allowedShares")
|
|
102
|
-
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
103
|
+
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
103
104
|
"""
|
|
104
105
|
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.
|
|
105
106
|
"""
|
|
106
107
|
return pulumi.get(self, "allowed_shares")
|
|
107
108
|
|
|
108
109
|
@allowed_shares.setter
|
|
109
|
-
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
110
|
+
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
110
111
|
pulumi.set(self, "allowed_shares", value)
|
|
111
112
|
|
|
112
113
|
@property
|
|
@@ -123,38 +124,38 @@ class FailoverGroupArgs:
|
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
126
|
-
def ignore_edition_check(self) -> Optional[pulumi.Input[bool]]:
|
|
127
|
+
def ignore_edition_check(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
127
128
|
"""
|
|
128
129
|
Allows replicating objects to accounts on lower editions.
|
|
129
130
|
"""
|
|
130
131
|
return pulumi.get(self, "ignore_edition_check")
|
|
131
132
|
|
|
132
133
|
@ignore_edition_check.setter
|
|
133
|
-
def ignore_edition_check(self, value: Optional[pulumi.Input[bool]]):
|
|
134
|
+
def ignore_edition_check(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
134
135
|
pulumi.set(self, "ignore_edition_check", value)
|
|
135
136
|
|
|
136
137
|
@property
|
|
137
138
|
@pulumi.getter
|
|
138
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
139
140
|
"""
|
|
140
141
|
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.
|
|
141
142
|
"""
|
|
142
143
|
return pulumi.get(self, "name")
|
|
143
144
|
|
|
144
145
|
@name.setter
|
|
145
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
146
147
|
pulumi.set(self, "name", value)
|
|
147
148
|
|
|
148
149
|
@property
|
|
149
150
|
@pulumi.getter(name="objectTypes")
|
|
150
|
-
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
151
|
+
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
151
152
|
"""
|
|
152
153
|
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"
|
|
153
154
|
"""
|
|
154
155
|
return pulumi.get(self, "object_types")
|
|
155
156
|
|
|
156
157
|
@object_types.setter
|
|
157
|
-
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
158
|
+
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
158
159
|
pulumi.set(self, "object_types", value)
|
|
159
160
|
|
|
160
161
|
@property
|
|
@@ -173,27 +174,27 @@ class FailoverGroupArgs:
|
|
|
173
174
|
@pulumi.input_type
|
|
174
175
|
class _FailoverGroupState:
|
|
175
176
|
def __init__(__self__, *,
|
|
176
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
177
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
178
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
179
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
177
|
+
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
178
|
+
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
179
|
+
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
180
|
+
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
180
181
|
from_replica: Optional[pulumi.Input['FailoverGroupFromReplicaArgs']] = None,
|
|
181
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
182
|
-
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
183
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
184
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
182
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
183
|
+
ignore_edition_check: Optional[pulumi.Input[builtins.bool]] = None,
|
|
184
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
|
+
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
185
186
|
replication_schedule: Optional[pulumi.Input['FailoverGroupReplicationScheduleArgs']] = None):
|
|
186
187
|
"""
|
|
187
188
|
Input properties used for looking up and filtering FailoverGroup resources.
|
|
188
|
-
:param pulumi.Input[Sequence[pulumi.Input[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[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[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[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.
|
|
189
|
+
: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
|
|
190
|
+
: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.
|
|
191
|
+
: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"
|
|
192
|
+
: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.
|
|
192
193
|
:param pulumi.Input['FailoverGroupFromReplicaArgs'] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
193
|
-
: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).
|
|
194
|
-
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
195
|
-
:param pulumi.Input[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[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"
|
|
194
|
+
: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).
|
|
195
|
+
:param pulumi.Input[builtins.bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
196
|
+
: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.
|
|
197
|
+
: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"
|
|
197
198
|
:param pulumi.Input['FailoverGroupReplicationScheduleArgs'] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
198
199
|
"""
|
|
199
200
|
if allowed_accounts is not None:
|
|
@@ -219,50 +220,50 @@ class _FailoverGroupState:
|
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="allowedAccounts")
|
|
222
|
-
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
223
|
+
def allowed_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
223
224
|
"""
|
|
224
225
|
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
|
|
225
226
|
"""
|
|
226
227
|
return pulumi.get(self, "allowed_accounts")
|
|
227
228
|
|
|
228
229
|
@allowed_accounts.setter
|
|
229
|
-
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
230
|
+
def allowed_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
230
231
|
pulumi.set(self, "allowed_accounts", value)
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter(name="allowedDatabases")
|
|
234
|
-
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
235
|
+
def allowed_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
235
236
|
"""
|
|
236
237
|
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.
|
|
237
238
|
"""
|
|
238
239
|
return pulumi.get(self, "allowed_databases")
|
|
239
240
|
|
|
240
241
|
@allowed_databases.setter
|
|
241
|
-
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
242
|
+
def allowed_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
242
243
|
pulumi.set(self, "allowed_databases", value)
|
|
243
244
|
|
|
244
245
|
@property
|
|
245
246
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
246
|
-
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
247
|
+
def allowed_integration_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
247
248
|
"""
|
|
248
249
|
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"
|
|
249
250
|
"""
|
|
250
251
|
return pulumi.get(self, "allowed_integration_types")
|
|
251
252
|
|
|
252
253
|
@allowed_integration_types.setter
|
|
253
|
-
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
254
|
+
def allowed_integration_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
254
255
|
pulumi.set(self, "allowed_integration_types", value)
|
|
255
256
|
|
|
256
257
|
@property
|
|
257
258
|
@pulumi.getter(name="allowedShares")
|
|
258
|
-
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
|
+
def allowed_shares(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
259
260
|
"""
|
|
260
261
|
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.
|
|
261
262
|
"""
|
|
262
263
|
return pulumi.get(self, "allowed_shares")
|
|
263
264
|
|
|
264
265
|
@allowed_shares.setter
|
|
265
|
-
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
266
|
+
def allowed_shares(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
266
267
|
pulumi.set(self, "allowed_shares", value)
|
|
267
268
|
|
|
268
269
|
@property
|
|
@@ -279,50 +280,50 @@ class _FailoverGroupState:
|
|
|
279
280
|
|
|
280
281
|
@property
|
|
281
282
|
@pulumi.getter(name="fullyQualifiedName")
|
|
282
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
283
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
283
284
|
"""
|
|
284
285
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
285
286
|
"""
|
|
286
287
|
return pulumi.get(self, "fully_qualified_name")
|
|
287
288
|
|
|
288
289
|
@fully_qualified_name.setter
|
|
289
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
290
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
290
291
|
pulumi.set(self, "fully_qualified_name", value)
|
|
291
292
|
|
|
292
293
|
@property
|
|
293
294
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
294
|
-
def ignore_edition_check(self) -> Optional[pulumi.Input[bool]]:
|
|
295
|
+
def ignore_edition_check(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
295
296
|
"""
|
|
296
297
|
Allows replicating objects to accounts on lower editions.
|
|
297
298
|
"""
|
|
298
299
|
return pulumi.get(self, "ignore_edition_check")
|
|
299
300
|
|
|
300
301
|
@ignore_edition_check.setter
|
|
301
|
-
def ignore_edition_check(self, value: Optional[pulumi.Input[bool]]):
|
|
302
|
+
def ignore_edition_check(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
302
303
|
pulumi.set(self, "ignore_edition_check", value)
|
|
303
304
|
|
|
304
305
|
@property
|
|
305
306
|
@pulumi.getter
|
|
306
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
307
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
307
308
|
"""
|
|
308
309
|
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.
|
|
309
310
|
"""
|
|
310
311
|
return pulumi.get(self, "name")
|
|
311
312
|
|
|
312
313
|
@name.setter
|
|
313
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
314
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
314
315
|
pulumi.set(self, "name", value)
|
|
315
316
|
|
|
316
317
|
@property
|
|
317
318
|
@pulumi.getter(name="objectTypes")
|
|
318
|
-
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
319
|
+
def object_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
319
320
|
"""
|
|
320
321
|
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"
|
|
321
322
|
"""
|
|
322
323
|
return pulumi.get(self, "object_types")
|
|
323
324
|
|
|
324
325
|
@object_types.setter
|
|
325
|
-
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
326
|
+
def object_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
326
327
|
pulumi.set(self, "object_types", value)
|
|
327
328
|
|
|
328
329
|
@property
|
|
@@ -343,14 +344,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
343
344
|
def __init__(__self__,
|
|
344
345
|
resource_name: str,
|
|
345
346
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
346
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
347
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
348
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
349
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
350
351
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
351
|
-
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
352
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
353
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
354
355
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
355
356
|
__props__=None):
|
|
356
357
|
"""
|
|
@@ -362,14 +363,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
362
363
|
|
|
363
364
|
:param str resource_name: The name of the resource.
|
|
364
365
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
365
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
366
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
367
|
-
:param pulumi.Input[Sequence[pulumi.Input[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"
|
|
368
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
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.
|
|
369
370
|
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
370
|
-
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
371
|
-
:param pulumi.Input[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.
|
|
372
|
-
:param pulumi.Input[Sequence[pulumi.Input[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"
|
|
371
|
+
:param pulumi.Input[builtins.bool] ignore_edition_check: 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"
|
|
373
374
|
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
374
375
|
"""
|
|
375
376
|
...
|
|
@@ -400,14 +401,14 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
400
401
|
def _internal_init(__self__,
|
|
401
402
|
resource_name: str,
|
|
402
403
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
403
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
404
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
405
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
406
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
407
408
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
408
|
-
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
409
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
410
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
411
412
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None,
|
|
412
413
|
__props__=None):
|
|
413
414
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -438,15 +439,15 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
438
439
|
def get(resource_name: str,
|
|
439
440
|
id: pulumi.Input[str],
|
|
440
441
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
441
|
-
allowed_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
442
|
-
allowed_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
443
|
-
allowed_integration_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
444
|
-
allowed_shares: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
445
446
|
from_replica: Optional[pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']]] = None,
|
|
446
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
ignore_edition_check: Optional[pulumi.Input[bool]] = None,
|
|
448
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
449
|
-
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
450
451
|
replication_schedule: Optional[pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']]] = None) -> 'FailoverGroup':
|
|
451
452
|
"""
|
|
452
453
|
Get an existing FailoverGroup resource's state with the given name, id, and optional extra
|
|
@@ -455,15 +456,15 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
455
456
|
:param str resource_name: The unique name of the resulting resource.
|
|
456
457
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
457
458
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
458
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
459
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
460
|
-
:param pulumi.Input[Sequence[pulumi.Input[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"
|
|
461
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
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.
|
|
462
463
|
:param pulumi.Input[Union['FailoverGroupFromReplicaArgs', 'FailoverGroupFromReplicaArgsDict']] from_replica: Specifies the name of the replica to use as the source for the failover group.
|
|
463
|
-
: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).
|
|
464
|
-
:param pulumi.Input[bool] ignore_edition_check: Allows replicating objects to accounts on lower editions.
|
|
465
|
-
:param pulumi.Input[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.
|
|
466
|
-
:param pulumi.Input[Sequence[pulumi.Input[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"
|
|
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: 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"
|
|
467
468
|
:param pulumi.Input[Union['FailoverGroupReplicationScheduleArgs', 'FailoverGroupReplicationScheduleArgsDict']] replication_schedule: Specifies the schedule for refreshing secondary failover groups.
|
|
468
469
|
"""
|
|
469
470
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -484,7 +485,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
484
485
|
|
|
485
486
|
@property
|
|
486
487
|
@pulumi.getter(name="allowedAccounts")
|
|
487
|
-
def allowed_accounts(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
488
|
+
def allowed_accounts(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
488
489
|
"""
|
|
489
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
|
|
490
491
|
"""
|
|
@@ -492,7 +493,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
492
493
|
|
|
493
494
|
@property
|
|
494
495
|
@pulumi.getter(name="allowedDatabases")
|
|
495
|
-
def allowed_databases(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
496
|
+
def allowed_databases(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
496
497
|
"""
|
|
497
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.
|
|
498
499
|
"""
|
|
@@ -500,7 +501,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
500
501
|
|
|
501
502
|
@property
|
|
502
503
|
@pulumi.getter(name="allowedIntegrationTypes")
|
|
503
|
-
def allowed_integration_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
504
|
+
def allowed_integration_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
504
505
|
"""
|
|
505
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"
|
|
506
507
|
"""
|
|
@@ -508,7 +509,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
508
509
|
|
|
509
510
|
@property
|
|
510
511
|
@pulumi.getter(name="allowedShares")
|
|
511
|
-
def allowed_shares(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
512
|
+
def allowed_shares(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
512
513
|
"""
|
|
513
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.
|
|
514
515
|
"""
|
|
@@ -524,7 +525,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
524
525
|
|
|
525
526
|
@property
|
|
526
527
|
@pulumi.getter(name="fullyQualifiedName")
|
|
527
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
528
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
528
529
|
"""
|
|
529
530
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
530
531
|
"""
|
|
@@ -532,7 +533,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter(name="ignoreEditionCheck")
|
|
535
|
-
def ignore_edition_check(self) -> pulumi.Output[Optional[bool]]:
|
|
536
|
+
def ignore_edition_check(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
536
537
|
"""
|
|
537
538
|
Allows replicating objects to accounts on lower editions.
|
|
538
539
|
"""
|
|
@@ -540,7 +541,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
540
541
|
|
|
541
542
|
@property
|
|
542
543
|
@pulumi.getter
|
|
543
|
-
def name(self) -> pulumi.Output[str]:
|
|
544
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
544
545
|
"""
|
|
545
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.
|
|
546
547
|
"""
|
|
@@ -548,7 +549,7 @@ class FailoverGroup(pulumi.CustomResource):
|
|
|
548
549
|
|
|
549
550
|
@property
|
|
550
551
|
@pulumi.getter(name="objectTypes")
|
|
551
|
-
def object_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
552
|
+
def object_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
552
553
|
"""
|
|
553
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"
|
|
554
555
|
"""
|