pulumi-snowflake 0.57.0a1721977458__py3-none-any.whl → 0.57.0a1722246300__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 (31) hide show
  1. pulumi_snowflake/__init__.py +20 -0
  2. pulumi_snowflake/_inputs.py +2475 -237
  3. pulumi_snowflake/account_role.py +226 -0
  4. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +4 -0
  5. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +4 -0
  6. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +4 -0
  7. pulumi_snowflake/database.py +63 -63
  8. pulumi_snowflake/external_oauth_integration.py +2 -2
  9. pulumi_snowflake/get_network_policies.py +122 -0
  10. pulumi_snowflake/get_roles.py +37 -31
  11. pulumi_snowflake/get_schemas.py +115 -38
  12. pulumi_snowflake/get_streamlits.py +159 -0
  13. pulumi_snowflake/network_policy.py +103 -19
  14. pulumi_snowflake/oauth_integration_for_custom_clients.py +18 -14
  15. pulumi_snowflake/oauth_integration_for_partner_applications.py +18 -14
  16. pulumi_snowflake/outputs.py +5849 -2728
  17. pulumi_snowflake/pulumi-plugin.json +1 -1
  18. pulumi_snowflake/role.py +44 -72
  19. pulumi_snowflake/saml2_integration.py +32 -28
  20. pulumi_snowflake/schema.py +905 -151
  21. pulumi_snowflake/scim_integration.py +25 -21
  22. pulumi_snowflake/secondary_database.py +63 -63
  23. pulumi_snowflake/shared_database.py +63 -63
  24. pulumi_snowflake/streamlit.py +650 -0
  25. pulumi_snowflake/table.py +0 -120
  26. pulumi_snowflake/table_constraint.py +2 -2
  27. pulumi_snowflake/unsafe_execute.py +8 -8
  28. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/METADATA +1 -1
  29. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/RECORD +31 -27
  30. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/WHEEL +1 -1
  31. {pulumi_snowflake-0.57.0a1721977458.dist-info → pulumi_snowflake-0.57.0a1722246300.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,226 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['AccountRoleArgs', 'AccountRole']
15
+
16
+ @pulumi.input_type
17
+ class AccountRoleArgs:
18
+ def __init__(__self__, *,
19
+ comment: Optional[pulumi.Input[str]] = None,
20
+ name: Optional[pulumi.Input[str]] = None):
21
+ """
22
+ The set of arguments for constructing a AccountRole resource.
23
+ """
24
+ if comment is not None:
25
+ pulumi.set(__self__, "comment", comment)
26
+ if name is not None:
27
+ pulumi.set(__self__, "name", name)
28
+
29
+ @property
30
+ @pulumi.getter
31
+ def comment(self) -> Optional[pulumi.Input[str]]:
32
+ return pulumi.get(self, "comment")
33
+
34
+ @comment.setter
35
+ def comment(self, value: Optional[pulumi.Input[str]]):
36
+ pulumi.set(self, "comment", value)
37
+
38
+ @property
39
+ @pulumi.getter
40
+ def name(self) -> Optional[pulumi.Input[str]]:
41
+ return pulumi.get(self, "name")
42
+
43
+ @name.setter
44
+ def name(self, value: Optional[pulumi.Input[str]]):
45
+ pulumi.set(self, "name", value)
46
+
47
+
48
+ @pulumi.input_type
49
+ class _AccountRoleState:
50
+ def __init__(__self__, *,
51
+ comment: Optional[pulumi.Input[str]] = None,
52
+ name: Optional[pulumi.Input[str]] = None,
53
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]] = None):
54
+ """
55
+ Input properties used for looking up and filtering AccountRole resources.
56
+ :param pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
57
+ """
58
+ if comment is not None:
59
+ pulumi.set(__self__, "comment", comment)
60
+ if name is not None:
61
+ pulumi.set(__self__, "name", name)
62
+ if show_outputs is not None:
63
+ pulumi.set(__self__, "show_outputs", show_outputs)
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def comment(self) -> Optional[pulumi.Input[str]]:
68
+ return pulumi.get(self, "comment")
69
+
70
+ @comment.setter
71
+ def comment(self, value: Optional[pulumi.Input[str]]):
72
+ pulumi.set(self, "comment", value)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def name(self) -> Optional[pulumi.Input[str]]:
77
+ return pulumi.get(self, "name")
78
+
79
+ @name.setter
80
+ def name(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "name", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="showOutputs")
85
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]]:
86
+ """
87
+ Outputs the result of `SHOW ROLES` for the given role.
88
+ """
89
+ return pulumi.get(self, "show_outputs")
90
+
91
+ @show_outputs.setter
92
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]]):
93
+ pulumi.set(self, "show_outputs", value)
94
+
95
+
96
+ class AccountRole(pulumi.CustomResource):
97
+ @overload
98
+ def __init__(__self__,
99
+ resource_name: str,
100
+ opts: Optional[pulumi.ResourceOptions] = None,
101
+ comment: Optional[pulumi.Input[str]] = None,
102
+ name: Optional[pulumi.Input[str]] = None,
103
+ __props__=None):
104
+ """
105
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
106
+
107
+ The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
108
+
109
+ ## Minimal
110
+
111
+ resource "AccountRole" "minimal" {
112
+ name = "role_name"
113
+ }
114
+
115
+ ## Complete (with every optional set)
116
+
117
+ resource "AccountRole" "complete" {
118
+ name = "role_name"
119
+ comment = "my account role"
120
+ }
121
+
122
+ :param str resource_name: The name of the resource.
123
+ :param pulumi.ResourceOptions opts: Options for the resource.
124
+ """
125
+ ...
126
+ @overload
127
+ def __init__(__self__,
128
+ resource_name: str,
129
+ args: Optional[AccountRoleArgs] = None,
130
+ opts: Optional[pulumi.ResourceOptions] = None):
131
+ """
132
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
133
+
134
+ The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
135
+
136
+ ## Minimal
137
+
138
+ resource "AccountRole" "minimal" {
139
+ name = "role_name"
140
+ }
141
+
142
+ ## Complete (with every optional set)
143
+
144
+ resource "AccountRole" "complete" {
145
+ name = "role_name"
146
+ comment = "my account role"
147
+ }
148
+
149
+ :param str resource_name: The name of the resource.
150
+ :param AccountRoleArgs args: The arguments to use to populate this resource's properties.
151
+ :param pulumi.ResourceOptions opts: Options for the resource.
152
+ """
153
+ ...
154
+ def __init__(__self__, resource_name: str, *args, **kwargs):
155
+ resource_args, opts = _utilities.get_resource_args_opts(AccountRoleArgs, pulumi.ResourceOptions, *args, **kwargs)
156
+ if resource_args is not None:
157
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
158
+ else:
159
+ __self__._internal_init(resource_name, *args, **kwargs)
160
+
161
+ def _internal_init(__self__,
162
+ resource_name: str,
163
+ opts: Optional[pulumi.ResourceOptions] = None,
164
+ comment: Optional[pulumi.Input[str]] = None,
165
+ name: Optional[pulumi.Input[str]] = None,
166
+ __props__=None):
167
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
168
+ if not isinstance(opts, pulumi.ResourceOptions):
169
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
170
+ if opts.id is None:
171
+ if __props__ is not None:
172
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
173
+ __props__ = AccountRoleArgs.__new__(AccountRoleArgs)
174
+
175
+ __props__.__dict__["comment"] = comment
176
+ __props__.__dict__["name"] = name
177
+ __props__.__dict__["show_outputs"] = None
178
+ super(AccountRole, __self__).__init__(
179
+ 'snowflake:index/accountRole:AccountRole',
180
+ resource_name,
181
+ __props__,
182
+ opts)
183
+
184
+ @staticmethod
185
+ def get(resource_name: str,
186
+ id: pulumi.Input[str],
187
+ opts: Optional[pulumi.ResourceOptions] = None,
188
+ comment: Optional[pulumi.Input[str]] = None,
189
+ name: Optional[pulumi.Input[str]] = None,
190
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AccountRoleShowOutputArgs']]]]] = None) -> 'AccountRole':
191
+ """
192
+ Get an existing AccountRole resource's state with the given name, id, and optional extra
193
+ properties used to qualify the lookup.
194
+
195
+ :param str resource_name: The unique name of the resulting resource.
196
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
197
+ :param pulumi.ResourceOptions opts: Options for the resource.
198
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AccountRoleShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
199
+ """
200
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
201
+
202
+ __props__ = _AccountRoleState.__new__(_AccountRoleState)
203
+
204
+ __props__.__dict__["comment"] = comment
205
+ __props__.__dict__["name"] = name
206
+ __props__.__dict__["show_outputs"] = show_outputs
207
+ return AccountRole(resource_name, opts=opts, __props__=__props__)
208
+
209
+ @property
210
+ @pulumi.getter
211
+ def comment(self) -> pulumi.Output[Optional[str]]:
212
+ return pulumi.get(self, "comment")
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def name(self) -> pulumi.Output[str]:
217
+ return pulumi.get(self, "name")
218
+
219
+ @property
220
+ @pulumi.getter(name="showOutputs")
221
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.AccountRoleShowOutput']]:
222
+ """
223
+ Outputs the result of `SHOW ROLES` for the given role.
224
+ """
225
+ return pulumi.get(self, "show_outputs")
226
+
@@ -430,6 +430,8 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
430
430
  """
431
431
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
432
432
 
433
+ Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
434
+
433
435
  ## Import
434
436
 
435
437
  ```sh
@@ -459,6 +461,8 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
459
461
  """
460
462
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
461
463
 
464
+ Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
465
+
462
466
  ## Import
463
467
 
464
468
  ```sh
@@ -397,6 +397,8 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
397
397
  """
398
398
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
399
399
 
400
+ Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
401
+
400
402
  ## Import
401
403
 
402
404
  ```sh
@@ -425,6 +427,8 @@ class ApiAuthenticationIntegrationWithClientCredentials(pulumi.CustomResource):
425
427
  """
426
428
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
427
429
 
430
+ Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
431
+
428
432
  ## Import
429
433
 
430
434
  ```sh
@@ -421,6 +421,8 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
421
421
  """
422
422
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
423
423
 
424
+ Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
425
+
424
426
  ## Import
425
427
 
426
428
  ```sh
@@ -449,6 +451,8 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
449
451
  """
450
452
  !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
451
453
 
454
+ Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
455
+
452
456
  ## Import
453
457
 
454
458
  ```sh