@pulumi/snowflake 2.18.0-alpha.1783237205 → 2.18.0
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.
- package/accountParameter.d.ts +3 -3
- package/accountSessionPolicyAttachment.d.ts +0 -2
- package/accountSessionPolicyAttachment.d.ts.map +1 -1
- package/accountSessionPolicyAttachment.js +0 -2
- package/accountSessionPolicyAttachment.js.map +1 -1
- package/apiIntegration.d.ts +2 -0
- package/apiIntegration.d.ts.map +1 -1
- package/apiIntegration.js +2 -0
- package/apiIntegration.js.map +1 -1
- package/apiIntegrationAmazonApiGateway.d.ts +202 -0
- package/apiIntegrationAmazonApiGateway.d.ts.map +1 -0
- package/apiIntegrationAmazonApiGateway.js +149 -0
- package/apiIntegrationAmazonApiGateway.js.map +1 -0
- package/apiIntegrationAzureApiManagement.d.ts +202 -0
- package/apiIntegrationAzureApiManagement.d.ts.map +1 -0
- package/apiIntegrationAzureApiManagement.js +149 -0
- package/apiIntegrationAzureApiManagement.js.map +1 -0
- package/apiIntegrationExternalMcpDynamicClient.d.ts +175 -0
- package/apiIntegrationExternalMcpDynamicClient.d.ts.map +1 -0
- package/apiIntegrationExternalMcpDynamicClient.js +137 -0
- package/apiIntegrationExternalMcpDynamicClient.js.map +1 -0
- package/apiIntegrationExternalMcpOauth2.d.ts +243 -0
- package/apiIntegrationExternalMcpOauth2.d.ts.map +1 -0
- package/apiIntegrationExternalMcpOauth2.js +166 -0
- package/apiIntegrationExternalMcpOauth2.js.map +1 -0
- package/apiIntegrationGitRepositoryGithubApp.d.ts +161 -0
- package/apiIntegrationGitRepositoryGithubApp.d.ts.map +1 -0
- package/apiIntegrationGitRepositoryGithubApp.js +130 -0
- package/apiIntegrationGitRepositoryGithubApp.js.map +1 -0
- package/apiIntegrationGitRepositoryOauth2.d.ts +269 -0
- package/apiIntegrationGitRepositoryOauth2.d.ts.map +1 -0
- package/apiIntegrationGitRepositoryOauth2.js +172 -0
- package/apiIntegrationGitRepositoryOauth2.js.map +1 -0
- package/apiIntegrationGitRepositoryPrivateLink.d.ts +234 -0
- package/apiIntegrationGitRepositoryPrivateLink.d.ts.map +1 -0
- package/apiIntegrationGitRepositoryPrivateLink.js +156 -0
- package/apiIntegrationGitRepositoryPrivateLink.js.map +1 -0
- package/apiIntegrationGitRepositoryToken.d.ts +206 -0
- package/apiIntegrationGitRepositoryToken.d.ts.map +1 -0
- package/apiIntegrationGitRepositoryToken.js +145 -0
- package/apiIntegrationGitRepositoryToken.js.map +1 -0
- package/apiIntegrationGoogleCloudApiGateway.d.ts +175 -0
- package/apiIntegrationGoogleCloudApiGateway.d.ts.map +1 -0
- package/apiIntegrationGoogleCloudApiGateway.js +137 -0
- package/apiIntegrationGoogleCloudApiGateway.js.map +1 -0
- package/authenticationPolicy.d.ts +0 -2
- package/authenticationPolicy.d.ts.map +1 -1
- package/authenticationPolicy.js +0 -2
- package/authenticationPolicy.js.map +1 -1
- package/catalogIntegrationAwsGlue.d.ts +0 -2
- package/catalogIntegrationAwsGlue.d.ts.map +1 -1
- package/catalogIntegrationAwsGlue.js +0 -2
- package/catalogIntegrationAwsGlue.js.map +1 -1
- package/catalogIntegrationIcebergRest.d.ts +0 -2
- package/catalogIntegrationIcebergRest.d.ts.map +1 -1
- package/catalogIntegrationIcebergRest.js +0 -2
- package/catalogIntegrationIcebergRest.js.map +1 -1
- package/catalogIntegrationObjectStorage.d.ts +0 -2
- package/catalogIntegrationObjectStorage.d.ts.map +1 -1
- package/catalogIntegrationObjectStorage.js +0 -2
- package/catalogIntegrationObjectStorage.js.map +1 -1
- package/catalogIntegrationOpenCatalog.d.ts +0 -2
- package/catalogIntegrationOpenCatalog.d.ts.map +1 -1
- package/catalogIntegrationOpenCatalog.js +0 -2
- package/catalogIntegrationOpenCatalog.js.map +1 -1
- package/computePool.d.ts +3 -3
- package/config/vars.d.ts +2 -2
- package/cortexAgent.d.ts +3 -3
- package/currentAccount.d.ts +60 -2
- package/currentAccount.d.ts.map +1 -1
- package/currentAccount.js +10 -2
- package/currentAccount.js.map +1 -1
- package/currentOrganizationAccount.d.ts +60 -2
- package/currentOrganizationAccount.d.ts.map +1 -1
- package/currentOrganizationAccount.js +10 -2
- package/currentOrganizationAccount.js.map +1 -1
- package/database.d.ts +12 -0
- package/database.d.ts.map +1 -1
- package/database.js +2 -0
- package/database.js.map +1 -1
- package/externalVolume.d.ts +0 -2
- package/externalVolume.d.ts.map +1 -1
- package/externalVolume.js +0 -2
- package/externalVolume.js.map +1 -1
- package/functionJava.d.ts +12 -0
- package/functionJava.d.ts.map +1 -1
- package/functionJava.js +2 -0
- package/functionJava.js.map +1 -1
- package/functionJavascript.d.ts +12 -0
- package/functionJavascript.d.ts.map +1 -1
- package/functionJavascript.js +2 -0
- package/functionJavascript.js.map +1 -1
- package/functionPython.d.ts +12 -0
- package/functionPython.d.ts.map +1 -1
- package/functionPython.js +2 -0
- package/functionPython.js.map +1 -1
- package/functionScala.d.ts +12 -0
- package/functionScala.d.ts.map +1 -1
- package/functionScala.js +2 -0
- package/functionScala.js.map +1 -1
- package/functionSql.d.ts +12 -0
- package/functionSql.d.ts.map +1 -1
- package/functionSql.js +2 -0
- package/functionSql.js.map +1 -1
- package/getApiIntegrations.d.ts +118 -0
- package/getApiIntegrations.d.ts.map +1 -0
- package/getApiIntegrations.js +115 -0
- package/getApiIntegrations.js.map +1 -0
- package/getAuthenticationPolicies.d.ts +0 -4
- package/getAuthenticationPolicies.d.ts.map +1 -1
- package/getAuthenticationPolicies.js +0 -4
- package/getAuthenticationPolicies.js.map +1 -1
- package/getCatalogIntegrations.d.ts +0 -4
- package/getCatalogIntegrations.d.ts.map +1 -1
- package/getCatalogIntegrations.js +0 -4
- package/getCatalogIntegrations.js.map +1 -1
- package/getExternalVolumes.d.ts +0 -4
- package/getExternalVolumes.d.ts.map +1 -1
- package/getExternalVolumes.js +0 -4
- package/getExternalVolumes.js.map +1 -1
- package/getNotebooks.d.ts +2 -2
- package/getNotebooks.js +2 -2
- package/getPasswordPolicies.d.ts +0 -4
- package/getPasswordPolicies.d.ts.map +1 -1
- package/getPasswordPolicies.js +0 -4
- package/getPasswordPolicies.js.map +1 -1
- package/getSessionPolicies.d.ts +0 -4
- package/getSessionPolicies.d.ts.map +1 -1
- package/getSessionPolicies.js +0 -4
- package/getSessionPolicies.js.map +1 -1
- package/getStorageIntegrations.d.ts +0 -4
- package/getStorageIntegrations.d.ts.map +1 -1
- package/getStorageIntegrations.js +0 -4
- package/getStorageIntegrations.js.map +1 -1
- package/getStorageLifecyclePolicies.d.ts +75 -0
- package/getStorageLifecyclePolicies.d.ts.map +1 -0
- package/getStorageLifecyclePolicies.js +61 -0
- package/getStorageLifecyclePolicies.js.map +1 -0
- package/grantOwnership.d.ts +0 -2
- package/grantOwnership.d.ts.map +1 -1
- package/grantOwnership.js +0 -2
- package/grantOwnership.js.map +1 -1
- package/icebergTableFromDeltaFiles.d.ts +222 -0
- package/icebergTableFromDeltaFiles.d.ts.map +1 -0
- package/icebergTableFromDeltaFiles.js +148 -0
- package/icebergTableFromDeltaFiles.js.map +1 -0
- package/icebergTableFromFiles.d.ts +212 -0
- package/icebergTableFromFiles.d.ts.map +1 -0
- package/icebergTableFromFiles.js +148 -0
- package/icebergTableFromFiles.js.map +1 -0
- package/index.d.ts +48 -0
- package/index.d.ts.map +1 -1
- package/index.js +82 -5
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +12 -0
- package/legacyServiceUser.d.ts.map +1 -1
- package/legacyServiceUser.js +2 -0
- package/legacyServiceUser.js.map +1 -1
- package/listing.d.ts +3 -3
- package/notebook.d.ts +1 -1
- package/notebook.js +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +0 -2
- package/passwordPolicy.d.ts.map +1 -1
- package/passwordPolicy.js +0 -2
- package/passwordPolicy.js.map +1 -1
- package/postgresInstance.d.ts +250 -0
- package/postgresInstance.d.ts.map +1 -0
- package/postgresInstance.js +165 -0
- package/postgresInstance.js.map +1 -0
- package/procedureJava.d.ts +12 -0
- package/procedureJava.d.ts.map +1 -1
- package/procedureJava.js +2 -0
- package/procedureJava.js.map +1 -1
- package/procedureJavascript.d.ts +12 -0
- package/procedureJavascript.d.ts.map +1 -1
- package/procedureJavascript.js +2 -0
- package/procedureJavascript.js.map +1 -1
- package/procedurePython.d.ts +12 -0
- package/procedurePython.d.ts.map +1 -1
- package/procedurePython.js +2 -0
- package/procedurePython.js.map +1 -1
- package/procedureScala.d.ts +12 -0
- package/procedureScala.d.ts.map +1 -1
- package/procedureScala.js +2 -0
- package/procedureScala.js.map +1 -1
- package/procedureSql.d.ts +12 -0
- package/procedureSql.d.ts.map +1 -1
- package/procedureSql.js +2 -0
- package/procedureSql.js.map +1 -1
- package/provider.d.ts +2 -2
- package/schema.d.ts +12 -0
- package/schema.d.ts.map +1 -1
- package/schema.js +2 -0
- package/schema.js.map +1 -1
- package/secondaryDatabase.d.ts +12 -0
- package/secondaryDatabase.d.ts.map +1 -1
- package/secondaryDatabase.js +2 -0
- package/secondaryDatabase.js.map +1 -1
- package/serviceUser.d.ts +12 -0
- package/serviceUser.d.ts.map +1 -1
- package/serviceUser.js +2 -0
- package/serviceUser.js.map +1 -1
- package/sessionPolicy.d.ts +0 -2
- package/sessionPolicy.d.ts.map +1 -1
- package/sessionPolicy.js +0 -2
- package/sessionPolicy.js.map +1 -1
- package/sharedDatabase.d.ts +12 -0
- package/sharedDatabase.d.ts.map +1 -1
- package/sharedDatabase.js +2 -0
- package/sharedDatabase.js.map +1 -1
- package/stageExternalAzure.d.ts +0 -2
- package/stageExternalAzure.d.ts.map +1 -1
- package/stageExternalAzure.js +0 -2
- package/stageExternalAzure.js.map +1 -1
- package/stageExternalGcs.d.ts +0 -2
- package/stageExternalGcs.d.ts.map +1 -1
- package/stageExternalGcs.js +0 -2
- package/stageExternalGcs.js.map +1 -1
- package/stageExternalS3.d.ts +0 -2
- package/stageExternalS3.d.ts.map +1 -1
- package/stageExternalS3.js +0 -2
- package/stageExternalS3.js.map +1 -1
- package/stageExternalS3Compatible.d.ts +0 -2
- package/stageExternalS3Compatible.d.ts.map +1 -1
- package/stageExternalS3Compatible.js +0 -2
- package/stageExternalS3Compatible.js.map +1 -1
- package/stageInternal.d.ts +0 -2
- package/stageInternal.d.ts.map +1 -1
- package/stageInternal.js +0 -2
- package/stageInternal.js.map +1 -1
- package/storageIntegrationAws.d.ts +0 -2
- package/storageIntegrationAws.d.ts.map +1 -1
- package/storageIntegrationAws.js +0 -2
- package/storageIntegrationAws.js.map +1 -1
- package/storageIntegrationAzure.d.ts +0 -2
- package/storageIntegrationAzure.d.ts.map +1 -1
- package/storageIntegrationAzure.js +0 -2
- package/storageIntegrationAzure.js.map +1 -1
- package/storageIntegrationGcs.d.ts +0 -2
- package/storageIntegrationGcs.d.ts.map +1 -1
- package/storageIntegrationGcs.js +0 -2
- package/storageIntegrationGcs.js.map +1 -1
- package/storageLifecyclePolicy.d.ts +214 -0
- package/storageLifecyclePolicy.d.ts.map +1 -0
- package/storageLifecyclePolicy.js +159 -0
- package/storageLifecyclePolicy.js.map +1 -0
- package/tableStorageLifecyclePolicyAttachment.d.ts +154 -0
- package/tableStorageLifecyclePolicyAttachment.d.ts.map +1 -0
- package/tableStorageLifecyclePolicyAttachment.js +159 -0
- package/tableStorageLifecyclePolicyAttachment.js.map +1 -0
- package/tagAssociation.d.ts +5 -3
- package/tagAssociation.d.ts.map +1 -1
- package/tagAssociation.js +2 -0
- package/tagAssociation.js.map +1 -1
- package/task.d.ts +15 -3
- package/task.d.ts.map +1 -1
- package/task.js +2 -0
- package/task.js.map +1 -1
- package/types/input.d.ts +546 -6
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +647 -6
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +12 -0
- package/user.d.ts.map +1 -1
- package/user.js +2 -0
- package/user.js.map +1 -1
- package/userSessionPolicyAttachment.d.ts +0 -2
- package/userSessionPolicyAttachment.d.ts.map +1 -1
- package/userSessionPolicyAttachment.js +0 -2
- package/userSessionPolicyAttachment.js.map +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
6
|
+
*
|
|
7
|
+
* Data source used to get details of filtered storage lifecycle policies. Filtering is aligned with the current possibilities for [SHOW STORAGE LIFECYCLE POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-storage-lifecycle-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `storageLifecyclePolicies`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getStorageLifecyclePolicies(args?: GetStorageLifecyclePoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageLifecyclePoliciesResult>;
|
|
10
|
+
/**
|
|
11
|
+
* A collection of arguments for invoking getStorageLifecyclePolicies.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetStorageLifecyclePoliciesArgs {
|
|
14
|
+
/**
|
|
15
|
+
* IN clause to filter the list of objects
|
|
16
|
+
*/
|
|
17
|
+
in?: inputs.GetStorageLifecyclePoliciesIn;
|
|
18
|
+
/**
|
|
19
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
20
|
+
*/
|
|
21
|
+
like?: string;
|
|
22
|
+
/**
|
|
23
|
+
* (Default: `true`) Runs DESC STORAGE LIFECYCLE POLICY for each storage lifecycle policy returned by SHOW STORAGE LIFECYCLE POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
24
|
+
*/
|
|
25
|
+
withDescribe?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getStorageLifecyclePolicies.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetStorageLifecyclePoliciesResult {
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* IN clause to filter the list of objects
|
|
37
|
+
*/
|
|
38
|
+
readonly in?: outputs.GetStorageLifecyclePoliciesIn;
|
|
39
|
+
/**
|
|
40
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
41
|
+
*/
|
|
42
|
+
readonly like?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Holds the aggregated output of all storage lifecycle policy details queries.
|
|
45
|
+
*/
|
|
46
|
+
readonly storageLifecyclePolicies: outputs.GetStorageLifecyclePoliciesStorageLifecyclePolicy[];
|
|
47
|
+
/**
|
|
48
|
+
* (Default: `true`) Runs DESC STORAGE LIFECYCLE POLICY for each storage lifecycle policy returned by SHOW STORAGE LIFECYCLE POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
49
|
+
*/
|
|
50
|
+
readonly withDescribe?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
54
|
+
*
|
|
55
|
+
* Data source used to get details of filtered storage lifecycle policies. Filtering is aligned with the current possibilities for [SHOW STORAGE LIFECYCLE POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-storage-lifecycle-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `storageLifecyclePolicies`.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getStorageLifecyclePoliciesOutput(args?: GetStorageLifecyclePoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageLifecyclePoliciesResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getStorageLifecyclePolicies.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetStorageLifecyclePoliciesOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* IN clause to filter the list of objects
|
|
64
|
+
*/
|
|
65
|
+
in?: pulumi.Input<inputs.GetStorageLifecyclePoliciesInArgs | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
68
|
+
*/
|
|
69
|
+
like?: pulumi.Input<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* (Default: `true`) Runs DESC STORAGE LIFECYCLE POLICY for each storage lifecycle policy returned by SHOW STORAGE LIFECYCLE POLICIES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
72
|
+
*/
|
|
73
|
+
withDescribe?: pulumi.Input<boolean | undefined>;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=getStorageLifecyclePolicies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStorageLifecyclePolicies.d.ts","sourceRoot":"","sources":["../getStorageLifecyclePolicies.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAQ3J;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC,iDAAiD,EAAE,CAAC;IAC/F;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACnC;AACD;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,CAAC,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAQnL;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getStorageLifecyclePoliciesOutput = exports.getStorageLifecyclePolicies = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
33
|
+
*
|
|
34
|
+
* Data source used to get details of filtered storage lifecycle policies. Filtering is aligned with the current possibilities for [SHOW STORAGE LIFECYCLE POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-storage-lifecycle-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `storageLifecyclePolicies`.
|
|
35
|
+
*/
|
|
36
|
+
function getStorageLifecyclePolicies(args, opts) {
|
|
37
|
+
args = args || {};
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
39
|
+
return pulumi.runtime.invoke("snowflake:index/getStorageLifecyclePolicies:getStorageLifecyclePolicies", {
|
|
40
|
+
"in": args.in,
|
|
41
|
+
"like": args.like,
|
|
42
|
+
"withDescribe": args.withDescribe,
|
|
43
|
+
}, opts);
|
|
44
|
+
}
|
|
45
|
+
exports.getStorageLifecyclePolicies = getStorageLifecyclePolicies;
|
|
46
|
+
/**
|
|
47
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
48
|
+
*
|
|
49
|
+
* Data source used to get details of filtered storage lifecycle policies. Filtering is aligned with the current possibilities for [SHOW STORAGE LIFECYCLE POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-storage-lifecycle-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `storageLifecyclePolicies`.
|
|
50
|
+
*/
|
|
51
|
+
function getStorageLifecyclePoliciesOutput(args, opts) {
|
|
52
|
+
args = args || {};
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getStorageLifecyclePolicies:getStorageLifecyclePolicies", {
|
|
55
|
+
"in": args.in,
|
|
56
|
+
"like": args.like,
|
|
57
|
+
"withDescribe": args.withDescribe,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getStorageLifecyclePoliciesOutput = getStorageLifecyclePoliciesOutput;
|
|
61
|
+
//# sourceMappingURL=getStorageLifecyclePolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStorageLifecyclePolicies.js","sourceRoot":"","sources":["../getStorageLifecyclePolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yEAAyE,EAAE;QACpG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC;AA6CD;;;;GAIG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAAiC;IAC7H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yEAAyE,EAAE;QAC1G,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8EAQC"}
|
package/grantOwnership.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* > **Note** Changes introduced in [202501 Snowflake BCR Bundle](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_01/bcr-1870) alter how future ownership grant hierarchy works. After the change schema-level future ownership grant(s) will override those defined on the database-level. Previously, the database-level ones took the precedence.
|
|
10
10
|
*
|
|
11
11
|
* > **Warning** Be careful when using this resource on managed schema or any object within it, as in Snowflake managed schemas follow different ownership and privilege model. For more details, please visit [Schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema#optional-parameters) (scroll to `WITH MANAGED ACCESS` option).
|
|
12
|
-
*
|
|
13
|
-
* > **Warning** Grant ownership resource still has some limitations. Delete operation is not implemented for onFuture grants (you have to remove the config and then revoke ownership grant on future X manually).
|
|
14
12
|
*/
|
|
15
13
|
export declare class GrantOwnership extends pulumi.CustomResource {
|
|
16
14
|
/**
|
package/grantOwnership.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grantOwnership.d.ts","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"grantOwnership.d.ts","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,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,CAAC;IACpD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/grantOwnership.js
CHANGED
|
@@ -36,8 +36,6 @@ const utilities = __importStar(require("./utilities"));
|
|
|
36
36
|
* > **Note** Changes introduced in [202501 Snowflake BCR Bundle](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_01/bcr-1870) alter how future ownership grant hierarchy works. After the change schema-level future ownership grant(s) will override those defined on the database-level. Previously, the database-level ones took the precedence.
|
|
37
37
|
*
|
|
38
38
|
* > **Warning** Be careful when using this resource on managed schema or any object within it, as in Snowflake managed schemas follow different ownership and privilege model. For more details, please visit [Schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema#optional-parameters) (scroll to `WITH MANAGED ACCESS` option).
|
|
39
|
-
*
|
|
40
|
-
* > **Warning** Grant ownership resource still has some limitations. Delete operation is not implemented for onFuture grants (you have to remove the config and then revoke ownership grant on future X manually).
|
|
41
39
|
*/
|
|
42
40
|
class GrantOwnership extends pulumi.CustomResource {
|
|
43
41
|
/**
|
package/grantOwnership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grantOwnership.js","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"grantOwnership.js","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAA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AC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC;YAChC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1EL,wCA2EC"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
6
|
+
*
|
|
7
|
+
* Resource used to manage an Iceberg table whose metadata is created from Delta table files in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-delta).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
12
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
17
|
+
*
|
|
18
|
+
* // Basic - only required fields
|
|
19
|
+
* const basic = new snowflake.IcebergTableFromDeltaFiles("basic", {
|
|
20
|
+
* database: "DATABASE",
|
|
21
|
+
* schema: "SCHEMA",
|
|
22
|
+
* name: "TABLE",
|
|
23
|
+
* baseLocation: "path/to/delta/table",
|
|
24
|
+
* });
|
|
25
|
+
* // Complete - all fields set
|
|
26
|
+
* const complete = new snowflake.IcebergTableFromDeltaFiles("complete", {
|
|
27
|
+
* database: "DATABASE",
|
|
28
|
+
* schema: "SCHEMA",
|
|
29
|
+
* name: "TABLE",
|
|
30
|
+
* baseLocation: "path/to/delta/table",
|
|
31
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
32
|
+
* catalog: "CATALOG",
|
|
33
|
+
* autoRefresh: "true",
|
|
34
|
+
* comment: "COMMENT",
|
|
35
|
+
* replaceInvalidCharacters: true,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import snowflake:index/icebergTableFromDeltaFiles:IcebergTableFromDeltaFiles example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class IcebergTableFromDeltaFiles extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing IcebergTableFromDeltaFiles resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IcebergTableFromDeltaFilesState, opts?: pulumi.CustomResourceOptions): IcebergTableFromDeltaFiles;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of IcebergTableFromDeltaFiles. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is IcebergTableFromDeltaFiles;
|
|
63
|
+
/**
|
|
64
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should automatically refresh the Iceberg table metadata when new files are added to the Delta table's directory. 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.
|
|
65
|
+
*/
|
|
66
|
+
readonly autoRefresh: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the relative path of the Delta table's directory in the external volume. Cannot be changed after creation.
|
|
69
|
+
*/
|
|
70
|
+
readonly baseLocation: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
73
|
+
*/
|
|
74
|
+
readonly catalog: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies a comment for the Iceberg table.
|
|
77
|
+
*/
|
|
78
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
81
|
+
*/
|
|
82
|
+
readonly database: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
85
|
+
*/
|
|
86
|
+
readonly describeOutputs: pulumi.Output<outputs.IcebergTableFromDeltaFilesDescribeOutput[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
89
|
+
*/
|
|
90
|
+
readonly externalVolume: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
93
|
+
*/
|
|
94
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
97
|
+
*/
|
|
98
|
+
readonly name: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
101
|
+
*/
|
|
102
|
+
readonly parameters: pulumi.Output<outputs.IcebergTableFromDeltaFilesParameter[]>;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
105
|
+
*/
|
|
106
|
+
readonly replaceInvalidCharacters: pulumi.Output<boolean>;
|
|
107
|
+
/**
|
|
108
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
109
|
+
*/
|
|
110
|
+
readonly schema: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
113
|
+
*/
|
|
114
|
+
readonly showOutputs: pulumi.Output<outputs.IcebergTableFromDeltaFilesShowOutput[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a IcebergTableFromDeltaFiles resource with the given unique name, arguments, and options.
|
|
117
|
+
*
|
|
118
|
+
* @param name The _unique_ name of the resource.
|
|
119
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
120
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
121
|
+
*/
|
|
122
|
+
constructor(name: string, args: IcebergTableFromDeltaFilesArgs, opts?: pulumi.CustomResourceOptions);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Input properties used for looking up and filtering IcebergTableFromDeltaFiles resources.
|
|
126
|
+
*/
|
|
127
|
+
export interface IcebergTableFromDeltaFilesState {
|
|
128
|
+
/**
|
|
129
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should automatically refresh the Iceberg table metadata when new files are added to the Delta table's directory. 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.
|
|
130
|
+
*/
|
|
131
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies the relative path of the Delta table's directory in the external volume. Cannot be changed after creation.
|
|
134
|
+
*/
|
|
135
|
+
baseLocation?: pulumi.Input<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
138
|
+
*/
|
|
139
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Specifies a comment for the Iceberg table.
|
|
142
|
+
*/
|
|
143
|
+
comment?: pulumi.Input<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
146
|
+
*/
|
|
147
|
+
database?: pulumi.Input<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
150
|
+
*/
|
|
151
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromDeltaFilesDescribeOutput>[] | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
154
|
+
*/
|
|
155
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
158
|
+
*/
|
|
159
|
+
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
162
|
+
*/
|
|
163
|
+
name?: pulumi.Input<string | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
166
|
+
*/
|
|
167
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromDeltaFilesParameter>[] | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
170
|
+
*/
|
|
171
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
174
|
+
*/
|
|
175
|
+
schema?: pulumi.Input<string | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
178
|
+
*/
|
|
179
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromDeltaFilesShowOutput>[] | undefined>;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* The set of arguments for constructing a IcebergTableFromDeltaFiles resource.
|
|
183
|
+
*/
|
|
184
|
+
export interface IcebergTableFromDeltaFilesArgs {
|
|
185
|
+
/**
|
|
186
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should automatically refresh the Iceberg table metadata when new files are added to the Delta table's directory. 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.
|
|
187
|
+
*/
|
|
188
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Specifies the relative path of the Delta table's directory in the external volume. Cannot be changed after creation.
|
|
191
|
+
*/
|
|
192
|
+
baseLocation: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
195
|
+
*/
|
|
196
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies a comment for the Iceberg table.
|
|
199
|
+
*/
|
|
200
|
+
comment?: pulumi.Input<string | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
203
|
+
*/
|
|
204
|
+
database: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
207
|
+
*/
|
|
208
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
211
|
+
*/
|
|
212
|
+
name?: pulumi.Input<string | undefined>;
|
|
213
|
+
/**
|
|
214
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
215
|
+
*/
|
|
216
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
219
|
+
*/
|
|
220
|
+
schema: pulumi.Input<string>;
|
|
221
|
+
}
|
|
222
|
+
//# sourceMappingURL=icebergTableFromDeltaFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTableFromDeltaFiles.d.ts","sourceRoot":"","sources":["../icebergTableFromDeltaFiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0BAA0B;IAOtK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0BAA0B;IAOrE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,C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,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IcebergTableFromDeltaFiles = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **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 `previewFeaturesEnabled` 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.
|
|
33
|
+
*
|
|
34
|
+
* Resource used to manage an Iceberg table whose metadata is created from Delta table files in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-delta).
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
39
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
44
|
+
*
|
|
45
|
+
* // Basic - only required fields
|
|
46
|
+
* const basic = new snowflake.IcebergTableFromDeltaFiles("basic", {
|
|
47
|
+
* database: "DATABASE",
|
|
48
|
+
* schema: "SCHEMA",
|
|
49
|
+
* name: "TABLE",
|
|
50
|
+
* baseLocation: "path/to/delta/table",
|
|
51
|
+
* });
|
|
52
|
+
* // Complete - all fields set
|
|
53
|
+
* const complete = new snowflake.IcebergTableFromDeltaFiles("complete", {
|
|
54
|
+
* database: "DATABASE",
|
|
55
|
+
* schema: "SCHEMA",
|
|
56
|
+
* name: "TABLE",
|
|
57
|
+
* baseLocation: "path/to/delta/table",
|
|
58
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
59
|
+
* catalog: "CATALOG",
|
|
60
|
+
* autoRefresh: "true",
|
|
61
|
+
* comment: "COMMENT",
|
|
62
|
+
* replaceInvalidCharacters: true,
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
67
|
+
*
|
|
68
|
+
* ## Import
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import snowflake:index/icebergTableFromDeltaFiles:IcebergTableFromDeltaFiles example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
class IcebergTableFromDeltaFiles extends pulumi.CustomResource {
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing IcebergTableFromDeltaFiles resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new IcebergTableFromDeltaFiles(name, state, { ...opts, id: id });
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
88
|
+
static __pulumiType = 'snowflake:index/icebergTableFromDeltaFiles:IcebergTableFromDeltaFiles';
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of IcebergTableFromDeltaFiles. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj) {
|
|
94
|
+
if (obj === undefined || obj === null) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return obj['__pulumiType'] === IcebergTableFromDeltaFiles.__pulumiType;
|
|
98
|
+
}
|
|
99
|
+
constructor(name, argsOrState, opts) {
|
|
100
|
+
let resourceInputs = {};
|
|
101
|
+
opts = opts || {};
|
|
102
|
+
if (opts.id) {
|
|
103
|
+
const state = argsOrState;
|
|
104
|
+
resourceInputs["autoRefresh"] = state?.autoRefresh;
|
|
105
|
+
resourceInputs["baseLocation"] = state?.baseLocation;
|
|
106
|
+
resourceInputs["catalog"] = state?.catalog;
|
|
107
|
+
resourceInputs["comment"] = state?.comment;
|
|
108
|
+
resourceInputs["database"] = state?.database;
|
|
109
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
110
|
+
resourceInputs["externalVolume"] = state?.externalVolume;
|
|
111
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
112
|
+
resourceInputs["name"] = state?.name;
|
|
113
|
+
resourceInputs["parameters"] = state?.parameters;
|
|
114
|
+
resourceInputs["replaceInvalidCharacters"] = state?.replaceInvalidCharacters;
|
|
115
|
+
resourceInputs["schema"] = state?.schema;
|
|
116
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
const args = argsOrState;
|
|
120
|
+
if (args?.baseLocation === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'baseLocation'");
|
|
122
|
+
}
|
|
123
|
+
if (args?.database === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'database'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'schema'");
|
|
128
|
+
}
|
|
129
|
+
resourceInputs["autoRefresh"] = args?.autoRefresh;
|
|
130
|
+
resourceInputs["baseLocation"] = args?.baseLocation;
|
|
131
|
+
resourceInputs["catalog"] = args?.catalog;
|
|
132
|
+
resourceInputs["comment"] = args?.comment;
|
|
133
|
+
resourceInputs["database"] = args?.database;
|
|
134
|
+
resourceInputs["externalVolume"] = args?.externalVolume;
|
|
135
|
+
resourceInputs["name"] = args?.name;
|
|
136
|
+
resourceInputs["replaceInvalidCharacters"] = args?.replaceInvalidCharacters;
|
|
137
|
+
resourceInputs["schema"] = args?.schema;
|
|
138
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
139
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
140
|
+
resourceInputs["parameters"] = undefined /*out*/;
|
|
141
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
142
|
+
}
|
|
143
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
144
|
+
super(IcebergTableFromDeltaFiles.__pulumiType, name, resourceInputs, opts);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.IcebergTableFromDeltaFiles = IcebergTableFromDeltaFiles;
|
|
148
|
+
//# sourceMappingURL=icebergTableFromDeltaFiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTableFromDeltaFiles.js","sourceRoot":"","sources":["../icebergTableFromDeltaFiles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OA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