pulumi-snowflake 1.1.4a1742960027__py3-none-any.whl → 1.2.0__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 (147) hide show
  1. pulumi_snowflake/__init__.py +1 -0
  2. pulumi_snowflake/_inputs.py +12306 -12305
  3. pulumi_snowflake/account.py +189 -188
  4. pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
  5. pulumi_snowflake/account_parameter.py +29 -28
  6. pulumi_snowflake/account_password_policy_attachment.py +15 -14
  7. pulumi_snowflake/account_role.py +32 -31
  8. pulumi_snowflake/alert.py +123 -122
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +161 -160
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +147 -146
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +157 -156
  12. pulumi_snowflake/api_integration.py +218 -217
  13. pulumi_snowflake/authentication_policy.py +137 -136
  14. pulumi_snowflake/config/__init__.py +1 -0
  15. pulumi_snowflake/config/__init__.pyi +1 -0
  16. pulumi_snowflake/config/outputs.py +16 -15
  17. pulumi_snowflake/config/vars.py +1 -0
  18. pulumi_snowflake/cortex_search_service.py +141 -140
  19. pulumi_snowflake/database.py +288 -287
  20. pulumi_snowflake/database_role.py +50 -49
  21. pulumi_snowflake/dynamic_table.py +227 -226
  22. pulumi_snowflake/email_notification_integration.py +56 -55
  23. pulumi_snowflake/execute.py +50 -49
  24. pulumi_snowflake/external_function.py +237 -236
  25. pulumi_snowflake/external_oauth_integration.py +232 -231
  26. pulumi_snowflake/external_table.py +206 -205
  27. pulumi_snowflake/external_volume.py +59 -54
  28. pulumi_snowflake/failover_group.py +109 -108
  29. pulumi_snowflake/file_format.py +512 -511
  30. pulumi_snowflake/function_java.py +255 -254
  31. pulumi_snowflake/function_javascript.py +199 -198
  32. pulumi_snowflake/function_python.py +272 -271
  33. pulumi_snowflake/function_scala.py +255 -254
  34. pulumi_snowflake/function_sql.py +185 -184
  35. pulumi_snowflake/get_account_roles.py +12 -11
  36. pulumi_snowflake/get_accounts.py +12 -11
  37. pulumi_snowflake/get_alerts.py +23 -18
  38. pulumi_snowflake/get_connections.py +7 -6
  39. pulumi_snowflake/get_cortex_search_services.py +18 -13
  40. pulumi_snowflake/get_current_account.py +11 -6
  41. pulumi_snowflake/get_current_role.py +9 -4
  42. pulumi_snowflake/get_database.py +21 -16
  43. pulumi_snowflake/get_database_role.py +20 -15
  44. pulumi_snowflake/get_database_roles.py +12 -11
  45. pulumi_snowflake/get_databases.py +24 -23
  46. pulumi_snowflake/get_dynamic_tables.py +13 -8
  47. pulumi_snowflake/get_external_functions.py +18 -13
  48. pulumi_snowflake/get_external_tables.py +18 -13
  49. pulumi_snowflake/get_failover_groups.py +13 -8
  50. pulumi_snowflake/get_file_formats.py +18 -13
  51. pulumi_snowflake/get_functions.py +18 -13
  52. pulumi_snowflake/get_grants.py +6 -1
  53. pulumi_snowflake/get_masking_policies.py +13 -12
  54. pulumi_snowflake/get_materialized_views.py +18 -13
  55. pulumi_snowflake/get_network_policies.py +13 -12
  56. pulumi_snowflake/get_parameters.py +34 -29
  57. pulumi_snowflake/get_pipes.py +18 -13
  58. pulumi_snowflake/get_procedures.py +18 -13
  59. pulumi_snowflake/get_resource_monitors.py +7 -6
  60. pulumi_snowflake/get_row_access_policies.py +13 -12
  61. pulumi_snowflake/get_schemas.py +24 -23
  62. pulumi_snowflake/get_secrets.py +17 -12
  63. pulumi_snowflake/get_security_integrations.py +13 -12
  64. pulumi_snowflake/get_sequences.py +18 -13
  65. pulumi_snowflake/get_shares.py +13 -8
  66. pulumi_snowflake/get_stages.py +18 -13
  67. pulumi_snowflake/get_storage_integrations.py +8 -3
  68. pulumi_snowflake/get_streamlits.py +13 -12
  69. pulumi_snowflake/get_streams.py +18 -17
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +14 -9
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +12 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +17 -12
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +10 -5
  74. pulumi_snowflake/get_tables.py +18 -13
  75. pulumi_snowflake/get_tags.py +7 -6
  76. pulumi_snowflake/get_tasks.py +23 -22
  77. pulumi_snowflake/get_users.py +24 -23
  78. pulumi_snowflake/get_views.py +18 -17
  79. pulumi_snowflake/get_warehouses.py +19 -18
  80. pulumi_snowflake/grant_account_role.py +43 -42
  81. pulumi_snowflake/grant_application_role.py +43 -42
  82. pulumi_snowflake/grant_database_role.py +57 -56
  83. pulumi_snowflake/grant_ownership.py +43 -42
  84. pulumi_snowflake/grant_privileges_to_account_role.py +107 -106
  85. pulumi_snowflake/grant_privileges_to_database_role.py +104 -103
  86. pulumi_snowflake/grant_privileges_to_share.py +127 -126
  87. pulumi_snowflake/legacy_service_user.py +1048 -1047
  88. pulumi_snowflake/managed_account.py +116 -115
  89. pulumi_snowflake/masking_policy.py +109 -108
  90. pulumi_snowflake/materialized_view.py +126 -125
  91. pulumi_snowflake/network_policy.py +92 -91
  92. pulumi_snowflake/network_policy_attachment.py +46 -45
  93. pulumi_snowflake/network_rule.py +106 -105
  94. pulumi_snowflake/notification_integration.py +254 -240
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +225 -224
  96. pulumi_snowflake/oauth_integration_for_partner_applications.py +143 -142
  97. pulumi_snowflake/object_parameter.py +60 -59
  98. pulumi_snowflake/outputs.py +9282 -9281
  99. pulumi_snowflake/password_policy.py +291 -286
  100. pulumi_snowflake/pipe.py +151 -150
  101. pulumi_snowflake/primary_connection.py +55 -54
  102. pulumi_snowflake/procedure_java.py +273 -272
  103. pulumi_snowflake/procedure_javascript.py +203 -202
  104. pulumi_snowflake/procedure_python.py +273 -272
  105. pulumi_snowflake/procedure_scala.py +273 -272
  106. pulumi_snowflake/procedure_sql.py +203 -202
  107. pulumi_snowflake/provider.py +303 -302
  108. pulumi_snowflake/pulumi-plugin.json +1 -1
  109. pulumi_snowflake/resource_monitor.py +134 -133
  110. pulumi_snowflake/row_access_policy.py +78 -77
  111. pulumi_snowflake/saml2_integration.py +258 -257
  112. pulumi_snowflake/schema.py +322 -321
  113. pulumi_snowflake/scim_integration.py +109 -108
  114. pulumi_snowflake/secondary_connection.py +57 -56
  115. pulumi_snowflake/secondary_database.py +288 -287
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
  117. pulumi_snowflake/secret_with_basic_authentication.py +95 -94
  118. pulumi_snowflake/secret_with_client_credentials.py +99 -98
  119. pulumi_snowflake/secret_with_generic_string.py +81 -80
  120. pulumi_snowflake/sequence.py +108 -107
  121. pulumi_snowflake/service_user.py +1021 -1020
  122. pulumi_snowflake/share.py +50 -49
  123. pulumi_snowflake/shared_database.py +246 -245
  124. pulumi_snowflake/stage.py +190 -189
  125. pulumi_snowflake/storage_integration.py +231 -165
  126. pulumi_snowflake/stream_on_directory_table.py +100 -99
  127. pulumi_snowflake/stream_on_external_table.py +117 -116
  128. pulumi_snowflake/stream_on_table.py +127 -126
  129. pulumi_snowflake/stream_on_view.py +127 -126
  130. pulumi_snowflake/streamlit.py +148 -147
  131. pulumi_snowflake/table.py +119 -118
  132. pulumi_snowflake/table_column_masking_policy_application.py +43 -42
  133. pulumi_snowflake/table_constraint.py +173 -172
  134. pulumi_snowflake/tag.py +92 -91
  135. pulumi_snowflake/tag_association.py +74 -73
  136. pulumi_snowflake/task.py +1005 -1004
  137. pulumi_snowflake/user.py +1110 -1109
  138. pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
  139. pulumi_snowflake/user_password_policy_attachment.py +29 -28
  140. pulumi_snowflake/user_public_keys.py +43 -42
  141. pulumi_snowflake/view.py +142 -141
  142. pulumi_snowflake/warehouse.py +244 -243
  143. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/METADATA +1 -1
  144. pulumi_snowflake-1.2.0.dist-info/RECORD +148 -0
  145. pulumi_snowflake-1.1.4a1742960027.dist-info/RECORD +0 -148
  146. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/WHEEL +0 -0
  147. {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.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: (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
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
- 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
+ (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.
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: (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
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
- 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
+ (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.
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: (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
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: (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
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,15 +238,15 @@ 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
- 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
+ (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.
243
244
  """
244
245
  return pulumi.get(self, "set_for_account")
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
  """