pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__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.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.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.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.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
|
|
@@ -19,14 +20,14 @@ __all__ = ['NetworkPolicyAttachmentArgs', 'NetworkPolicyAttachment']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class NetworkPolicyAttachmentArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
network_policy_name: pulumi.Input[str],
|
|
23
|
-
set_for_account: Optional[pulumi.Input[bool]] = None,
|
|
24
|
-
users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
network_policy_name: pulumi.Input[builtins.str],
|
|
24
|
+
set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
|
|
25
|
+
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a NetworkPolicyAttachment resource.
|
|
27
|
-
:param pulumi.Input[str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
28
|
-
:param pulumi.Input[bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
29
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Specifies which users the network policy should be attached to
|
|
28
|
+
:param pulumi.Input[builtins.str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
29
|
+
:param pulumi.Input[builtins.bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] users: Specifies which users the network policy should be attached to
|
|
30
31
|
"""
|
|
31
32
|
pulumi.set(__self__, "network_policy_name", network_policy_name)
|
|
32
33
|
if set_for_account is not None:
|
|
@@ -36,52 +37,52 @@ class NetworkPolicyAttachmentArgs:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter(name="networkPolicyName")
|
|
39
|
-
def network_policy_name(self) -> pulumi.Input[str]:
|
|
40
|
+
def network_policy_name(self) -> pulumi.Input[builtins.str]:
|
|
40
41
|
"""
|
|
41
42
|
Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
42
43
|
"""
|
|
43
44
|
return pulumi.get(self, "network_policy_name")
|
|
44
45
|
|
|
45
46
|
@network_policy_name.setter
|
|
46
|
-
def network_policy_name(self, value: pulumi.Input[str]):
|
|
47
|
+
def network_policy_name(self, value: pulumi.Input[builtins.str]):
|
|
47
48
|
pulumi.set(self, "network_policy_name", value)
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="setForAccount")
|
|
51
|
-
def set_for_account(self) -> Optional[pulumi.Input[bool]]:
|
|
52
|
+
def set_for_account(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
52
53
|
"""
|
|
53
54
|
Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
54
55
|
"""
|
|
55
56
|
return pulumi.get(self, "set_for_account")
|
|
56
57
|
|
|
57
58
|
@set_for_account.setter
|
|
58
|
-
def set_for_account(self, value: Optional[pulumi.Input[bool]]):
|
|
59
|
+
def set_for_account(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
59
60
|
pulumi.set(self, "set_for_account", value)
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
64
|
+
def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
64
65
|
"""
|
|
65
66
|
Specifies which users the network policy should be attached to
|
|
66
67
|
"""
|
|
67
68
|
return pulumi.get(self, "users")
|
|
68
69
|
|
|
69
70
|
@users.setter
|
|
70
|
-
def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
71
|
+
def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
71
72
|
pulumi.set(self, "users", value)
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
@pulumi.input_type
|
|
75
76
|
class _NetworkPolicyAttachmentState:
|
|
76
77
|
def __init__(__self__, *,
|
|
77
|
-
network_policy_name: Optional[pulumi.Input[str]] = None,
|
|
78
|
-
set_for_account: Optional[pulumi.Input[bool]] = None,
|
|
79
|
-
users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
78
|
+
network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
79
|
+
set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
|
|
80
|
+
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
80
81
|
"""
|
|
81
82
|
Input properties used for looking up and filtering NetworkPolicyAttachment resources.
|
|
82
|
-
:param pulumi.Input[str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
83
|
-
:param pulumi.Input[bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
84
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Specifies which users the network policy should be attached to
|
|
83
|
+
:param pulumi.Input[builtins.str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
84
|
+
:param pulumi.Input[builtins.bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
85
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] users: Specifies which users the network policy should be attached to
|
|
85
86
|
"""
|
|
86
87
|
if network_policy_name is not None:
|
|
87
88
|
pulumi.set(__self__, "network_policy_name", network_policy_name)
|
|
@@ -92,38 +93,38 @@ class _NetworkPolicyAttachmentState:
|
|
|
92
93
|
|
|
93
94
|
@property
|
|
94
95
|
@pulumi.getter(name="networkPolicyName")
|
|
95
|
-
def network_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
96
|
+
def network_policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
96
97
|
"""
|
|
97
98
|
Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
98
99
|
"""
|
|
99
100
|
return pulumi.get(self, "network_policy_name")
|
|
100
101
|
|
|
101
102
|
@network_policy_name.setter
|
|
102
|
-
def network_policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
103
|
+
def network_policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
103
104
|
pulumi.set(self, "network_policy_name", value)
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter(name="setForAccount")
|
|
107
|
-
def set_for_account(self) -> Optional[pulumi.Input[bool]]:
|
|
108
|
+
def set_for_account(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
108
109
|
"""
|
|
109
110
|
Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
110
111
|
"""
|
|
111
112
|
return pulumi.get(self, "set_for_account")
|
|
112
113
|
|
|
113
114
|
@set_for_account.setter
|
|
114
|
-
def set_for_account(self, value: Optional[pulumi.Input[bool]]):
|
|
115
|
+
def set_for_account(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
115
116
|
pulumi.set(self, "set_for_account", value)
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter
|
|
119
|
-
def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
120
|
+
def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
120
121
|
"""
|
|
121
122
|
Specifies which users the network policy should be attached to
|
|
122
123
|
"""
|
|
123
124
|
return pulumi.get(self, "users")
|
|
124
125
|
|
|
125
126
|
@users.setter
|
|
126
|
-
def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
127
|
+
def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
127
128
|
pulumi.set(self, "users", value)
|
|
128
129
|
|
|
129
130
|
|
|
@@ -132,9 +133,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
132
133
|
def __init__(__self__,
|
|
133
134
|
resource_name: str,
|
|
134
135
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
135
|
-
network_policy_name: Optional[pulumi.Input[str]] = None,
|
|
136
|
-
set_for_account: Optional[pulumi.Input[bool]] = None,
|
|
137
|
-
users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
136
|
+
network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
137
|
+
set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
|
|
138
|
+
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
138
139
|
__props__=None):
|
|
139
140
|
"""
|
|
140
141
|
## Import
|
|
@@ -145,9 +146,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
145
146
|
|
|
146
147
|
:param str resource_name: The name of the resource.
|
|
147
148
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
148
|
-
:param pulumi.Input[str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
149
|
-
:param pulumi.Input[bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
150
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Specifies which users the network policy should be attached to
|
|
149
|
+
:param pulumi.Input[builtins.str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
150
|
+
:param pulumi.Input[builtins.bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
151
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] users: Specifies which users the network policy should be attached to
|
|
151
152
|
"""
|
|
152
153
|
...
|
|
153
154
|
@overload
|
|
@@ -177,9 +178,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
177
178
|
def _internal_init(__self__,
|
|
178
179
|
resource_name: str,
|
|
179
180
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
180
|
-
network_policy_name: Optional[pulumi.Input[str]] = None,
|
|
181
|
-
set_for_account: Optional[pulumi.Input[bool]] = None,
|
|
182
|
-
users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
181
|
+
network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
182
|
+
set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
|
|
183
|
+
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
183
184
|
__props__=None):
|
|
184
185
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
185
186
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -204,9 +205,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
204
205
|
def get(resource_name: str,
|
|
205
206
|
id: pulumi.Input[str],
|
|
206
207
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
207
|
-
network_policy_name: Optional[pulumi.Input[str]] = None,
|
|
208
|
-
set_for_account: Optional[pulumi.Input[bool]] = None,
|
|
209
|
-
users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'NetworkPolicyAttachment':
|
|
208
|
+
network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
209
|
+
set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
|
|
210
|
+
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'NetworkPolicyAttachment':
|
|
210
211
|
"""
|
|
211
212
|
Get an existing NetworkPolicyAttachment resource's state with the given name, id, and optional extra
|
|
212
213
|
properties used to qualify the lookup.
|
|
@@ -214,9 +215,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
214
215
|
:param str resource_name: The unique name of the resulting resource.
|
|
215
216
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
216
217
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
217
|
-
:param pulumi.Input[str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
218
|
-
:param pulumi.Input[bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
219
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Specifies which users the network policy should be attached to
|
|
218
|
+
:param pulumi.Input[builtins.str] network_policy_name: Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
219
|
+
:param pulumi.Input[builtins.bool] set_for_account: Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] users: Specifies which users the network policy should be attached to
|
|
220
221
|
"""
|
|
221
222
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
222
223
|
|
|
@@ -229,7 +230,7 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
229
230
|
|
|
230
231
|
@property
|
|
231
232
|
@pulumi.getter(name="networkPolicyName")
|
|
232
|
-
def network_policy_name(self) -> pulumi.Output[str]:
|
|
233
|
+
def network_policy_name(self) -> pulumi.Output[builtins.str]:
|
|
233
234
|
"""
|
|
234
235
|
Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
|
|
235
236
|
"""
|
|
@@ -237,7 +238,7 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
237
238
|
|
|
238
239
|
@property
|
|
239
240
|
@pulumi.getter(name="setForAccount")
|
|
240
|
-
def set_for_account(self) -> pulumi.Output[Optional[bool]]:
|
|
241
|
+
def set_for_account(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
241
242
|
"""
|
|
242
243
|
Specifies whether the network policy should be applied globally to your Snowflake account\\n\\n\\n\\n**Note:** The Snowflake user running `pulumi up` must be on an IP address allowed by the network policy to set that policy globally on the Snowflake account.\\n\\n\\n\\nAdditionally, a Snowflake account can only have one network policy set globally at any given time. This resource does not enforce one-policy-per-account, it is the user's responsibility to enforce this. If multiple network policy resources have `set_for_account: true`, the final policy set on the account will be non-deterministic.
|
|
243
244
|
"""
|
|
@@ -245,7 +246,7 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
|
|
|
245
246
|
|
|
246
247
|
@property
|
|
247
248
|
@pulumi.getter
|
|
248
|
-
def users(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
249
|
+
def users(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
249
250
|
"""
|
|
250
251
|
Specifies which users the network policy should be attached to
|
|
251
252
|
"""
|