pulumi-snowflake 0.61.0a1731393894__py3-none-any.whl → 0.61.1__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 +110 -0
- pulumi_snowflake/_inputs.py +5182 -1837
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +86 -36
- pulumi_snowflake/config/vars.py +104 -40
- pulumi_snowflake/external_volume.py +378 -0
- pulumi_snowflake/get_connections.py +147 -0
- pulumi_snowflake/get_grants.py +4 -0
- pulumi_snowflake/get_secrets.py +204 -0
- pulumi_snowflake/get_streams.py +105 -56
- pulumi_snowflake/grant_account_role.py +2 -2
- pulumi_snowflake/grant_application_role.py +2 -2
- pulumi_snowflake/grant_database_role.py +2 -2
- pulumi_snowflake/grant_ownership.py +14 -14
- pulumi_snowflake/grant_privileges_to_account_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_database_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_share.py +2 -2
- pulumi_snowflake/legacy_service_user.py +4 -0
- pulumi_snowflake/outputs.py +4390 -1335
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/provider.py +433 -146
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/stream_on_directory_table.py +530 -0
- pulumi_snowflake/stream_on_external_table.py +50 -2
- pulumi_snowflake/stream_on_table.py +48 -0
- pulumi_snowflake/stream_on_view.py +679 -0
- pulumi_snowflake/tag_association.py +7 -7
- pulumi_snowflake/user.py +4 -0
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/RECORD +39 -25
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/WHEEL +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['AccountAuthenticationPolicyAttachmentArgs', 'AccountAuthenticationPolicyAttachment']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class AccountAuthenticationPolicyAttachmentArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
authentication_policy: pulumi.Input[str]):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a AccountAuthenticationPolicyAttachment resource.
|
|
25
|
+
:param pulumi.Input[str] authentication_policy: Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
26
|
+
"""
|
|
27
|
+
pulumi.set(__self__, "authentication_policy", authentication_policy)
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
@pulumi.getter(name="authenticationPolicy")
|
|
31
|
+
def authentication_policy(self) -> pulumi.Input[str]:
|
|
32
|
+
"""
|
|
33
|
+
Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
34
|
+
"""
|
|
35
|
+
return pulumi.get(self, "authentication_policy")
|
|
36
|
+
|
|
37
|
+
@authentication_policy.setter
|
|
38
|
+
def authentication_policy(self, value: pulumi.Input[str]):
|
|
39
|
+
pulumi.set(self, "authentication_policy", value)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@pulumi.input_type
|
|
43
|
+
class _AccountAuthenticationPolicyAttachmentState:
|
|
44
|
+
def __init__(__self__, *,
|
|
45
|
+
authentication_policy: Optional[pulumi.Input[str]] = None):
|
|
46
|
+
"""
|
|
47
|
+
Input properties used for looking up and filtering AccountAuthenticationPolicyAttachment resources.
|
|
48
|
+
:param pulumi.Input[str] authentication_policy: Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
49
|
+
"""
|
|
50
|
+
if authentication_policy is not None:
|
|
51
|
+
pulumi.set(__self__, "authentication_policy", authentication_policy)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="authenticationPolicy")
|
|
55
|
+
def authentication_policy(self) -> Optional[pulumi.Input[str]]:
|
|
56
|
+
"""
|
|
57
|
+
Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "authentication_policy")
|
|
60
|
+
|
|
61
|
+
@authentication_policy.setter
|
|
62
|
+
def authentication_policy(self, value: Optional[pulumi.Input[str]]):
|
|
63
|
+
pulumi.set(self, "authentication_policy", value)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class AccountAuthenticationPolicyAttachment(pulumi.CustomResource):
|
|
67
|
+
@overload
|
|
68
|
+
def __init__(__self__,
|
|
69
|
+
resource_name: str,
|
|
70
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
71
|
+
authentication_policy: Optional[pulumi.Input[str]] = None,
|
|
72
|
+
__props__=None):
|
|
73
|
+
"""
|
|
74
|
+
Create a AccountAuthenticationPolicyAttachment resource with the given unique name, props, and options.
|
|
75
|
+
:param str resource_name: The name of the resource.
|
|
76
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
77
|
+
:param pulumi.Input[str] authentication_policy: Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
78
|
+
"""
|
|
79
|
+
...
|
|
80
|
+
@overload
|
|
81
|
+
def __init__(__self__,
|
|
82
|
+
resource_name: str,
|
|
83
|
+
args: AccountAuthenticationPolicyAttachmentArgs,
|
|
84
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
85
|
+
"""
|
|
86
|
+
Create a AccountAuthenticationPolicyAttachment resource with the given unique name, props, and options.
|
|
87
|
+
:param str resource_name: The name of the resource.
|
|
88
|
+
:param AccountAuthenticationPolicyAttachmentArgs args: The arguments to use to populate this resource's properties.
|
|
89
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
90
|
+
"""
|
|
91
|
+
...
|
|
92
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
93
|
+
resource_args, opts = _utilities.get_resource_args_opts(AccountAuthenticationPolicyAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
94
|
+
if resource_args is not None:
|
|
95
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
96
|
+
else:
|
|
97
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
98
|
+
|
|
99
|
+
def _internal_init(__self__,
|
|
100
|
+
resource_name: str,
|
|
101
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
102
|
+
authentication_policy: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
__props__=None):
|
|
104
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
105
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
106
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
107
|
+
if opts.id is None:
|
|
108
|
+
if __props__ is not None:
|
|
109
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
110
|
+
__props__ = AccountAuthenticationPolicyAttachmentArgs.__new__(AccountAuthenticationPolicyAttachmentArgs)
|
|
111
|
+
|
|
112
|
+
if authentication_policy is None and not opts.urn:
|
|
113
|
+
raise TypeError("Missing required property 'authentication_policy'")
|
|
114
|
+
__props__.__dict__["authentication_policy"] = authentication_policy
|
|
115
|
+
super(AccountAuthenticationPolicyAttachment, __self__).__init__(
|
|
116
|
+
'snowflake:index/accountAuthenticationPolicyAttachment:AccountAuthenticationPolicyAttachment',
|
|
117
|
+
resource_name,
|
|
118
|
+
__props__,
|
|
119
|
+
opts)
|
|
120
|
+
|
|
121
|
+
@staticmethod
|
|
122
|
+
def get(resource_name: str,
|
|
123
|
+
id: pulumi.Input[str],
|
|
124
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
125
|
+
authentication_policy: Optional[pulumi.Input[str]] = None) -> 'AccountAuthenticationPolicyAttachment':
|
|
126
|
+
"""
|
|
127
|
+
Get an existing AccountAuthenticationPolicyAttachment resource's state with the given name, id, and optional extra
|
|
128
|
+
properties used to qualify the lookup.
|
|
129
|
+
|
|
130
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
131
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
132
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
133
|
+
:param pulumi.Input[str] authentication_policy: Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
134
|
+
"""
|
|
135
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
136
|
+
|
|
137
|
+
__props__ = _AccountAuthenticationPolicyAttachmentState.__new__(_AccountAuthenticationPolicyAttachmentState)
|
|
138
|
+
|
|
139
|
+
__props__.__dict__["authentication_policy"] = authentication_policy
|
|
140
|
+
return AccountAuthenticationPolicyAttachment(resource_name, opts=opts, __props__=__props__)
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="authenticationPolicy")
|
|
144
|
+
def authentication_policy(self) -> pulumi.Output[str]:
|
|
145
|
+
"""
|
|
146
|
+
Qualified name (`"db"."schema"."policy_name"`) of the authentication policy to apply to the current account.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "authentication_policy")
|
|
149
|
+
|