@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.
Files changed (106) hide show
  1. package/getAccounts.js +5 -1
  2. package/getAccounts.js.map +1 -1
  3. package/getAlerts.js +7 -1
  4. package/getAlerts.js.map +1 -1
  5. package/getCortexSearchServices.js +8 -1
  6. package/getCortexSearchServices.js.map +1 -1
  7. package/getCurrentAccount.js +2 -1
  8. package/getCurrentAccount.js.map +1 -1
  9. package/getCurrentRole.js +2 -1
  10. package/getCurrentRole.js.map +1 -1
  11. package/getDatabase.js +4 -1
  12. package/getDatabase.js.map +1 -1
  13. package/getDatabaseRole.js +5 -1
  14. package/getDatabaseRole.js.map +1 -1
  15. package/getDatabaseRoles.d.ts +4 -0
  16. package/getDatabaseRoles.js +10 -1
  17. package/getDatabaseRoles.js.map +1 -1
  18. package/getDatabases.js +9 -1
  19. package/getDatabases.js.map +1 -1
  20. package/getDynamicTables.js +8 -1
  21. package/getDynamicTables.js.map +1 -1
  22. package/getExternalFunctions.js +6 -1
  23. package/getExternalFunctions.js.map +1 -1
  24. package/getExternalTables.js +5 -1
  25. package/getExternalTables.js.map +1 -1
  26. package/getFailoverGroups.js +5 -1
  27. package/getFailoverGroups.js.map +1 -1
  28. package/getFileFormats.js +5 -1
  29. package/getFileFormats.js.map +1 -1
  30. package/getFunctions.js +5 -1
  31. package/getFunctions.js.map +1 -1
  32. package/getGrants.js +9 -1
  33. package/getGrants.js.map +1 -1
  34. package/getMaskingPolicies.d.ts +46 -37
  35. package/getMaskingPolicies.js +17 -23
  36. package/getMaskingPolicies.js.map +1 -1
  37. package/getMaterializedViews.js +5 -1
  38. package/getMaterializedViews.js.map +1 -1
  39. package/getNetworkPolicies.js +6 -1
  40. package/getNetworkPolicies.js.map +1 -1
  41. package/getParameters.js +9 -1
  42. package/getParameters.js.map +1 -1
  43. package/getPipes.js +5 -1
  44. package/getPipes.js.map +1 -1
  45. package/getProcedures.js +5 -1
  46. package/getProcedures.js.map +1 -1
  47. package/getResourceMonitors.d.ts +29 -17
  48. package/getResourceMonitors.js +15 -18
  49. package/getResourceMonitors.js.map +1 -1
  50. package/getRole.js +4 -1
  51. package/getRole.js.map +1 -1
  52. package/getRoles.js +6 -1
  53. package/getRoles.js.map +1 -1
  54. package/getRowAccessPolicies.d.ts +46 -37
  55. package/getRowAccessPolicies.js +17 -23
  56. package/getRowAccessPolicies.js.map +1 -1
  57. package/getSchemas.js +10 -1
  58. package/getSchemas.js.map +1 -1
  59. package/getSecurityIntegrations.js +6 -1
  60. package/getSecurityIntegrations.js.map +1 -1
  61. package/getSequences.js +5 -1
  62. package/getSequences.js.map +1 -1
  63. package/getShares.js +5 -1
  64. package/getShares.js.map +1 -1
  65. package/getStages.js +5 -1
  66. package/getStages.js.map +1 -1
  67. package/getStorageIntegrations.js +2 -1
  68. package/getStorageIntegrations.js.map +1 -1
  69. package/getStreamlits.js +8 -1
  70. package/getStreamlits.js.map +1 -1
  71. package/getStreams.js +5 -1
  72. package/getStreams.js.map +1 -1
  73. package/getSystemGenerateScimAccessToken.js +4 -1
  74. package/getSystemGenerateScimAccessToken.js.map +1 -1
  75. package/getSystemGetAwsSnsIamPolicy.js +4 -1
  76. package/getSystemGetAwsSnsIamPolicy.js.map +1 -1
  77. package/getSystemGetPrivateLinkConfig.js +2 -1
  78. package/getSystemGetPrivateLinkConfig.js.map +1 -1
  79. package/getSystemGetSnowflakePlatformInfo.js +2 -1
  80. package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
  81. package/getTables.js +5 -1
  82. package/getTables.js.map +1 -1
  83. package/getTasks.js +5 -1
  84. package/getTasks.js.map +1 -1
  85. package/getUsers.js +9 -1
  86. package/getUsers.js.map +1 -1
  87. package/getViews.d.ts +4 -0
  88. package/getViews.js +13 -1
  89. package/getViews.js.map +1 -1
  90. package/getWarehouses.js +7 -1
  91. package/getWarehouses.js.map +1 -1
  92. package/index.d.ts +1 -1
  93. package/maskingPolicy.d.ts +54 -64
  94. package/maskingPolicy.js +15 -17
  95. package/maskingPolicy.js.map +1 -1
  96. package/package.json +2 -2
  97. package/resourceMonitor.d.ts +33 -83
  98. package/resourceMonitor.js +2 -8
  99. package/resourceMonitor.js.map +1 -1
  100. package/rowAccessPolicy.d.ts +48 -38
  101. package/rowAccessPolicy.js +15 -13
  102. package/rowAccessPolicy.js.map +1 -1
  103. package/types/input.d.ts +198 -6
  104. package/types/output.d.ts +203 -11
  105. package/view.d.ts +3 -3
  106. package/warehouse.d.ts +2 -2
package/getAccounts.js CHANGED
@@ -14,7 +14,11 @@ function getAccounts(args, opts) {
14
14
  }
15
15
  exports.getAccounts = getAccounts;
16
16
  function getAccountsOutput(args, opts) {
17
- return pulumi.output(args).apply((a) => getAccounts(a, opts));
17
+ args = args || {};
18
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
19
+ return pulumi.runtime.invokeOutput("snowflake:index/getAccounts:getAccounts", {
20
+ "pattern": args.pattern,
21
+ }, opts);
18
22
  }
19
23
  exports.getAccountsOutput = getAccountsOutput;
20
24
  //# sourceMappingURL=getAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../getAccounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AA6BD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../getAccounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,yCAAyC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA6BD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,yCAAyC,EAAE;QAC1E,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
package/getAlerts.js CHANGED
@@ -42,7 +42,13 @@ exports.getAlerts = getAlerts;
42
42
  * ```
43
43
  */
44
44
  function getAlertsOutput(args, opts) {
45
- return pulumi.output(args).apply((a) => getAlerts(a, opts));
45
+ args = args || {};
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("snowflake:index/getAlerts:getAlerts", {
48
+ "database": args.database,
49
+ "pattern": args.pattern,
50
+ "schema": args.schema,
51
+ }, opts);
46
52
  }
47
53
  exports.getAlertsOutput = getAlertsOutput;
48
54
  //# sourceMappingURL=getAlerts.js.map
package/getAlerts.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AA6CD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA6CD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,qCAAqC,EAAE;QACtE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
@@ -77,7 +77,14 @@ exports.getCortexSearchServices = getCortexSearchServices;
77
77
  * ```
78
78
  */
79
79
  function getCortexSearchServicesOutput(args, opts) {
80
- return pulumi.output(args).apply((a) => getCortexSearchServices(a, opts));
80
+ args = args || {};
81
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
82
+ return pulumi.runtime.invokeOutput("snowflake:index/getCortexSearchServices:getCortexSearchServices", {
83
+ "in": args.in,
84
+ "like": args.like,
85
+ "limit": args.limit,
86
+ "startsWith": args.startsWith,
87
+ }, opts);
81
88
  }
82
89
  exports.getCortexSearchServicesOutput = getCortexSearchServicesOutput;
83
90
  //# sourceMappingURL=getCortexSearchServices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCortexSearchServices.js","sourceRoot":"","sources":["../getCortexSearchServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
1
+ {"version":3,"file":"getCortexSearchServices.js","sourceRoot":"","sources":["../getCortexSearchServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,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,iEAAiE,EAAE;QAC5F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0DASC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,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,iEAAiE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sEASC"}
@@ -43,7 +43,8 @@ exports.getCurrentAccount = getCurrentAccount;
43
43
  * ```
44
44
  */
45
45
  function getCurrentAccountOutput(opts) {
46
- return pulumi.output(getCurrentAccount(opts));
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("snowflake:index/getCurrentAccount:getCurrentAccount", {}, opts);
47
48
  }
48
49
  exports.getCurrentAccountOutput = getCurrentAccountOutput;
49
50
  //# sourceMappingURL=getCurrentAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentAccount.js","sourceRoot":"","sources":["../getCurrentAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IAEzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AAuBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAA2B;IAC/D,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAA;AACjD,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getCurrentAccount.js","sourceRoot":"","sources":["../getCurrentAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC;AAuBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAA2B;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE,EACzF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0DAIC"}
package/getCurrentRole.js CHANGED
@@ -11,7 +11,8 @@ function getCurrentRole(opts) {
11
11
  }
12
12
  exports.getCurrentRole = getCurrentRole;
13
13
  function getCurrentRoleOutput(opts) {
14
- return pulumi.output(getCurrentRole(opts));
14
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
+ return pulumi.runtime.invokeOutput("snowflake:index/getCurrentRole:getCurrentRole", {}, opts);
15
16
  }
16
17
  exports.getCurrentRoleOutput = getCurrentRoleOutput;
17
18
  //# sourceMappingURL=getCurrentRole.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentRole.js","sourceRoot":"","sources":["../getCurrentRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAeD,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getCurrentRole.js","sourceRoot":"","sources":["../getCurrentRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
package/getDatabase.js CHANGED
@@ -37,7 +37,10 @@ exports.getDatabase = getDatabase;
37
37
  * ```
38
38
  */
39
39
  function getDatabaseOutput(args, opts) {
40
- return pulumi.output(args).apply((a) => getDatabase(a, opts));
40
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
41
+ return pulumi.runtime.invokeOutput("snowflake:index/getDatabase:getDatabase", {
42
+ "name": args.name,
43
+ }, opts);
41
44
  }
42
45
  exports.getDatabaseOutput = getDatabaseOutput;
43
46
  //# sourceMappingURL=getDatabase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../getDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAiCD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../getDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAiCD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -40,7 +40,11 @@ exports.getDatabaseRole = getDatabaseRole;
40
40
  * ```
41
41
  */
42
42
  function getDatabaseRoleOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getDatabaseRole(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getDatabaseRole:getDatabaseRole", {
45
+ "database": args.database,
46
+ "name": args.name,
47
+ }, opts);
44
48
  }
45
49
  exports.getDatabaseRoleOutput = getDatabaseRoleOutput;
46
50
  //# sourceMappingURL=getDatabaseRole.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseRole.js","sourceRoot":"","sources":["../getDatabaseRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AAyCD;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getDatabaseRole.js","sourceRoot":"","sources":["../getDatabaseRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;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,MAAM,CAAC,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAyCD;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
@@ -3,6 +3,8 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
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
+ *
7
+ * Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in showOutput collection.
6
8
  */
7
9
  export declare function getDatabaseRoles(args: GetDatabaseRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseRolesResult>;
8
10
  /**
@@ -49,6 +51,8 @@ export interface GetDatabaseRolesResult {
49
51
  }
50
52
  /**
51
53
  * !> **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.
54
+ *
55
+ * Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in showOutput collection.
52
56
  */
53
57
  export declare function getDatabaseRolesOutput(args: GetDatabaseRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseRolesResult>;
54
58
  /**
@@ -7,6 +7,8 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
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
+ *
11
+ * Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in showOutput collection.
10
12
  */
11
13
  function getDatabaseRoles(args, opts) {
12
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -19,9 +21,16 @@ function getDatabaseRoles(args, opts) {
19
21
  exports.getDatabaseRoles = getDatabaseRoles;
20
22
  /**
21
23
  * !> **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.
24
+ *
25
+ * Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in showOutput collection.
22
26
  */
23
27
  function getDatabaseRolesOutput(args, opts) {
24
- return pulumi.output(args).apply((a) => getDatabaseRoles(a, opts));
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
+ return pulumi.runtime.invokeOutput("snowflake:index/getDatabaseRoles:getDatabaseRoles", {
30
+ "inDatabase": args.inDatabase,
31
+ "like": args.like,
32
+ "limit": args.limit,
33
+ }, opts);
25
34
  }
26
35
  exports.getDatabaseRolesOutput = getDatabaseRolesOutput;
27
36
  //# sourceMappingURL=getDatabaseRoles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseRoles.js","sourceRoot":"","sources":["../getDatabaseRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AA6CD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getDatabaseRoles.js","sourceRoot":"","sources":["../getDatabaseRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AA6CD;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC"}
package/getDatabases.js CHANGED
@@ -28,7 +28,15 @@ exports.getDatabases = getDatabases;
28
28
  * Datasource used to get details of filtered databases. Filtering is aligned with the current possibilities for [SHOW DATABASES](https://docs.snowflake.com/en/sql-reference/sql/show-databases) query (`like`, `startsWith`, and `limit` are all supported). The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
29
29
  */
30
30
  function getDatabasesOutput(args, opts) {
31
- return pulumi.output(args).apply((a) => getDatabases(a, opts));
31
+ args = args || {};
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
+ return pulumi.runtime.invokeOutput("snowflake:index/getDatabases:getDatabases", {
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.getDatabasesOutput = getDatabasesOutput;
34
42
  //# sourceMappingURL=getDatabases.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabases.js","sourceRoot":"","sources":["../getDatabases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,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;AAXD,oCAWC;AA6DD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getDatabases.js","sourceRoot":"","sources":["../getDatabases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,2CAA2C,EAAE;QACtE,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,oCAUC;AA6DD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,2CAA2C,EAAE;QAC5E,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,gDAUC"}
@@ -17,7 +17,14 @@ function getDynamicTables(args, opts) {
17
17
  }
18
18
  exports.getDynamicTables = getDynamicTables;
19
19
  function getDynamicTablesOutput(args, opts) {
20
- return pulumi.output(args).apply((a) => getDynamicTables(a, opts));
20
+ args = args || {};
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invokeOutput("snowflake:index/getDynamicTables:getDynamicTables", {
23
+ "in": args.in,
24
+ "like": args.like,
25
+ "limit": args.limit,
26
+ "startsWith": args.startsWith,
27
+ }, opts);
21
28
  }
22
29
  exports.getDynamicTablesOutput = getDynamicTablesOutput;
23
30
  //# sourceMappingURL=getDynamicTables.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDynamicTables.js","sourceRoot":"","sources":["../getDynamicTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC;AAqDD,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getDynamicTables.js","sourceRoot":"","sources":["../getDynamicTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAqDD,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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,mDAAmD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
@@ -41,7 +41,12 @@ exports.getExternalFunctions = getExternalFunctions;
41
41
  * ```
42
42
  */
43
43
  function getExternalFunctionsOutput(args, opts) {
44
- return pulumi.output(args).apply((a) => getExternalFunctions(a, opts));
44
+ args = args || {};
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("snowflake:index/getExternalFunctions:getExternalFunctions", {
47
+ "database": args.database,
48
+ "schema": args.schema,
49
+ }, opts);
45
50
  }
46
51
  exports.getExternalFunctionsOutput = getExternalFunctionsOutput;
47
52
  //# sourceMappingURL=getExternalFunctions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getExternalFunctions.js","sourceRoot":"","sources":["../getExternalFunctions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;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BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,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,2DAA2D,EAAE;QAC5F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
@@ -40,7 +40,11 @@ exports.getExternalTables = getExternalTables;
40
40
  * ```
41
41
  */
42
42
  function getExternalTablesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getExternalTables(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getExternalTables:getExternalTables", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getExternalTablesOutput = getExternalTablesOutput;
46
50
  //# sourceMappingURL=getExternalTables.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getExternalTables.js","sourceRoot":"","sources":["../getExternalTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getExternalTables.js","sourceRoot":"","sources":["../getExternalTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
@@ -14,7 +14,11 @@ function getFailoverGroups(args, opts) {
14
14
  }
15
15
  exports.getFailoverGroups = getFailoverGroups;
16
16
  function getFailoverGroupsOutput(args, opts) {
17
- return pulumi.output(args).apply((a) => getFailoverGroups(a, opts));
17
+ args = args || {};
18
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
19
+ return pulumi.runtime.invokeOutput("snowflake:index/getFailoverGroups:getFailoverGroups", {
20
+ "inAccount": args.inAccount,
21
+ }, opts);
18
22
  }
19
23
  exports.getFailoverGroupsOutput = getFailoverGroupsOutput;
20
24
  //# sourceMappingURL=getFailoverGroups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFailoverGroups.js","sourceRoot":"","sources":["../getFailoverGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AA6BD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getFailoverGroups.js","sourceRoot":"","sources":["../getFailoverGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA6BD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,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,qDAAqD,EAAE;QACtF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
package/getFileFormats.js CHANGED
@@ -40,7 +40,11 @@ exports.getFileFormats = getFileFormats;
40
40
  * ```
41
41
  */
42
42
  function getFileFormatsOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getFileFormats(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getFileFormats:getFileFormats", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getFileFormatsOutput = getFileFormatsOutput;
46
50
  //# sourceMappingURL=getFileFormats.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFileFormats.js","sourceRoot":"","sources":["../getFileFormats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAA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OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
package/getFunctions.js CHANGED
@@ -40,7 +40,11 @@ exports.getFunctions = getFunctions;
40
40
  * ```
41
41
  */
42
42
  function getFunctionsOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getFunctions(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getFunctions:getFunctions", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getFunctionsOutput = getFunctionsOutput;
46
50
  //# sourceMappingURL=getFunctions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFunctions.js","sourceRoot":"","sources":["../getFunctions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getFunctions.js","sourceRoot":"","sources":["../getFunctions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC"}
package/getGrants.js CHANGED
@@ -268,7 +268,15 @@ exports.getGrants = getGrants;
268
268
  * ```
269
269
  */
270
270
  function getGrantsOutput(args, opts) {
271
- return pulumi.output(args).apply((a) => getGrants(a, opts));
271
+ args = args || {};
272
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
273
+ return pulumi.runtime.invokeOutput("snowflake:index/getGrants:getGrants", {
274
+ "futureGrantsIn": args.futureGrantsIn,
275
+ "futureGrantsTo": args.futureGrantsTo,
276
+ "grantsOf": args.grantsOf,
277
+ "grantsOn": args.grantsOn,
278
+ "grantsTo": args.grantsTo,
279
+ }, opts);
272
280
  }
273
281
  exports.getGrantsOutput = getGrantsOutput;
274
282
  //# sourceMappingURL=getGrants.js.map
package/getGrants.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getGrants.js","sourceRoot":"","sources":["../getGrants.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,C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AE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC"}
@@ -1,77 +1,86 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
2
3
  import * as outputs from "./types/output";
3
4
  /**
4
- * ## Example Usage
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.
5
6
  *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as snowflake from "@pulumi/snowflake";
9
- *
10
- * const current = snowflake.getMaskingPolicies({
11
- * database: "MYDB",
12
- * schema: "MYSCHEMA",
13
- * });
14
- * ```
7
+ * Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `maskingPolicies`.
15
8
  */
16
- export declare function getMaskingPolicies(args: GetMaskingPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetMaskingPoliciesResult>;
9
+ export declare function getMaskingPolicies(args?: GetMaskingPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetMaskingPoliciesResult>;
17
10
  /**
18
11
  * A collection of arguments for invoking getMaskingPolicies.
19
12
  */
20
13
  export interface GetMaskingPoliciesArgs {
21
14
  /**
22
- * The database from which to return the schemas from.
15
+ * IN clause to filter the list of masking policies
16
+ */
17
+ in?: inputs.GetMaskingPoliciesIn;
18
+ /**
19
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
20
+ */
21
+ like?: string;
22
+ /**
23
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
23
24
  */
24
- database: string;
25
+ limit?: inputs.GetMaskingPoliciesLimit;
25
26
  /**
26
- * The schema from which to return the maskingPolicies from.
27
+ * Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
27
28
  */
28
- schema: string;
29
+ withDescribe?: boolean;
29
30
  }
30
31
  /**
31
32
  * A collection of values returned by getMaskingPolicies.
32
33
  */
33
34
  export interface GetMaskingPoliciesResult {
34
- /**
35
- * The database from which to return the schemas from.
36
- */
37
- readonly database: string;
38
35
  /**
39
36
  * The provider-assigned unique ID for this managed resource.
40
37
  */
41
38
  readonly id: string;
42
39
  /**
43
- * The maskingPolicies in the schema
40
+ * IN clause to filter the list of masking policies
41
+ */
42
+ readonly in?: outputs.GetMaskingPoliciesIn;
43
+ /**
44
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
45
+ */
46
+ readonly like?: string;
47
+ /**
48
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
49
+ */
50
+ readonly limit?: outputs.GetMaskingPoliciesLimit;
51
+ /**
52
+ * Holds the aggregated output of all views details queries.
44
53
  */
45
54
  readonly maskingPolicies: outputs.GetMaskingPoliciesMaskingPolicy[];
46
55
  /**
47
- * The schema from which to return the maskingPolicies from.
56
+ * Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
48
57
  */
49
- readonly schema: string;
58
+ readonly withDescribe?: boolean;
50
59
  }
51
60
  /**
52
- * ## Example Usage
53
- *
54
- * ```typescript
55
- * import * as pulumi from "@pulumi/pulumi";
56
- * import * as snowflake from "@pulumi/snowflake";
61
+ * !> **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.
57
62
  *
58
- * const current = snowflake.getMaskingPolicies({
59
- * database: "MYDB",
60
- * schema: "MYSCHEMA",
61
- * });
62
- * ```
63
+ * Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `maskingPolicies`.
63
64
  */
64
- export declare function getMaskingPoliciesOutput(args: GetMaskingPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaskingPoliciesResult>;
65
+ export declare function getMaskingPoliciesOutput(args?: GetMaskingPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaskingPoliciesResult>;
65
66
  /**
66
67
  * A collection of arguments for invoking getMaskingPolicies.
67
68
  */
68
69
  export interface GetMaskingPoliciesOutputArgs {
69
70
  /**
70
- * The database from which to return the schemas from.
71
+ * IN clause to filter the list of masking policies
72
+ */
73
+ in?: pulumi.Input<inputs.GetMaskingPoliciesInArgs>;
74
+ /**
75
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
76
+ */
77
+ like?: pulumi.Input<string>;
78
+ /**
79
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
71
80
  */
72
- database: pulumi.Input<string>;
81
+ limit?: pulumi.Input<inputs.GetMaskingPoliciesLimitArgs>;
73
82
  /**
74
- * The schema from which to return the maskingPolicies from.
83
+ * Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
75
84
  */
76
- schema: pulumi.Input<string>;
85
+ withDescribe?: pulumi.Input<boolean>;
77
86
  }
@@ -6,41 +6,35 @@ exports.getMaskingPoliciesOutput = exports.getMaskingPolicies = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
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
10
  *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as snowflake from "@pulumi/snowflake";
14
- *
15
- * const current = snowflake.getMaskingPolicies({
16
- * database: "MYDB",
17
- * schema: "MYSCHEMA",
18
- * });
19
- * ```
11
+ * Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `maskingPolicies`.
20
12
  */
21
13
  function getMaskingPolicies(args, opts) {
14
+ args = args || {};
22
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
16
  return pulumi.runtime.invoke("snowflake:index/getMaskingPolicies:getMaskingPolicies", {
24
- "database": args.database,
25
- "schema": args.schema,
17
+ "in": args.in,
18
+ "like": args.like,
19
+ "limit": args.limit,
20
+ "withDescribe": args.withDescribe,
26
21
  }, opts);
27
22
  }
28
23
  exports.getMaskingPolicies = getMaskingPolicies;
29
24
  /**
30
- * ## Example Usage
31
- *
32
- * ```typescript
33
- * import * as pulumi from "@pulumi/pulumi";
34
- * import * as snowflake from "@pulumi/snowflake";
25
+ * !> **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.
35
26
  *
36
- * const current = snowflake.getMaskingPolicies({
37
- * database: "MYDB",
38
- * schema: "MYSCHEMA",
39
- * });
40
- * ```
27
+ * Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `maskingPolicies`.
41
28
  */
42
29
  function getMaskingPoliciesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getMaskingPolicies(a, opts));
30
+ args = args || {};
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invokeOutput("snowflake:index/getMaskingPolicies:getMaskingPolicies", {
33
+ "in": args.in,
34
+ "like": args.like,
35
+ "limit": args.limit,
36
+ "withDescribe": args.withDescribe,
37
+ }, opts);
44
38
  }
45
39
  exports.getMaskingPoliciesOutput = getMaskingPoliciesOutput;
46
40
  //# sourceMappingURL=getMaskingPolicies.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMaskingPolicies.js","sourceRoot":"","sources":["../getMaskingPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAqCD;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