pulumi-snowflake 1.1.4a1742960027__py3-none-any.whl → 1.2.0__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 +12306 -12305
- pulumi_snowflake/account.py +189 -188
- 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 +123 -122
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +161 -160
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +147 -146
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +157 -156
- pulumi_snowflake/api_integration.py +218 -217
- pulumi_snowflake/authentication_policy.py +137 -136
- 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 +227 -226
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +237 -236
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +206 -205
- pulumi_snowflake/external_volume.py +59 -54
- pulumi_snowflake/failover_group.py +109 -108
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +255 -254
- pulumi_snowflake/function_javascript.py +199 -198
- pulumi_snowflake/function_python.py +272 -271
- pulumi_snowflake/function_scala.py +255 -254
- pulumi_snowflake/function_sql.py +185 -184
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +23 -18
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +18 -13
- pulumi_snowflake/get_current_account.py +11 -6
- pulumi_snowflake/get_current_role.py +9 -4
- pulumi_snowflake/get_database.py +21 -16
- pulumi_snowflake/get_database_role.py +20 -15
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +24 -23
- pulumi_snowflake/get_dynamic_tables.py +13 -8
- pulumi_snowflake/get_external_functions.py +18 -13
- pulumi_snowflake/get_external_tables.py +18 -13
- pulumi_snowflake/get_failover_groups.py +13 -8
- pulumi_snowflake/get_file_formats.py +18 -13
- pulumi_snowflake/get_functions.py +18 -13
- pulumi_snowflake/get_grants.py +6 -1
- pulumi_snowflake/get_masking_policies.py +13 -12
- pulumi_snowflake/get_materialized_views.py +18 -13
- pulumi_snowflake/get_network_policies.py +13 -12
- pulumi_snowflake/get_parameters.py +34 -29
- pulumi_snowflake/get_pipes.py +18 -13
- pulumi_snowflake/get_procedures.py +18 -13
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +13 -12
- pulumi_snowflake/get_schemas.py +24 -23
- pulumi_snowflake/get_secrets.py +17 -12
- pulumi_snowflake/get_security_integrations.py +13 -12
- pulumi_snowflake/get_sequences.py +18 -13
- pulumi_snowflake/get_shares.py +13 -8
- pulumi_snowflake/get_stages.py +18 -13
- pulumi_snowflake/get_storage_integrations.py +8 -3
- pulumi_snowflake/get_streamlits.py +13 -12
- pulumi_snowflake/get_streams.py +18 -17
- pulumi_snowflake/get_system_generate_scim_access_token.py +14 -9
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +12 -7
- pulumi_snowflake/get_system_get_private_link_config.py +17 -12
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +10 -5
- pulumi_snowflake/get_tables.py +18 -13
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +23 -22
- pulumi_snowflake/get_users.py +24 -23
- pulumi_snowflake/get_views.py +18 -17
- pulumi_snowflake/get_warehouses.py +19 -18
- 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 +107 -106
- pulumi_snowflake/grant_privileges_to_database_role.py +104 -103
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1048 -1047
- pulumi_snowflake/managed_account.py +116 -115
- pulumi_snowflake/masking_policy.py +109 -108
- pulumi_snowflake/materialized_view.py +126 -125
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +46 -45
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +254 -240
- pulumi_snowflake/oauth_integration_for_custom_clients.py +225 -224
- pulumi_snowflake/oauth_integration_for_partner_applications.py +143 -142
- pulumi_snowflake/object_parameter.py +60 -59
- pulumi_snowflake/outputs.py +9282 -9281
- pulumi_snowflake/password_policy.py +291 -286
- pulumi_snowflake/pipe.py +151 -150
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +273 -272
- pulumi_snowflake/procedure_javascript.py +203 -202
- pulumi_snowflake/procedure_python.py +273 -272
- pulumi_snowflake/procedure_scala.py +273 -272
- pulumi_snowflake/procedure_sql.py +203 -202
- 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 +258 -257
- pulumi_snowflake/schema.py +322 -321
- pulumi_snowflake/scim_integration.py +109 -108
- 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 +108 -107
- pulumi_snowflake/service_user.py +1021 -1020
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +231 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +117 -116
- pulumi_snowflake/stream_on_table.py +127 -126
- pulumi_snowflake/stream_on_view.py +127 -126
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +119 -118
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +173 -172
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +74 -73
- pulumi_snowflake/task.py +1005 -1004
- pulumi_snowflake/user.py +1110 -1109
- 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 +142 -141
- pulumi_snowflake/warehouse.py +244 -243
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0.dist-info/RECORD +148 -0
- pulumi_snowflake-1.1.4a1742960027.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.1.4a1742960027.dist-info → pulumi_snowflake-1.2.0.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
|
|
@@ -43,7 +44,7 @@ class GetExternalTablesResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> str:
|
|
47
|
+
def database(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -59,7 +60,7 @@ class GetExternalTablesResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetExternalTablesResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def schema(self) -> str:
|
|
71
|
+
def schema(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The schema from which to return the external tables from.
|
|
73
74
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetExternalTablesResult(GetExternalTablesResult):
|
|
|
86
87
|
schema=self.schema)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_external_tables(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_external_tables(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalTablesResult:
|
|
92
93
|
"""
|
|
93
|
-
!> **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
|
|
94
|
+
!> **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.
|
|
94
95
|
|
|
95
96
|
## Example Usage
|
|
96
97
|
|
|
@@ -102,9 +103,11 @@ def get_external_tables(database: Optional[str] = None,
|
|
|
102
103
|
schema="MYSCHEMA")
|
|
103
104
|
```
|
|
104
105
|
|
|
106
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
:param str
|
|
108
|
+
|
|
109
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
+
:param builtins.str schema: The schema from which to return the external tables from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_external_tables(database: Optional[str] = None,
|
|
|
117
120
|
external_tables=pulumi.get(__ret__, 'external_tables'),
|
|
118
121
|
id=pulumi.get(__ret__, 'id'),
|
|
119
122
|
schema=pulumi.get(__ret__, 'schema'))
|
|
120
|
-
def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_external_tables_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalTablesResult]:
|
|
123
126
|
"""
|
|
124
|
-
!> **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
|
|
127
|
+
!> **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.
|
|
125
128
|
|
|
126
129
|
## Example Usage
|
|
127
130
|
|
|
@@ -133,9 +136,11 @@ def get_external_tables_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
136
|
schema="MYSCHEMA")
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
140
|
+
|
|
136
141
|
|
|
137
|
-
:param str database: The database from which to return the schemas from.
|
|
138
|
-
:param str schema: The schema from which to return the external tables from.
|
|
142
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
143
|
+
:param builtins.str schema: The schema from which to return the external tables from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__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 GetFailoverGroupsResult:
|
|
|
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 GetFailoverGroupsResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter(name="inAccount")
|
|
59
|
-
def in_account(self) -> Optional[str]:
|
|
60
|
+
def in_account(self) -> Optional[builtins.str]:
|
|
60
61
|
"""
|
|
61
62
|
Specifies the identifier for the account
|
|
62
63
|
"""
|
|
@@ -74,13 +75,15 @@ class AwaitableGetFailoverGroupsResult(GetFailoverGroupsResult):
|
|
|
74
75
|
in_account=self.in_account)
|
|
75
76
|
|
|
76
77
|
|
|
77
|
-
def get_failover_groups(in_account: Optional[str] = None,
|
|
78
|
+
def get_failover_groups(in_account: Optional[builtins.str] = None,
|
|
78
79
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFailoverGroupsResult:
|
|
79
80
|
"""
|
|
80
|
-
!> **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
|
|
81
|
+
!> **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.
|
|
81
82
|
|
|
83
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
82
84
|
|
|
83
|
-
|
|
85
|
+
|
|
86
|
+
:param builtins.str in_account: Specifies the identifier for the account
|
|
84
87
|
"""
|
|
85
88
|
__args__ = dict()
|
|
86
89
|
__args__['inAccount'] = in_account
|
|
@@ -91,13 +94,15 @@ def get_failover_groups(in_account: Optional[str] = None,
|
|
|
91
94
|
failover_groups=pulumi.get(__ret__, 'failover_groups'),
|
|
92
95
|
id=pulumi.get(__ret__, 'id'),
|
|
93
96
|
in_account=pulumi.get(__ret__, 'in_account'))
|
|
94
|
-
def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[str]]] = None,
|
|
97
|
+
def get_failover_groups_output(in_account: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
95
98
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFailoverGroupsResult]:
|
|
96
99
|
"""
|
|
97
|
-
!> **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
|
|
100
|
+
!> **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.
|
|
101
|
+
|
|
102
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
98
103
|
|
|
99
104
|
|
|
100
|
-
:param str in_account: Specifies the identifier for the account
|
|
105
|
+
:param builtins.str in_account: Specifies the identifier for the account
|
|
101
106
|
"""
|
|
102
107
|
__args__ = dict()
|
|
103
108
|
__args__['inAccount'] = in_account
|
|
@@ -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
|
|
@@ -43,7 +44,7 @@ class GetFileFormatsResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> str:
|
|
47
|
+
def database(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -59,7 +60,7 @@ class GetFileFormatsResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetFileFormatsResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def schema(self) -> str:
|
|
71
|
+
def schema(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The schema from which to return the file formats from.
|
|
73
74
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetFileFormatsResult(GetFileFormatsResult):
|
|
|
86
87
|
schema=self.schema)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_file_formats(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_file_formats(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileFormatsResult:
|
|
92
93
|
"""
|
|
93
|
-
!> **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
|
|
94
|
+
!> **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.
|
|
94
95
|
|
|
95
96
|
## Example Usage
|
|
96
97
|
|
|
@@ -102,9 +103,11 @@ def get_file_formats(database: Optional[str] = None,
|
|
|
102
103
|
schema="MYSCHEMA")
|
|
103
104
|
```
|
|
104
105
|
|
|
106
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
:param str
|
|
108
|
+
|
|
109
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
+
:param builtins.str schema: The schema from which to return the file formats from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_file_formats(database: Optional[str] = None,
|
|
|
117
120
|
file_formats=pulumi.get(__ret__, 'file_formats'),
|
|
118
121
|
id=pulumi.get(__ret__, 'id'),
|
|
119
122
|
schema=pulumi.get(__ret__, 'schema'))
|
|
120
|
-
def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_file_formats_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileFormatsResult]:
|
|
123
126
|
"""
|
|
124
|
-
!> **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
|
|
127
|
+
!> **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.
|
|
125
128
|
|
|
126
129
|
## Example Usage
|
|
127
130
|
|
|
@@ -133,9 +136,11 @@ def get_file_formats_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
136
|
schema="MYSCHEMA")
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
140
|
+
|
|
136
141
|
|
|
137
|
-
:param str database: The database from which to return the schemas from.
|
|
138
|
-
:param str schema: The schema from which to return the file formats from.
|
|
142
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
143
|
+
:param builtins.str schema: The schema from which to return the file formats from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__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
|
|
@@ -43,7 +44,7 @@ class GetFunctionsResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> str:
|
|
47
|
+
def database(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -59,7 +60,7 @@ class GetFunctionsResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetFunctionsResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def schema(self) -> str:
|
|
71
|
+
def schema(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The schema from which to return the functions from.
|
|
73
74
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetFunctionsResult(GetFunctionsResult):
|
|
|
86
87
|
schema=self.schema)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_functions(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_functions(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFunctionsResult:
|
|
92
93
|
"""
|
|
93
|
-
!> **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
|
|
94
|
+
!> **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.
|
|
94
95
|
|
|
95
96
|
## Example Usage
|
|
96
97
|
|
|
@@ -102,9 +103,11 @@ def get_functions(database: Optional[str] = None,
|
|
|
102
103
|
schema="MYSCHEMA")
|
|
103
104
|
```
|
|
104
105
|
|
|
106
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
:param str
|
|
108
|
+
|
|
109
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
+
:param builtins.str schema: The schema from which to return the functions from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_functions(database: Optional[str] = None,
|
|
|
117
120
|
functions=pulumi.get(__ret__, 'functions'),
|
|
118
121
|
id=pulumi.get(__ret__, 'id'),
|
|
119
122
|
schema=pulumi.get(__ret__, 'schema'))
|
|
120
|
-
def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_functions_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionsResult]:
|
|
123
126
|
"""
|
|
124
|
-
!> **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
|
|
127
|
+
!> **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.
|
|
125
128
|
|
|
126
129
|
## Example Usage
|
|
127
130
|
|
|
@@ -133,9 +136,11 @@ def get_functions_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
136
|
schema="MYSCHEMA")
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
140
|
+
|
|
136
141
|
|
|
137
|
-
:param str database: The database from which to return the schemas from.
|
|
138
|
-
:param str schema: The schema from which to return the functions from.
|
|
142
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
143
|
+
:param builtins.str schema: The schema from which to return the functions from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__args__['database'] = database
|
pulumi_snowflake/get_grants.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
|
|
@@ -101,7 +102,7 @@ class GetGrantsResult:
|
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter
|
|
104
|
-
def id(self) -> str:
|
|
105
|
+
def id(self) -> builtins.str:
|
|
105
106
|
"""
|
|
106
107
|
The provider-assigned unique ID for this managed resource.
|
|
107
108
|
"""
|
|
@@ -218,6 +219,8 @@ def get_grants(future_grants_in: Optional[Union['GetGrantsFutureGrantsInArgs', '
|
|
|
218
219
|
})
|
|
219
220
|
```
|
|
220
221
|
|
|
222
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
223
|
+
|
|
221
224
|
|
|
222
225
|
:param Union['GetGrantsFutureGrantsInArgs', 'GetGrantsFutureGrantsInArgsDict'] future_grants_in: Lists all privileges on new (i.e. future) objects.
|
|
223
226
|
:param Union['GetGrantsFutureGrantsToArgs', 'GetGrantsFutureGrantsToArgsDict'] future_grants_to: Lists all privileges granted to the object on new (i.e. future) objects.
|
|
@@ -337,6 +340,8 @@ def get_grants_output(future_grants_in: Optional[pulumi.Input[Optional[Union['Ge
|
|
|
337
340
|
})
|
|
338
341
|
```
|
|
339
342
|
|
|
343
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
344
|
+
|
|
340
345
|
|
|
341
346
|
:param Union['GetGrantsFutureGrantsInArgs', 'GetGrantsFutureGrantsInArgsDict'] future_grants_in: Lists all privileges on new (i.e. future) objects.
|
|
342
347
|
:param Union['GetGrantsFutureGrantsToArgs', 'GetGrantsFutureGrantsToArgsDict'] future_grants_to: Lists all privileges granted to the object on new (i.e. future) objects.
|
|
@@ -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
|
|
@@ -50,7 +51,7 @@ class GetMaskingPoliciesResult:
|
|
|
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
|
"""
|
|
@@ -66,7 +67,7 @@ class GetMaskingPoliciesResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def like(self) -> Optional[str]:
|
|
70
|
+
def like(self) -> Optional[builtins.str]:
|
|
70
71
|
"""
|
|
71
72
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
72
73
|
"""
|
|
@@ -90,9 +91,9 @@ class GetMaskingPoliciesResult:
|
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter(name="withDescribe")
|
|
93
|
-
def with_describe(self) -> Optional[bool]:
|
|
94
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
94
95
|
"""
|
|
95
|
-
Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
96
|
+
(Default: `true`) Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
96
97
|
"""
|
|
97
98
|
return pulumi.get(self, "with_describe")
|
|
98
99
|
|
|
@@ -112,18 +113,18 @@ class AwaitableGetMaskingPoliciesResult(GetMaskingPoliciesResult):
|
|
|
112
113
|
|
|
113
114
|
|
|
114
115
|
def get_masking_policies(in_: Optional[Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict']] = None,
|
|
115
|
-
like: Optional[str] = None,
|
|
116
|
+
like: Optional[builtins.str] = None,
|
|
116
117
|
limit: Optional[Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict']] = None,
|
|
117
|
-
with_describe: Optional[bool] = None,
|
|
118
|
+
with_describe: Optional[builtins.bool] = None,
|
|
118
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaskingPoliciesResult:
|
|
119
120
|
"""
|
|
120
121
|
Data source used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `masking_policies`.
|
|
121
122
|
|
|
122
123
|
|
|
123
124
|
:param Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict'] in_: IN clause to filter the list of masking policies
|
|
124
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
125
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
125
126
|
:param Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict'] 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`.
|
|
126
|
-
:param bool with_describe: Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
127
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
127
128
|
"""
|
|
128
129
|
__args__ = dict()
|
|
129
130
|
__args__['in'] = in_
|
|
@@ -141,18 +142,18 @@ def get_masking_policies(in_: Optional[Union['GetMaskingPoliciesInArgs', 'GetMas
|
|
|
141
142
|
masking_policies=pulumi.get(__ret__, 'masking_policies'),
|
|
142
143
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
143
144
|
def get_masking_policies_output(in_: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict']]]] = None,
|
|
144
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
|
+
like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
145
146
|
limit: Optional[pulumi.Input[Optional[Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict']]]] = None,
|
|
146
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
147
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
147
148
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaskingPoliciesResult]:
|
|
148
149
|
"""
|
|
149
150
|
Data source used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `masking_policies`.
|
|
150
151
|
|
|
151
152
|
|
|
152
153
|
:param Union['GetMaskingPoliciesInArgs', 'GetMaskingPoliciesInArgsDict'] in_: IN clause to filter the list of masking policies
|
|
153
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
154
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
154
155
|
:param Union['GetMaskingPoliciesLimitArgs', 'GetMaskingPoliciesLimitArgsDict'] 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`.
|
|
155
|
-
:param bool with_describe: Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
156
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
156
157
|
"""
|
|
157
158
|
__args__ = dict()
|
|
158
159
|
__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
|
|
@@ -43,7 +44,7 @@ class GetMaterializedViewsResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def database(self) -> str:
|
|
47
|
+
def database(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The database from which to return the schemas from.
|
|
49
50
|
"""
|
|
@@ -51,7 +52,7 @@ class GetMaterializedViewsResult:
|
|
|
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
|
"""
|
|
@@ -67,7 +68,7 @@ class GetMaterializedViewsResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter
|
|
70
|
-
def schema(self) -> str:
|
|
71
|
+
def schema(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
The schema from which to return the views from.
|
|
73
74
|
"""
|
|
@@ -86,11 +87,11 @@ class AwaitableGetMaterializedViewsResult(GetMaterializedViewsResult):
|
|
|
86
87
|
schema=self.schema)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_materialized_views(database: Optional[str] = None,
|
|
90
|
-
schema: Optional[str] = None,
|
|
90
|
+
def get_materialized_views(database: Optional[builtins.str] = None,
|
|
91
|
+
schema: Optional[builtins.str] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaterializedViewsResult:
|
|
92
93
|
"""
|
|
93
|
-
!> **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
|
|
94
|
+
!> **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.
|
|
94
95
|
|
|
95
96
|
## Example Usage
|
|
96
97
|
|
|
@@ -102,9 +103,11 @@ def get_materialized_views(database: Optional[str] = None,
|
|
|
102
103
|
schema="MYSCHEMA")
|
|
103
104
|
```
|
|
104
105
|
|
|
106
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
:param str
|
|
108
|
+
|
|
109
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
110
|
+
:param builtins.str schema: The schema from which to return the views from.
|
|
108
111
|
"""
|
|
109
112
|
__args__ = dict()
|
|
110
113
|
__args__['database'] = database
|
|
@@ -117,11 +120,11 @@ def get_materialized_views(database: Optional[str] = None,
|
|
|
117
120
|
id=pulumi.get(__ret__, 'id'),
|
|
118
121
|
materialized_views=pulumi.get(__ret__, 'materialized_views'),
|
|
119
122
|
schema=pulumi.get(__ret__, 'schema'))
|
|
120
|
-
def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_materialized_views_output(database: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaterializedViewsResult]:
|
|
123
126
|
"""
|
|
124
|
-
!> **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
|
|
127
|
+
!> **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.
|
|
125
128
|
|
|
126
129
|
## Example Usage
|
|
127
130
|
|
|
@@ -133,9 +136,11 @@ def get_materialized_views_output(database: Optional[pulumi.Input[str]] = None,
|
|
|
133
136
|
schema="MYSCHEMA")
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
> **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
140
|
+
|
|
136
141
|
|
|
137
|
-
:param str database: The database from which to return the schemas from.
|
|
138
|
-
:param str schema: The schema from which to return the views from.
|
|
142
|
+
:param builtins.str database: The database from which to return the schemas from.
|
|
143
|
+
:param builtins.str schema: The schema from which to return the views from.
|
|
139
144
|
"""
|
|
140
145
|
__args__ = dict()
|
|
141
146
|
__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
|
|
@@ -43,7 +44,7 @@ class GetNetworkPoliciesResult:
|
|
|
43
44
|
|
|
44
45
|
@property
|
|
45
46
|
@pulumi.getter
|
|
46
|
-
def id(self) -> str:
|
|
47
|
+
def id(self) -> builtins.str:
|
|
47
48
|
"""
|
|
48
49
|
The provider-assigned unique ID for this managed resource.
|
|
49
50
|
"""
|
|
@@ -51,7 +52,7 @@ class GetNetworkPoliciesResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter
|
|
54
|
-
def like(self) -> Optional[str]:
|
|
55
|
+
def like(self) -> Optional[builtins.str]:
|
|
55
56
|
"""
|
|
56
57
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
57
58
|
"""
|
|
@@ -67,9 +68,9 @@ class GetNetworkPoliciesResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="withDescribe")
|
|
70
|
-
def with_describe(self) -> Optional[bool]:
|
|
71
|
+
def with_describe(self) -> Optional[builtins.bool]:
|
|
71
72
|
"""
|
|
72
|
-
Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
73
|
+
(Default: `true`) Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
73
74
|
"""
|
|
74
75
|
return pulumi.get(self, "with_describe")
|
|
75
76
|
|
|
@@ -86,15 +87,15 @@ class AwaitableGetNetworkPoliciesResult(GetNetworkPoliciesResult):
|
|
|
86
87
|
with_describe=self.with_describe)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def get_network_policies(like: Optional[str] = None,
|
|
90
|
-
with_describe: Optional[bool] = None,
|
|
90
|
+
def get_network_policies(like: Optional[builtins.str] = None,
|
|
91
|
+
with_describe: Optional[builtins.bool] = None,
|
|
91
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkPoliciesResult:
|
|
92
93
|
"""
|
|
93
94
|
Data source used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
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_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
97
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
98
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
98
99
|
"""
|
|
99
100
|
__args__ = dict()
|
|
100
101
|
__args__['like'] = like
|
|
@@ -107,15 +108,15 @@ def get_network_policies(like: Optional[str] = None,
|
|
|
107
108
|
like=pulumi.get(__ret__, 'like'),
|
|
108
109
|
network_policies=pulumi.get(__ret__, 'network_policies'),
|
|
109
110
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
110
|
-
def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
111
|
+
def get_network_policies_output(like: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
112
|
+
with_describe: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
112
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkPoliciesResult]:
|
|
113
114
|
"""
|
|
114
115
|
Data source used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
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_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
118
|
+
:param builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
119
|
+
:param builtins.bool with_describe: (Default: `true`) Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
119
120
|
"""
|
|
120
121
|
__args__ = dict()
|
|
121
122
|
__args__['like'] = like
|