pulumi-snowflake 2.3.0a1752907264__py3-none-any.whl → 2.3.0a1753398370__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (157) hide show
  1. pulumi_snowflake/__init__.py +1 -1
  2. pulumi_snowflake/_inputs.py +16796 -16797
  3. pulumi_snowflake/account.py +252 -253
  4. pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
  5. pulumi_snowflake/account_parameter.py +35 -36
  6. pulumi_snowflake/account_password_policy_attachment.py +18 -19
  7. pulumi_snowflake/account_role.py +42 -43
  8. pulumi_snowflake/alert.py +149 -150
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
  12. pulumi_snowflake/api_integration.py +251 -252
  13. pulumi_snowflake/authentication_policy.py +167 -168
  14. pulumi_snowflake/compute_pool.py +167 -168
  15. pulumi_snowflake/config/__init__.py +1 -1
  16. pulumi_snowflake/config/__init__.pyi +1 -2
  17. pulumi_snowflake/config/outputs.py +21 -22
  18. pulumi_snowflake/config/vars.py +43 -44
  19. pulumi_snowflake/cortex_search_service.py +191 -192
  20. pulumi_snowflake/current_account.py +2088 -2089
  21. pulumi_snowflake/database.py +353 -354
  22. pulumi_snowflake/database_role.py +63 -64
  23. pulumi_snowflake/dynamic_table.py +274 -275
  24. pulumi_snowflake/email_notification_integration.py +70 -71
  25. pulumi_snowflake/execute.py +61 -62
  26. pulumi_snowflake/external_function.py +280 -281
  27. pulumi_snowflake/external_oauth_integration.py +288 -289
  28. pulumi_snowflake/external_table.py +246 -247
  29. pulumi_snowflake/external_volume.py +68 -69
  30. pulumi_snowflake/failover_group.py +135 -136
  31. pulumi_snowflake/file_format.py +622 -623
  32. pulumi_snowflake/function_java.py +320 -321
  33. pulumi_snowflake/function_javascript.py +243 -244
  34. pulumi_snowflake/function_python.py +334 -335
  35. pulumi_snowflake/function_scala.py +320 -321
  36. pulumi_snowflake/function_sql.py +226 -227
  37. pulumi_snowflake/get_account_roles.py +16 -17
  38. pulumi_snowflake/get_accounts.py +16 -17
  39. pulumi_snowflake/get_alerts.py +22 -23
  40. pulumi_snowflake/get_compute_pools.py +23 -24
  41. pulumi_snowflake/get_connections.py +10 -11
  42. pulumi_snowflake/get_cortex_search_services.py +18 -19
  43. pulumi_snowflake/get_current_account.py +9 -10
  44. pulumi_snowflake/get_current_role.py +5 -6
  45. pulumi_snowflake/get_database.py +25 -26
  46. pulumi_snowflake/get_database_role.py +19 -20
  47. pulumi_snowflake/get_database_roles.py +17 -18
  48. pulumi_snowflake/get_databases.py +29 -30
  49. pulumi_snowflake/get_dynamic_tables.py +13 -14
  50. pulumi_snowflake/get_external_functions.py +16 -17
  51. pulumi_snowflake/get_external_tables.py +16 -17
  52. pulumi_snowflake/get_failover_groups.py +10 -11
  53. pulumi_snowflake/get_file_formats.py +16 -17
  54. pulumi_snowflake/get_functions.py +16 -17
  55. pulumi_snowflake/get_git_repositories.py +18 -19
  56. pulumi_snowflake/get_grants.py +9 -10
  57. pulumi_snowflake/get_image_repositories.py +11 -12
  58. pulumi_snowflake/get_masking_policies.py +18 -19
  59. pulumi_snowflake/get_materialized_views.py +16 -17
  60. pulumi_snowflake/get_network_policies.py +16 -17
  61. pulumi_snowflake/get_parameters.py +34 -35
  62. pulumi_snowflake/get_pipes.py +16 -17
  63. pulumi_snowflake/get_procedures.py +16 -17
  64. pulumi_snowflake/get_resource_monitors.py +10 -11
  65. pulumi_snowflake/get_row_access_policies.py +18 -19
  66. pulumi_snowflake/get_schemas.py +30 -31
  67. pulumi_snowflake/get_secrets.py +17 -18
  68. pulumi_snowflake/get_security_integrations.py +16 -17
  69. pulumi_snowflake/get_sequences.py +16 -17
  70. pulumi_snowflake/get_services.py +30 -31
  71. pulumi_snowflake/get_shares.py +10 -11
  72. pulumi_snowflake/get_stages.py +16 -17
  73. pulumi_snowflake/get_storage_integrations.py +4 -5
  74. pulumi_snowflake/get_streamlits.py +18 -19
  75. pulumi_snowflake/get_streams.py +24 -25
  76. pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
  77. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
  78. pulumi_snowflake/get_system_get_private_link_config.py +21 -22
  79. pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
  80. pulumi_snowflake/get_tables.py +24 -25
  81. pulumi_snowflake/get_tags.py +11 -12
  82. pulumi_snowflake/get_tasks.py +30 -31
  83. pulumi_snowflake/get_users.py +29 -30
  84. pulumi_snowflake/get_views.py +24 -25
  85. pulumi_snowflake/get_warehouses.py +22 -23
  86. pulumi_snowflake/git_repository.py +133 -134
  87. pulumi_snowflake/grant_account_role.py +52 -53
  88. pulumi_snowflake/grant_application_role.py +52 -53
  89. pulumi_snowflake/grant_database_role.py +69 -70
  90. pulumi_snowflake/grant_ownership.py +55 -56
  91. pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
  92. pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
  93. pulumi_snowflake/grant_privileges_to_share.py +154 -155
  94. pulumi_snowflake/image_repository.py +80 -81
  95. pulumi_snowflake/job_service.py +148 -149
  96. pulumi_snowflake/legacy_service_user.py +1269 -1270
  97. pulumi_snowflake/managed_account.py +140 -141
  98. pulumi_snowflake/masking_policy.py +136 -137
  99. pulumi_snowflake/materialized_view.py +149 -150
  100. pulumi_snowflake/network_policy.py +116 -117
  101. pulumi_snowflake/network_policy_attachment.py +52 -53
  102. pulumi_snowflake/network_rule.py +129 -130
  103. pulumi_snowflake/notification_integration.py +298 -299
  104. pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
  105. pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
  106. pulumi_snowflake/object_parameter.py +72 -73
  107. pulumi_snowflake/outputs.py +15510 -15511
  108. pulumi_snowflake/password_policy.py +299 -300
  109. pulumi_snowflake/pipe.py +181 -182
  110. pulumi_snowflake/primary_connection.py +70 -71
  111. pulumi_snowflake/procedure_java.py +341 -342
  112. pulumi_snowflake/procedure_javascript.py +247 -248
  113. pulumi_snowflake/procedure_python.py +338 -339
  114. pulumi_snowflake/procedure_scala.py +341 -342
  115. pulumi_snowflake/procedure_sql.py +247 -248
  116. pulumi_snowflake/provider.py +377 -378
  117. pulumi_snowflake/pulumi-plugin.json +1 -1
  118. pulumi_snowflake/resource_monitor.py +165 -166
  119. pulumi_snowflake/row_access_policy.py +102 -103
  120. pulumi_snowflake/saml2_integration.py +303 -304
  121. pulumi_snowflake/schema.py +390 -391
  122. pulumi_snowflake/scim_integration.py +133 -134
  123. pulumi_snowflake/secondary_connection.py +72 -73
  124. pulumi_snowflake/secondary_database.py +350 -351
  125. pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
  126. pulumi_snowflake/secret_with_basic_authentication.py +121 -122
  127. pulumi_snowflake/secret_with_client_credentials.py +125 -126
  128. pulumi_snowflake/secret_with_generic_string.py +104 -105
  129. pulumi_snowflake/sequence.py +121 -122
  130. pulumi_snowflake/service.py +233 -234
  131. pulumi_snowflake/service_user.py +1239 -1240
  132. pulumi_snowflake/share.py +61 -62
  133. pulumi_snowflake/shared_database.py +299 -300
  134. pulumi_snowflake/stage.py +234 -235
  135. pulumi_snowflake/storage_integration.py +230 -231
  136. pulumi_snowflake/stream_on_directory_table.py +128 -129
  137. pulumi_snowflake/stream_on_external_table.py +151 -152
  138. pulumi_snowflake/stream_on_table.py +164 -165
  139. pulumi_snowflake/stream_on_view.py +164 -165
  140. pulumi_snowflake/streamlit.py +184 -185
  141. pulumi_snowflake/table.py +147 -148
  142. pulumi_snowflake/table_column_masking_policy_application.py +52 -53
  143. pulumi_snowflake/table_constraint.py +191 -192
  144. pulumi_snowflake/tag.py +114 -115
  145. pulumi_snowflake/tag_association.py +86 -87
  146. pulumi_snowflake/task.py +1224 -1225
  147. pulumi_snowflake/user.py +1346 -1347
  148. pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
  149. pulumi_snowflake/user_password_policy_attachment.py +35 -36
  150. pulumi_snowflake/user_public_keys.py +52 -53
  151. pulumi_snowflake/view.py +187 -188
  152. pulumi_snowflake/warehouse.py +286 -287
  153. {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
  154. pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
  155. pulumi_snowflake-2.3.0a1752907264.dist-info/RECORD +0 -158
  156. {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
  157. {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,14 +19,14 @@ __all__ = ['NetworkPolicyAttachmentArgs', 'NetworkPolicyAttachment']
20
19
  @pulumi.input_type
21
20
  class NetworkPolicyAttachmentArgs:
22
21
  def __init__(__self__, *,
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):
22
+ network_policy_name: pulumi.Input[_builtins.str],
23
+ set_for_account: Optional[pulumi.Input[_builtins.bool]] = None,
24
+ users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
26
25
  """
27
26
  The set of arguments for constructing a NetworkPolicyAttachment resource.
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: (Default: `false`) 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
27
+ :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.
28
+ :param pulumi.Input[_builtins.bool] set_for_account: (Default: `false`) 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[_builtins.str]]] users: Specifies which users the network policy should be attached to
31
30
  """
32
31
  pulumi.set(__self__, "network_policy_name", network_policy_name)
33
32
  if set_for_account is not None:
@@ -35,54 +34,54 @@ class NetworkPolicyAttachmentArgs:
35
34
  if users is not None:
36
35
  pulumi.set(__self__, "users", users)
37
36
 
38
- @property
37
+ @_builtins.property
39
38
  @pulumi.getter(name="networkPolicyName")
40
- def network_policy_name(self) -> pulumi.Input[builtins.str]:
39
+ def network_policy_name(self) -> pulumi.Input[_builtins.str]:
41
40
  """
42
41
  Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
43
42
  """
44
43
  return pulumi.get(self, "network_policy_name")
45
44
 
46
45
  @network_policy_name.setter
47
- def network_policy_name(self, value: pulumi.Input[builtins.str]):
46
+ def network_policy_name(self, value: pulumi.Input[_builtins.str]):
48
47
  pulumi.set(self, "network_policy_name", value)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter(name="setForAccount")
52
- def set_for_account(self) -> Optional[pulumi.Input[builtins.bool]]:
51
+ def set_for_account(self) -> Optional[pulumi.Input[_builtins.bool]]:
53
52
  """
54
53
  (Default: `false`) 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.
55
54
  """
56
55
  return pulumi.get(self, "set_for_account")
57
56
 
58
57
  @set_for_account.setter
59
- def set_for_account(self, value: Optional[pulumi.Input[builtins.bool]]):
58
+ def set_for_account(self, value: Optional[pulumi.Input[_builtins.bool]]):
60
59
  pulumi.set(self, "set_for_account", value)
61
60
 
62
- @property
61
+ @_builtins.property
63
62
  @pulumi.getter
64
- def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
63
+ def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
65
64
  """
66
65
  Specifies which users the network policy should be attached to
67
66
  """
68
67
  return pulumi.get(self, "users")
69
68
 
70
69
  @users.setter
71
- def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
70
+ def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
72
71
  pulumi.set(self, "users", value)
73
72
 
74
73
 
75
74
  @pulumi.input_type
76
75
  class _NetworkPolicyAttachmentState:
77
76
  def __init__(__self__, *,
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):
77
+ network_policy_name: Optional[pulumi.Input[_builtins.str]] = None,
78
+ set_for_account: Optional[pulumi.Input[_builtins.bool]] = None,
79
+ users: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
81
80
  """
82
81
  Input properties used for looking up and filtering NetworkPolicyAttachment resources.
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: (Default: `false`) 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
82
+ :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.
83
+ :param pulumi.Input[_builtins.bool] set_for_account: (Default: `false`) 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[_builtins.str]]] users: Specifies which users the network policy should be attached to
86
85
  """
87
86
  if network_policy_name is not None:
88
87
  pulumi.set(__self__, "network_policy_name", network_policy_name)
@@ -91,40 +90,40 @@ class _NetworkPolicyAttachmentState:
91
90
  if users is not None:
92
91
  pulumi.set(__self__, "users", users)
93
92
 
94
- @property
93
+ @_builtins.property
95
94
  @pulumi.getter(name="networkPolicyName")
96
- def network_policy_name(self) -> Optional[pulumi.Input[builtins.str]]:
95
+ def network_policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
97
96
  """
98
97
  Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
99
98
  """
100
99
  return pulumi.get(self, "network_policy_name")
101
100
 
102
101
  @network_policy_name.setter
103
- def network_policy_name(self, value: Optional[pulumi.Input[builtins.str]]):
102
+ def network_policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
104
103
  pulumi.set(self, "network_policy_name", value)
105
104
 
106
- @property
105
+ @_builtins.property
107
106
  @pulumi.getter(name="setForAccount")
108
- def set_for_account(self) -> Optional[pulumi.Input[builtins.bool]]:
107
+ def set_for_account(self) -> Optional[pulumi.Input[_builtins.bool]]:
109
108
  """
110
109
  (Default: `false`) 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.
111
110
  """
112
111
  return pulumi.get(self, "set_for_account")
113
112
 
114
113
  @set_for_account.setter
115
- def set_for_account(self, value: Optional[pulumi.Input[builtins.bool]]):
114
+ def set_for_account(self, value: Optional[pulumi.Input[_builtins.bool]]):
116
115
  pulumi.set(self, "set_for_account", value)
117
116
 
118
- @property
117
+ @_builtins.property
119
118
  @pulumi.getter
120
- def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
119
+ def users(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
121
120
  """
122
121
  Specifies which users the network policy should be attached to
123
122
  """
124
123
  return pulumi.get(self, "users")
125
124
 
126
125
  @users.setter
127
- def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
126
+ def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
128
127
  pulumi.set(self, "users", value)
129
128
 
130
129
 
@@ -134,9 +133,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
134
133
  def __init__(__self__,
135
134
  resource_name: str,
136
135
  opts: Optional[pulumi.ResourceOptions] = None,
137
- network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
138
- set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
139
- users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.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,
140
139
  __props__=None):
141
140
  """
142
141
  ## Import
@@ -147,9 +146,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
147
146
 
148
147
  :param str resource_name: The name of the resource.
149
148
  :param pulumi.ResourceOptions opts: Options for the resource.
150
- :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.
151
- :param pulumi.Input[builtins.bool] set_for_account: (Default: `false`) 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.
152
- :param pulumi.Input[Sequence[pulumi.Input[builtins.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: (Default: `false`) 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
153
152
  """
154
153
  ...
155
154
  @overload
@@ -179,9 +178,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
179
178
  def _internal_init(__self__,
180
179
  resource_name: str,
181
180
  opts: Optional[pulumi.ResourceOptions] = None,
182
- network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
183
- set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
184
- users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.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,
185
184
  __props__=None):
186
185
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
187
186
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -206,9 +205,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
206
205
  def get(resource_name: str,
207
206
  id: pulumi.Input[str],
208
207
  opts: Optional[pulumi.ResourceOptions] = None,
209
- network_policy_name: Optional[pulumi.Input[builtins.str]] = None,
210
- set_for_account: Optional[pulumi.Input[builtins.bool]] = None,
211
- users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.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':
212
211
  """
213
212
  Get an existing NetworkPolicyAttachment resource's state with the given name, id, and optional extra
214
213
  properties used to qualify the lookup.
@@ -216,9 +215,9 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
216
215
  :param str resource_name: The unique name of the resulting resource.
217
216
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
218
217
  :param pulumi.ResourceOptions opts: Options for the resource.
219
- :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.
220
- :param pulumi.Input[builtins.bool] set_for_account: (Default: `false`) 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.
221
- :param pulumi.Input[Sequence[pulumi.Input[builtins.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: (Default: `false`) 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
222
221
  """
223
222
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
224
223
 
@@ -229,25 +228,25 @@ class NetworkPolicyAttachment(pulumi.CustomResource):
229
228
  __props__.__dict__["users"] = users
230
229
  return NetworkPolicyAttachment(resource_name, opts=opts, __props__=__props__)
231
230
 
232
- @property
231
+ @_builtins.property
233
232
  @pulumi.getter(name="networkPolicyName")
234
- def network_policy_name(self) -> pulumi.Output[builtins.str]:
233
+ def network_policy_name(self) -> pulumi.Output[_builtins.str]:
235
234
  """
236
235
  Specifies the identifier for the network policy; must be unique for the account in which the network policy is created.
237
236
  """
238
237
  return pulumi.get(self, "network_policy_name")
239
238
 
240
- @property
239
+ @_builtins.property
241
240
  @pulumi.getter(name="setForAccount")
242
- def set_for_account(self) -> pulumi.Output[Optional[builtins.bool]]:
241
+ def set_for_account(self) -> pulumi.Output[Optional[_builtins.bool]]:
243
242
  """
244
243
  (Default: `false`) 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.
245
244
  """
246
245
  return pulumi.get(self, "set_for_account")
247
246
 
248
- @property
247
+ @_builtins.property
249
248
  @pulumi.getter
250
- def users(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
249
+ def users(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
251
250
  """
252
251
  Specifies which users the network policy should be attached to
253
252
  """