@pulumi/snowflake 0.59.0-alpha.1726827563 → 0.59.0-alpha.1726831379
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getDatabaseRoles.d.ts +4 -0
- package/getDatabaseRoles.js +4 -0
- package/getDatabaseRoles.js.map +1 -1
- package/getMaskingPolicies.d.ts +46 -37
- package/getMaskingPolicies.js +14 -24
- package/getMaskingPolicies.js.map +1 -1
- package/getResourceMonitors.d.ts +29 -17
- package/getResourceMonitors.js +14 -18
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +46 -37
- package/getRowAccessPolicies.js +14 -24
- package/getRowAccessPolicies.js.map +1 -1
- package/getViews.d.ts +4 -0
- package/getViews.js +4 -0
- package/getViews.js.map +1 -1
- package/index.d.ts +1 -1
- package/maskingPolicy.d.ts +54 -64
- package/maskingPolicy.js +15 -17
- package/maskingPolicy.js.map +1 -1
- package/package.json +2 -2
- package/resourceMonitor.d.ts +33 -83
- package/resourceMonitor.js +2 -8
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +48 -38
- package/rowAccessPolicy.js +15 -13
- package/rowAccessPolicy.js.map +1 -1
- package/types/input.d.ts +198 -6
- package/types/output.d.ts +203 -11
- package/view.d.ts +3 -3
- package/warehouse.d.ts +2 -2
package/getDatabaseRoles.d.ts
CHANGED
|
@@ -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
|
/**
|
package/getDatabaseRoles.js
CHANGED
|
@@ -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,6 +21,8 @@ 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
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getDatabaseRoles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseRoles.js","sourceRoot":"","sources":["../getDatabaseRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
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/getMaskingPolicies.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
25
|
+
limit?: inputs.GetMaskingPoliciesLimit;
|
|
25
26
|
/**
|
|
26
|
-
* The
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
|
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
|
|
58
|
+
readonly withDescribe?: boolean;
|
|
50
59
|
}
|
|
51
60
|
/**
|
|
52
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
81
|
+
limit?: pulumi.Input<inputs.GetMaskingPoliciesLimitArgs>;
|
|
73
82
|
/**
|
|
74
|
-
* The
|
|
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
|
-
|
|
85
|
+
withDescribe?: pulumi.Input<boolean>;
|
|
77
86
|
}
|
package/getMaskingPolicies.js
CHANGED
|
@@ -6,44 +6,34 @@ exports.getMaskingPoliciesOutput = exports.getMaskingPolicies = void 0;
|
|
|
6
6
|
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
10
|
*
|
|
11
|
-
*
|
|
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
|
-
"
|
|
25
|
-
"
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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) {
|
|
30
|
+
args = args || {};
|
|
43
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
32
|
return pulumi.runtime.invokeOutput("snowflake:index/getMaskingPolicies:getMaskingPolicies", {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
33
|
+
"in": args.in,
|
|
34
|
+
"like": args.like,
|
|
35
|
+
"limit": args.limit,
|
|
36
|
+
"withDescribe": args.withDescribe,
|
|
47
37
|
}, opts);
|
|
48
38
|
}
|
|
49
39
|
exports.getMaskingPoliciesOutput = getMaskingPoliciesOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMaskingPolicies.js","sourceRoot":"","sources":["../getMaskingPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getMaskingPolicies.js","sourceRoot":"","sources":["../getMaskingPolicies.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,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,gDASC;AAqDD;;;;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,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,4DASC"}
|
package/getResourceMonitors.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
+
}
|
package/getResourceMonitors.js
CHANGED
|
@@ -6,33 +6,29 @@ exports.getResourceMonitorsOutput = exports.getResourceMonitors = void 0;
|
|
|
6
6
|
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
10
|
*
|
|
11
|
-
*
|
|
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", {
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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) {
|
|
26
|
+
function getResourceMonitorsOutput(args, opts) {
|
|
27
|
+
args = args || {};
|
|
34
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
|
-
return pulumi.runtime.invokeOutput("snowflake:index/getResourceMonitors:getResourceMonitors", {
|
|
29
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getResourceMonitors:getResourceMonitors", {
|
|
30
|
+
"like": args.like,
|
|
31
|
+
}, opts);
|
|
36
32
|
}
|
|
37
33
|
exports.getResourceMonitorsOutput = getResourceMonitorsOutput;
|
|
38
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
|
|
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"}
|
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
25
|
+
limit?: inputs.GetRowAccessPoliciesLimit;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
58
|
+
readonly withDescribe?: boolean;
|
|
50
59
|
}
|
|
51
60
|
/**
|
|
52
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
81
|
+
limit?: pulumi.Input<inputs.GetRowAccessPoliciesLimitArgs>;
|
|
73
82
|
/**
|
|
74
|
-
*
|
|
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
|
-
|
|
85
|
+
withDescribe?: pulumi.Input<boolean>;
|
|
77
86
|
}
|
package/getRowAccessPolicies.js
CHANGED
|
@@ -6,44 +6,34 @@ exports.getRowAccessPoliciesOutput = exports.getRowAccessPolicies = void 0;
|
|
|
6
6
|
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
10
|
*
|
|
11
|
-
*
|
|
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
|
-
"
|
|
25
|
-
"
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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) {
|
|
30
|
+
args = args || {};
|
|
43
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
32
|
return pulumi.runtime.invokeOutput("snowflake:index/getRowAccessPolicies:getRowAccessPolicies", {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
33
|
+
"in": args.in,
|
|
34
|
+
"like": args.like,
|
|
35
|
+
"limit": args.limit,
|
|
36
|
+
"withDescribe": args.withDescribe,
|
|
47
37
|
}, opts);
|
|
48
38
|
}
|
|
49
39
|
exports.getRowAccessPoliciesOutput = getRowAccessPoliciesOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRowAccessPolicies.js","sourceRoot":"","sources":["../getRowAccessPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRowAccessPolicies.js","sourceRoot":"","sources":["../getRowAccessPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,2DAA2D,EAAE;QACtF,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,oDASC;AAqDD;;;;GAIG;AACH,SAAgB,0BAA0B,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,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/getViews.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
6
|
+
*
|
|
5
7
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
6
8
|
*/
|
|
7
9
|
export declare function getViews(args?: GetViewsArgs, opts?: pulumi.InvokeOptions): Promise<GetViewsResult>;
|
|
@@ -64,6 +66,8 @@ export interface GetViewsResult {
|
|
|
64
66
|
readonly withDescribe?: boolean;
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
69
|
+
* !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
70
|
+
*
|
|
67
71
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
68
72
|
*/
|
|
69
73
|
export declare function getViewsOutput(args?: GetViewsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetViewsResult>;
|
package/getViews.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getViewsOutput = exports.getViews = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
10
|
+
*
|
|
9
11
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
10
12
|
*/
|
|
11
13
|
function getViews(args, opts) {
|
|
@@ -21,6 +23,8 @@ function getViews(args, opts) {
|
|
|
21
23
|
}
|
|
22
24
|
exports.getViews = getViews;
|
|
23
25
|
/**
|
|
26
|
+
* !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
|
|
27
|
+
*
|
|
24
28
|
* Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
|
|
25
29
|
*/
|
|
26
30
|
function getViewsOutput(args, opts) {
|
package/getViews.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA6DD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
|
package/index.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare const getPipesOutput: typeof import("./getPipes").getPipesOutput;
|
|
|
127
127
|
export { GetProceduresArgs, GetProceduresResult, GetProceduresOutputArgs } from "./getProcedures";
|
|
128
128
|
export declare const getProcedures: typeof import("./getProcedures").getProcedures;
|
|
129
129
|
export declare const getProceduresOutput: typeof import("./getProcedures").getProceduresOutput;
|
|
130
|
-
export { GetResourceMonitorsResult } from "./getResourceMonitors";
|
|
130
|
+
export { GetResourceMonitorsArgs, GetResourceMonitorsResult, GetResourceMonitorsOutputArgs } from "./getResourceMonitors";
|
|
131
131
|
export declare const getResourceMonitors: typeof import("./getResourceMonitors").getResourceMonitors;
|
|
132
132
|
export declare const getResourceMonitorsOutput: typeof import("./getResourceMonitors").getResourceMonitorsOutput;
|
|
133
133
|
export { GetRoleArgs, GetRoleResult, GetRoleOutputArgs } from "./getRole";
|