@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
@@ -40,7 +40,11 @@ exports.getMaterializedViews = getMaterializedViews;
40
40
  * ```
41
41
  */
42
42
  function getMaterializedViewsOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getMaterializedViews(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getMaterializedViews:getMaterializedViews", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getMaterializedViewsOutput = getMaterializedViewsOutput;
46
50
  //# sourceMappingURL=getMaterializedViews.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMaterializedViews.js","sourceRoot":"","sources":["../getMaterializedViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"getMaterializedViews.js","sourceRoot":"","sources":["../getMaterializedViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,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;AAND,gEAMC"}
@@ -25,7 +25,12 @@ exports.getNetworkPolicies = getNetworkPolicies;
25
25
  * Datasource used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
26
26
  */
27
27
  function getNetworkPoliciesOutput(args, opts) {
28
- return pulumi.output(args).apply((a) => getNetworkPolicies(a, opts));
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("snowflake:index/getNetworkPolicies:getNetworkPolicies", {
31
+ "like": args.like,
32
+ "withDescribe": args.withDescribe,
33
+ }, opts);
29
34
  }
30
35
  exports.getNetworkPoliciesOutput = getNetworkPoliciesOutput;
31
36
  //# sourceMappingURL=getNetworkPolicies.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkPolicies.js","sourceRoot":"","sources":["../getNetworkPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,uDAAuD,EAAE;QAClF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAqCD;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"getNetworkPolicies.js","sourceRoot":"","sources":["../getNetworkPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;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,MAAM,CAAC,uDAAuD,EAAE;QAClF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAqCD;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,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,uDAAuD,EAAE;QACxF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
package/getParameters.js CHANGED
@@ -72,7 +72,15 @@ exports.getParameters = getParameters;
72
72
  * ```
73
73
  */
74
74
  function getParametersOutput(args, opts) {
75
- return pulumi.output(args).apply((a) => getParameters(a, opts));
75
+ args = args || {};
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
77
+ return pulumi.runtime.invokeOutput("snowflake:index/getParameters:getParameters", {
78
+ "objectName": args.objectName,
79
+ "objectType": args.objectType,
80
+ "parameterType": args.parameterType,
81
+ "pattern": args.pattern,
82
+ "user": args.user,
83
+ }, opts);
76
84
  }
77
85
  exports.getParametersOutput = getParametersOutput;
78
86
  //# sourceMappingURL=getParameters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getParameters.js","sourceRoot":"","sources":["../getParameters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,6CAA6C,EAAE;QACxE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getParameters.js","sourceRoot":"","sources":["../getParameters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
package/getPipes.js CHANGED
@@ -40,7 +40,11 @@ exports.getPipes = getPipes;
40
40
  * ```
41
41
  */
42
42
  function getPipesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getPipes(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getPipes:getPipes", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getPipesOutput = getPipesOutput;
46
50
  //# sourceMappingURL=getPipes.js.map
package/getPipes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getPipes.js","sourceRoot":"","sources":["../getPipes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,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;AAPD,4BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getPipes.js","sourceRoot":"","sources":["../getPipes.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/getProcedures.js CHANGED
@@ -40,7 +40,11 @@ exports.getProcedures = getProcedures;
40
40
  * ```
41
41
  */
42
42
  function getProceduresOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getProcedures(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getProcedures:getProcedures", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getProceduresOutput = getProceduresOutput;
46
50
  //# sourceMappingURL=getProcedures.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getProcedures.js","sourceRoot":"","sources":["../getProcedures.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE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E,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
@@ -1,16 +1,20 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * ## Example Usage
4
+ * !> **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
5
  *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as snowflake from "@pulumi/snowflake";
9
- *
10
- * const current = snowflake.getResourceMonitors({});
11
- * ```
6
+ * Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in showOutput collection.
12
7
  */
13
- export declare function getResourceMonitors(opts?: pulumi.InvokeOptions): Promise<GetResourceMonitorsResult>;
8
+ export declare function getResourceMonitors(args?: GetResourceMonitorsArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceMonitorsResult>;
9
+ /**
10
+ * A collection of arguments for invoking getResourceMonitors.
11
+ */
12
+ export interface GetResourceMonitorsArgs {
13
+ /**
14
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
15
+ */
16
+ like?: string;
17
+ }
14
18
  /**
15
19
  * A collection of values returned by getResourceMonitors.
16
20
  */
@@ -20,18 +24,26 @@ export interface GetResourceMonitorsResult {
20
24
  */
21
25
  readonly id: string;
22
26
  /**
23
- * The resource monitors in the database
27
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
28
+ */
29
+ readonly like?: string;
30
+ /**
31
+ * Holds the aggregated output of all resource monitor details queries.
24
32
  */
25
33
  readonly resourceMonitors: outputs.GetResourceMonitorsResourceMonitor[];
26
34
  }
27
35
  /**
28
- * ## Example Usage
29
- *
30
- * ```typescript
31
- * import * as pulumi from "@pulumi/pulumi";
32
- * import * as snowflake from "@pulumi/snowflake";
36
+ * !> **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.
33
37
  *
34
- * const current = snowflake.getResourceMonitors({});
35
- * ```
38
+ * Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in showOutput collection.
39
+ */
40
+ export declare function getResourceMonitorsOutput(args?: GetResourceMonitorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourceMonitorsResult>;
41
+ /**
42
+ * A collection of arguments for invoking getResourceMonitors.
36
43
  */
37
- export declare function getResourceMonitorsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetResourceMonitorsResult>;
44
+ export interface GetResourceMonitorsOutputArgs {
45
+ /**
46
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
47
+ */
48
+ like?: pulumi.Input<string>;
49
+ }
@@ -6,32 +6,29 @@ exports.getResourceMonitorsOutput = exports.getResourceMonitors = 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.getResourceMonitors({});
16
- * ```
11
+ * Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in showOutput collection.
17
12
  */
18
- function getResourceMonitors(opts) {
13
+ function getResourceMonitors(args, opts) {
14
+ args = args || {};
19
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
- return pulumi.runtime.invoke("snowflake:index/getResourceMonitors:getResourceMonitors", {}, opts);
16
+ return pulumi.runtime.invoke("snowflake:index/getResourceMonitors:getResourceMonitors", {
17
+ "like": args.like,
18
+ }, opts);
21
19
  }
22
20
  exports.getResourceMonitors = getResourceMonitors;
23
21
  /**
24
- * ## Example Usage
25
- *
26
- * ```typescript
27
- * import * as pulumi from "@pulumi/pulumi";
28
- * import * as snowflake from "@pulumi/snowflake";
22
+ * !> **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.
29
23
  *
30
- * const current = snowflake.getResourceMonitors({});
31
- * ```
24
+ * Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in showOutput collection.
32
25
  */
33
- function getResourceMonitorsOutput(opts) {
34
- return pulumi.output(getResourceMonitors(opts));
26
+ function getResourceMonitorsOutput(args, opts) {
27
+ args = args || {};
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
+ return pulumi.runtime.invokeOutput("snowflake:index/getResourceMonitors:getResourceMonitors", {
30
+ "like": args.like,
31
+ }, opts);
35
32
  }
36
33
  exports.getResourceMonitorsOutput = getResourceMonitorsOutput;
37
34
  //# sourceMappingURL=getResourceMonitors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getResourceMonitors.js","sourceRoot":"","sources":["../getResourceMonitors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAE3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAeD;;;;;;;;;GASG;AACH,SAAgB,yBAAyB,CAAC,IAA2B;IACjE,OAAO,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAA;AACnD,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getResourceMonitors.js","sourceRoot":"","sources":["../getResourceMonitors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;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,MAAM,CAAC,yDAAyD,EAAE;QACpF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AA6BD;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,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,yDAAyD,EAAE;QAC1F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
package/getRole.js CHANGED
@@ -41,7 +41,10 @@ exports.getRole = getRole;
41
41
  * ```
42
42
  */
43
43
  function getRoleOutput(args, opts) {
44
- return pulumi.output(args).apply((a) => getRole(a, opts));
44
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
+ return pulumi.runtime.invokeOutput("snowflake:index/getRole:getRole", {
46
+ "name": args.name,
47
+ }, opts);
45
48
  }
46
49
  exports.getRoleOutput = getRoleOutput;
47
50
  //# sourceMappingURL=getRole.js.map
package/getRole.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
package/getRoles.js CHANGED
@@ -25,7 +25,12 @@ exports.getRoles = getRoles;
25
25
  * Datasource used to get details of filtered roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `inClass` are all supported). The results of SHOW are encapsulated in one output collection.
26
26
  */
27
27
  function getRolesOutput(args, opts) {
28
- return pulumi.output(args).apply((a) => getRoles(a, opts));
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("snowflake:index/getRoles:getRoles", {
31
+ "inClass": args.inClass,
32
+ "like": args.like,
33
+ }, opts);
29
34
  }
30
35
  exports.getRolesOutput = getRolesOutput;
31
36
  //# sourceMappingURL=getRoles.js.map
package/getRoles.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRoles.js","sourceRoot":"","sources":["../getRoles.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;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,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAqCD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getRoles.js","sourceRoot":"","sources":["../getRoles.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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAqCD;;;;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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC"}
@@ -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.getRowAccessPolicies({
11
- * database: "MYDB",
12
- * schema: "MYSCHEMA",
13
- * });
14
- * ```
7
+ * Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `rowAccessPolicies`.
15
8
  */
16
- export declare function getRowAccessPolicies(args: GetRowAccessPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetRowAccessPoliciesResult>;
9
+ export declare function getRowAccessPolicies(args?: GetRowAccessPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetRowAccessPoliciesResult>;
17
10
  /**
18
11
  * A collection of arguments for invoking getRowAccessPolicies.
19
12
  */
20
13
  export interface GetRowAccessPoliciesArgs {
21
14
  /**
22
- * The database from which to return the schemas from.
15
+ * IN clause to filter the list of row access policies
16
+ */
17
+ in?: inputs.GetRowAccessPoliciesIn;
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.GetRowAccessPoliciesLimit;
25
26
  /**
26
- * The schema from which to return the row access policy from.
27
+ * Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS 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 getRowAccessPolicies.
32
33
  */
33
34
  export interface GetRowAccessPoliciesResult {
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 row access policy in the schema
40
+ * IN clause to filter the list of row access policies
41
+ */
42
+ readonly in?: outputs.GetRowAccessPoliciesIn;
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.GetRowAccessPoliciesLimit;
51
+ /**
52
+ * Holds the aggregated output of all views details queries.
44
53
  */
45
54
  readonly rowAccessPolicies: outputs.GetRowAccessPoliciesRowAccessPolicy[];
46
55
  /**
47
- * The schema from which to return the row access policy from.
56
+ * Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS 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.getRowAccessPolicies({
59
- * database: "MYDB",
60
- * schema: "MYSCHEMA",
61
- * });
62
- * ```
63
+ * Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `rowAccessPolicies`.
63
64
  */
64
- export declare function getRowAccessPoliciesOutput(args: GetRowAccessPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRowAccessPoliciesResult>;
65
+ export declare function getRowAccessPoliciesOutput(args?: GetRowAccessPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRowAccessPoliciesResult>;
65
66
  /**
66
67
  * A collection of arguments for invoking getRowAccessPolicies.
67
68
  */
68
69
  export interface GetRowAccessPoliciesOutputArgs {
69
70
  /**
70
- * The database from which to return the schemas from.
71
+ * IN clause to filter the list of row access policies
72
+ */
73
+ in?: pulumi.Input<inputs.GetRowAccessPoliciesInArgs>;
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.GetRowAccessPoliciesLimitArgs>;
73
82
  /**
74
- * The schema from which to return the row access policy from.
83
+ * Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS 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.getRowAccessPoliciesOutput = exports.getRowAccessPolicies = 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.getRowAccessPolicies({
16
- * database: "MYDB",
17
- * schema: "MYSCHEMA",
18
- * });
19
- * ```
11
+ * Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `rowAccessPolicies`.
20
12
  */
21
13
  function getRowAccessPolicies(args, opts) {
14
+ args = args || {};
22
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
16
  return pulumi.runtime.invoke("snowflake:index/getRowAccessPolicies:getRowAccessPolicies", {
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.getRowAccessPolicies = getRowAccessPolicies;
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.getRowAccessPolicies({
37
- * database: "MYDB",
38
- * schema: "MYSCHEMA",
39
- * });
40
- * ```
27
+ * Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `rowAccessPolicies`.
41
28
  */
42
29
  function getRowAccessPoliciesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getRowAccessPolicies(a, opts));
30
+ args = args || {};
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invokeOutput("snowflake:index/getRowAccessPolicies:getRowAccessPolicies", {
33
+ "in": args.in,
34
+ "like": args.like,
35
+ "limit": args.limit,
36
+ "withDescribe": args.withDescribe,
37
+ }, opts);
44
38
  }
45
39
  exports.getRowAccessPoliciesOutput = getRowAccessPoliciesOutput;
46
40
  //# sourceMappingURL=getRowAccessPolicies.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRowAccessPolicies.js","sourceRoot":"","sources":["../getRowAccessPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,M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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,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,gEASC"}
package/getSchemas.js CHANGED
@@ -29,7 +29,16 @@ exports.getSchemas = getSchemas;
29
29
  * Datasource used to get details of filtered schemas. Filtering is aligned with the current possibilities for [SHOW SCHEMAS](https://docs.snowflake.com/en/sql-reference/sql/show-schemas) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection.
30
30
  */
31
31
  function getSchemasOutput(args, opts) {
32
- return pulumi.output(args).apply((a) => getSchemas(a, opts));
32
+ args = args || {};
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invokeOutput("snowflake:index/getSchemas:getSchemas", {
35
+ "in": args.in,
36
+ "like": args.like,
37
+ "limit": args.limit,
38
+ "startsWith": args.startsWith,
39
+ "withDescribe": args.withDescribe,
40
+ "withParameters": args.withParameters,
41
+ }, opts);
33
42
  }
34
43
  exports.getSchemasOutput = getSchemasOutput;
35
44
  //# sourceMappingURL=getSchemas.js.map
package/getSchemas.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSchemas.js","sourceRoot":"","sources":["../getSchemas.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CA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AAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gCAWC;AAqED;;;;GAIG;AACH,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,YAAY,CAAC,uCAAuC,EAAE;QACxE,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;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
@@ -25,7 +25,12 @@ exports.getSecurityIntegrations = getSecurityIntegrations;
25
25
  * Datasource used to get details of filtered security integrations. Filtering is aligned with the current possibilities for [SHOW SECURITY INTEGRATIONS](https://docs.snowflake.com/en/sql-reference/sql/show-integrations) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `securityIntegrations`.
26
26
  */
27
27
  function getSecurityIntegrationsOutput(args, opts) {
28
- return pulumi.output(args).apply((a) => getSecurityIntegrations(a, opts));
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("snowflake:index/getSecurityIntegrations:getSecurityIntegrations", {
31
+ "like": args.like,
32
+ "withDescribe": args.withDescribe,
33
+ }, opts);
29
34
  }
30
35
  exports.getSecurityIntegrationsOutput = getSecurityIntegrationsOutput;
31
36
  //# sourceMappingURL=getSecurityIntegrations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSecurityIntegrations.js","sourceRoot":"","sources":["../getSecurityIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0DAQC;AAqCD;;;;GAIG;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":"getSecurityIntegrations.js","sourceRoot":"","sources":["../getSecurityIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC;AAqCD;;;;GAIG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sEAOC"}
package/getSequences.js CHANGED
@@ -40,7 +40,11 @@ exports.getSequences = getSequences;
40
40
  * ```
41
41
  */
42
42
  function getSequencesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getSequences(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getSequences:getSequences", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getSequencesOutput = getSequencesOutput;
46
50
  //# sourceMappingURL=getSequences.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSequences.js","sourceRoot":"","sources":["../getSequences.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,2CAA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AAC;AAND,gDAMC"}
package/getShares.js CHANGED
@@ -40,7 +40,11 @@ exports.getShares = getShares;
40
40
  * ```
41
41
  */
42
42
  function getSharesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getShares(a, opts));
43
+ args = args || {};
44
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
+ return pulumi.runtime.invokeOutput("snowflake:index/getShares:getShares", {
46
+ "pattern": args.pattern,
47
+ }, opts);
44
48
  }
45
49
  exports.getSharesOutput = getSharesOutput;
46
50
  //# sourceMappingURL=getShares.js.map
package/getShares.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getShares.js","sourceRoot":"","sources":["../getShares.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,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AA6BD;;;;;;;;;;;;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":"getShares.js","sourceRoot":"","sources":["../getShares.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,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA6BD;;;;;;;;;;;;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,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}
package/getStages.js CHANGED
@@ -40,7 +40,11 @@ exports.getStages = getStages;
40
40
  * ```
41
41
  */
42
42
  function getStagesOutput(args, opts) {
43
- return pulumi.output(args).apply((a) => getStages(a, opts));
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("snowflake:index/getStages:getStages", {
45
+ "database": args.database,
46
+ "schema": args.schema,
47
+ }, opts);
44
48
  }
45
49
  exports.getStagesOutput = getStagesOutput;
46
50
  //# sourceMappingURL=getStages.js.map
package/getStages.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getStages.js","sourceRoot":"","sources":["../getStages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF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AY,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"}
@@ -31,7 +31,8 @@ exports.getStorageIntegrations = getStorageIntegrations;
31
31
  * ```
32
32
  */
33
33
  function getStorageIntegrationsOutput(opts) {
34
- return pulumi.output(getStorageIntegrations(opts));
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
+ return pulumi.runtime.invokeOutput("snowflake:index/getStorageIntegrations:getStorageIntegrations", {}, opts);
35
36
  }
36
37
  exports.getStorageIntegrationsOutput = getStorageIntegrationsOutput;
37
38
  //# sourceMappingURL=getStorageIntegrations.js.map