pulumi-snowflake 0.62.0a1732688512__py3-none-any.whl → 0.63.0a1732774995__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 +6620 -588
- pulumi_snowflake/account_role.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +7 -7
- pulumi_snowflake/authentication_policy.py +21 -21
- pulumi_snowflake/database.py +7 -7
- pulumi_snowflake/database_role.py +14 -14
- pulumi_snowflake/external_oauth_integration.py +7 -7
- pulumi_snowflake/external_volume.py +7 -7
- pulumi_snowflake/get_tags.py +134 -0
- pulumi_snowflake/get_tasks.py +125 -56
- pulumi_snowflake/legacy_service_user.py +7 -7
- pulumi_snowflake/masking_policy.py +21 -21
- pulumi_snowflake/network_policy.py +7 -7
- pulumi_snowflake/oauth_integration_for_custom_clients.py +7 -7
- pulumi_snowflake/oauth_integration_for_partner_applications.py +7 -7
- pulumi_snowflake/outputs.py +12197 -5310
- pulumi_snowflake/password_policy.py +2 -4
- pulumi_snowflake/primary_connection.py +7 -7
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +7 -7
- pulumi_snowflake/role.py +7 -7
- pulumi_snowflake/row_access_policy.py +21 -21
- pulumi_snowflake/saml2_integration.py +7 -7
- pulumi_snowflake/scim_integration.py +7 -7
- pulumi_snowflake/secondary_connection.py +7 -7
- pulumi_snowflake/secondary_database.py +7 -7
- pulumi_snowflake/secret_with_authorization_code_grant.py +21 -21
- pulumi_snowflake/secret_with_basic_authentication.py +21 -21
- pulumi_snowflake/secret_with_client_credentials.py +21 -21
- pulumi_snowflake/secret_with_generic_string.py +21 -21
- pulumi_snowflake/service_user.py +7 -7
- pulumi_snowflake/shared_database.py +7 -7
- pulumi_snowflake/storage_integration.py +13 -0
- pulumi_snowflake/stream_on_directory_table.py +28 -28
- pulumi_snowflake/stream_on_external_table.py +28 -28
- pulumi_snowflake/stream_on_table.py +28 -28
- pulumi_snowflake/stream_on_view.py +28 -28
- pulumi_snowflake/tag.py +109 -36
- pulumi_snowflake/task.py +3008 -317
- pulumi_snowflake/user.py +7 -7
- pulumi_snowflake/view.py +21 -21
- pulumi_snowflake/warehouse.py +7 -7
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/RECORD +49 -48
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/top_level.txt +0 -0
|
@@ -26,9 +26,9 @@ class DatabaseRoleArgs:
|
|
|
26
26
|
name: Optional[pulumi.Input[str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a DatabaseRole resource.
|
|
29
|
-
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
29
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
30
30
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
31
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
31
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
32
32
|
"""
|
|
33
33
|
pulumi.set(__self__, "database", database)
|
|
34
34
|
if comment is not None:
|
|
@@ -40,7 +40,7 @@ class DatabaseRoleArgs:
|
|
|
40
40
|
@pulumi.getter
|
|
41
41
|
def database(self) -> pulumi.Input[str]:
|
|
42
42
|
"""
|
|
43
|
-
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
43
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
44
44
|
"""
|
|
45
45
|
return pulumi.get(self, "database")
|
|
46
46
|
|
|
@@ -64,7 +64,7 @@ class DatabaseRoleArgs:
|
|
|
64
64
|
@pulumi.getter
|
|
65
65
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
66
66
|
"""
|
|
67
|
-
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
67
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "name")
|
|
70
70
|
|
|
@@ -84,9 +84,9 @@ class _DatabaseRoleState:
|
|
|
84
84
|
"""
|
|
85
85
|
Input properties used for looking up and filtering DatabaseRole resources.
|
|
86
86
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
87
|
-
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
87
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
88
88
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
89
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
89
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
90
90
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseRoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
91
91
|
"""
|
|
92
92
|
if comment is not None:
|
|
@@ -116,7 +116,7 @@ class _DatabaseRoleState:
|
|
|
116
116
|
@pulumi.getter
|
|
117
117
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
118
118
|
"""
|
|
119
|
-
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
119
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
120
120
|
"""
|
|
121
121
|
return pulumi.get(self, "database")
|
|
122
122
|
|
|
@@ -140,7 +140,7 @@ class _DatabaseRoleState:
|
|
|
140
140
|
@pulumi.getter
|
|
141
141
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
142
142
|
"""
|
|
143
|
-
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
143
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
144
144
|
"""
|
|
145
145
|
return pulumi.get(self, "name")
|
|
146
146
|
|
|
@@ -180,8 +180,8 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
180
180
|
:param str resource_name: The name of the resource.
|
|
181
181
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
182
182
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
183
|
-
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
184
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
183
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
184
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
185
185
|
"""
|
|
186
186
|
...
|
|
187
187
|
@overload
|
|
@@ -253,9 +253,9 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
253
253
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
254
254
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
255
255
|
:param pulumi.Input[str] comment: Specifies a comment for the database role.
|
|
256
|
-
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
256
|
+
:param pulumi.Input[str] database: The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
257
257
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
258
|
-
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
258
|
+
:param pulumi.Input[str] name: Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
259
259
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseRoleShowOutputArgs', 'DatabaseRoleShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW DATABASE ROLES` for the given database role. Note that this value will be only recomputed whenever comment field changes.
|
|
260
260
|
"""
|
|
261
261
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -281,7 +281,7 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
281
281
|
@pulumi.getter
|
|
282
282
|
def database(self) -> pulumi.Output[str]:
|
|
283
283
|
"""
|
|
284
|
-
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
284
|
+
The database in which to create the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "database")
|
|
287
287
|
|
|
@@ -297,7 +297,7 @@ class DatabaseRole(pulumi.CustomResource):
|
|
|
297
297
|
@pulumi.getter
|
|
298
298
|
def name(self) -> pulumi.Output[str]:
|
|
299
299
|
"""
|
|
300
|
-
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
300
|
+
Specifies the identifier for the database role. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
301
301
|
"""
|
|
302
302
|
return pulumi.get(self, "name")
|
|
303
303
|
|
|
@@ -54,7 +54,7 @@ class ExternalOauthIntegrationArgs:
|
|
|
54
54
|
:param pulumi.Input[str] external_oauth_rsa_public_key2: Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
|
|
55
55
|
:param pulumi.Input[str] external_oauth_scope_delimiter: Specifies the scope delimiter in the authorization token.
|
|
56
56
|
:param pulumi.Input[str] external_oauth_scope_mapping_attribute: Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
|
|
57
|
-
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
57
|
+
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
58
58
|
"""
|
|
59
59
|
pulumi.set(__self__, "enabled", enabled)
|
|
60
60
|
pulumi.set(__self__, "external_oauth_issuer", external_oauth_issuer)
|
|
@@ -268,7 +268,7 @@ class ExternalOauthIntegrationArgs:
|
|
|
268
268
|
@pulumi.getter
|
|
269
269
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
270
270
|
"""
|
|
271
|
-
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
271
|
+
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
272
272
|
"""
|
|
273
273
|
return pulumi.get(self, "name")
|
|
274
274
|
|
|
@@ -319,7 +319,7 @@ class _ExternalOauthIntegrationState:
|
|
|
319
319
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
|
|
320
320
|
:param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
|
|
321
321
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
322
|
-
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
322
|
+
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
323
323
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationRelatedParameterArgs']]] related_parameters: Paramteres related to this security integration.
|
|
324
324
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalOauthIntegrationShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
325
325
|
"""
|
|
@@ -572,7 +572,7 @@ class _ExternalOauthIntegrationState:
|
|
|
572
572
|
@pulumi.getter
|
|
573
573
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
574
574
|
"""
|
|
575
|
-
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
575
|
+
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
576
576
|
"""
|
|
577
577
|
return pulumi.get(self, "name")
|
|
578
578
|
|
|
@@ -651,7 +651,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
|
|
|
651
651
|
:param pulumi.Input[str] external_oauth_snowflake_user_mapping_attribute: Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): `LOGIN_NAME` | `EMAIL_ADDRESS`.
|
|
652
652
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
|
|
653
653
|
:param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
|
|
654
|
-
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
654
|
+
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
655
655
|
"""
|
|
656
656
|
...
|
|
657
657
|
@overload
|
|
@@ -790,7 +790,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
|
|
|
790
790
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_oauth_token_user_mapping_claims: Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
|
|
791
791
|
:param pulumi.Input[str] external_oauth_type: Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): `OKTA` | `AZURE` | `PING_FEDERATE` | `CUSTOM`.
|
|
792
792
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
793
|
-
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
793
|
+
:param pulumi.Input[str] name: Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
794
794
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationRelatedParameterArgs', 'ExternalOauthIntegrationRelatedParameterArgsDict']]]] related_parameters: Paramteres related to this security integration.
|
|
795
795
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalOauthIntegrationShowOutputArgs', 'ExternalOauthIntegrationShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
796
796
|
"""
|
|
@@ -960,7 +960,7 @@ class ExternalOauthIntegration(pulumi.CustomResource):
|
|
|
960
960
|
@pulumi.getter
|
|
961
961
|
def name(self) -> pulumi.Output[str]:
|
|
962
962
|
"""
|
|
963
|
-
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
963
|
+
Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
964
964
|
"""
|
|
965
965
|
return pulumi.get(self, "name")
|
|
966
966
|
|
|
@@ -30,7 +30,7 @@ class ExternalVolumeArgs:
|
|
|
30
30
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeStorageLocationArgs']]] storage_locations: List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
31
31
|
:param pulumi.Input[str] allow_writes: Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
32
32
|
:param pulumi.Input[str] comment: Specifies a comment for the external volume.
|
|
33
|
-
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
33
|
+
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
34
34
|
"""
|
|
35
35
|
pulumi.set(__self__, "storage_locations", storage_locations)
|
|
36
36
|
if allow_writes is not None:
|
|
@@ -80,7 +80,7 @@ class ExternalVolumeArgs:
|
|
|
80
80
|
@pulumi.getter
|
|
81
81
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
82
82
|
"""
|
|
83
|
-
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
83
|
+
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "name")
|
|
86
86
|
|
|
@@ -105,7 +105,7 @@ class _ExternalVolumeState:
|
|
|
105
105
|
:param pulumi.Input[str] comment: Specifies a comment for the external volume.
|
|
106
106
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE EXTERNAL VOLUME` for the given external volume.
|
|
107
107
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
108
|
-
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
108
|
+
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
109
109
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeShowOutputArgs']]] show_outputs: Outputs the result of `SHOW EXTERNAL VOLUMES` for the given external volume.
|
|
110
110
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeStorageLocationArgs']]] storage_locations: List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
111
111
|
"""
|
|
@@ -176,7 +176,7 @@ class _ExternalVolumeState:
|
|
|
176
176
|
@pulumi.getter
|
|
177
177
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
178
178
|
"""
|
|
179
|
-
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
179
|
+
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "name")
|
|
182
182
|
|
|
@@ -226,7 +226,7 @@ class ExternalVolume(pulumi.CustomResource):
|
|
|
226
226
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
227
227
|
:param pulumi.Input[str] allow_writes: Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
228
228
|
:param pulumi.Input[str] comment: Specifies a comment for the external volume.
|
|
229
|
-
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
229
|
+
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
230
230
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalVolumeStorageLocationArgs', 'ExternalVolumeStorageLocationArgsDict']]]] storage_locations: List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
231
231
|
"""
|
|
232
232
|
...
|
|
@@ -303,7 +303,7 @@ class ExternalVolume(pulumi.CustomResource):
|
|
|
303
303
|
:param pulumi.Input[str] comment: Specifies a comment for the external volume.
|
|
304
304
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalVolumeDescribeOutputArgs', 'ExternalVolumeDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE EXTERNAL VOLUME` for the given external volume.
|
|
305
305
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
306
|
-
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
306
|
+
:param pulumi.Input[str] name: Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
307
307
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalVolumeShowOutputArgs', 'ExternalVolumeShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW EXTERNAL VOLUMES` for the given external volume.
|
|
308
308
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalVolumeStorageLocationArgs', 'ExternalVolumeStorageLocationArgsDict']]]] storage_locations: List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
309
309
|
"""
|
|
@@ -356,7 +356,7 @@ class ExternalVolume(pulumi.CustomResource):
|
|
|
356
356
|
@pulumi.getter
|
|
357
357
|
def name(self) -> pulumi.Output[str]:
|
|
358
358
|
"""
|
|
359
|
-
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `
|
|
359
|
+
Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
360
360
|
"""
|
|
361
361
|
return pulumi.get(self, "name")
|
|
362
362
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
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
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetTagsResult',
|
|
21
|
+
'AwaitableGetTagsResult',
|
|
22
|
+
'get_tags',
|
|
23
|
+
'get_tags_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetTagsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getTags.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, id=None, in_=None, like=None, tags=None):
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
35
|
+
if in_ and not isinstance(in_, dict):
|
|
36
|
+
raise TypeError("Expected argument 'in_' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "in_", in_)
|
|
38
|
+
if like and not isinstance(like, str):
|
|
39
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
40
|
+
pulumi.set(__self__, "like", like)
|
|
41
|
+
if tags and not isinstance(tags, list):
|
|
42
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
43
|
+
pulumi.set(__self__, "tags", tags)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def id(self) -> str:
|
|
48
|
+
"""
|
|
49
|
+
The provider-assigned unique ID for this managed resource.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "id")
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="in")
|
|
55
|
+
def in_(self) -> Optional['outputs.GetTagsInResult']:
|
|
56
|
+
"""
|
|
57
|
+
IN clause to filter the list of objects
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "in_")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def like(self) -> Optional[str]:
|
|
64
|
+
"""
|
|
65
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "like")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def tags(self) -> Sequence['outputs.GetTagsTagResult']:
|
|
72
|
+
"""
|
|
73
|
+
Holds the aggregated output of all tags details queries.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "tags")
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AwaitableGetTagsResult(GetTagsResult):
|
|
79
|
+
# pylint: disable=using-constant-test
|
|
80
|
+
def __await__(self):
|
|
81
|
+
if False:
|
|
82
|
+
yield self
|
|
83
|
+
return GetTagsResult(
|
|
84
|
+
id=self.id,
|
|
85
|
+
in_=self.in_,
|
|
86
|
+
like=self.like,
|
|
87
|
+
tags=self.tags)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def get_tags(in_: Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']] = None,
|
|
91
|
+
like: Optional[str] = None,
|
|
92
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagsResult:
|
|
93
|
+
"""
|
|
94
|
+
!> **V1 release candidate** This data source is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
95
|
+
|
|
96
|
+
Datasource 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`.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
100
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
101
|
+
"""
|
|
102
|
+
__args__ = dict()
|
|
103
|
+
__args__['in'] = in_
|
|
104
|
+
__args__['like'] = like
|
|
105
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
|
+
__ret__ = pulumi.runtime.invoke('snowflake:index/getTags:getTags', __args__, opts=opts, typ=GetTagsResult).value
|
|
107
|
+
|
|
108
|
+
return AwaitableGetTagsResult(
|
|
109
|
+
id=pulumi.get(__ret__, 'id'),
|
|
110
|
+
in_=pulumi.get(__ret__, 'in_'),
|
|
111
|
+
like=pulumi.get(__ret__, 'like'),
|
|
112
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
113
|
+
def get_tags_output(in_: Optional[pulumi.Input[Optional[Union['GetTagsInArgs', 'GetTagsInArgsDict']]]] = None,
|
|
114
|
+
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
115
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagsResult]:
|
|
116
|
+
"""
|
|
117
|
+
!> **V1 release candidate** This data source is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
118
|
+
|
|
119
|
+
Datasource 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`.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param Union['GetTagsInArgs', 'GetTagsInArgsDict'] in_: IN clause to filter the list of objects
|
|
123
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['in'] = in_
|
|
127
|
+
__args__['like'] = like
|
|
128
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
129
|
+
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getTags:getTags', __args__, opts=opts, typ=GetTagsResult)
|
|
130
|
+
return __ret__.apply(lambda __response__: GetTagsResult(
|
|
131
|
+
id=pulumi.get(__response__, 'id'),
|
|
132
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
133
|
+
like=pulumi.get(__response__, 'like'),
|
|
134
|
+
tags=pulumi.get(__response__, 'tags')))
|
pulumi_snowflake/get_tasks.py
CHANGED
|
@@ -14,6 +14,7 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetTasksResult',
|
|
@@ -27,52 +28,96 @@ class GetTasksResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getTasks.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__,
|
|
31
|
-
if database and not isinstance(database, str):
|
|
32
|
-
raise TypeError("Expected argument 'database' to be a str")
|
|
33
|
-
pulumi.set(__self__, "database", database)
|
|
31
|
+
def __init__(__self__, id=None, in_=None, like=None, limit=None, root_only=None, starts_with=None, tasks=None, with_parameters=None):
|
|
34
32
|
if id and not isinstance(id, str):
|
|
35
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
36
34
|
pulumi.set(__self__, "id", id)
|
|
37
|
-
if
|
|
38
|
-
raise TypeError("Expected argument '
|
|
39
|
-
pulumi.set(__self__, "
|
|
35
|
+
if in_ and not isinstance(in_, dict):
|
|
36
|
+
raise TypeError("Expected argument 'in_' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "in_", in_)
|
|
38
|
+
if like and not isinstance(like, str):
|
|
39
|
+
raise TypeError("Expected argument 'like' to be a str")
|
|
40
|
+
pulumi.set(__self__, "like", like)
|
|
41
|
+
if limit and not isinstance(limit, dict):
|
|
42
|
+
raise TypeError("Expected argument 'limit' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "limit", limit)
|
|
44
|
+
if root_only and not isinstance(root_only, bool):
|
|
45
|
+
raise TypeError("Expected argument 'root_only' to be a bool")
|
|
46
|
+
pulumi.set(__self__, "root_only", root_only)
|
|
47
|
+
if starts_with and not isinstance(starts_with, str):
|
|
48
|
+
raise TypeError("Expected argument 'starts_with' to be a str")
|
|
49
|
+
pulumi.set(__self__, "starts_with", starts_with)
|
|
40
50
|
if tasks and not isinstance(tasks, list):
|
|
41
51
|
raise TypeError("Expected argument 'tasks' to be a list")
|
|
42
52
|
pulumi.set(__self__, "tasks", tasks)
|
|
53
|
+
if with_parameters and not isinstance(with_parameters, bool):
|
|
54
|
+
raise TypeError("Expected argument 'with_parameters' to be a bool")
|
|
55
|
+
pulumi.set(__self__, "with_parameters", with_parameters)
|
|
43
56
|
|
|
44
57
|
@property
|
|
45
58
|
@pulumi.getter
|
|
46
|
-
def
|
|
59
|
+
def id(self) -> str:
|
|
60
|
+
"""
|
|
61
|
+
The provider-assigned unique ID for this managed resource.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "id")
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="in")
|
|
67
|
+
def in_(self) -> Optional['outputs.GetTasksInResult']:
|
|
47
68
|
"""
|
|
48
|
-
|
|
69
|
+
IN clause to filter the list of objects
|
|
49
70
|
"""
|
|
50
|
-
return pulumi.get(self, "
|
|
71
|
+
return pulumi.get(self, "in_")
|
|
51
72
|
|
|
52
73
|
@property
|
|
53
74
|
@pulumi.getter
|
|
54
|
-
def
|
|
75
|
+
def like(self) -> Optional[str]:
|
|
55
76
|
"""
|
|
56
|
-
|
|
77
|
+
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
57
78
|
"""
|
|
58
|
-
return pulumi.get(self, "
|
|
79
|
+
return pulumi.get(self, "like")
|
|
59
80
|
|
|
60
81
|
@property
|
|
61
82
|
@pulumi.getter
|
|
62
|
-
def
|
|
83
|
+
def limit(self) -> Optional['outputs.GetTasksLimitResult']:
|
|
84
|
+
"""
|
|
85
|
+
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`.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "limit")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="rootOnly")
|
|
91
|
+
def root_only(self) -> Optional[bool]:
|
|
63
92
|
"""
|
|
64
|
-
|
|
93
|
+
Filters the command output to return only root tasks (tasks with no predecessors).
|
|
65
94
|
"""
|
|
66
|
-
return pulumi.get(self, "
|
|
95
|
+
return pulumi.get(self, "root_only")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="startsWith")
|
|
99
|
+
def starts_with(self) -> Optional[str]:
|
|
100
|
+
"""
|
|
101
|
+
Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "starts_with")
|
|
67
104
|
|
|
68
105
|
@property
|
|
69
106
|
@pulumi.getter
|
|
70
107
|
def tasks(self) -> Sequence['outputs.GetTasksTaskResult']:
|
|
71
108
|
"""
|
|
72
|
-
|
|
109
|
+
Holds the aggregated output of all task details queries.
|
|
73
110
|
"""
|
|
74
111
|
return pulumi.get(self, "tasks")
|
|
75
112
|
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter(name="withParameters")
|
|
115
|
+
def with_parameters(self) -> Optional[bool]:
|
|
116
|
+
"""
|
|
117
|
+
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.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "with_parameters")
|
|
120
|
+
|
|
76
121
|
|
|
77
122
|
class AwaitableGetTasksResult(GetTasksResult):
|
|
78
123
|
# pylint: disable=using-constant-test
|
|
@@ -80,66 +125,90 @@ class AwaitableGetTasksResult(GetTasksResult):
|
|
|
80
125
|
if False:
|
|
81
126
|
yield self
|
|
82
127
|
return GetTasksResult(
|
|
83
|
-
database=self.database,
|
|
84
128
|
id=self.id,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
129
|
+
in_=self.in_,
|
|
130
|
+
like=self.like,
|
|
131
|
+
limit=self.limit,
|
|
132
|
+
root_only=self.root_only,
|
|
133
|
+
starts_with=self.starts_with,
|
|
134
|
+
tasks=self.tasks,
|
|
135
|
+
with_parameters=self.with_parameters)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def get_tasks(in_: Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']] = None,
|
|
139
|
+
like: Optional[str] = None,
|
|
140
|
+
limit: Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']] = None,
|
|
141
|
+
root_only: Optional[bool] = None,
|
|
142
|
+
starts_with: Optional[str] = None,
|
|
143
|
+
with_parameters: Optional[bool] = None,
|
|
91
144
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTasksResult:
|
|
92
145
|
"""
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
```python
|
|
96
|
-
import pulumi
|
|
97
|
-
import pulumi_snowflake as snowflake
|
|
146
|
+
!> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
98
147
|
|
|
99
|
-
current
|
|
100
|
-
schema="MYSCHEMA")
|
|
101
|
-
```
|
|
148
|
+
Data source used to get details of filtered tasks. Filtering is aligned with the current possibilities for [SHOW TASKS](https://docs.snowflake.com/en/sql-reference/sql/show-tasks) query. The results of SHOW and SHOW PARAMETERS IN are encapsulated in one output collection `tasks`.
|
|
102
149
|
|
|
103
150
|
|
|
104
|
-
:param
|
|
105
|
-
:param str
|
|
151
|
+
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
152
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
153
|
+
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] 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`.
|
|
154
|
+
:param bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
155
|
+
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
156
|
+
:param bool with_parameters: 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.
|
|
106
157
|
"""
|
|
107
158
|
__args__ = dict()
|
|
108
|
-
__args__['
|
|
109
|
-
__args__['
|
|
159
|
+
__args__['in'] = in_
|
|
160
|
+
__args__['like'] = like
|
|
161
|
+
__args__['limit'] = limit
|
|
162
|
+
__args__['rootOnly'] = root_only
|
|
163
|
+
__args__['startsWith'] = starts_with
|
|
164
|
+
__args__['withParameters'] = with_parameters
|
|
110
165
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
111
166
|
__ret__ = pulumi.runtime.invoke('snowflake:index/getTasks:getTasks', __args__, opts=opts, typ=GetTasksResult).value
|
|
112
167
|
|
|
113
168
|
return AwaitableGetTasksResult(
|
|
114
|
-
database=pulumi.get(__ret__, 'database'),
|
|
115
169
|
id=pulumi.get(__ret__, 'id'),
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
170
|
+
in_=pulumi.get(__ret__, 'in_'),
|
|
171
|
+
like=pulumi.get(__ret__, 'like'),
|
|
172
|
+
limit=pulumi.get(__ret__, 'limit'),
|
|
173
|
+
root_only=pulumi.get(__ret__, 'root_only'),
|
|
174
|
+
starts_with=pulumi.get(__ret__, 'starts_with'),
|
|
175
|
+
tasks=pulumi.get(__ret__, 'tasks'),
|
|
176
|
+
with_parameters=pulumi.get(__ret__, 'with_parameters'))
|
|
177
|
+
def get_tasks_output(in_: Optional[pulumi.Input[Optional[Union['GetTasksInArgs', 'GetTasksInArgsDict']]]] = None,
|
|
178
|
+
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
179
|
+
limit: Optional[pulumi.Input[Optional[Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict']]]] = None,
|
|
180
|
+
root_only: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
181
|
+
starts_with: Optional[pulumi.Input[Optional[str]]] = None,
|
|
182
|
+
with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
120
183
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTasksResult]:
|
|
121
184
|
"""
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
```python
|
|
125
|
-
import pulumi
|
|
126
|
-
import pulumi_snowflake as snowflake
|
|
185
|
+
!> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
127
186
|
|
|
128
|
-
current
|
|
129
|
-
schema="MYSCHEMA")
|
|
130
|
-
```
|
|
187
|
+
Data source used to get details of filtered tasks. Filtering is aligned with the current possibilities for [SHOW TASKS](https://docs.snowflake.com/en/sql-reference/sql/show-tasks) query. The results of SHOW and SHOW PARAMETERS IN are encapsulated in one output collection `tasks`.
|
|
131
188
|
|
|
132
189
|
|
|
133
|
-
:param
|
|
134
|
-
:param str
|
|
190
|
+
:param Union['GetTasksInArgs', 'GetTasksInArgsDict'] in_: IN clause to filter the list of objects
|
|
191
|
+
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
192
|
+
:param Union['GetTasksLimitArgs', 'GetTasksLimitArgsDict'] 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`.
|
|
193
|
+
:param bool root_only: Filters the command output to return only root tasks (tasks with no predecessors).
|
|
194
|
+
:param str starts_with: Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
195
|
+
:param bool with_parameters: 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.
|
|
135
196
|
"""
|
|
136
197
|
__args__ = dict()
|
|
137
|
-
__args__['
|
|
138
|
-
__args__['
|
|
198
|
+
__args__['in'] = in_
|
|
199
|
+
__args__['like'] = like
|
|
200
|
+
__args__['limit'] = limit
|
|
201
|
+
__args__['rootOnly'] = root_only
|
|
202
|
+
__args__['startsWith'] = starts_with
|
|
203
|
+
__args__['withParameters'] = with_parameters
|
|
139
204
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
140
205
|
__ret__ = pulumi.runtime.invoke_output('snowflake:index/getTasks:getTasks', __args__, opts=opts, typ=GetTasksResult)
|
|
141
206
|
return __ret__.apply(lambda __response__: GetTasksResult(
|
|
142
|
-
database=pulumi.get(__response__, 'database'),
|
|
143
207
|
id=pulumi.get(__response__, 'id'),
|
|
144
|
-
|
|
145
|
-
|
|
208
|
+
in_=pulumi.get(__response__, 'in_'),
|
|
209
|
+
like=pulumi.get(__response__, 'like'),
|
|
210
|
+
limit=pulumi.get(__response__, 'limit'),
|
|
211
|
+
root_only=pulumi.get(__response__, 'root_only'),
|
|
212
|
+
starts_with=pulumi.get(__response__, 'starts_with'),
|
|
213
|
+
tasks=pulumi.get(__response__, 'tasks'),
|
|
214
|
+
with_parameters=pulumi.get(__response__, 'with_parameters')))
|