@pulumi/snowflake 0.59.0-alpha.1726726272 → 0.59.0-alpha.1726831379
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/getAccounts.js +5 -1
- package/getAccounts.js.map +1 -1
- package/getAlerts.js +7 -1
- package/getAlerts.js.map +1 -1
- package/getCortexSearchServices.js +8 -1
- package/getCortexSearchServices.js.map +1 -1
- package/getCurrentAccount.js +2 -1
- package/getCurrentAccount.js.map +1 -1
- package/getCurrentRole.js +2 -1
- package/getCurrentRole.js.map +1 -1
- package/getDatabase.js +4 -1
- package/getDatabase.js.map +1 -1
- package/getDatabaseRole.js +5 -1
- package/getDatabaseRole.js.map +1 -1
- package/getDatabaseRoles.d.ts +4 -0
- package/getDatabaseRoles.js +10 -1
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.js +9 -1
- package/getDatabases.js.map +1 -1
- package/getDynamicTables.js +8 -1
- package/getDynamicTables.js.map +1 -1
- package/getExternalFunctions.js +6 -1
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.js +5 -1
- package/getExternalTables.js.map +1 -1
- package/getFailoverGroups.js +5 -1
- package/getFailoverGroups.js.map +1 -1
- package/getFileFormats.js +5 -1
- package/getFileFormats.js.map +1 -1
- package/getFunctions.js +5 -1
- package/getFunctions.js.map +1 -1
- package/getGrants.js +9 -1
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +46 -37
- package/getMaskingPolicies.js +17 -23
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.js +5 -1
- package/getMaterializedViews.js.map +1 -1
- package/getNetworkPolicies.js +6 -1
- package/getNetworkPolicies.js.map +1 -1
- package/getParameters.js +9 -1
- package/getParameters.js.map +1 -1
- package/getPipes.js +5 -1
- package/getPipes.js.map +1 -1
- package/getProcedures.js +5 -1
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +29 -17
- package/getResourceMonitors.js +15 -18
- package/getResourceMonitors.js.map +1 -1
- package/getRole.js +4 -1
- package/getRole.js.map +1 -1
- package/getRoles.js +6 -1
- package/getRoles.js.map +1 -1
- package/getRowAccessPolicies.d.ts +46 -37
- package/getRowAccessPolicies.js +17 -23
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.js +10 -1
- package/getSchemas.js.map +1 -1
- package/getSecurityIntegrations.js +6 -1
- package/getSecurityIntegrations.js.map +1 -1
- package/getSequences.js +5 -1
- package/getSequences.js.map +1 -1
- package/getShares.js +5 -1
- package/getShares.js.map +1 -1
- package/getStages.js +5 -1
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.js +2 -1
- package/getStorageIntegrations.js.map +1 -1
- package/getStreamlits.js +8 -1
- package/getStreamlits.js.map +1 -1
- package/getStreams.js +5 -1
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.js +4 -1
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetAwsSnsIamPolicy.js +4 -1
- package/getSystemGetAwsSnsIamPolicy.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.js +2 -1
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getSystemGetSnowflakePlatformInfo.js +2 -1
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
- package/getTables.js +5 -1
- package/getTables.js.map +1 -1
- package/getTasks.js +5 -1
- package/getTasks.js.map +1 -1
- package/getUsers.js +9 -1
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +4 -0
- package/getViews.js +13 -1
- package/getViews.js.map +1 -1
- package/getWarehouses.js +7 -1
- package/getWarehouses.js.map +1 -1
- package/index.d.ts +1 -1
- package/maskingPolicy.d.ts +54 -64
- package/maskingPolicy.js +15 -17
- package/maskingPolicy.js.map +1 -1
- package/package.json +2 -2
- package/resourceMonitor.d.ts +33 -83
- package/resourceMonitor.js +2 -8
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +48 -38
- package/rowAccessPolicy.js +15 -13
- package/rowAccessPolicy.js.map +1 -1
- package/types/input.d.ts +198 -6
- package/types/output.d.ts +203 -11
- package/view.d.ts +3 -3
- package/warehouse.d.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStorageIntegrations.js","sourceRoot":"","sources":["../getStorageIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,sBAAsB,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getStorageIntegrations.js","sourceRoot":"","sources":["../getStorageIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,sBAAsB,CAAC,IAA2B;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE,EAC7F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wDAIC;AAeD;;;;;;;;;GASG;AACH,SAAgB,4BAA4B,CAAC,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE,EACnG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oEAIC"}
|
package/getStreamlits.js
CHANGED
|
@@ -27,7 +27,14 @@ exports.getStreamlits = getStreamlits;
|
|
|
27
27
|
* Datasource used to get details of filtered streamlits. Filtering is aligned with the current possibilities for [SHOW STREAMLITS](https://docs.snowflake.com/en/sql-reference/sql/show-streamlits) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `streamlits`.
|
|
28
28
|
*/
|
|
29
29
|
function getStreamlitsOutput(args, opts) {
|
|
30
|
-
|
|
30
|
+
args = args || {};
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getStreamlits:getStreamlits", {
|
|
33
|
+
"in": args.in,
|
|
34
|
+
"like": args.like,
|
|
35
|
+
"limit": args.limit,
|
|
36
|
+
"withDescribe": args.withDescribe,
|
|
37
|
+
}, opts);
|
|
31
38
|
}
|
|
32
39
|
exports.getStreamlitsOutput = getStreamlitsOutput;
|
|
33
40
|
//# sourceMappingURL=getStreamlits.js.map
|
package/getStreamlits.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStreamlits.js","sourceRoot":"","sources":["../getStreamlits.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getStreamlits.js","sourceRoot":"","sources":["../getStreamlits.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAqDD;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC"}
|
package/getStreams.js
CHANGED
|
@@ -40,7 +40,11 @@ exports.getStreams = getStreams;
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function getStreamsOutput(args, opts) {
|
|
43
|
-
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getStreams:getStreams", {
|
|
45
|
+
"database": args.database,
|
|
46
|
+
"schema": args.schema,
|
|
47
|
+
}, opts);
|
|
44
48
|
}
|
|
45
49
|
exports.getStreamsOutput = getStreamsOutput;
|
|
46
50
|
//# sourceMappingURL=getStreams.js.map
|
package/getStreams.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStreams.js","sourceRoot":"","sources":["../getStreams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getStreams.js","sourceRoot":"","sources":["../getStreams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
|
@@ -37,7 +37,10 @@ exports.getSystemGenerateScimAccessToken = getSystemGenerateScimAccessToken;
|
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
function getSystemGenerateScimAccessTokenOutput(args, opts) {
|
|
40
|
-
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getSystemGenerateScimAccessToken:getSystemGenerateScimAccessToken", {
|
|
42
|
+
"integrationName": args.integrationName,
|
|
43
|
+
}, opts);
|
|
41
44
|
}
|
|
42
45
|
exports.getSystemGenerateScimAccessTokenOutput = getSystemGenerateScimAccessTokenOutput;
|
|
43
46
|
//# sourceMappingURL=getSystemGenerateScimAccessToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystemGenerateScimAccessToken.js","sourceRoot":"","sources":["../getSystemGenerateScimAccessToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getSystemGenerateScimAccessToken.js","sourceRoot":"","sources":["../getSystemGenerateScimAccessToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mFAAmF,EAAE;QAC9G,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mFAAmF,EAAE;QACpH,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wFAKC"}
|
|
@@ -37,7 +37,10 @@ exports.getSystemGetAwsSnsIamPolicy = getSystemGetAwsSnsIamPolicy;
|
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
function getSystemGetAwsSnsIamPolicyOutput(args, opts) {
|
|
40
|
-
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getSystemGetAwsSnsIamPolicy:getSystemGetAwsSnsIamPolicy", {
|
|
42
|
+
"awsSnsTopicArn": args.awsSnsTopicArn,
|
|
43
|
+
}, opts);
|
|
41
44
|
}
|
|
42
45
|
exports.getSystemGetAwsSnsIamPolicyOutput = getSystemGetAwsSnsIamPolicyOutput;
|
|
43
46
|
//# sourceMappingURL=getSystemGetAwsSnsIamPolicy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystemGetAwsSnsIamPolicy.js","sourceRoot":"","sources":["../getSystemGetAwsSnsIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getSystemGetAwsSnsIamPolicy.js","sourceRoot":"","sources":["../getSystemGetAwsSnsIamPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC"}
|
|
@@ -123,7 +123,8 @@ exports.getSystemGetPrivateLinkConfig = getSystemGetPrivateLinkConfig;
|
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
125
|
function getSystemGetPrivateLinkConfigOutput(opts) {
|
|
126
|
-
|
|
126
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
127
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getSystemGetPrivateLinkConfig:getSystemGetPrivateLinkConfig", {}, opts);
|
|
127
128
|
}
|
|
128
129
|
exports.getSystemGetPrivateLinkConfigOutput = getSystemGetPrivateLinkConfigOutput;
|
|
129
130
|
//# sourceMappingURL=getSystemGetPrivateLinkConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE,EAC3G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sEAIC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,mCAAmC,CAAC,IAA2B;IAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6EAA6E,EAAE,EACjH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kFAIC"}
|
|
@@ -11,7 +11,8 @@ function getSystemGetSnowflakePlatformInfo(opts) {
|
|
|
11
11
|
}
|
|
12
12
|
exports.getSystemGetSnowflakePlatformInfo = getSystemGetSnowflakePlatformInfo;
|
|
13
13
|
function getSystemGetSnowflakePlatformInfoOutput(opts) {
|
|
14
|
-
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getSystemGetSnowflakePlatformInfo:getSystemGetSnowflakePlatformInfo", {}, opts);
|
|
15
16
|
}
|
|
16
17
|
exports.getSystemGetSnowflakePlatformInfoOutput = getSystemGetSnowflakePlatformInfoOutput;
|
|
17
18
|
//# sourceMappingURL=getSystemGetSnowflakePlatformInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystemGetSnowflakePlatformInfo.js","sourceRoot":"","sources":["../getSystemGetSnowflakePlatformInfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,iCAAiC,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getSystemGetSnowflakePlatformInfo.js","sourceRoot":"","sources":["../getSystemGetSnowflakePlatformInfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE,EACnH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8EAIC;AAmBD,SAAgB,uCAAuC,CAAC,IAA2B;IAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qFAAqF,EAAE,EACzH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0FAIC"}
|
package/getTables.js
CHANGED
|
@@ -40,7 +40,11 @@ exports.getTables = getTables;
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function getTablesOutput(args, opts) {
|
|
43
|
-
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getTables:getTables", {
|
|
45
|
+
"database": args.database,
|
|
46
|
+
"schema": args.schema,
|
|
47
|
+
}, opts);
|
|
44
48
|
}
|
|
45
49
|
exports.getTablesOutput = getTablesOutput;
|
|
46
50
|
//# sourceMappingURL=getTables.js.map
|
package/getTables.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}
|
package/getTasks.js
CHANGED
|
@@ -40,7 +40,11 @@ exports.getTasks = getTasks;
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function getTasksOutput(args, opts) {
|
|
43
|
-
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getTasks:getTasks", {
|
|
45
|
+
"database": args.database,
|
|
46
|
+
"schema": args.schema,
|
|
47
|
+
}, opts);
|
|
44
48
|
}
|
|
45
49
|
exports.getTasksOutput = getTasksOutput;
|
|
46
50
|
//# sourceMappingURL=getTasks.js.map
|
package/getTasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
package/getUsers.js
CHANGED
|
@@ -28,7 +28,15 @@ exports.getUsers = getUsers;
|
|
|
28
28
|
* Datasource used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `showOutput` (only empty or default values), the DESCRIBE command cannot be called, so you have to set `withDescribe = false`. Only `parameters` output is not affected by the lack of privileges.
|
|
29
29
|
*/
|
|
30
30
|
function getUsersOutput(args, opts) {
|
|
31
|
-
|
|
31
|
+
args = args || {};
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getUsers:getUsers", {
|
|
34
|
+
"like": args.like,
|
|
35
|
+
"limit": args.limit,
|
|
36
|
+
"startsWith": args.startsWith,
|
|
37
|
+
"withDescribe": args.withDescribe,
|
|
38
|
+
"withParameters": args.withParameters,
|
|
39
|
+
}, opts);
|
|
32
40
|
}
|
|
33
41
|
exports.getUsersOutput = getUsersOutput;
|
|
34
42
|
//# sourceMappingURL=getUsers.js.map
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA6DD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,mCAAmC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
|
package/getViews.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* !> **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.
|
|
6
|
+
*
|
|
5
7
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
6
8
|
*/
|
|
7
9
|
export declare function getViews(args?: GetViewsArgs, opts?: pulumi.InvokeOptions): Promise<GetViewsResult>;
|
|
@@ -64,6 +66,8 @@ export interface GetViewsResult {
|
|
|
64
66
|
readonly withDescribe?: boolean;
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
69
|
+
* !> **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.
|
|
70
|
+
*
|
|
67
71
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
68
72
|
*/
|
|
69
73
|
export declare function getViewsOutput(args?: GetViewsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetViewsResult>;
|
package/getViews.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getViewsOutput = exports.getViews = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **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.
|
|
10
|
+
*
|
|
9
11
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
10
12
|
*/
|
|
11
13
|
function getViews(args, opts) {
|
|
@@ -21,10 +23,20 @@ function getViews(args, opts) {
|
|
|
21
23
|
}
|
|
22
24
|
exports.getViews = getViews;
|
|
23
25
|
/**
|
|
26
|
+
* !> **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.
|
|
27
|
+
*
|
|
24
28
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
25
29
|
*/
|
|
26
30
|
function getViewsOutput(args, opts) {
|
|
27
|
-
|
|
31
|
+
args = args || {};
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getViews:getViews", {
|
|
34
|
+
"in": args.in,
|
|
35
|
+
"like": args.like,
|
|
36
|
+
"limit": args.limit,
|
|
37
|
+
"startsWith": args.startsWith,
|
|
38
|
+
"withDescribe": args.withDescribe,
|
|
39
|
+
}, opts);
|
|
28
40
|
}
|
|
29
41
|
exports.getViewsOutput = getViewsOutput;
|
|
30
42
|
//# sourceMappingURL=getViews.js.map
|
package/getViews.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA6DD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,mCAAmC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
|
package/getWarehouses.js
CHANGED
|
@@ -26,7 +26,13 @@ exports.getWarehouses = getWarehouses;
|
|
|
26
26
|
* Datasource used to get details of filtered warehouses. Filtering is aligned with the current possibilities for [SHOW WAREHOUSES](https://docs.snowflake.com/en/sql-reference/sql/show-warehouses) query (only `like` is supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
|
|
27
27
|
*/
|
|
28
28
|
function getWarehousesOutput(args, opts) {
|
|
29
|
-
|
|
29
|
+
args = args || {};
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getWarehouses:getWarehouses", {
|
|
32
|
+
"like": args.like,
|
|
33
|
+
"withDescribe": args.withDescribe,
|
|
34
|
+
"withParameters": args.withParameters,
|
|
35
|
+
}, opts);
|
|
30
36
|
}
|
|
31
37
|
exports.getWarehousesOutput = getWarehousesOutput;
|
|
32
38
|
//# sourceMappingURL=getWarehouses.js.map
|
package/getWarehouses.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AA6CD;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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,6CAA6C,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC"}
|
package/index.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare const getPipesOutput: typeof import("./getPipes").getPipesOutput;
|
|
|
127
127
|
export { GetProceduresArgs, GetProceduresResult, GetProceduresOutputArgs } from "./getProcedures";
|
|
128
128
|
export declare const getProcedures: typeof import("./getProcedures").getProcedures;
|
|
129
129
|
export declare const getProceduresOutput: typeof import("./getProcedures").getProceduresOutput;
|
|
130
|
-
export { GetResourceMonitorsResult } from "./getResourceMonitors";
|
|
130
|
+
export { GetResourceMonitorsArgs, GetResourceMonitorsResult, GetResourceMonitorsOutputArgs } from "./getResourceMonitors";
|
|
131
131
|
export declare const getResourceMonitors: typeof import("./getResourceMonitors").getResourceMonitors;
|
|
132
132
|
export declare const getResourceMonitorsOutput: typeof import("./getResourceMonitors").getResourceMonitorsOutput;
|
|
133
133
|
export { GetRoleArgs, GetRoleResult, GetRoleOutputArgs } from "./getRole";
|
package/maskingPolicy.d.ts
CHANGED
|
@@ -4,10 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* format is database name | schema name | policy name
|
|
8
|
-
*
|
|
9
7
|
* ```sh
|
|
10
|
-
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '
|
|
8
|
+
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '"<database_name>"."<schema_name>"."<masking_policy_name>"'
|
|
11
9
|
* ```
|
|
12
10
|
*/
|
|
13
11
|
export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
@@ -27,49 +25,49 @@ export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
|
27
25
|
*/
|
|
28
26
|
static isInstance(obj: any): obj is MaskingPolicy;
|
|
29
27
|
/**
|
|
30
|
-
*
|
|
28
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
31
29
|
*/
|
|
32
|
-
readonly
|
|
30
|
+
readonly arguments: pulumi.Output<outputs.MaskingPolicyArgument[]>;
|
|
33
31
|
/**
|
|
34
|
-
*
|
|
32
|
+
* Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
35
33
|
*/
|
|
36
|
-
readonly
|
|
34
|
+
readonly body: pulumi.Output<string>;
|
|
37
35
|
/**
|
|
38
|
-
* Specifies
|
|
36
|
+
* Specifies a comment for the masking policy.
|
|
39
37
|
*/
|
|
40
|
-
readonly
|
|
38
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
41
39
|
/**
|
|
42
|
-
*
|
|
40
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
43
41
|
*/
|
|
44
|
-
readonly
|
|
42
|
+
readonly database: pulumi.Output<string>;
|
|
45
43
|
/**
|
|
46
|
-
*
|
|
44
|
+
* Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
47
45
|
*/
|
|
48
|
-
readonly
|
|
46
|
+
readonly describeOutputs: pulumi.Output<outputs.MaskingPolicyDescribeOutput[]>;
|
|
49
47
|
/**
|
|
50
|
-
* Specifies the
|
|
48
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
51
49
|
*/
|
|
52
|
-
readonly
|
|
50
|
+
readonly exemptOtherPolicies: pulumi.Output<string | undefined>;
|
|
53
51
|
/**
|
|
54
|
-
*
|
|
52
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
55
53
|
*/
|
|
56
|
-
readonly
|
|
54
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
56
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
59
57
|
*/
|
|
60
|
-
readonly
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
61
59
|
/**
|
|
62
|
-
*
|
|
60
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
63
61
|
*/
|
|
64
62
|
readonly returnDataType: pulumi.Output<string>;
|
|
65
63
|
/**
|
|
66
|
-
* The schema in which to create the masking policy.
|
|
64
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
67
65
|
*/
|
|
68
66
|
readonly schema: pulumi.Output<string>;
|
|
69
67
|
/**
|
|
70
|
-
*
|
|
68
|
+
* Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
|
|
71
69
|
*/
|
|
72
|
-
readonly
|
|
70
|
+
readonly showOutputs: pulumi.Output<outputs.MaskingPolicyShowOutput[]>;
|
|
73
71
|
/**
|
|
74
72
|
* Create a MaskingPolicy resource with the given unique name, arguments, and options.
|
|
75
73
|
*
|
|
@@ -84,92 +82,84 @@ export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
|
84
82
|
*/
|
|
85
83
|
export interface MaskingPolicyState {
|
|
86
84
|
/**
|
|
87
|
-
*
|
|
85
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
88
86
|
*/
|
|
89
|
-
|
|
87
|
+
arguments?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyArgument>[]>;
|
|
90
88
|
/**
|
|
91
|
-
*
|
|
89
|
+
* Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
92
90
|
*/
|
|
93
|
-
|
|
91
|
+
body?: pulumi.Input<string>;
|
|
94
92
|
/**
|
|
95
|
-
* Specifies
|
|
93
|
+
* Specifies a comment for the masking policy.
|
|
96
94
|
*/
|
|
97
|
-
|
|
95
|
+
comment?: pulumi.Input<string>;
|
|
98
96
|
/**
|
|
99
|
-
*
|
|
97
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
100
98
|
*/
|
|
101
|
-
|
|
99
|
+
database?: pulumi.Input<string>;
|
|
102
100
|
/**
|
|
103
|
-
*
|
|
101
|
+
* Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
104
102
|
*/
|
|
105
|
-
|
|
103
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyDescribeOutput>[]>;
|
|
106
104
|
/**
|
|
107
|
-
* Specifies the
|
|
105
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
108
106
|
*/
|
|
109
|
-
|
|
107
|
+
exemptOtherPolicies?: pulumi.Input<string>;
|
|
110
108
|
/**
|
|
111
|
-
*
|
|
109
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
112
110
|
*/
|
|
113
|
-
|
|
111
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
113
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
116
114
|
*/
|
|
117
|
-
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
118
116
|
/**
|
|
119
|
-
*
|
|
117
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
120
118
|
*/
|
|
121
119
|
returnDataType?: pulumi.Input<string>;
|
|
122
120
|
/**
|
|
123
|
-
* The schema in which to create the masking policy.
|
|
121
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
124
122
|
*/
|
|
125
123
|
schema?: pulumi.Input<string>;
|
|
126
124
|
/**
|
|
127
|
-
*
|
|
125
|
+
* Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
|
|
128
126
|
*/
|
|
129
|
-
|
|
127
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyShowOutput>[]>;
|
|
130
128
|
}
|
|
131
129
|
/**
|
|
132
130
|
* The set of arguments for constructing a MaskingPolicy resource.
|
|
133
131
|
*/
|
|
134
132
|
export interface MaskingPolicyArgs {
|
|
135
133
|
/**
|
|
136
|
-
*
|
|
134
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
137
135
|
*/
|
|
138
|
-
|
|
136
|
+
arguments: pulumi.Input<pulumi.Input<inputs.MaskingPolicyArgument>[]>;
|
|
139
137
|
/**
|
|
140
|
-
*
|
|
138
|
+
* Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
141
139
|
*/
|
|
142
|
-
|
|
140
|
+
body: pulumi.Input<string>;
|
|
143
141
|
/**
|
|
144
|
-
* Specifies
|
|
142
|
+
* Specifies a comment for the masking policy.
|
|
145
143
|
*/
|
|
146
|
-
|
|
144
|
+
comment?: pulumi.Input<string>;
|
|
147
145
|
/**
|
|
148
|
-
*
|
|
146
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
149
147
|
*/
|
|
150
|
-
|
|
148
|
+
database: pulumi.Input<string>;
|
|
151
149
|
/**
|
|
152
|
-
* Specifies the
|
|
150
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
153
151
|
*/
|
|
154
|
-
|
|
152
|
+
exemptOtherPolicies?: pulumi.Input<string>;
|
|
155
153
|
/**
|
|
156
|
-
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
|
|
154
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
157
155
|
*/
|
|
158
156
|
name?: pulumi.Input<string>;
|
|
159
157
|
/**
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
orReplace?: pulumi.Input<boolean>;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the data type to return.
|
|
158
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
165
159
|
*/
|
|
166
160
|
returnDataType: pulumi.Input<string>;
|
|
167
161
|
/**
|
|
168
|
-
* The schema in which to create the masking policy.
|
|
162
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
169
163
|
*/
|
|
170
164
|
schema: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
|
|
173
|
-
*/
|
|
174
|
-
signature: pulumi.Input<inputs.MaskingPolicySignature>;
|
|
175
165
|
}
|
package/maskingPolicy.js
CHANGED
|
@@ -8,10 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* format is database name | schema name | policy name
|
|
12
|
-
*
|
|
13
11
|
* ```sh
|
|
14
|
-
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '
|
|
12
|
+
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '"<database_name>"."<schema_name>"."<masking_policy_name>"'
|
|
15
13
|
* ```
|
|
16
14
|
*/
|
|
17
15
|
class MaskingPolicy extends pulumi.CustomResource {
|
|
@@ -42,46 +40,46 @@ class MaskingPolicy extends pulumi.CustomResource {
|
|
|
42
40
|
opts = opts || {};
|
|
43
41
|
if (opts.id) {
|
|
44
42
|
const state = argsOrState;
|
|
43
|
+
resourceInputs["arguments"] = state ? state.arguments : undefined;
|
|
44
|
+
resourceInputs["body"] = state ? state.body : undefined;
|
|
45
45
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
46
46
|
resourceInputs["database"] = state ? state.database : undefined;
|
|
47
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
47
48
|
resourceInputs["exemptOtherPolicies"] = state ? state.exemptOtherPolicies : undefined;
|
|
48
49
|
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
49
|
-
resourceInputs["ifNotExists"] = state ? state.ifNotExists : undefined;
|
|
50
|
-
resourceInputs["maskingExpression"] = state ? state.maskingExpression : undefined;
|
|
51
50
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
52
|
-
resourceInputs["orReplace"] = state ? state.orReplace : undefined;
|
|
53
51
|
resourceInputs["returnDataType"] = state ? state.returnDataType : undefined;
|
|
54
52
|
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
55
|
-
resourceInputs["
|
|
53
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
56
54
|
}
|
|
57
55
|
else {
|
|
58
56
|
const args = argsOrState;
|
|
57
|
+
if ((!args || args.arguments === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'arguments'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.body === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'body'");
|
|
62
|
+
}
|
|
59
63
|
if ((!args || args.database === undefined) && !opts.urn) {
|
|
60
64
|
throw new Error("Missing required property 'database'");
|
|
61
65
|
}
|
|
62
|
-
if ((!args || args.maskingExpression === undefined) && !opts.urn) {
|
|
63
|
-
throw new Error("Missing required property 'maskingExpression'");
|
|
64
|
-
}
|
|
65
66
|
if ((!args || args.returnDataType === undefined) && !opts.urn) {
|
|
66
67
|
throw new Error("Missing required property 'returnDataType'");
|
|
67
68
|
}
|
|
68
69
|
if ((!args || args.schema === undefined) && !opts.urn) {
|
|
69
70
|
throw new Error("Missing required property 'schema'");
|
|
70
71
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
72
|
+
resourceInputs["arguments"] = args ? args.arguments : undefined;
|
|
73
|
+
resourceInputs["body"] = args ? args.body : undefined;
|
|
74
74
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
75
75
|
resourceInputs["database"] = args ? args.database : undefined;
|
|
76
76
|
resourceInputs["exemptOtherPolicies"] = args ? args.exemptOtherPolicies : undefined;
|
|
77
|
-
resourceInputs["ifNotExists"] = args ? args.ifNotExists : undefined;
|
|
78
|
-
resourceInputs["maskingExpression"] = args ? args.maskingExpression : undefined;
|
|
79
77
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
-
resourceInputs["orReplace"] = args ? args.orReplace : undefined;
|
|
81
78
|
resourceInputs["returnDataType"] = args ? args.returnDataType : undefined;
|
|
82
79
|
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
83
|
-
resourceInputs["
|
|
80
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
84
81
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
85
83
|
}
|
|
86
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
85
|
super(MaskingPolicy.__pulumiType, name, resourceInputs, opts);
|