pulumi-snowflake 1.2.0a1743489585__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.0a1743489585.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.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.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
|
|
@@ -51,7 +52,7 @@ class GetAccountRolesResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
55
|
+
def id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetAccountRolesResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="inClass")
|
|
62
|
-
def in_class(self) -> Optional[str]:
|
|
63
|
+
def in_class(self) -> Optional[builtins.str]:
|
|
63
64
|
"""
|
|
64
65
|
Filters the SHOW GRANTS output by class name.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetAccountRolesResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def like(self) -> Optional[str]:
|
|
71
|
+
def like(self) -> Optional[builtins.str]:
|
|
71
72
|
"""
|
|
72
73
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
73
74
|
"""
|
|
@@ -86,15 +87,15 @@ class AwaitableGetAccountRolesResult(GetAccountRolesResult):
|
|
|
86
87
|
like=self.like)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_account_roles(in_class: Optional[str] = None,
|
|
90
|
-
like: Optional[str] = None,
|
|
90
|
+
def get_account_roles(in_class: Optional[builtins.str] = None,
|
|
91
|
+
like: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountRolesResult:
|
|
92
93
|
"""
|
|
93
94
|
Data source used to get details of filtered account roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `in_class` are all supported). The results of SHOW are encapsulated in one output collection.
|
|
94
95
|
|
|
95
96
|
|
|
96
|
-
:param str in_class: Filters the SHOW GRANTS output by class name.
|
|
97
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
97
|
+
:param builtins.str in_class: Filters the SHOW GRANTS output by class name.
|
|
98
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
98
99
|
"""
|
|
99
100
|
__args__ = dict()
|
|
100
101
|
__args__['inClass'] = in_class
|
|
@@ -107,15 +108,15 @@ def get_account_roles(in_class: Optional[str] = None,
|
|
|
107
108
|
id=pulumi.get(__ret__, 'id'),
|
|
108
109
|
in_class=pulumi.get(__ret__, 'in_class'),
|
|
109
110
|
like=pulumi.get(__ret__, 'like'))
|
|
110
|
-
def get_account_roles_output(in_class: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
+
def get_account_roles_output(in_class: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
112
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
112
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountRolesResult]:
|
|
113
114
|
"""
|
|
114
115
|
Data source used to get details of filtered account roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `in_class` are all supported). The results of SHOW are encapsulated in one output collection.
|
|
115
116
|
|
|
116
117
|
|
|
117
|
-
:param str in_class: Filters the SHOW GRANTS output by class name.
|
|
118
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
118
|
+
:param builtins.str in_class: Filters the SHOW GRANTS output by class name.
|
|
119
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
119
120
|
"""
|
|
120
121
|
__args__ = dict()
|
|
121
122
|
__args__['inClass'] = in_class
|
pulumi_snowflake/get_accounts.py
CHANGED
|
@@ -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
|
|
@@ -51,7 +52,7 @@ class GetAccountsResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def id(self) -> str:
|
|
55
|
+
def id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetAccountsResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def like(self) -> Optional[str]:
|
|
63
|
+
def like(self) -> Optional[builtins.str]:
|
|
63
64
|
"""
|
|
64
65
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetAccountsResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="withHistory")
|
|
70
|
-
def with_history(self) -> Optional[bool]:
|
|
71
|
+
def with_history(self) -> Optional[builtins.bool]:
|
|
71
72
|
"""
|
|
72
73
|
Includes dropped accounts that have not yet been deleted.
|
|
73
74
|
"""
|
|
@@ -86,15 +87,15 @@ class AwaitableGetAccountsResult(GetAccountsResult):
|
|
|
86
87
|
with_history=self.with_history)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_accounts(like: Optional[str] = None,
|
|
90
|
-
with_history: Optional[bool] = None,
|
|
90
|
+
def get_accounts(like: Optional[builtins.str] = None,
|
|
91
|
+
with_history: Optional[builtins.bool] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountsResult:
|
|
92
93
|
"""
|
|
93
94
|
Data source used to get details of filtered accounts. Filtering is aligned with the current possibilities for [SHOW ACCOUNTS](https://docs.snowflake.com/en/sql-reference/sql/show-accounts) query. The results of SHOW are encapsulated in one output collection `accounts`.
|
|
94
95
|
|
|
95
96
|
|
|
96
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
97
|
-
:param bool with_history: Includes dropped accounts that have not yet been deleted.
|
|
97
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
98
|
+
:param builtins.bool with_history: Includes dropped accounts that have not yet been deleted.
|
|
98
99
|
"""
|
|
99
100
|
__args__ = dict()
|
|
100
101
|
__args__['like'] = like
|
|
@@ -107,15 +108,15 @@ def get_accounts(like: Optional[str] = None,
|
|
|
107
108
|
id=pulumi.get(__ret__, 'id'),
|
|
108
109
|
like=pulumi.get(__ret__, 'like'),
|
|
109
110
|
with_history=pulumi.get(__ret__, 'with_history'))
|
|
110
|
-
def get_accounts_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
-
with_history: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
111
|
+
def get_accounts_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
112
|
+
with_history: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
112
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountsResult]:
|
|
113
114
|
"""
|
|
114
115
|
Data source used to get details of filtered accounts. Filtering is aligned with the current possibilities for [SHOW ACCOUNTS](https://docs.snowflake.com/en/sql-reference/sql/show-accounts) query. The results of SHOW are encapsulated in one output collection `accounts`.
|
|
115
116
|
|
|
116
117
|
|
|
117
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
118
|
-
:param bool with_history: Includes dropped accounts that have not yet been deleted.
|
|
118
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
119
|
+
:param builtins.bool with_history: Includes dropped accounts that have not yet been deleted.
|
|
119
120
|
"""
|
|
120
121
|
__args__ = dict()
|
|
121
122
|
__args__['like'] = like
|
pulumi_snowflake/get_alerts.py
CHANGED
|
@@ -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
|
|
@@ -54,7 +55,7 @@ class GetAlertsResult:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter
|
|
57
|
-
def database(self) -> Optional[str]:
|
|
58
|
+
def database(self) -> Optional[builtins.str]:
|
|
58
59
|
"""
|
|
59
60
|
The database from which to return the alerts from.
|
|
60
61
|
"""
|
|
@@ -62,7 +63,7 @@ class GetAlertsResult:
|
|
|
62
63
|
|
|
63
64
|
@property
|
|
64
65
|
@pulumi.getter
|
|
65
|
-
def id(self) -> str:
|
|
66
|
+
def id(self) -> builtins.str:
|
|
66
67
|
"""
|
|
67
68
|
The provider-assigned unique ID for this managed resource.
|
|
68
69
|
"""
|
|
@@ -70,7 +71,7 @@ class GetAlertsResult:
|
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def pattern(self) -> Optional[str]:
|
|
74
|
+
def pattern(self) -> Optional[builtins.str]:
|
|
74
75
|
"""
|
|
75
76
|
Filters the command output by object name.
|
|
76
77
|
"""
|
|
@@ -78,7 +79,7 @@ class GetAlertsResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def schema(self) -> Optional[str]:
|
|
82
|
+
def schema(self) -> Optional[builtins.str]:
|
|
82
83
|
"""
|
|
83
84
|
The schema from which to return the alerts from.
|
|
84
85
|
"""
|
|
@@ -98,9 +99,9 @@ class AwaitableGetAlertsResult(GetAlertsResult):
|
|
|
98
99
|
schema=self.schema)
|
|
99
100
|
|
|
100
101
|
|
|
101
|
-
def get_alerts(database: Optional[str] = None,
|
|
102
|
-
pattern: Optional[str] = None,
|
|
103
|
-
schema: Optional[str] = None,
|
|
102
|
+
def get_alerts(database: Optional[builtins.str] = None,
|
|
103
|
+
pattern: Optional[builtins.str] = None,
|
|
104
|
+
schema: Optional[builtins.str] = None,
|
|
104
105
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertsResult:
|
|
105
106
|
"""
|
|
106
107
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -116,9 +117,9 @@ def get_alerts(database: Optional[str] = None,
|
|
|
116
117
|
```
|
|
117
118
|
|
|
118
119
|
|
|
119
|
-
:param str database: The database from which to return the alerts from.
|
|
120
|
-
:param str pattern: Filters the command output by object name.
|
|
121
|
-
:param str schema: The schema from which to return the alerts from.
|
|
120
|
+
:param builtins.str database: The database from which to return the alerts from.
|
|
121
|
+
:param builtins.str pattern: Filters the command output by object name.
|
|
122
|
+
:param builtins.str schema: The schema from which to return the alerts from.
|
|
122
123
|
"""
|
|
123
124
|
__args__ = dict()
|
|
124
125
|
__args__['database'] = database
|
|
@@ -133,9 +134,9 @@ def get_alerts(database: Optional[str] = None,
|
|
|
133
134
|
id=pulumi.get(__ret__, 'id'),
|
|
134
135
|
pattern=pulumi.get(__ret__, 'pattern'),
|
|
135
136
|
schema=pulumi.get(__ret__, 'schema'))
|
|
136
|
-
def get_alerts_output(database: Optional[pulumi.Input[Optional[str]]] = None,
|
|
137
|
-
pattern: Optional[pulumi.Input[Optional[str]]] = None,
|
|
138
|
-
schema: Optional[pulumi.Input[Optional[str]]] = None,
|
|
137
|
+
def get_alerts_output(database: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
138
|
+
pattern: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
139
|
+
schema: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
139
140
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertsResult]:
|
|
140
141
|
"""
|
|
141
142
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -151,9 +152,9 @@ def get_alerts_output(database: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
151
152
|
```
|
|
152
153
|
|
|
153
154
|
|
|
154
|
-
:param str database: The database from which to return the alerts from.
|
|
155
|
-
:param str pattern: Filters the command output by object name.
|
|
156
|
-
:param str schema: The schema from which to return the alerts from.
|
|
155
|
+
:param builtins.str database: The database from which to return the alerts from.
|
|
156
|
+
:param builtins.str pattern: Filters the command output by object name.
|
|
157
|
+
:param builtins.str schema: The schema from which to return the alerts from.
|
|
157
158
|
"""
|
|
158
159
|
__args__ = dict()
|
|
159
160
|
__args__['database'] = database
|
|
@@ -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
|
|
@@ -48,7 +49,7 @@ class GetConnectionsResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def id(self) -> str:
|
|
52
|
+
def id(self) -> builtins.str:
|
|
52
53
|
"""
|
|
53
54
|
The provider-assigned unique ID for this managed resource.
|
|
54
55
|
"""
|
|
@@ -56,7 +57,7 @@ class GetConnectionsResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def like(self) -> Optional[str]:
|
|
60
|
+
def like(self) -> Optional[builtins.str]:
|
|
60
61
|
"""
|
|
61
62
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
62
63
|
"""
|
|
@@ -74,13 +75,13 @@ class AwaitableGetConnectionsResult(GetConnectionsResult):
|
|
|
74
75
|
like=self.like)
|
|
75
76
|
|
|
76
77
|
|
|
77
|
-
def get_connections(like: Optional[str] = None,
|
|
78
|
+
def get_connections(like: Optional[builtins.str] = None,
|
|
78
79
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionsResult:
|
|
79
80
|
"""
|
|
80
81
|
Data source used to get details of filtered connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
84
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
84
85
|
"""
|
|
85
86
|
__args__ = dict()
|
|
86
87
|
__args__['like'] = like
|
|
@@ -91,13 +92,13 @@ def get_connections(like: Optional[str] = None,
|
|
|
91
92
|
connections=pulumi.get(__ret__, 'connections'),
|
|
92
93
|
id=pulumi.get(__ret__, 'id'),
|
|
93
94
|
like=pulumi.get(__ret__, 'like'))
|
|
94
|
-
def get_connections_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
95
|
+
def get_connections_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
95
96
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectionsResult]:
|
|
96
97
|
"""
|
|
97
98
|
Data source used to get details of filtered connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
101
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
101
102
|
"""
|
|
102
103
|
__args__ = dict()
|
|
103
104
|
__args__['like'] = like
|
|
@@ -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
|
|
@@ -58,7 +59,7 @@ class GetCortexSearchServicesResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def id(self) -> str:
|
|
62
|
+
def id(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The provider-assigned unique ID for this managed resource.
|
|
64
65
|
"""
|
|
@@ -74,7 +75,7 @@ class GetCortexSearchServicesResult:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter
|
|
77
|
-
def like(self) -> Optional[str]:
|
|
78
|
+
def like(self) -> Optional[builtins.str]:
|
|
78
79
|
"""
|
|
79
80
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
80
81
|
"""
|
|
@@ -90,7 +91,7 @@ class GetCortexSearchServicesResult:
|
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter(name="startsWith")
|
|
93
|
-
def starts_with(self) -> Optional[str]:
|
|
94
|
+
def starts_with(self) -> Optional[builtins.str]:
|
|
94
95
|
"""
|
|
95
96
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
96
97
|
"""
|
|
@@ -112,9 +113,9 @@ class AwaitableGetCortexSearchServicesResult(GetCortexSearchServicesResult):
|
|
|
112
113
|
|
|
113
114
|
|
|
114
115
|
def get_cortex_search_services(in_: Optional[Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict']] = None,
|
|
115
|
-
like: Optional[str] = None,
|
|
116
|
+
like: Optional[builtins.str] = None,
|
|
116
117
|
limit: Optional[Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict']] = None,
|
|
117
|
-
starts_with: Optional[str] = None,
|
|
118
|
+
starts_with: Optional[builtins.str] = None,
|
|
118
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCortexSearchServicesResult:
|
|
119
120
|
"""
|
|
120
121
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -144,9 +145,9 @@ def get_cortex_search_services(in_: Optional[Union['GetCortexSearchServicesInArg
|
|
|
144
145
|
|
|
145
146
|
|
|
146
147
|
:param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
|
|
147
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
148
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
148
149
|
:param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] 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`.
|
|
149
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
150
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
150
151
|
"""
|
|
151
152
|
__args__ = dict()
|
|
152
153
|
__args__['in'] = in_
|
|
@@ -164,9 +165,9 @@ def get_cortex_search_services(in_: Optional[Union['GetCortexSearchServicesInArg
|
|
|
164
165
|
limit=pulumi.get(__ret__, 'limit'),
|
|
165
166
|
starts_with=pulumi.get(__ret__, 'starts_with'))
|
|
166
167
|
def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict']]]] = None,
|
|
167
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
168
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
168
169
|
limit: Optional[pulumi.Input[Optional[Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict']]]] = None,
|
|
169
|
-
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
170
|
+
starts_with: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
170
171
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCortexSearchServicesResult]:
|
|
171
172
|
"""
|
|
172
173
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -196,9 +197,9 @@ def get_cortex_search_services_output(in_: Optional[pulumi.Input[Optional[Union[
|
|
|
196
197
|
|
|
197
198
|
|
|
198
199
|
:param Union['GetCortexSearchServicesInArgs', 'GetCortexSearchServicesInArgsDict'] in_: IN clause to filter the list of cortex search services.
|
|
199
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
200
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
200
201
|
:param Union['GetCortexSearchServicesLimitArgs', 'GetCortexSearchServicesLimitArgsDict'] 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`.
|
|
201
|
-
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
202
|
+
:param builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
202
203
|
"""
|
|
203
204
|
__args__ = dict()
|
|
204
205
|
__args__['in'] = in_
|
|
@@ -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
|
|
@@ -42,7 +43,7 @@ class GetCurrentAccountResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def account(self) -> str:
|
|
46
|
+
def account(self) -> builtins.str:
|
|
46
47
|
"""
|
|
47
48
|
The Snowflake Account ID; as returned by CURRENT_ACCOUNT().
|
|
48
49
|
"""
|
|
@@ -50,7 +51,7 @@ class GetCurrentAccountResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter
|
|
53
|
-
def id(self) -> str:
|
|
54
|
+
def id(self) -> builtins.str:
|
|
54
55
|
"""
|
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
|
56
57
|
"""
|
|
@@ -58,7 +59,7 @@ class GetCurrentAccountResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter
|
|
61
|
-
def region(self) -> str:
|
|
62
|
+
def region(self) -> builtins.str:
|
|
62
63
|
"""
|
|
63
64
|
The Snowflake Region; as returned by CURRENT_REGION()
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetCurrentAccountResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def url(self) -> str:
|
|
70
|
+
def url(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The Snowflake URL.
|
|
72
73
|
"""
|
|
@@ -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
|
|
@@ -36,7 +37,7 @@ class GetCurrentRoleResult:
|
|
|
36
37
|
|
|
37
38
|
@property
|
|
38
39
|
@pulumi.getter
|
|
39
|
-
def id(self) -> str:
|
|
40
|
+
def id(self) -> builtins.str:
|
|
40
41
|
"""
|
|
41
42
|
The provider-assigned unique ID for this managed resource.
|
|
42
43
|
"""
|
|
@@ -44,7 +45,7 @@ class GetCurrentRoleResult:
|
|
|
44
45
|
|
|
45
46
|
@property
|
|
46
47
|
@pulumi.getter
|
|
47
|
-
def name(self) -> str:
|
|
48
|
+
def name(self) -> builtins.str:
|
|
48
49
|
"""
|
|
49
50
|
The name of the [primary role](https://docs.snowflake.com/en/user-guide/security-access-control-overview.html#label-access-control-role-enforcement) in use for the current session.
|
|
50
51
|
"""
|
pulumi_snowflake/get_database.py
CHANGED
|
@@ -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
|
|
@@ -60,17 +61,17 @@ class GetDatabaseResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def comment(self) -> str:
|
|
64
|
+
def comment(self) -> builtins.str:
|
|
64
65
|
return pulumi.get(self, "comment")
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter(name="createdOn")
|
|
68
|
-
def created_on(self) -> str:
|
|
69
|
+
def created_on(self) -> builtins.str:
|
|
69
70
|
return pulumi.get(self, "created_on")
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def id(self) -> str:
|
|
74
|
+
def id(self) -> builtins.str:
|
|
74
75
|
"""
|
|
75
76
|
The provider-assigned unique ID for this managed resource.
|
|
76
77
|
"""
|
|
@@ -78,17 +79,17 @@ class GetDatabaseResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter(name="isCurrent")
|
|
81
|
-
def is_current(self) -> bool:
|
|
82
|
+
def is_current(self) -> builtins.bool:
|
|
82
83
|
return pulumi.get(self, "is_current")
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter(name="isDefault")
|
|
86
|
-
def is_default(self) -> bool:
|
|
87
|
+
def is_default(self) -> builtins.bool:
|
|
87
88
|
return pulumi.get(self, "is_default")
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter
|
|
91
|
-
def name(self) -> str:
|
|
92
|
+
def name(self) -> builtins.str:
|
|
92
93
|
"""
|
|
93
94
|
The database from which to return its metadata.
|
|
94
95
|
"""
|
|
@@ -96,22 +97,22 @@ class GetDatabaseResult:
|
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter
|
|
99
|
-
def options(self) -> str:
|
|
100
|
+
def options(self) -> builtins.str:
|
|
100
101
|
return pulumi.get(self, "options")
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter
|
|
104
|
-
def origin(self) -> str:
|
|
105
|
+
def origin(self) -> builtins.str:
|
|
105
106
|
return pulumi.get(self, "origin")
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter
|
|
109
|
-
def owner(self) -> str:
|
|
110
|
+
def owner(self) -> builtins.str:
|
|
110
111
|
return pulumi.get(self, "owner")
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter(name="retentionTime")
|
|
114
|
-
def retention_time(self) -> int:
|
|
115
|
+
def retention_time(self) -> builtins.int:
|
|
115
116
|
return pulumi.get(self, "retention_time")
|
|
116
117
|
|
|
117
118
|
|
|
@@ -133,7 +134,7 @@ class AwaitableGetDatabaseResult(GetDatabaseResult):
|
|
|
133
134
|
retention_time=self.retention_time)
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
def get_database(name: Optional[str] = None,
|
|
137
|
+
def get_database(name: Optional[builtins.str] = None,
|
|
137
138
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult:
|
|
138
139
|
"""
|
|
139
140
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -148,7 +149,7 @@ def get_database(name: Optional[str] = None,
|
|
|
148
149
|
```
|
|
149
150
|
|
|
150
151
|
|
|
151
|
-
:param str name: The database from which to return its metadata.
|
|
152
|
+
:param builtins.str name: The database from which to return its metadata.
|
|
152
153
|
"""
|
|
153
154
|
__args__ = dict()
|
|
154
155
|
__args__['name'] = name
|
|
@@ -166,7 +167,7 @@ def get_database(name: Optional[str] = None,
|
|
|
166
167
|
origin=pulumi.get(__ret__, 'origin'),
|
|
167
168
|
owner=pulumi.get(__ret__, 'owner'),
|
|
168
169
|
retention_time=pulumi.get(__ret__, 'retention_time'))
|
|
169
|
-
def get_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
def get_database_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
171
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
171
172
|
"""
|
|
172
173
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -181,7 +182,7 @@ def get_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
181
182
|
```
|
|
182
183
|
|
|
183
184
|
|
|
184
|
-
:param str name: The database from which to return its metadata.
|
|
185
|
+
:param builtins.str name: The database from which to return its metadata.
|
|
185
186
|
"""
|
|
186
187
|
__args__ = dict()
|
|
187
188
|
__args__['name'] = name
|
|
@@ -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
|
|
@@ -45,7 +46,7 @@ class GetDatabaseRoleResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter
|
|
48
|
-
def comment(self) -> str:
|
|
49
|
+
def comment(self) -> builtins.str:
|
|
49
50
|
"""
|
|
50
51
|
The comment on the role
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetDatabaseRoleResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def database(self) -> str:
|
|
57
|
+
def database(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The database from which to return the database role from.
|
|
59
60
|
"""
|
|
@@ -61,7 +62,7 @@ class GetDatabaseRoleResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def id(self) -> str:
|
|
65
|
+
def id(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
The provider-assigned unique ID for this managed resource.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class GetDatabaseRoleResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def name(self) -> str:
|
|
73
|
+
def name(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
Database role name.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class GetDatabaseRoleResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def owner(self) -> str:
|
|
81
|
+
def owner(self) -> builtins.str:
|
|
81
82
|
"""
|
|
82
83
|
The owner of the role
|
|
83
84
|
"""
|
|
@@ -97,8 +98,8 @@ class AwaitableGetDatabaseRoleResult(GetDatabaseRoleResult):
|
|
|
97
98
|
owner=self.owner)
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
def get_database_role(database: Optional[str] = None,
|
|
101
|
-
name: Optional[str] = None,
|
|
101
|
+
def get_database_role(database: Optional[builtins.str] = None,
|
|
102
|
+
name: Optional[builtins.str] = None,
|
|
102
103
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseRoleResult:
|
|
103
104
|
"""
|
|
104
105
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -114,8 +115,8 @@ def get_database_role(database: Optional[str] = None,
|
|
|
114
115
|
```
|
|
115
116
|
|
|
116
117
|
|
|
117
|
-
:param str database: The database from which to return the database role from.
|
|
118
|
-
:param str name: Database role name.
|
|
118
|
+
:param builtins.str database: The database from which to return the database role from.
|
|
119
|
+
:param builtins.str name: Database role name.
|
|
119
120
|
"""
|
|
120
121
|
__args__ = dict()
|
|
121
122
|
__args__['database'] = database
|
|
@@ -129,8 +130,8 @@ def get_database_role(database: Optional[str] = None,
|
|
|
129
130
|
id=pulumi.get(__ret__, 'id'),
|
|
130
131
|
name=pulumi.get(__ret__, 'name'),
|
|
131
132
|
owner=pulumi.get(__ret__, 'owner'))
|
|
132
|
-
def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
133
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
133
|
+
def get_database_role_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
134
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
134
135
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseRoleResult]:
|
|
135
136
|
"""
|
|
136
137
|
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled field` in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
@@ -146,8 +147,8 @@ def get_database_role_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
146
147
|
```
|
|
147
148
|
|
|
148
149
|
|
|
149
|
-
:param str database: The database from which to return the database role from.
|
|
150
|
-
:param str name: Database role name.
|
|
150
|
+
:param builtins.str database: The database from which to return the database role from.
|
|
151
|
+
:param builtins.str name: Database role name.
|
|
151
152
|
"""
|
|
152
153
|
__args__ = dict()
|
|
153
154
|
__args__['database'] = database
|