pulumi-snowflake 2.2.0a1751946295__py3-none-any.whl → 2.3.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 +20 -1
- pulumi_snowflake/_inputs.py +17236 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2096 -2097
- pulumi_snowflake/current_organization_account.py +5863 -0
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_user_programmatic_access_tokens.py +113 -0
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15957 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_programmatic_access_token.py +598 -0
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.2.0a1751946295.dist-info → pulumi_snowflake-2.3.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0.dist-info/RECORD +161 -0
- pulumi_snowflake-2.2.0a1751946295.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.2.0a1751946295.dist-info → pulumi_snowflake-2.3.0.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.2.0a1751946295.dist-info → pulumi_snowflake-2.3.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -59,81 +58,81 @@ class GetSystemGetPrivateLinkConfigResult:
|
|
|
59
58
|
raise TypeError("Expected argument 'snowsight_url' to be a str")
|
|
60
59
|
pulumi.set(__self__, "snowsight_url", snowsight_url)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="accountName")
|
|
64
|
-
def account_name(self) ->
|
|
63
|
+
def account_name(self) -> _builtins.str:
|
|
65
64
|
"""
|
|
66
65
|
The name of your Snowflake account.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "account_name")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter(name="accountUrl")
|
|
72
|
-
def account_url(self) ->
|
|
71
|
+
def account_url(self) -> _builtins.str:
|
|
73
72
|
"""
|
|
74
73
|
The URL used to connect to Snowflake through AWS PrivateLink or Azure Private Link.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "account_url")
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter(name="awsVpceId")
|
|
80
|
-
def aws_vpce_id(self) ->
|
|
79
|
+
def aws_vpce_id(self) -> _builtins.str:
|
|
81
80
|
"""
|
|
82
81
|
The AWS VPCE ID for your account.
|
|
83
82
|
"""
|
|
84
83
|
return pulumi.get(self, "aws_vpce_id")
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter(name="azurePlsId")
|
|
88
|
-
def azure_pls_id(self) ->
|
|
87
|
+
def azure_pls_id(self) -> _builtins.str:
|
|
89
88
|
"""
|
|
90
89
|
The Azure Private Link Service ID for your account.
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "azure_pls_id")
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter
|
|
96
|
-
def id(self) ->
|
|
95
|
+
def id(self) -> _builtins.str:
|
|
97
96
|
"""
|
|
98
97
|
The provider-assigned unique ID for this managed resource.
|
|
99
98
|
"""
|
|
100
99
|
return pulumi.get(self, "id")
|
|
101
100
|
|
|
102
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
103
102
|
@pulumi.getter(name="internalStage")
|
|
104
|
-
def internal_stage(self) ->
|
|
103
|
+
def internal_stage(self) -> _builtins.str:
|
|
105
104
|
"""
|
|
106
105
|
The endpoint to connect to your Snowflake internal stage using AWS PrivateLink or Azure Private Link.
|
|
107
106
|
"""
|
|
108
107
|
return pulumi.get(self, "internal_stage")
|
|
109
108
|
|
|
110
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
111
110
|
@pulumi.getter(name="ocspUrl")
|
|
112
|
-
def ocsp_url(self) ->
|
|
111
|
+
def ocsp_url(self) -> _builtins.str:
|
|
113
112
|
"""
|
|
114
113
|
The OCSP URL corresponding to your Snowflake account that uses AWS PrivateLink or Azure Private Link.
|
|
115
114
|
"""
|
|
116
115
|
return pulumi.get(self, "ocsp_url")
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter(name="regionlessAccountUrl")
|
|
120
|
-
def regionless_account_url(self) ->
|
|
119
|
+
def regionless_account_url(self) -> _builtins.str:
|
|
121
120
|
"""
|
|
122
121
|
The regionless URL to connect to your Snowflake account using AWS PrivateLink, Azure Private Link, or Google Cloud Private Service Connect.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "regionless_account_url")
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter(name="regionlessSnowsightUrl")
|
|
128
|
-
def regionless_snowsight_url(self) ->
|
|
127
|
+
def regionless_snowsight_url(self) -> _builtins.str:
|
|
129
128
|
"""
|
|
130
129
|
The URL for your organization to access Snowsight using Private Connectivity to the Snowflake Service.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "regionless_snowsight_url")
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter(name="snowsightUrl")
|
|
136
|
-
def snowsight_url(self) ->
|
|
135
|
+
def snowsight_url(self) -> _builtins.str:
|
|
137
136
|
"""
|
|
138
137
|
The URL containing the cloud region to access Snowsight and the Snowflake Marketplace using Private Connectivity to the Snowflake Service.
|
|
139
138
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -38,25 +37,25 @@ class GetSystemGetSnowflakePlatformInfoResult:
|
|
|
38
37
|
raise TypeError("Expected argument 'id' to be a str")
|
|
39
38
|
pulumi.set(__self__, "id", id)
|
|
40
39
|
|
|
41
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
42
41
|
@pulumi.getter(name="awsVpcIds")
|
|
43
|
-
def aws_vpc_ids(self) -> Sequence[
|
|
42
|
+
def aws_vpc_ids(self) -> Sequence[_builtins.str]:
|
|
44
43
|
"""
|
|
45
44
|
Snowflake AWS Virtual Private Cloud IDs
|
|
46
45
|
"""
|
|
47
46
|
return pulumi.get(self, "aws_vpc_ids")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="azureVnetSubnetIds")
|
|
51
|
-
def azure_vnet_subnet_ids(self) -> Sequence[
|
|
50
|
+
def azure_vnet_subnet_ids(self) -> Sequence[_builtins.str]:
|
|
52
51
|
"""
|
|
53
52
|
Snowflake Azure Virtual Network Subnet IDs
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "azure_vnet_subnet_ids")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def id(self) ->
|
|
58
|
+
def id(self) -> _builtins.str:
|
|
60
59
|
"""
|
|
61
60
|
The provider-assigned unique ID for this managed resource.
|
|
62
61
|
"""
|
pulumi_snowflake/get_tables.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -52,15 +51,15 @@ class GetTablesResult:
|
|
|
52
51
|
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
53
52
|
pulumi.set(__self__, "with_describe", with_describe)
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="in")
|
|
65
64
|
def in_(self) -> Optional['outputs.GetTablesInResult']:
|
|
66
65
|
"""
|
|
@@ -68,15 +67,15 @@ class GetTablesResult:
|
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "in_")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def like(self) -> Optional[
|
|
72
|
+
def like(self) -> Optional[_builtins.str]:
|
|
74
73
|
"""
|
|
75
74
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "like")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
80
|
def limit(self) -> Optional['outputs.GetTablesLimitResult']:
|
|
82
81
|
"""
|
|
@@ -84,15 +83,15 @@ class GetTablesResult:
|
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "limit")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter(name="startsWith")
|
|
89
|
-
def starts_with(self) -> Optional[
|
|
88
|
+
def starts_with(self) -> Optional[_builtins.str]:
|
|
90
89
|
"""
|
|
91
90
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "starts_with")
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter
|
|
97
96
|
def tables(self) -> Sequence['outputs.GetTablesTableResult']:
|
|
98
97
|
"""
|
|
@@ -100,9 +99,9 @@ class GetTablesResult:
|
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "tables")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="withDescribe")
|
|
105
|
-
def with_describe(self) -> Optional[
|
|
104
|
+
def with_describe(self) -> Optional[_builtins.bool]:
|
|
106
105
|
"""
|
|
107
106
|
(Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
108
107
|
"""
|
|
@@ -125,10 +124,10 @@ class AwaitableGetTablesResult(GetTablesResult):
|
|
|
125
124
|
|
|
126
125
|
|
|
127
126
|
def get_tables(in_: Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']] = None,
|
|
128
|
-
like: Optional[
|
|
127
|
+
like: Optional[_builtins.str] = None,
|
|
129
128
|
limit: Optional[Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict']] = None,
|
|
130
|
-
starts_with: Optional[
|
|
131
|
-
with_describe: Optional[
|
|
129
|
+
starts_with: Optional[_builtins.str] = None,
|
|
130
|
+
with_describe: Optional[_builtins.bool] = None,
|
|
132
131
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTablesResult:
|
|
133
132
|
"""
|
|
134
133
|
!> **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.
|
|
@@ -137,10 +136,10 @@ def get_tables(in_: Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']] =
|
|
|
137
136
|
|
|
138
137
|
|
|
139
138
|
:param Union['GetTablesInArgs', 'GetTablesInArgsDict'] in_: IN clause to filter the list of objects
|
|
140
|
-
:param
|
|
139
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
141
140
|
:param Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
|
|
142
|
-
:param
|
|
143
|
-
:param
|
|
141
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
142
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
144
143
|
"""
|
|
145
144
|
__args__ = dict()
|
|
146
145
|
__args__['in'] = in_
|
|
@@ -160,10 +159,10 @@ def get_tables(in_: Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']] =
|
|
|
160
159
|
tables=pulumi.get(__ret__, 'tables'),
|
|
161
160
|
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
162
161
|
def get_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetTablesInArgs', 'GetTablesInArgsDict']]]] = None,
|
|
163
|
-
like: Optional[pulumi.Input[Optional[
|
|
162
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
164
163
|
limit: Optional[pulumi.Input[Optional[Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict']]]] = None,
|
|
165
|
-
starts_with: Optional[pulumi.Input[Optional[
|
|
166
|
-
with_describe: Optional[pulumi.Input[Optional[
|
|
164
|
+
starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
165
|
+
with_describe: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
167
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]:
|
|
168
167
|
"""
|
|
169
168
|
!> **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.
|
|
@@ -172,10 +171,10 @@ def get_tables_output(in_: Optional[pulumi.Input[Optional[Union['GetTablesInArgs
|
|
|
172
171
|
|
|
173
172
|
|
|
174
173
|
:param Union['GetTablesInArgs', 'GetTablesInArgsDict'] in_: IN clause to filter the list of objects
|
|
175
|
-
:param
|
|
174
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
176
175
|
:param Union['GetTablesLimitArgs', 'GetTablesLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
|
|
177
|
-
:param
|
|
178
|
-
:param
|
|
176
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
177
|
+
:param _builtins.bool with_describe: (Default: `true`) Runs DESC TABLE for each table returned by SHOW TABLES. The output of describe is saved to the description field. By default this value is set to true.
|
|
179
178
|
"""
|
|
180
179
|
__args__ = dict()
|
|
181
180
|
__args__['in'] = in_
|
pulumi_snowflake/get_tags.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -43,15 +42,15 @@ class GetTagsResult:
|
|
|
43
42
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
44
43
|
pulumi.set(__self__, "tags", tags)
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
49
48
|
"""
|
|
50
49
|
The provider-assigned unique ID for this managed resource.
|
|
51
50
|
"""
|
|
52
51
|
return pulumi.get(self, "id")
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter(name="in")
|
|
56
55
|
def in_(self) -> Optional['outputs.GetTagsInResult']:
|
|
57
56
|
"""
|
|
@@ -59,15 +58,15 @@ class GetTagsResult:
|
|
|
59
58
|
"""
|
|
60
59
|
return pulumi.get(self, "in_")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def like(self) -> Optional[
|
|
63
|
+
def like(self) -> Optional[_builtins.str]:
|
|
65
64
|
"""
|
|
66
65
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "like")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
71
|
def tags(self) -> Sequence['outputs.GetTagsTagResult']:
|
|
73
72
|
"""
|
|
@@ -89,14 +88,14 @@ class AwaitableGetTagsResult(GetTagsResult):
|
|
|
89
88
|
|
|
90
89
|
|
|
91
90
|
def get_tags(in_: Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']] = None,
|
|
92
|
-
like: Optional[
|
|
91
|
+
like: Optional[_builtins.str] = None,
|
|
93
92
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagsResult:
|
|
94
93
|
"""
|
|
95
94
|
Data source used to get details of filtered tags. Filtering is aligned with the current possibilities for [SHOW TAGS](https://docs.snowflake.com/en/sql-reference/sql/show-tags) query. The results of SHOW are encapsulated in one output collection `tags`.
|
|
96
95
|
|
|
97
96
|
|
|
98
97
|
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
99
|
-
:param
|
|
98
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
100
99
|
"""
|
|
101
100
|
__args__ = dict()
|
|
102
101
|
__args__['in'] = in_
|
|
@@ -110,14 +109,14 @@ def get_tags(in_: Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']] = None,
|
|
|
110
109
|
like=pulumi.get(__ret__, 'like'),
|
|
111
110
|
tags=pulumi.get(__ret__, 'tags'))
|
|
112
111
|
def get_tags_output(in_: Optional[pulumi.Input[Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']]]] = None,
|
|
113
|
-
like: Optional[pulumi.Input[Optional[
|
|
112
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
114
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagsResult]:
|
|
115
114
|
"""
|
|
116
115
|
Data source used to get details of filtered tags. Filtering is aligned with the current possibilities for [SHOW TAGS](https://docs.snowflake.com/en/sql-reference/sql/show-tags) query. The results of SHOW are encapsulated in one output collection `tags`.
|
|
117
116
|
|
|
118
117
|
|
|
119
118
|
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
120
|
-
:param
|
|
119
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
121
120
|
"""
|
|
122
121
|
__args__ = dict()
|
|
123
122
|
__args__['in'] = in_
|
pulumi_snowflake/get_tasks.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -55,15 +54,15 @@ class GetTasksResult:
|
|
|
55
54
|
raise TypeError("Expected argument 'with_parameters' to be a bool")
|
|
56
55
|
pulumi.set(__self__, "with_parameters", with_parameters)
|
|
57
56
|
|
|
58
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
59
58
|
@pulumi.getter
|
|
60
|
-
def id(self) ->
|
|
59
|
+
def id(self) -> _builtins.str:
|
|
61
60
|
"""
|
|
62
61
|
The provider-assigned unique ID for this managed resource.
|
|
63
62
|
"""
|
|
64
63
|
return pulumi.get(self, "id")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="in")
|
|
68
67
|
def in_(self) -> Optional['outputs.GetTasksInResult']:
|
|
69
68
|
"""
|
|
@@ -71,15 +70,15 @@ class GetTasksResult:
|
|
|
71
70
|
"""
|
|
72
71
|
return pulumi.get(self, "in_")
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter
|
|
76
|
-
def like(self) -> Optional[
|
|
75
|
+
def like(self) -> Optional[_builtins.str]:
|
|
77
76
|
"""
|
|
78
77
|
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "like")
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
83
|
def limit(self) -> Optional['outputs.GetTasksLimitResult']:
|
|
85
84
|
"""
|
|
@@ -87,23 +86,23 @@ class GetTasksResult:
|
|
|
87
86
|
"""
|
|
88
87
|
return pulumi.get(self, "limit")
|
|
89
88
|
|
|
90
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
91
90
|
@pulumi.getter(name="rootOnly")
|
|
92
|
-
def root_only(self) -> Optional[
|
|
91
|
+
def root_only(self) -> Optional[_builtins.bool]:
|
|
93
92
|
"""
|
|
94
93
|
Filters the command output to return only root tasks (tasks with no predecessors).
|
|
95
94
|
"""
|
|
96
95
|
return pulumi.get(self, "root_only")
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
@pulumi.getter(name="startsWith")
|
|
100
|
-
def starts_with(self) -> Optional[
|
|
99
|
+
def starts_with(self) -> Optional[_builtins.str]:
|
|
101
100
|
"""
|
|
102
101
|
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
103
102
|
"""
|
|
104
103
|
return pulumi.get(self, "starts_with")
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter
|
|
108
107
|
def tasks(self) -> Sequence['outputs.GetTasksTaskResult']:
|
|
109
108
|
"""
|
|
@@ -111,9 +110,9 @@ class GetTasksResult:
|
|
|
111
110
|
"""
|
|
112
111
|
return pulumi.get(self, "tasks")
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter(name="withParameters")
|
|
116
|
-
def with_parameters(self) -> Optional[
|
|
115
|
+
def with_parameters(self) -> Optional[_builtins.bool]:
|
|
117
116
|
"""
|
|
118
117
|
(Default: `true`) Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
119
118
|
"""
|
|
@@ -137,11 +136,11 @@ class AwaitableGetTasksResult(GetTasksResult):
|
|
|
137
136
|
|
|
138
137
|
|
|
139
138
|
def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = None,
|
|
140
|
-
like: Optional[
|
|
139
|
+
like: Optional[_builtins.str] = None,
|
|
141
140
|
limit: Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']] = None,
|
|
142
|
-
root_only: Optional[
|
|
143
|
-
starts_with: Optional[
|
|
144
|
-
with_parameters: Optional[
|
|
141
|
+
root_only: Optional[_builtins.bool] = None,
|
|
142
|
+
starts_with: Optional[_builtins.str] = None,
|
|
143
|
+
with_parameters: Optional[_builtins.bool] = None,
|
|
145
144
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTasksResult:
|
|
146
145
|
"""
|
|
147
146
|
!> **Sensitive values** This data source's `show_output.config` and `show_output.definition` fields are not marked as sensitive in the provider. Ensure that no personal data, sensitive data, export-controlled data, or other regulated data is entered as metadata when using the provider. For more information, see Sensitive values limitations and [Metadata fields in Snowflake](https://docs.snowflake.com/en/sql-reference/metadata).
|
|
@@ -150,11 +149,11 @@ def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = Non
|
|
|
150
149
|
|
|
151
150
|
|
|
152
151
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
153
|
-
:param
|
|
152
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
154
153
|
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will 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
|
|
156
|
-
:param
|
|
157
|
-
:param
|
|
154
|
+
:param _builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
155
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
156
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
158
157
|
"""
|
|
159
158
|
__args__ = dict()
|
|
160
159
|
__args__['in'] = in_
|
|
@@ -176,11 +175,11 @@ def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = Non
|
|
|
176
175
|
tasks=pulumi.get(__ret__, 'tasks'),
|
|
177
176
|
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
178
177
|
def get_tasks_output(in_: Optional[pulumi.Input[Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']]]] = None,
|
|
179
|
-
like: Optional[pulumi.Input[Optional[
|
|
178
|
+
like: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
180
179
|
limit: Optional[pulumi.Input[Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']]]] = None,
|
|
181
|
-
root_only: Optional[pulumi.Input[Optional[
|
|
182
|
-
starts_with: Optional[pulumi.Input[Optional[
|
|
183
|
-
with_parameters: Optional[pulumi.Input[Optional[
|
|
180
|
+
root_only: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
181
|
+
starts_with: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
182
|
+
with_parameters: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
184
183
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTasksResult]:
|
|
185
184
|
"""
|
|
186
185
|
!> **Sensitive values** This data source's `show_output.config` and `show_output.definition` fields are not marked as sensitive in the provider. Ensure that no personal data, sensitive data, export-controlled data, or other regulated data is entered as metadata when using the provider. For more information, see Sensitive values limitations and [Metadata fields in Snowflake](https://docs.snowflake.com/en/sql-reference/metadata).
|
|
@@ -189,11 +188,11 @@ def get_tasks_output(in_: Optional[pulumi.Input[Optional[Union['GetTasksInArgs',
|
|
|
189
188
|
|
|
190
189
|
|
|
191
190
|
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
192
|
-
:param
|
|
191
|
+
:param _builtins.str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
193
192
|
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] limit: Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
|
|
194
|
-
:param
|
|
195
|
-
:param
|
|
196
|
-
:param
|
|
193
|
+
:param _builtins.bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
194
|
+
:param _builtins.str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
195
|
+
:param _builtins.bool with_parameters: (Default: `true`) Runs SHOW PARAMETERS FOR TASK for each task returned by SHOW TASK and saves the output to the parameters field as a map. By default this value is set to true.
|
|
197
196
|
"""
|
|
198
197
|
__args__ = dict()
|
|
199
198
|
__args__['in'] = in_
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetUserProgrammaticAccessTokensResult',
|
|
20
|
+
'AwaitableGetUserProgrammaticAccessTokensResult',
|
|
21
|
+
'get_user_programmatic_access_tokens',
|
|
22
|
+
'get_user_programmatic_access_tokens_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetUserProgrammaticAccessTokensResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getUserProgrammaticAccessTokens.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, for_user=None, id=None, user_programmatic_access_tokens=None):
|
|
31
|
+
if for_user and not isinstance(for_user, str):
|
|
32
|
+
raise TypeError("Expected argument 'for_user' to be a str")
|
|
33
|
+
pulumi.set(__self__, "for_user", for_user)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if user_programmatic_access_tokens and not isinstance(user_programmatic_access_tokens, list):
|
|
38
|
+
raise TypeError("Expected argument 'user_programmatic_access_tokens' to be a list")
|
|
39
|
+
pulumi.set(__self__, "user_programmatic_access_tokens", user_programmatic_access_tokens)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter(name="forUser")
|
|
43
|
+
def for_user(self) -> _builtins.str:
|
|
44
|
+
"""
|
|
45
|
+
Returns programmatic access tokens for the specified user.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "for_user")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def id(self) -> _builtins.str:
|
|
52
|
+
"""
|
|
53
|
+
The provider-assigned unique ID for this managed resource.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "id")
|
|
56
|
+
|
|
57
|
+
@_builtins.property
|
|
58
|
+
@pulumi.getter(name="userProgrammaticAccessTokens")
|
|
59
|
+
def user_programmatic_access_tokens(self) -> Sequence['outputs.GetUserProgrammaticAccessTokensUserProgrammaticAccessTokenResult']:
|
|
60
|
+
"""
|
|
61
|
+
Holds the aggregated output of all user programmatic access tokens details queries.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "user_programmatic_access_tokens")
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class AwaitableGetUserProgrammaticAccessTokensResult(GetUserProgrammaticAccessTokensResult):
|
|
67
|
+
# pylint: disable=using-constant-test
|
|
68
|
+
def __await__(self):
|
|
69
|
+
if False:
|
|
70
|
+
yield self
|
|
71
|
+
return GetUserProgrammaticAccessTokensResult(
|
|
72
|
+
for_user=self.for_user,
|
|
73
|
+
id=self.id,
|
|
74
|
+
user_programmatic_access_tokens=self.user_programmatic_access_tokens)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def get_user_programmatic_access_tokens(for_user: Optional[_builtins.str] = None,
|
|
78
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserProgrammaticAccessTokensResult:
|
|
79
|
+
"""
|
|
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 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
|
+
Data source used to get details of filtered user programmatic access tokens. Filtering is aligned with the current possibilities for [SHOW USER PROGRAMMATIC ACCESS TOKENS](https://docs.snowflake.com/en/sql-reference/sql/show-user-programmatic-access-tokens) query. The results of SHOW are encapsulated in one output collection `user_programmatic_access_tokens`.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param _builtins.str for_user: Returns programmatic access tokens for the specified user.
|
|
86
|
+
"""
|
|
87
|
+
__args__ = dict()
|
|
88
|
+
__args__['forUser'] = for_user
|
|
89
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
90
|
+
__ret__ = pulumi.runtime.invoke('snowflake:index/getUserProgrammaticAccessTokens:getUserProgrammaticAccessTokens', __args__, opts=opts, typ=GetUserProgrammaticAccessTokensResult).value
|
|
91
|
+
|
|
92
|
+
return AwaitableGetUserProgrammaticAccessTokensResult(
|
|
93
|
+
for_user=pulumi.get(__ret__, 'for_user'),
|
|
94
|
+
id=pulumi.get(__ret__, 'id'),
|
|
95
|
+
user_programmatic_access_tokens=pulumi.get(__ret__, 'user_programmatic_access_tokens'))
|
|
96
|
+
def get_user_programmatic_access_tokens_output(for_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
97
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserProgrammaticAccessTokensResult]:
|
|
98
|
+
"""
|
|
99
|
+
!> **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.
|
|
100
|
+
|
|
101
|
+
Data source used to get details of filtered user programmatic access tokens. Filtering is aligned with the current possibilities for [SHOW USER PROGRAMMATIC ACCESS TOKENS](https://docs.snowflake.com/en/sql-reference/sql/show-user-programmatic-access-tokens) query. The results of SHOW are encapsulated in one output collection `user_programmatic_access_tokens`.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:param _builtins.str for_user: Returns programmatic access tokens for the specified user.
|
|
105
|
+
"""
|
|
106
|
+
__args__ = dict()
|
|
107
|
+
__args__['forUser'] = for_user
|
|
108
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
109
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getUserProgrammaticAccessTokens:getUserProgrammaticAccessTokens', __args__, opts=opts, typ=GetUserProgrammaticAccessTokensResult)
|
|
110
|
+
return __ret__.apply(lambda __response__: GetUserProgrammaticAccessTokensResult(
|
|
111
|
+
for_user=pulumi.get(__response__, 'for_user'),
|
|
112
|
+
id=pulumi.get(__response__, 'id'),
|
|
113
|
+
user_programmatic_access_tokens=pulumi.get(__response__, 'user_programmatic_access_tokens')))
|