pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__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 +224 -172
- pulumi_snowflake/_inputs.py +52854 -1662
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -214
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -44
- pulumi_snowflake/account_password_policy_attachment.py +7 -28
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -43
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +35 -50
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -209
- pulumi_snowflake/database_role.py +81 -40
- pulumi_snowflake/dynamic_table.py +44 -47
- pulumi_snowflake/email_notification_integration.py +35 -26
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
- pulumi_snowflake/external_function.py +54 -71
- pulumi_snowflake/external_oauth_integration.py +593 -538
- pulumi_snowflake/external_table.py +67 -86
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +59 -96
- pulumi_snowflake/file_format.py +33 -24
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -5
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -9
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -5
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -43
- pulumi_snowflake/get_databases.py +91 -69
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -5
- pulumi_snowflake/get_external_tables.py +28 -5
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -5
- pulumi_snowflake/get_functions.py +28 -5
- pulumi_snowflake/get_grants.py +207 -80
- pulumi_snowflake/get_masking_policies.py +91 -47
- pulumi_snowflake/get_materialized_views.py +28 -5
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -11
- pulumi_snowflake/get_pipes.py +28 -5
- pulumi_snowflake/get_procedures.py +28 -5
- pulumi_snowflake/get_resource_monitors.py +37 -20
- pulumi_snowflake/get_row_access_policies.py +91 -47
- pulumi_snowflake/get_schemas.py +145 -37
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -5
- pulumi_snowflake/get_shares.py +18 -5
- pulumi_snowflake/get_stages.py +28 -5
- pulumi_snowflake/get_storage_integrations.py +16 -5
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -50
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +121 -6
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -5
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -50
- pulumi_snowflake/get_users.py +116 -40
- pulumi_snowflake/get_views.py +114 -50
- pulumi_snowflake/get_warehouses.py +79 -22
- pulumi_snowflake/grant_account_role.py +28 -61
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -108
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +42 -9
- pulumi_snowflake/masking_policy.py +213 -306
- pulumi_snowflake/materialized_view.py +62 -67
- pulumi_snowflake/network_policy.py +217 -57
- pulumi_snowflake/network_policy_attachment.py +7 -32
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +51 -82
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
- pulumi_snowflake/object_parameter.py +12 -99
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -0
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -323
- pulumi_snowflake/row_access_policy.py +200 -145
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
- pulumi_snowflake/schema.py +949 -174
- pulumi_snowflake/scim_integration.py +286 -105
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -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/sequence.py +9 -30
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +35 -26
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -80
- pulumi_snowflake/storage_integration.py +48 -2
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -93
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -168
- pulumi_snowflake/tag.py +142 -70
- pulumi_snowflake/tag_association.py +40 -211
- pulumi_snowflake/task.py +3048 -414
- pulumi_snowflake/user.py +3351 -380
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +7 -6
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -211
- pulumi_snowflake/warehouse.py +184 -164
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -339
- pulumi_snowflake/database_grant.py +0 -491
- pulumi_snowflake/external_table_grant.py +0 -686
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -631
- pulumi_snowflake/function.py +0 -868
- pulumi_snowflake/function_grant.py +0 -741
- pulumi_snowflake/get_role.py +0 -117
- pulumi_snowflake/get_roles.py +0 -116
- pulumi_snowflake/grant_privileges_to_role.py +0 -667
- pulumi_snowflake/integration_grant.py +0 -436
- pulumi_snowflake/masking_policy_grant.py +0 -538
- pulumi_snowflake/materialized_view_grant.py +0 -685
- pulumi_snowflake/pipe_grant.py +0 -583
- pulumi_snowflake/procedure.py +0 -883
- pulumi_snowflake/procedure_grant.py +0 -741
- pulumi_snowflake/resource_monitor_grant.py +0 -383
- pulumi_snowflake/role.py +0 -269
- pulumi_snowflake/role_grants.py +0 -348
- pulumi_snowflake/role_ownership_grant.py +0 -334
- pulumi_snowflake/row_access_policy_grant.py +0 -536
- pulumi_snowflake/schema_grant.py +0 -643
- pulumi_snowflake/sequence_grant.py +0 -631
- pulumi_snowflake/session_parameter.py +0 -328
- pulumi_snowflake/stage_grant.py +0 -631
- pulumi_snowflake/stream.py +0 -610
- pulumi_snowflake/stream_grant.py +0 -631
- pulumi_snowflake/table_grant.py +0 -673
- pulumi_snowflake/tag_grant.py +0 -528
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -631
- pulumi_snowflake/user_grant.py +0 -390
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -701
- pulumi_snowflake/warehouse_grant.py +0 -436
- pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
pulumi_snowflake/get_views.py
CHANGED
|
@@ -4,11 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
12
18
|
|
|
13
19
|
__all__ = [
|
|
14
20
|
'GetViewsResult',
|
|
@@ -22,52 +28,85 @@ class GetViewsResult:
|
|
|
22
28
|
"""
|
|
23
29
|
A collection of values returned by getViews.
|
|
24
30
|
"""
|
|
25
|
-
def __init__(__self__,
|
|
26
|
-
if database and not isinstance(database, str):
|
|
27
|
-
raise TypeError("Expected argument 'database' to be a str")
|
|
28
|
-
pulumi.set(__self__, "database", database)
|
|
31
|
+
def __init__(__self__, id=None, in_=None, like=None, limit=None, starts_with=None, views=None, with_describe=None):
|
|
29
32
|
if id and not isinstance(id, str):
|
|
30
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
31
34
|
pulumi.set(__self__, "id", id)
|
|
32
|
-
if
|
|
33
|
-
raise TypeError("Expected argument '
|
|
34
|
-
pulumi.set(__self__, "
|
|
35
|
+
if in_ and not isinstance(in_, dict):
|
|
36
|
+
raise TypeError("Expected argument 'in_' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "in_", in_)
|
|
38
|
+
if like and not isinstance(like, str):
|
|
39
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
40
|
+
pulumi.set(__self__, "like", like)
|
|
41
|
+
if limit and not isinstance(limit, dict):
|
|
42
|
+
raise TypeError("Expected argument 'limit' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "limit", limit)
|
|
44
|
+
if starts_with and not isinstance(starts_with, str):
|
|
45
|
+
raise TypeError("Expected argument 'starts_with' to be a str")
|
|
46
|
+
pulumi.set(__self__, "starts_with", starts_with)
|
|
35
47
|
if views and not isinstance(views, list):
|
|
36
48
|
raise TypeError("Expected argument 'views' to be a list")
|
|
37
49
|
pulumi.set(__self__, "views", views)
|
|
50
|
+
if with_describe and not isinstance(with_describe, bool):
|
|
51
|
+
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
52
|
+
pulumi.set(__self__, "with_describe", with_describe)
|
|
38
53
|
|
|
39
54
|
@property
|
|
40
55
|
@pulumi.getter
|
|
41
|
-
def
|
|
56
|
+
def id(self) -> str:
|
|
57
|
+
"""
|
|
58
|
+
The provider-assigned unique ID for this managed resource.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "id")
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="in")
|
|
64
|
+
def in_(self) -> Optional['outputs.GetViewsInResult']:
|
|
42
65
|
"""
|
|
43
|
-
|
|
66
|
+
IN clause to filter the list of views
|
|
44
67
|
"""
|
|
45
|
-
return pulumi.get(self, "
|
|
68
|
+
return pulumi.get(self, "in_")
|
|
46
69
|
|
|
47
70
|
@property
|
|
48
71
|
@pulumi.getter
|
|
49
|
-
def
|
|
72
|
+
def like(self) -> Optional[str]:
|
|
50
73
|
"""
|
|
51
|
-
|
|
74
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
52
75
|
"""
|
|
53
|
-
return pulumi.get(self, "
|
|
76
|
+
return pulumi.get(self, "like")
|
|
54
77
|
|
|
55
78
|
@property
|
|
56
79
|
@pulumi.getter
|
|
57
|
-
def
|
|
80
|
+
def limit(self) -> Optional['outputs.GetViewsLimitResult']:
|
|
58
81
|
"""
|
|
59
|
-
|
|
82
|
+
Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
60
83
|
"""
|
|
61
|
-
return pulumi.get(self, "
|
|
84
|
+
return pulumi.get(self, "limit")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="startsWith")
|
|
88
|
+
def starts_with(self) -> Optional[str]:
|
|
89
|
+
"""
|
|
90
|
+
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "starts_with")
|
|
62
93
|
|
|
63
94
|
@property
|
|
64
95
|
@pulumi.getter
|
|
65
96
|
def views(self) -> Sequence['outputs.GetViewsViewResult']:
|
|
66
97
|
"""
|
|
67
|
-
|
|
98
|
+
Holds the aggregated output of all views details queries.
|
|
68
99
|
"""
|
|
69
100
|
return pulumi.get(self, "views")
|
|
70
101
|
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="withDescribe")
|
|
104
|
+
def with_describe(self) -> Optional[bool]:
|
|
105
|
+
"""
|
|
106
|
+
Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "with_describe")
|
|
109
|
+
|
|
71
110
|
|
|
72
111
|
class AwaitableGetViewsResult(GetViewsResult):
|
|
73
112
|
# pylint: disable=using-constant-test
|
|
@@ -75,52 +114,77 @@ class AwaitableGetViewsResult(GetViewsResult):
|
|
|
75
114
|
if False:
|
|
76
115
|
yield self
|
|
77
116
|
return GetViewsResult(
|
|
78
|
-
database=self.database,
|
|
79
117
|
id=self.id,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
118
|
+
in_=self.in_,
|
|
119
|
+
like=self.like,
|
|
120
|
+
limit=self.limit,
|
|
121
|
+
starts_with=self.starts_with,
|
|
122
|
+
views=self.views,
|
|
123
|
+
with_describe=self.with_describe)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def get_views(in_: Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']] = None,
|
|
127
|
+
like: Optional[str] = None,
|
|
128
|
+
limit: Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']] = None,
|
|
129
|
+
starts_with: Optional[str] = None,
|
|
130
|
+
with_describe: Optional[bool] = None,
|
|
86
131
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetViewsResult:
|
|
87
132
|
"""
|
|
88
|
-
|
|
133
|
+
Data source used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
89
134
|
|
|
90
|
-
```python
|
|
91
|
-
import pulumi
|
|
92
|
-
import pulumi_snowflake as snowflake
|
|
93
135
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
136
|
+
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
137
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
138
|
+
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
139
|
+
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
140
|
+
:param bool with_describe: Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
97
141
|
"""
|
|
98
142
|
__args__ = dict()
|
|
99
|
-
__args__['
|
|
100
|
-
__args__['
|
|
143
|
+
__args__['in'] = in_
|
|
144
|
+
__args__['like'] = like
|
|
145
|
+
__args__['limit'] = limit
|
|
146
|
+
__args__['startsWith'] = starts_with
|
|
147
|
+
__args__['withDescribe'] = with_describe
|
|
101
148
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
102
149
|
__ret__ = pulumi.runtime.invoke('snowflake:index/getViews:getViews', __args__, opts=opts, typ=GetViewsResult).value
|
|
103
150
|
|
|
104
151
|
return AwaitableGetViewsResult(
|
|
105
|
-
database=pulumi.get(__ret__, 'database'),
|
|
106
152
|
id=pulumi.get(__ret__, 'id'),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
153
|
+
in_=pulumi.get(__ret__, 'in_'),
|
|
154
|
+
like=pulumi.get(__ret__, 'like'),
|
|
155
|
+
limit=pulumi.get(__ret__, 'limit'),
|
|
156
|
+
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
157
|
+
views=pulumi.get(__ret__, 'views'),
|
|
158
|
+
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
159
|
+
def get_views_output(in_: Optional[pulumi.Input[Optional[Union['GetViewsInArgs', 'GetViewsInArgsDict']]]] = None,
|
|
160
|
+
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
+
limit: Optional[pulumi.Input[Optional[Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict']]]] = None,
|
|
162
|
+
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
163
|
+
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
164
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]:
|
|
115
165
|
"""
|
|
116
|
-
|
|
166
|
+
Data source used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
117
167
|
|
|
118
|
-
```python
|
|
119
|
-
import pulumi
|
|
120
|
-
import pulumi_snowflake as snowflake
|
|
121
168
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
169
|
+
:param Union['GetViewsInArgs', 'GetViewsInArgsDict'] in_: IN clause to filter the list of views
|
|
170
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
171
|
+
:param Union['GetViewsLimitArgs', 'GetViewsLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
|
|
172
|
+
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
173
|
+
:param bool with_describe: Runs DESC VIEW for each view returned by SHOW VIEWS. The output of describe is saved to the description field. By default this value is set to true.
|
|
125
174
|
"""
|
|
126
|
-
|
|
175
|
+
__args__ = dict()
|
|
176
|
+
__args__['in'] = in_
|
|
177
|
+
__args__['like'] = like
|
|
178
|
+
__args__['limit'] = limit
|
|
179
|
+
__args__['startsWith'] = starts_with
|
|
180
|
+
__args__['withDescribe'] = with_describe
|
|
181
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getViews:getViews', __args__, opts=opts, typ=GetViewsResult)
|
|
183
|
+
return __ret__.apply(lambda __response__: GetViewsResult(
|
|
184
|
+
id=pulumi.get(__response__, 'id'),
|
|
185
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
186
|
+
like=pulumi.get(__response__, 'like'),
|
|
187
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
188
|
+
starts_with=pulumi.get(__response__, 'starts_with'),
|
|
189
|
+
views=pulumi.get(__response__, 'views'),
|
|
190
|
+
with_describe=pulumi.get(__response__, 'with_describe')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -22,13 +27,22 @@ class GetWarehousesResult:
|
|
|
22
27
|
"""
|
|
23
28
|
A collection of values returned by getWarehouses.
|
|
24
29
|
"""
|
|
25
|
-
def __init__(__self__, id=None, warehouses=None):
|
|
30
|
+
def __init__(__self__, id=None, like=None, warehouses=None, with_describe=None, with_parameters=None):
|
|
26
31
|
if id and not isinstance(id, str):
|
|
27
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
28
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if like and not isinstance(like, str):
|
|
35
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
36
|
+
pulumi.set(__self__, "like", like)
|
|
29
37
|
if warehouses and not isinstance(warehouses, list):
|
|
30
38
|
raise TypeError("Expected argument 'warehouses' to be a list")
|
|
31
39
|
pulumi.set(__self__, "warehouses", warehouses)
|
|
40
|
+
if with_describe and not isinstance(with_describe, bool):
|
|
41
|
+
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
42
|
+
pulumi.set(__self__, "with_describe", with_describe)
|
|
43
|
+
if with_parameters and not isinstance(with_parameters, bool):
|
|
44
|
+
raise TypeError("Expected argument 'with_parameters' to be a bool")
|
|
45
|
+
pulumi.set(__self__, "with_parameters", with_parameters)
|
|
32
46
|
|
|
33
47
|
@property
|
|
34
48
|
@pulumi.getter
|
|
@@ -38,14 +52,38 @@ class GetWarehousesResult:
|
|
|
38
52
|
"""
|
|
39
53
|
return pulumi.get(self, "id")
|
|
40
54
|
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def like(self) -> Optional[str]:
|
|
58
|
+
"""
|
|
59
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "like")
|
|
62
|
+
|
|
41
63
|
@property
|
|
42
64
|
@pulumi.getter
|
|
43
65
|
def warehouses(self) -> Sequence['outputs.GetWarehousesWarehouseResult']:
|
|
44
66
|
"""
|
|
45
|
-
|
|
67
|
+
Holds the aggregated output of all warehouse details queries.
|
|
46
68
|
"""
|
|
47
69
|
return pulumi.get(self, "warehouses")
|
|
48
70
|
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="withDescribe")
|
|
73
|
+
def with_describe(self) -> Optional[bool]:
|
|
74
|
+
"""
|
|
75
|
+
Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "with_describe")
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="withParameters")
|
|
81
|
+
def with_parameters(self) -> Optional[bool]:
|
|
82
|
+
"""
|
|
83
|
+
Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "with_parameters")
|
|
86
|
+
|
|
49
87
|
|
|
50
88
|
class AwaitableGetWarehousesResult(GetWarehousesResult):
|
|
51
89
|
# pylint: disable=using-constant-test
|
|
@@ -54,39 +92,58 @@ class AwaitableGetWarehousesResult(GetWarehousesResult):
|
|
|
54
92
|
yield self
|
|
55
93
|
return GetWarehousesResult(
|
|
56
94
|
id=self.id,
|
|
57
|
-
|
|
95
|
+
like=self.like,
|
|
96
|
+
warehouses=self.warehouses,
|
|
97
|
+
with_describe=self.with_describe,
|
|
98
|
+
with_parameters=self.with_parameters)
|
|
58
99
|
|
|
59
100
|
|
|
60
|
-
def get_warehouses(
|
|
101
|
+
def get_warehouses(like: Optional[str] = None,
|
|
102
|
+
with_describe: Optional[bool] = None,
|
|
103
|
+
with_parameters: Optional[bool] = None,
|
|
104
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWarehousesResult:
|
|
61
105
|
"""
|
|
62
|
-
|
|
106
|
+
Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
63
107
|
|
|
64
|
-
```python
|
|
65
|
-
import pulumi
|
|
66
|
-
import pulumi_snowflake as snowflake
|
|
67
108
|
|
|
68
|
-
|
|
69
|
-
|
|
109
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
110
|
+
:param bool with_describe: Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
111
|
+
:param bool with_parameters: Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
70
112
|
"""
|
|
71
113
|
__args__ = dict()
|
|
114
|
+
__args__['like'] = like
|
|
115
|
+
__args__['withDescribe'] = with_describe
|
|
116
|
+
__args__['withParameters'] = with_parameters
|
|
72
117
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
73
118
|
__ret__ = pulumi.runtime.invoke('snowflake:index/getWarehouses:getWarehouses', __args__, opts=opts, typ=GetWarehousesResult).value
|
|
74
119
|
|
|
75
120
|
return AwaitableGetWarehousesResult(
|
|
76
121
|
id=pulumi.get(__ret__, 'id'),
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
def get_warehouses_output(
|
|
122
|
+
like=pulumi.get(__ret__, 'like'),
|
|
123
|
+
warehouses=pulumi.get(__ret__, 'warehouses'),
|
|
124
|
+
with_describe=pulumi.get(__ret__, 'with_describe'),
|
|
125
|
+
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
126
|
+
def get_warehouses_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
127
|
+
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
128
|
+
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
129
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWarehousesResult]:
|
|
82
130
|
"""
|
|
83
|
-
|
|
131
|
+
Data source used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
84
132
|
|
|
85
|
-
```python
|
|
86
|
-
import pulumi
|
|
87
|
-
import pulumi_snowflake as snowflake
|
|
88
133
|
|
|
89
|
-
|
|
90
|
-
|
|
134
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
135
|
+
:param bool with_describe: Runs DESC WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the description field. By default this value is set to true.
|
|
136
|
+
:param bool with_parameters: Runs SHOW PARAMETERS FOR WAREHOUSE for each warehouse returned by SHOW WAREHOUSES. The output of describe is saved to the parameters field as a map. By default this value is set to true.
|
|
91
137
|
"""
|
|
92
|
-
|
|
138
|
+
__args__ = dict()
|
|
139
|
+
__args__['like'] = like
|
|
140
|
+
__args__['withDescribe'] = with_describe
|
|
141
|
+
__args__['withParameters'] = with_parameters
|
|
142
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
143
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getWarehouses:getWarehouses', __args__, opts=opts, typ=GetWarehousesResult)
|
|
144
|
+
return __ret__.apply(lambda __response__: GetWarehousesResult(
|
|
145
|
+
id=pulumi.get(__response__, 'id'),
|
|
146
|
+
like=pulumi.get(__response__, 'like'),
|
|
147
|
+
warehouses=pulumi.get(__response__, 'warehouses'),
|
|
148
|
+
with_describe=pulumi.get(__response__, 'with_describe'),
|
|
149
|
+
with_parameters=pulumi.get(__response__, 'with_parameters')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['GrantAccountRoleArgs', 'GrantAccountRole']
|
|
@@ -19,9 +24,9 @@ class GrantAccountRoleArgs:
|
|
|
19
24
|
user_name: Optional[pulumi.Input[str]] = None):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a GrantAccountRole resource.
|
|
22
|
-
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role.
|
|
23
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
24
|
-
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted.
|
|
27
|
+
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
28
|
+
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
29
|
+
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "role_name", role_name)
|
|
27
32
|
if parent_role_name is not None:
|
|
@@ -33,7 +38,7 @@ class GrantAccountRoleArgs:
|
|
|
33
38
|
@pulumi.getter(name="roleName")
|
|
34
39
|
def role_name(self) -> pulumi.Input[str]:
|
|
35
40
|
"""
|
|
36
|
-
The fully qualified name of the role which will be granted to the user or parent role.
|
|
41
|
+
The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
37
42
|
"""
|
|
38
43
|
return pulumi.get(self, "role_name")
|
|
39
44
|
|
|
@@ -45,7 +50,7 @@ class GrantAccountRoleArgs:
|
|
|
45
50
|
@pulumi.getter(name="parentRoleName")
|
|
46
51
|
def parent_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
47
52
|
"""
|
|
48
|
-
The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
53
|
+
The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "parent_role_name")
|
|
51
56
|
|
|
@@ -57,7 +62,7 @@ class GrantAccountRoleArgs:
|
|
|
57
62
|
@pulumi.getter(name="userName")
|
|
58
63
|
def user_name(self) -> Optional[pulumi.Input[str]]:
|
|
59
64
|
"""
|
|
60
|
-
The fully qualified name of the user on which specified role will be granted.
|
|
65
|
+
The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
61
66
|
"""
|
|
62
67
|
return pulumi.get(self, "user_name")
|
|
63
68
|
|
|
@@ -74,9 +79,9 @@ class _GrantAccountRoleState:
|
|
|
74
79
|
user_name: Optional[pulumi.Input[str]] = None):
|
|
75
80
|
"""
|
|
76
81
|
Input properties used for looking up and filtering GrantAccountRole resources.
|
|
77
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
78
|
-
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role.
|
|
79
|
-
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted.
|
|
82
|
+
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
83
|
+
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
84
|
+
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
80
85
|
"""
|
|
81
86
|
if parent_role_name is not None:
|
|
82
87
|
pulumi.set(__self__, "parent_role_name", parent_role_name)
|
|
@@ -89,7 +94,7 @@ class _GrantAccountRoleState:
|
|
|
89
94
|
@pulumi.getter(name="parentRoleName")
|
|
90
95
|
def parent_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
91
96
|
"""
|
|
92
|
-
The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
97
|
+
The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
93
98
|
"""
|
|
94
99
|
return pulumi.get(self, "parent_role_name")
|
|
95
100
|
|
|
@@ -101,7 +106,7 @@ class _GrantAccountRoleState:
|
|
|
101
106
|
@pulumi.getter(name="roleName")
|
|
102
107
|
def role_name(self) -> Optional[pulumi.Input[str]]:
|
|
103
108
|
"""
|
|
104
|
-
The fully qualified name of the role which will be granted to the user or parent role.
|
|
109
|
+
The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
105
110
|
"""
|
|
106
111
|
return pulumi.get(self, "role_name")
|
|
107
112
|
|
|
@@ -113,7 +118,7 @@ class _GrantAccountRoleState:
|
|
|
113
118
|
@pulumi.getter(name="userName")
|
|
114
119
|
def user_name(self) -> Optional[pulumi.Input[str]]:
|
|
115
120
|
"""
|
|
116
|
-
The fully qualified name of the user on which specified role will be granted.
|
|
121
|
+
The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
117
122
|
"""
|
|
118
123
|
return pulumi.get(self, "user_name")
|
|
119
124
|
|
|
@@ -132,38 +137,19 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
132
137
|
user_name: Optional[pulumi.Input[str]] = None,
|
|
133
138
|
__props__=None):
|
|
134
139
|
"""
|
|
135
|
-
## Example Usage
|
|
136
|
-
### grant account role to account role
|
|
137
|
-
##################################
|
|
138
|
-
|
|
139
|
-
resource "snowflake_role" "role" {
|
|
140
|
-
name = var.role_name
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
resource "snowflake_role" "parent_role" {
|
|
144
|
-
name = var.parent_role_name
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
resource "snowflake_grant_account_role" "g" {
|
|
148
|
-
role_name = snowflake_role.role.name
|
|
149
|
-
parent_role_name = snowflake_role.parent_role.name
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
##################################
|
|
153
|
-
|
|
154
140
|
## Import
|
|
155
141
|
|
|
156
142
|
format is role_name (string) | grantee_object_type (ROLE|USER) | grantee_name (string)
|
|
157
143
|
|
|
158
144
|
```sh
|
|
159
|
-
$ pulumi import snowflake:index/grantAccountRole:GrantAccountRole "
|
|
145
|
+
$ pulumi import snowflake:index/grantAccountRole:GrantAccountRole example '"test_role"|ROLE|"test_parent_role"'
|
|
160
146
|
```
|
|
161
147
|
|
|
162
148
|
:param str resource_name: The name of the resource.
|
|
163
149
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
164
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
165
|
-
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role.
|
|
166
|
-
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted.
|
|
150
|
+
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
151
|
+
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
152
|
+
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
167
153
|
"""
|
|
168
154
|
...
|
|
169
155
|
@overload
|
|
@@ -172,31 +158,12 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
172
158
|
args: GrantAccountRoleArgs,
|
|
173
159
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
174
160
|
"""
|
|
175
|
-
## Example Usage
|
|
176
|
-
### grant account role to account role
|
|
177
|
-
##################################
|
|
178
|
-
|
|
179
|
-
resource "snowflake_role" "role" {
|
|
180
|
-
name = var.role_name
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
resource "snowflake_role" "parent_role" {
|
|
184
|
-
name = var.parent_role_name
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
resource "snowflake_grant_account_role" "g" {
|
|
188
|
-
role_name = snowflake_role.role.name
|
|
189
|
-
parent_role_name = snowflake_role.parent_role.name
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
##################################
|
|
193
|
-
|
|
194
161
|
## Import
|
|
195
162
|
|
|
196
163
|
format is role_name (string) | grantee_object_type (ROLE|USER) | grantee_name (string)
|
|
197
164
|
|
|
198
165
|
```sh
|
|
199
|
-
$ pulumi import snowflake:index/grantAccountRole:GrantAccountRole "
|
|
166
|
+
$ pulumi import snowflake:index/grantAccountRole:GrantAccountRole example '"test_role"|ROLE|"test_parent_role"'
|
|
200
167
|
```
|
|
201
168
|
|
|
202
169
|
:param str resource_name: The name of the resource.
|
|
@@ -251,9 +218,9 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
251
218
|
:param str resource_name: The unique name of the resulting resource.
|
|
252
219
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
253
220
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
254
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
255
|
-
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role.
|
|
256
|
-
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted.
|
|
221
|
+
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
222
|
+
:param pulumi.Input[str] role_name: The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
223
|
+
:param pulumi.Input[str] user_name: The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
257
224
|
"""
|
|
258
225
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
259
226
|
|
|
@@ -268,7 +235,7 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
268
235
|
@pulumi.getter(name="parentRoleName")
|
|
269
236
|
def parent_role_name(self) -> pulumi.Output[Optional[str]]:
|
|
270
237
|
"""
|
|
271
|
-
The fully qualified name of the parent role which will create a parent-child relationship between the roles.
|
|
238
|
+
The fully qualified name of the parent role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
272
239
|
"""
|
|
273
240
|
return pulumi.get(self, "parent_role_name")
|
|
274
241
|
|
|
@@ -276,7 +243,7 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
276
243
|
@pulumi.getter(name="roleName")
|
|
277
244
|
def role_name(self) -> pulumi.Output[str]:
|
|
278
245
|
"""
|
|
279
|
-
The fully qualified name of the role which will be granted to the user or parent role.
|
|
246
|
+
The fully qualified name of the role which will be granted to the user or parent role. For more information about this resource, see docs.
|
|
280
247
|
"""
|
|
281
248
|
return pulumi.get(self, "role_name")
|
|
282
249
|
|
|
@@ -284,7 +251,7 @@ class GrantAccountRole(pulumi.CustomResource):
|
|
|
284
251
|
@pulumi.getter(name="userName")
|
|
285
252
|
def user_name(self) -> pulumi.Output[Optional[str]]:
|
|
286
253
|
"""
|
|
287
|
-
The fully qualified name of the user on which specified role will be granted.
|
|
254
|
+
The fully qualified name of the user on which specified role will be granted. For more information about this resource, see docs.
|
|
288
255
|
"""
|
|
289
256
|
return pulumi.get(self, "user_name")
|
|
290
257
|
|