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
pulumi_snowflake/network_rule.py
CHANGED
|
@@ -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
|
|
@@ -19,22 +20,22 @@ __all__ = ['NetworkRuleArgs', 'NetworkRule']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class NetworkRuleArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
database: pulumi.Input[str],
|
|
23
|
-
mode: pulumi.Input[str],
|
|
24
|
-
schema: pulumi.Input[str],
|
|
25
|
-
type: pulumi.Input[str],
|
|
26
|
-
value_lists: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
27
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
database: pulumi.Input[builtins.str],
|
|
24
|
+
mode: pulumi.Input[builtins.str],
|
|
25
|
+
schema: pulumi.Input[builtins.str],
|
|
26
|
+
type: pulumi.Input[builtins.str],
|
|
27
|
+
value_lists: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
28
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
29
30
|
"""
|
|
30
31
|
The set of arguments for constructing a NetworkRule resource.
|
|
31
|
-
:param pulumi.Input[str] database: The database in which to create the network rule.
|
|
32
|
-
:param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
33
|
-
:param pulumi.Input[str] schema: The schema in which to create the network rule.
|
|
34
|
-
:param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
36
|
-
:param pulumi.Input[str] comment: Specifies a comment for the network rule.
|
|
37
|
-
:param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
32
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the network rule.
|
|
33
|
+
:param pulumi.Input[builtins.str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
34
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the network rule.
|
|
35
|
+
:param pulumi.Input[builtins.str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
37
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the network rule.
|
|
38
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
38
39
|
"""
|
|
39
40
|
pulumi.set(__self__, "database", database)
|
|
40
41
|
pulumi.set(__self__, "mode", mode)
|
|
@@ -48,110 +49,110 @@ class NetworkRuleArgs:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def database(self) -> pulumi.Input[str]:
|
|
52
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
52
53
|
"""
|
|
53
54
|
The database in which to create the network rule.
|
|
54
55
|
"""
|
|
55
56
|
return pulumi.get(self, "database")
|
|
56
57
|
|
|
57
58
|
@database.setter
|
|
58
|
-
def database(self, value: pulumi.Input[str]):
|
|
59
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
59
60
|
pulumi.set(self, "database", value)
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def mode(self) -> pulumi.Input[str]:
|
|
64
|
+
def mode(self) -> pulumi.Input[builtins.str]:
|
|
64
65
|
"""
|
|
65
66
|
Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
66
67
|
"""
|
|
67
68
|
return pulumi.get(self, "mode")
|
|
68
69
|
|
|
69
70
|
@mode.setter
|
|
70
|
-
def mode(self, value: pulumi.Input[str]):
|
|
71
|
+
def mode(self, value: pulumi.Input[builtins.str]):
|
|
71
72
|
pulumi.set(self, "mode", value)
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def schema(self) -> pulumi.Input[str]:
|
|
76
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
76
77
|
"""
|
|
77
78
|
The schema in which to create the network rule.
|
|
78
79
|
"""
|
|
79
80
|
return pulumi.get(self, "schema")
|
|
80
81
|
|
|
81
82
|
@schema.setter
|
|
82
|
-
def schema(self, value: pulumi.Input[str]):
|
|
83
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
83
84
|
pulumi.set(self, "schema", value)
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter
|
|
87
|
-
def type(self) -> pulumi.Input[str]:
|
|
88
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
88
89
|
"""
|
|
89
90
|
Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
90
91
|
"""
|
|
91
92
|
return pulumi.get(self, "type")
|
|
92
93
|
|
|
93
94
|
@type.setter
|
|
94
|
-
def type(self, value: pulumi.Input[str]):
|
|
95
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
95
96
|
pulumi.set(self, "type", value)
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter(name="valueLists")
|
|
99
|
-
def value_lists(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
100
|
+
def value_lists(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
100
101
|
"""
|
|
101
102
|
Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
102
103
|
"""
|
|
103
104
|
return pulumi.get(self, "value_lists")
|
|
104
105
|
|
|
105
106
|
@value_lists.setter
|
|
106
|
-
def value_lists(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
107
|
+
def value_lists(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
107
108
|
pulumi.set(self, "value_lists", value)
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter
|
|
111
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
112
113
|
"""
|
|
113
114
|
Specifies a comment for the network rule.
|
|
114
115
|
"""
|
|
115
116
|
return pulumi.get(self, "comment")
|
|
116
117
|
|
|
117
118
|
@comment.setter
|
|
118
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
119
120
|
pulumi.set(self, "comment", value)
|
|
120
121
|
|
|
121
122
|
@property
|
|
122
123
|
@pulumi.getter
|
|
123
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
124
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
124
125
|
"""
|
|
125
126
|
Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
126
127
|
"""
|
|
127
128
|
return pulumi.get(self, "name")
|
|
128
129
|
|
|
129
130
|
@name.setter
|
|
130
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
131
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
131
132
|
pulumi.set(self, "name", value)
|
|
132
133
|
|
|
133
134
|
|
|
134
135
|
@pulumi.input_type
|
|
135
136
|
class _NetworkRuleState:
|
|
136
137
|
def __init__(__self__, *,
|
|
137
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
138
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
139
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
140
|
-
mode: Optional[pulumi.Input[str]] = None,
|
|
141
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
142
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
143
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
144
|
-
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
138
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
139
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
140
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
141
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
142
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
143
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
144
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
145
|
+
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
145
146
|
"""
|
|
146
147
|
Input properties used for looking up and filtering NetworkRule resources.
|
|
147
|
-
:param pulumi.Input[str] comment: Specifies a comment for the network rule.
|
|
148
|
-
:param pulumi.Input[str] database: The database in which to create the network rule.
|
|
149
|
-
: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).
|
|
150
|
-
:param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
151
|
-
:param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
152
|
-
:param pulumi.Input[str] schema: The schema in which to create the network rule.
|
|
153
|
-
:param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
154
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
148
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the network rule.
|
|
149
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the network rule.
|
|
150
|
+
: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).
|
|
151
|
+
:param pulumi.Input[builtins.str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
152
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
153
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the network rule.
|
|
154
|
+
:param pulumi.Input[builtins.str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
155
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
155
156
|
"""
|
|
156
157
|
if comment is not None:
|
|
157
158
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -172,98 +173,98 @@ class _NetworkRuleState:
|
|
|
172
173
|
|
|
173
174
|
@property
|
|
174
175
|
@pulumi.getter
|
|
175
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
176
177
|
"""
|
|
177
178
|
Specifies a comment for the network rule.
|
|
178
179
|
"""
|
|
179
180
|
return pulumi.get(self, "comment")
|
|
180
181
|
|
|
181
182
|
@comment.setter
|
|
182
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
183
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
183
184
|
pulumi.set(self, "comment", value)
|
|
184
185
|
|
|
185
186
|
@property
|
|
186
187
|
@pulumi.getter
|
|
187
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
188
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
189
|
"""
|
|
189
190
|
The database in which to create the network rule.
|
|
190
191
|
"""
|
|
191
192
|
return pulumi.get(self, "database")
|
|
192
193
|
|
|
193
194
|
@database.setter
|
|
194
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
195
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
195
196
|
pulumi.set(self, "database", value)
|
|
196
197
|
|
|
197
198
|
@property
|
|
198
199
|
@pulumi.getter(name="fullyQualifiedName")
|
|
199
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
200
201
|
"""
|
|
201
202
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
202
203
|
"""
|
|
203
204
|
return pulumi.get(self, "fully_qualified_name")
|
|
204
205
|
|
|
205
206
|
@fully_qualified_name.setter
|
|
206
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
207
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
207
208
|
pulumi.set(self, "fully_qualified_name", value)
|
|
208
209
|
|
|
209
210
|
@property
|
|
210
211
|
@pulumi.getter
|
|
211
|
-
def mode(self) -> Optional[pulumi.Input[str]]:
|
|
212
|
+
def mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
212
213
|
"""
|
|
213
214
|
Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
214
215
|
"""
|
|
215
216
|
return pulumi.get(self, "mode")
|
|
216
217
|
|
|
217
218
|
@mode.setter
|
|
218
|
-
def mode(self, value: Optional[pulumi.Input[str]]):
|
|
219
|
+
def mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
219
220
|
pulumi.set(self, "mode", value)
|
|
220
221
|
|
|
221
222
|
@property
|
|
222
223
|
@pulumi.getter
|
|
223
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
224
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
224
225
|
"""
|
|
225
226
|
Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
226
227
|
"""
|
|
227
228
|
return pulumi.get(self, "name")
|
|
228
229
|
|
|
229
230
|
@name.setter
|
|
230
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
231
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
231
232
|
pulumi.set(self, "name", value)
|
|
232
233
|
|
|
233
234
|
@property
|
|
234
235
|
@pulumi.getter
|
|
235
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
236
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
236
237
|
"""
|
|
237
238
|
The schema in which to create the network rule.
|
|
238
239
|
"""
|
|
239
240
|
return pulumi.get(self, "schema")
|
|
240
241
|
|
|
241
242
|
@schema.setter
|
|
242
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
243
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
243
244
|
pulumi.set(self, "schema", value)
|
|
244
245
|
|
|
245
246
|
@property
|
|
246
247
|
@pulumi.getter
|
|
247
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
248
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
248
249
|
"""
|
|
249
250
|
Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
250
251
|
"""
|
|
251
252
|
return pulumi.get(self, "type")
|
|
252
253
|
|
|
253
254
|
@type.setter
|
|
254
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
255
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
255
256
|
pulumi.set(self, "type", value)
|
|
256
257
|
|
|
257
258
|
@property
|
|
258
259
|
@pulumi.getter(name="valueLists")
|
|
259
|
-
def value_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
260
|
+
def value_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
260
261
|
"""
|
|
261
262
|
Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
262
263
|
"""
|
|
263
264
|
return pulumi.get(self, "value_lists")
|
|
264
265
|
|
|
265
266
|
@value_lists.setter
|
|
266
|
-
def value_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
267
|
+
def value_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
267
268
|
pulumi.set(self, "value_lists", value)
|
|
268
269
|
|
|
269
270
|
|
|
@@ -272,13 +273,13 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
272
273
|
def __init__(__self__,
|
|
273
274
|
resource_name: str,
|
|
274
275
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
275
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
276
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
277
|
-
mode: Optional[pulumi.Input[str]] = None,
|
|
278
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
279
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
280
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
281
|
-
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
276
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
277
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
278
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
279
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
280
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
281
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
282
|
+
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
282
283
|
__props__=None):
|
|
283
284
|
"""
|
|
284
285
|
## Import
|
|
@@ -289,13 +290,13 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
289
290
|
|
|
290
291
|
:param str resource_name: The name of the resource.
|
|
291
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
292
|
-
:param pulumi.Input[str] comment: Specifies a comment for the network rule.
|
|
293
|
-
:param pulumi.Input[str] database: The database in which to create the network rule.
|
|
294
|
-
:param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
295
|
-
:param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
296
|
-
:param pulumi.Input[str] schema: The schema in which to create the network rule.
|
|
297
|
-
:param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
298
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
293
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the network rule.
|
|
294
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the network rule.
|
|
295
|
+
:param pulumi.Input[builtins.str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
296
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
297
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the network rule.
|
|
298
|
+
:param pulumi.Input[builtins.str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
299
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
299
300
|
"""
|
|
300
301
|
...
|
|
301
302
|
@overload
|
|
@@ -325,13 +326,13 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
325
326
|
def _internal_init(__self__,
|
|
326
327
|
resource_name: str,
|
|
327
328
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
328
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
330
|
-
mode: Optional[pulumi.Input[str]] = None,
|
|
331
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
333
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
334
|
-
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
329
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
335
|
+
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
335
336
|
__props__=None):
|
|
336
337
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
337
338
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -369,14 +370,14 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
369
370
|
def get(resource_name: str,
|
|
370
371
|
id: pulumi.Input[str],
|
|
371
372
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
372
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
373
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
374
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
mode: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
377
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
378
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
379
|
-
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'NetworkRule':
|
|
373
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
374
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
375
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
376
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
377
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
379
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
380
|
+
value_lists: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'NetworkRule':
|
|
380
381
|
"""
|
|
381
382
|
Get an existing NetworkRule resource's state with the given name, id, and optional extra
|
|
382
383
|
properties used to qualify the lookup.
|
|
@@ -384,14 +385,14 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
384
385
|
:param str resource_name: The unique name of the resulting resource.
|
|
385
386
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
386
387
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
|
-
:param pulumi.Input[str] comment: Specifies a comment for the network rule.
|
|
388
|
-
:param pulumi.Input[str] database: The database in which to create the network rule.
|
|
389
|
-
: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).
|
|
390
|
-
:param pulumi.Input[str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
391
|
-
:param pulumi.Input[str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
392
|
-
:param pulumi.Input[str] schema: The schema in which to create the network rule.
|
|
393
|
-
:param pulumi.Input[str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
394
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
388
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the network rule.
|
|
389
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the network rule.
|
|
390
|
+
: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).
|
|
391
|
+
:param pulumi.Input[builtins.str] mode: Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
392
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
393
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the network rule.
|
|
394
|
+
:param pulumi.Input[builtins.str] type: Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
395
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] value_lists: Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
395
396
|
"""
|
|
396
397
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
397
398
|
|
|
@@ -409,7 +410,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
409
410
|
|
|
410
411
|
@property
|
|
411
412
|
@pulumi.getter
|
|
412
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
413
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
413
414
|
"""
|
|
414
415
|
Specifies a comment for the network rule.
|
|
415
416
|
"""
|
|
@@ -417,7 +418,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
417
418
|
|
|
418
419
|
@property
|
|
419
420
|
@pulumi.getter
|
|
420
|
-
def database(self) -> pulumi.Output[str]:
|
|
421
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
421
422
|
"""
|
|
422
423
|
The database in which to create the network rule.
|
|
423
424
|
"""
|
|
@@ -425,7 +426,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
425
426
|
|
|
426
427
|
@property
|
|
427
428
|
@pulumi.getter(name="fullyQualifiedName")
|
|
428
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
429
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
429
430
|
"""
|
|
430
431
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
431
432
|
"""
|
|
@@ -433,7 +434,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
433
434
|
|
|
434
435
|
@property
|
|
435
436
|
@pulumi.getter
|
|
436
|
-
def mode(self) -> pulumi.Output[str]:
|
|
437
|
+
def mode(self) -> pulumi.Output[builtins.str]:
|
|
437
438
|
"""
|
|
438
439
|
Specifies what is restricted by the network rule. Valid values are INGRESS, INTERNAL_STAGE and EGRESS; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
439
440
|
"""
|
|
@@ -441,7 +442,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
441
442
|
|
|
442
443
|
@property
|
|
443
444
|
@pulumi.getter
|
|
444
|
-
def name(self) -> pulumi.Output[str]:
|
|
445
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
445
446
|
"""
|
|
446
447
|
Specifies the identifier for the network rule; must be unique for the database and schema in which the network rule is created.
|
|
447
448
|
"""
|
|
@@ -449,7 +450,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
449
450
|
|
|
450
451
|
@property
|
|
451
452
|
@pulumi.getter
|
|
452
|
-
def schema(self) -> pulumi.Output[str]:
|
|
453
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
453
454
|
"""
|
|
454
455
|
The schema in which to create the network rule.
|
|
455
456
|
"""
|
|
@@ -457,7 +458,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
457
458
|
|
|
458
459
|
@property
|
|
459
460
|
@pulumi.getter
|
|
460
|
-
def type(self) -> pulumi.Output[str]:
|
|
461
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
461
462
|
"""
|
|
462
463
|
Specifies the type of network identifiers being allowed or blocked. A network rule can have only one type. Allowed values are IPV4, AWSVPCEID, AZURELINKID and HOST_PORT; allowed values are determined by the mode of the network rule; see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
463
464
|
"""
|
|
@@ -465,7 +466,7 @@ class NetworkRule(pulumi.CustomResource):
|
|
|
465
466
|
|
|
466
467
|
@property
|
|
467
468
|
@pulumi.getter(name="valueLists")
|
|
468
|
-
def value_lists(self) -> pulumi.Output[Sequence[str]]:
|
|
469
|
+
def value_lists(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
469
470
|
"""
|
|
470
471
|
Specifies the network identifiers that will be allowed or blocked. Valid values in the list are determined by the type of network rule, see https://docs.snowflake.com/en/sql-reference/sql/create-network-rule#required-parameters for details.
|
|
471
472
|
"""
|