pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__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 +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.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,16 +20,16 @@ __all__ = ['GrantDatabaseRoleArgs', 'GrantDatabaseRole']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class GrantDatabaseRoleArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
database_role_name: pulumi.Input[str],
|
|
23
|
-
parent_database_role_name: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
parent_role_name: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
share_name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
database_role_name: pulumi.Input[builtins.str],
|
|
24
|
+
parent_database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
parent_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
share_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
26
27
|
"""
|
|
27
28
|
The set of arguments for constructing a GrantDatabaseRole resource.
|
|
28
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
29
|
-
:param pulumi.Input[str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
30
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
31
|
-
:param pulumi.Input[str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
29
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
30
|
+
:param pulumi.Input[builtins.str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
31
|
+
:param pulumi.Input[builtins.str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
32
|
+
:param pulumi.Input[builtins.str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
32
33
|
"""
|
|
33
34
|
pulumi.set(__self__, "database_role_name", database_role_name)
|
|
34
35
|
if parent_database_role_name is not None:
|
|
@@ -40,66 +41,66 @@ class GrantDatabaseRoleArgs:
|
|
|
40
41
|
|
|
41
42
|
@property
|
|
42
43
|
@pulumi.getter(name="databaseRoleName")
|
|
43
|
-
def database_role_name(self) -> pulumi.Input[str]:
|
|
44
|
+
def database_role_name(self) -> pulumi.Input[builtins.str]:
|
|
44
45
|
"""
|
|
45
46
|
The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
46
47
|
"""
|
|
47
48
|
return pulumi.get(self, "database_role_name")
|
|
48
49
|
|
|
49
50
|
@database_role_name.setter
|
|
50
|
-
def database_role_name(self, value: pulumi.Input[str]):
|
|
51
|
+
def database_role_name(self, value: pulumi.Input[builtins.str]):
|
|
51
52
|
pulumi.set(self, "database_role_name", value)
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter(name="parentDatabaseRoleName")
|
|
55
|
-
def parent_database_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
56
|
+
def parent_database_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
56
57
|
"""
|
|
57
58
|
The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
58
59
|
"""
|
|
59
60
|
return pulumi.get(self, "parent_database_role_name")
|
|
60
61
|
|
|
61
62
|
@parent_database_role_name.setter
|
|
62
|
-
def parent_database_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
63
|
+
def parent_database_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
63
64
|
pulumi.set(self, "parent_database_role_name", value)
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter(name="parentRoleName")
|
|
67
|
-
def parent_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
68
|
+
def parent_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
68
69
|
"""
|
|
69
70
|
The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
70
71
|
"""
|
|
71
72
|
return pulumi.get(self, "parent_role_name")
|
|
72
73
|
|
|
73
74
|
@parent_role_name.setter
|
|
74
|
-
def parent_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
75
|
+
def parent_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
75
76
|
pulumi.set(self, "parent_role_name", value)
|
|
76
77
|
|
|
77
78
|
@property
|
|
78
79
|
@pulumi.getter(name="shareName")
|
|
79
|
-
def share_name(self) -> Optional[pulumi.Input[str]]:
|
|
80
|
+
def share_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
80
81
|
"""
|
|
81
82
|
The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
82
83
|
"""
|
|
83
84
|
return pulumi.get(self, "share_name")
|
|
84
85
|
|
|
85
86
|
@share_name.setter
|
|
86
|
-
def share_name(self, value: Optional[pulumi.Input[str]]):
|
|
87
|
+
def share_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
87
88
|
pulumi.set(self, "share_name", value)
|
|
88
89
|
|
|
89
90
|
|
|
90
91
|
@pulumi.input_type
|
|
91
92
|
class _GrantDatabaseRoleState:
|
|
92
93
|
def __init__(__self__, *,
|
|
93
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
94
|
-
parent_database_role_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
parent_role_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
-
share_name: Optional[pulumi.Input[str]] = None):
|
|
94
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
95
|
+
parent_database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
96
|
+
parent_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
97
|
+
share_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
97
98
|
"""
|
|
98
99
|
Input properties used for looking up and filtering GrantDatabaseRole resources.
|
|
99
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
100
|
-
:param pulumi.Input[str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
101
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
102
|
-
:param pulumi.Input[str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
100
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
101
|
+
:param pulumi.Input[builtins.str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
102
|
+
:param pulumi.Input[builtins.str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
103
|
+
:param pulumi.Input[builtins.str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
103
104
|
"""
|
|
104
105
|
if database_role_name is not None:
|
|
105
106
|
pulumi.set(__self__, "database_role_name", database_role_name)
|
|
@@ -112,50 +113,50 @@ class _GrantDatabaseRoleState:
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="databaseRoleName")
|
|
115
|
-
def database_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
116
|
+
def database_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
116
117
|
"""
|
|
117
118
|
The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
118
119
|
"""
|
|
119
120
|
return pulumi.get(self, "database_role_name")
|
|
120
121
|
|
|
121
122
|
@database_role_name.setter
|
|
122
|
-
def database_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
123
|
+
def database_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
123
124
|
pulumi.set(self, "database_role_name", value)
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="parentDatabaseRoleName")
|
|
127
|
-
def parent_database_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
128
|
+
def parent_database_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
128
129
|
"""
|
|
129
130
|
The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
130
131
|
"""
|
|
131
132
|
return pulumi.get(self, "parent_database_role_name")
|
|
132
133
|
|
|
133
134
|
@parent_database_role_name.setter
|
|
134
|
-
def parent_database_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
135
|
+
def parent_database_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
135
136
|
pulumi.set(self, "parent_database_role_name", value)
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter(name="parentRoleName")
|
|
139
|
-
def parent_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
140
|
+
def parent_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
140
141
|
"""
|
|
141
142
|
The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
142
143
|
"""
|
|
143
144
|
return pulumi.get(self, "parent_role_name")
|
|
144
145
|
|
|
145
146
|
@parent_role_name.setter
|
|
146
|
-
def parent_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
def parent_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
147
148
|
pulumi.set(self, "parent_role_name", value)
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter(name="shareName")
|
|
151
|
-
def share_name(self) -> Optional[pulumi.Input[str]]:
|
|
152
|
+
def share_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
152
153
|
"""
|
|
153
154
|
The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
154
155
|
"""
|
|
155
156
|
return pulumi.get(self, "share_name")
|
|
156
157
|
|
|
157
158
|
@share_name.setter
|
|
158
|
-
def share_name(self, value: Optional[pulumi.Input[str]]):
|
|
159
|
+
def share_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
159
160
|
pulumi.set(self, "share_name", value)
|
|
160
161
|
|
|
161
162
|
|
|
@@ -164,10 +165,10 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
164
165
|
def __init__(__self__,
|
|
165
166
|
resource_name: str,
|
|
166
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
-
parent_database_role_name: Optional[pulumi.Input[str]] = None,
|
|
169
|
-
parent_role_name: Optional[pulumi.Input[str]] = None,
|
|
170
|
-
share_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
169
|
+
parent_database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
|
+
parent_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
171
|
+
share_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
171
172
|
__props__=None):
|
|
172
173
|
"""
|
|
173
174
|
## Import
|
|
@@ -180,10 +181,10 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
180
181
|
|
|
181
182
|
:param str resource_name: The name of the resource.
|
|
182
183
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
183
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
184
|
-
:param pulumi.Input[str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
185
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
186
|
-
:param pulumi.Input[str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
184
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
185
|
+
:param pulumi.Input[builtins.str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
186
|
+
:param pulumi.Input[builtins.str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
187
|
+
:param pulumi.Input[builtins.str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
187
188
|
"""
|
|
188
189
|
...
|
|
189
190
|
@overload
|
|
@@ -215,10 +216,10 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
215
216
|
def _internal_init(__self__,
|
|
216
217
|
resource_name: str,
|
|
217
218
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
218
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
219
|
-
parent_database_role_name: Optional[pulumi.Input[str]] = None,
|
|
220
|
-
parent_role_name: Optional[pulumi.Input[str]] = None,
|
|
221
|
-
share_name: Optional[pulumi.Input[str]] = None,
|
|
219
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
220
|
+
parent_database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
221
|
+
parent_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
222
|
+
share_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
222
223
|
__props__=None):
|
|
223
224
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
224
225
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -244,10 +245,10 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
244
245
|
def get(resource_name: str,
|
|
245
246
|
id: pulumi.Input[str],
|
|
246
247
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
247
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
248
|
-
parent_database_role_name: Optional[pulumi.Input[str]] = None,
|
|
249
|
-
parent_role_name: Optional[pulumi.Input[str]] = None,
|
|
250
|
-
share_name: Optional[pulumi.Input[str]] = None) -> 'GrantDatabaseRole':
|
|
248
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
249
|
+
parent_database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
250
|
+
parent_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
251
|
+
share_name: Optional[pulumi.Input[builtins.str]] = None) -> 'GrantDatabaseRole':
|
|
251
252
|
"""
|
|
252
253
|
Get an existing GrantDatabaseRole resource's state with the given name, id, and optional extra
|
|
253
254
|
properties used to qualify the lookup.
|
|
@@ -255,10 +256,10 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
255
256
|
:param str resource_name: The unique name of the resulting resource.
|
|
256
257
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
257
258
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
258
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
259
|
-
:param pulumi.Input[str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
260
|
-
:param pulumi.Input[str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
261
|
-
:param pulumi.Input[str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
259
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
260
|
+
:param pulumi.Input[builtins.str] parent_database_role_name: The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
261
|
+
:param pulumi.Input[builtins.str] parent_role_name: The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
262
|
+
:param pulumi.Input[builtins.str] share_name: The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
262
263
|
"""
|
|
263
264
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
264
265
|
|
|
@@ -272,7 +273,7 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="databaseRoleName")
|
|
275
|
-
def database_role_name(self) -> pulumi.Output[str]:
|
|
276
|
+
def database_role_name(self) -> pulumi.Output[builtins.str]:
|
|
276
277
|
"""
|
|
277
278
|
The fully qualified name of the database role which will be granted to share or parent role. For more information about this resource, see docs.
|
|
278
279
|
"""
|
|
@@ -280,7 +281,7 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
280
281
|
|
|
281
282
|
@property
|
|
282
283
|
@pulumi.getter(name="parentDatabaseRoleName")
|
|
283
|
-
def parent_database_role_name(self) -> pulumi.Output[Optional[str]]:
|
|
284
|
+
def parent_database_role_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
284
285
|
"""
|
|
285
286
|
The fully qualified name of the parent database role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
286
287
|
"""
|
|
@@ -288,7 +289,7 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
288
289
|
|
|
289
290
|
@property
|
|
290
291
|
@pulumi.getter(name="parentRoleName")
|
|
291
|
-
def parent_role_name(self) -> pulumi.Output[Optional[str]]:
|
|
292
|
+
def parent_role_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
292
293
|
"""
|
|
293
294
|
The fully qualified name of the parent account role which will create a parent-child relationship between the roles. For more information about this resource, see docs.
|
|
294
295
|
"""
|
|
@@ -296,7 +297,7 @@ class GrantDatabaseRole(pulumi.CustomResource):
|
|
|
296
297
|
|
|
297
298
|
@property
|
|
298
299
|
@pulumi.getter(name="shareName")
|
|
299
|
-
def share_name(self) -> pulumi.Output[Optional[str]]:
|
|
300
|
+
def share_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
300
301
|
"""
|
|
301
302
|
The fully qualified name of the share on which privileges will be granted. For more information about this resource, see docs.
|
|
302
303
|
"""
|
|
@@ -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
|
|
@@ -22,15 +23,15 @@ __all__ = ['GrantOwnershipArgs', 'GrantOwnership']
|
|
|
22
23
|
class GrantOwnershipArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
25
|
on: pulumi.Input['GrantOwnershipOnArgs'],
|
|
25
|
-
account_role_name: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
outbound_privileges: Optional[pulumi.Input[str]] = None):
|
|
26
|
+
account_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
outbound_privileges: Optional[pulumi.Input[builtins.str]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a GrantOwnership resource.
|
|
30
31
|
:param pulumi.Input['GrantOwnershipOnArgs'] on: Configures which object(s) should transfer their ownership to the specified role.
|
|
31
|
-
:param pulumi.Input[str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
32
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
33
|
-
:param pulumi.Input[str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
32
|
+
:param pulumi.Input[builtins.str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
33
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
34
|
+
:param pulumi.Input[builtins.str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
34
35
|
"""
|
|
35
36
|
pulumi.set(__self__, "on", on)
|
|
36
37
|
if account_role_name is not None:
|
|
@@ -54,54 +55,54 @@ class GrantOwnershipArgs:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter(name="accountRoleName")
|
|
57
|
-
def account_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
58
|
+
def account_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
58
59
|
"""
|
|
59
60
|
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
60
61
|
"""
|
|
61
62
|
return pulumi.get(self, "account_role_name")
|
|
62
63
|
|
|
63
64
|
@account_role_name.setter
|
|
64
|
-
def account_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
65
|
+
def account_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
65
66
|
pulumi.set(self, "account_role_name", value)
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter(name="databaseRoleName")
|
|
69
|
-
def database_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
70
|
+
def database_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
70
71
|
"""
|
|
71
72
|
The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
72
73
|
"""
|
|
73
74
|
return pulumi.get(self, "database_role_name")
|
|
74
75
|
|
|
75
76
|
@database_role_name.setter
|
|
76
|
-
def database_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
77
|
+
def database_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
77
78
|
pulumi.set(self, "database_role_name", value)
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter(name="outboundPrivileges")
|
|
81
|
-
def outbound_privileges(self) -> Optional[pulumi.Input[str]]:
|
|
82
|
+
def outbound_privileges(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
82
83
|
"""
|
|
83
84
|
Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
84
85
|
"""
|
|
85
86
|
return pulumi.get(self, "outbound_privileges")
|
|
86
87
|
|
|
87
88
|
@outbound_privileges.setter
|
|
88
|
-
def outbound_privileges(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
def outbound_privileges(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
89
90
|
pulumi.set(self, "outbound_privileges", value)
|
|
90
91
|
|
|
91
92
|
|
|
92
93
|
@pulumi.input_type
|
|
93
94
|
class _GrantOwnershipState:
|
|
94
95
|
def __init__(__self__, *,
|
|
95
|
-
account_role_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
account_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
97
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
97
98
|
on: Optional[pulumi.Input['GrantOwnershipOnArgs']] = None,
|
|
98
|
-
outbound_privileges: Optional[pulumi.Input[str]] = None):
|
|
99
|
+
outbound_privileges: Optional[pulumi.Input[builtins.str]] = None):
|
|
99
100
|
"""
|
|
100
101
|
Input properties used for looking up and filtering GrantOwnership resources.
|
|
101
|
-
:param pulumi.Input[str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
102
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
102
|
+
:param pulumi.Input[builtins.str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
103
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
103
104
|
:param pulumi.Input['GrantOwnershipOnArgs'] on: Configures which object(s) should transfer their ownership to the specified role.
|
|
104
|
-
:param pulumi.Input[str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
105
|
+
:param pulumi.Input[builtins.str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
105
106
|
"""
|
|
106
107
|
if account_role_name is not None:
|
|
107
108
|
pulumi.set(__self__, "account_role_name", account_role_name)
|
|
@@ -114,26 +115,26 @@ class _GrantOwnershipState:
|
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter(name="accountRoleName")
|
|
117
|
-
def account_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def account_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
118
119
|
"""
|
|
119
120
|
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
120
121
|
"""
|
|
121
122
|
return pulumi.get(self, "account_role_name")
|
|
122
123
|
|
|
123
124
|
@account_role_name.setter
|
|
124
|
-
def account_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def account_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
125
126
|
pulumi.set(self, "account_role_name", value)
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="databaseRoleName")
|
|
129
|
-
def database_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
130
|
+
def database_role_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
130
131
|
"""
|
|
131
132
|
The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
132
133
|
"""
|
|
133
134
|
return pulumi.get(self, "database_role_name")
|
|
134
135
|
|
|
135
136
|
@database_role_name.setter
|
|
136
|
-
def database_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
137
|
+
def database_role_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
137
138
|
pulumi.set(self, "database_role_name", value)
|
|
138
139
|
|
|
139
140
|
@property
|
|
@@ -150,14 +151,14 @@ class _GrantOwnershipState:
|
|
|
150
151
|
|
|
151
152
|
@property
|
|
152
153
|
@pulumi.getter(name="outboundPrivileges")
|
|
153
|
-
def outbound_privileges(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
+
def outbound_privileges(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
154
155
|
"""
|
|
155
156
|
Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
156
157
|
"""
|
|
157
158
|
return pulumi.get(self, "outbound_privileges")
|
|
158
159
|
|
|
159
160
|
@outbound_privileges.setter
|
|
160
|
-
def outbound_privileges(self, value: Optional[pulumi.Input[str]]):
|
|
161
|
+
def outbound_privileges(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
161
162
|
pulumi.set(self, "outbound_privileges", value)
|
|
162
163
|
|
|
163
164
|
|
|
@@ -166,10 +167,10 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
166
167
|
def __init__(__self__,
|
|
167
168
|
resource_name: str,
|
|
168
169
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
169
|
-
account_role_name: Optional[pulumi.Input[str]] = None,
|
|
170
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
account_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
171
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
171
172
|
on: Optional[pulumi.Input[Union['GrantOwnershipOnArgs', 'GrantOwnershipOnArgsDict']]] = None,
|
|
172
|
-
outbound_privileges: Optional[pulumi.Input[str]] = None,
|
|
173
|
+
outbound_privileges: Optional[pulumi.Input[builtins.str]] = None,
|
|
173
174
|
__props__=None):
|
|
174
175
|
"""
|
|
175
176
|
## Import
|
|
@@ -220,10 +221,10 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
220
221
|
|
|
221
222
|
:param str resource_name: The name of the resource.
|
|
222
223
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
223
|
-
:param pulumi.Input[str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
224
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
224
|
+
:param pulumi.Input[builtins.str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
225
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
225
226
|
:param pulumi.Input[Union['GrantOwnershipOnArgs', 'GrantOwnershipOnArgsDict']] on: Configures which object(s) should transfer their ownership to the specified role.
|
|
226
|
-
:param pulumi.Input[str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
227
|
+
:param pulumi.Input[builtins.str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
227
228
|
"""
|
|
228
229
|
...
|
|
229
230
|
@overload
|
|
@@ -293,10 +294,10 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
293
294
|
def _internal_init(__self__,
|
|
294
295
|
resource_name: str,
|
|
295
296
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
296
|
-
account_role_name: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
297
|
+
account_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
299
|
on: Optional[pulumi.Input[Union['GrantOwnershipOnArgs', 'GrantOwnershipOnArgsDict']]] = None,
|
|
299
|
-
outbound_privileges: Optional[pulumi.Input[str]] = None,
|
|
300
|
+
outbound_privileges: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
301
|
__props__=None):
|
|
301
302
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
302
303
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -322,10 +323,10 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
322
323
|
def get(resource_name: str,
|
|
323
324
|
id: pulumi.Input[str],
|
|
324
325
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
325
|
-
account_role_name: Optional[pulumi.Input[str]] = None,
|
|
326
|
-
database_role_name: Optional[pulumi.Input[str]] = None,
|
|
326
|
+
account_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
327
|
+
database_role_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
327
328
|
on: Optional[pulumi.Input[Union['GrantOwnershipOnArgs', 'GrantOwnershipOnArgsDict']]] = None,
|
|
328
|
-
outbound_privileges: Optional[pulumi.Input[str]] = None) -> 'GrantOwnership':
|
|
329
|
+
outbound_privileges: Optional[pulumi.Input[builtins.str]] = None) -> 'GrantOwnership':
|
|
329
330
|
"""
|
|
330
331
|
Get an existing GrantOwnership resource's state with the given name, id, and optional extra
|
|
331
332
|
properties used to qualify the lookup.
|
|
@@ -333,10 +334,10 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
333
334
|
:param str resource_name: The unique name of the resulting resource.
|
|
334
335
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
335
336
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
336
|
-
:param pulumi.Input[str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
337
|
-
:param pulumi.Input[str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
337
|
+
:param pulumi.Input[builtins.str] account_role_name: The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
338
|
+
:param pulumi.Input[builtins.str] database_role_name: The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
338
339
|
:param pulumi.Input[Union['GrantOwnershipOnArgs', 'GrantOwnershipOnArgsDict']] on: Configures which object(s) should transfer their ownership to the specified role.
|
|
339
|
-
:param pulumi.Input[str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
340
|
+
:param pulumi.Input[builtins.str] outbound_privileges: Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
340
341
|
"""
|
|
341
342
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
342
343
|
|
|
@@ -350,7 +351,7 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
350
351
|
|
|
351
352
|
@property
|
|
352
353
|
@pulumi.getter(name="accountRoleName")
|
|
353
|
-
def account_role_name(self) -> pulumi.Output[Optional[str]]:
|
|
354
|
+
def account_role_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
354
355
|
"""
|
|
355
356
|
The fully qualified name of the account role to which privileges will be granted. For more information about this resource, see docs.
|
|
356
357
|
"""
|
|
@@ -358,7 +359,7 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
358
359
|
|
|
359
360
|
@property
|
|
360
361
|
@pulumi.getter(name="databaseRoleName")
|
|
361
|
-
def database_role_name(self) -> pulumi.Output[Optional[str]]:
|
|
362
|
+
def database_role_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
362
363
|
"""
|
|
363
364
|
The fully qualified name of the database role to which privileges will be granted. For more information about this resource, see docs.
|
|
364
365
|
"""
|
|
@@ -374,7 +375,7 @@ class GrantOwnership(pulumi.CustomResource):
|
|
|
374
375
|
|
|
375
376
|
@property
|
|
376
377
|
@pulumi.getter(name="outboundPrivileges")
|
|
377
|
-
def outbound_privileges(self) -> pulumi.Output[Optional[str]]:
|
|
378
|
+
def outbound_privileges(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
378
379
|
"""
|
|
379
380
|
Specifies whether to remove or transfer all existing outbound privileges on the object when ownership is transferred to a new role. Available options are: REVOKE for removing existing privileges and COPY to transfer them with ownership. For more information head over to [Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership#optional-parameters).
|
|
380
381
|
"""
|