@pulumi/snowflake 2.1.0-alpha.1750230214 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/account.d.ts +12 -0
  2. package/account.js +2 -0
  3. package/account.js.map +1 -1
  4. package/computePool.d.ts +177 -0
  5. package/computePool.js +87 -0
  6. package/computePool.js.map +1 -0
  7. package/config/vars.d.ts +4 -2
  8. package/config/vars.js.map +1 -1
  9. package/cortexSearchService.d.ts +22 -0
  10. package/cortexSearchService.js +4 -0
  11. package/cortexSearchService.js.map +1 -1
  12. package/currentAccount.d.ts +1512 -0
  13. package/currentAccount.js +302 -0
  14. package/currentAccount.js.map +1 -0
  15. package/database.d.ts +3 -3
  16. package/getComputePools.d.ts +86 -0
  17. package/getComputePools.js +40 -0
  18. package/getComputePools.js.map +1 -0
  19. package/getCortexSearchServices.d.ts +3 -3
  20. package/getDatabaseRoles.d.ts +3 -3
  21. package/getDatabases.d.ts +3 -3
  22. package/getGitRepositories.d.ts +86 -0
  23. package/getGitRepositories.js +40 -0
  24. package/getGitRepositories.js.map +1 -0
  25. package/getImageRepositories.d.ts +62 -0
  26. package/getImageRepositories.js +36 -0
  27. package/getImageRepositories.js.map +1 -0
  28. package/getMaskingPolicies.d.ts +3 -3
  29. package/getRowAccessPolicies.d.ts +3 -3
  30. package/getSchemas.d.ts +3 -3
  31. package/getServices.d.ts +110 -0
  32. package/getServices.js +44 -0
  33. package/getServices.js.map +1 -0
  34. package/getStreamlits.d.ts +3 -3
  35. package/getStreams.d.ts +3 -3
  36. package/getTables.d.ts +56 -43
  37. package/getTables.js +14 -30
  38. package/getTables.js.map +1 -1
  39. package/getTasks.d.ts +3 -3
  40. package/getUsers.d.ts +3 -3
  41. package/getViews.d.ts +3 -3
  42. package/gitRepository.d.ts +153 -0
  43. package/gitRepository.js +86 -0
  44. package/gitRepository.js.map +1 -0
  45. package/imageRepository.d.ts +109 -0
  46. package/imageRepository.js +72 -0
  47. package/imageRepository.js.map +1 -0
  48. package/index.d.ts +30 -0
  49. package/index.js +46 -4
  50. package/index.js.map +1 -1
  51. package/jobService.d.ts +185 -0
  52. package/jobService.js +89 -0
  53. package/jobService.js.map +1 -0
  54. package/package.json +2 -2
  55. package/provider.d.ts +8 -4
  56. package/provider.js.map +1 -1
  57. package/schema.d.ts +3 -3
  58. package/secondaryDatabase.d.ts +3 -3
  59. package/service.d.ts +245 -0
  60. package/service.js +99 -0
  61. package/service.js.map +1 -0
  62. package/sharedDatabase.d.ts +3 -3
  63. package/tagAssociation.d.ts +3 -3
  64. package/types/input.d.ts +540 -2
  65. package/types/output.d.ts +655 -4
@@ -0,0 +1,86 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `gitRepositories`.
8
+ */
9
+ export declare function getGitRepositories(args?: GetGitRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise<GetGitRepositoriesResult>;
10
+ /**
11
+ * A collection of arguments for invoking getGitRepositories.
12
+ */
13
+ export interface GetGitRepositoriesArgs {
14
+ /**
15
+ * IN clause to filter the list of objects
16
+ */
17
+ in?: inputs.GetGitRepositoriesIn;
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 will 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`.
24
+ */
25
+ limit?: inputs.GetGitRepositoriesLimit;
26
+ /**
27
+ * (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
28
+ */
29
+ withDescribe?: boolean;
30
+ }
31
+ /**
32
+ * A collection of values returned by getGitRepositories.
33
+ */
34
+ export interface GetGitRepositoriesResult {
35
+ /**
36
+ * Holds the aggregated output of all git repositories details queries.
37
+ */
38
+ readonly gitRepositories: outputs.GetGitRepositoriesGitRepository[];
39
+ /**
40
+ * The provider-assigned unique ID for this managed resource.
41
+ */
42
+ readonly id: string;
43
+ /**
44
+ * IN clause to filter the list of objects
45
+ */
46
+ readonly in?: outputs.GetGitRepositoriesIn;
47
+ /**
48
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
49
+ */
50
+ readonly like?: string;
51
+ /**
52
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
53
+ */
54
+ readonly limit?: outputs.GetGitRepositoriesLimit;
55
+ /**
56
+ * (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
57
+ */
58
+ readonly withDescribe?: boolean;
59
+ }
60
+ /**
61
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
62
+ *
63
+ * Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `gitRepositories`.
64
+ */
65
+ export declare function getGitRepositoriesOutput(args?: GetGitRepositoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitRepositoriesResult>;
66
+ /**
67
+ * A collection of arguments for invoking getGitRepositories.
68
+ */
69
+ export interface GetGitRepositoriesOutputArgs {
70
+ /**
71
+ * IN clause to filter the list of objects
72
+ */
73
+ in?: pulumi.Input<inputs.GetGitRepositoriesInArgs>;
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 will 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`.
80
+ */
81
+ limit?: pulumi.Input<inputs.GetGitRepositoriesLimitArgs>;
82
+ /**
83
+ * (Default: `true`) Runs DESC GIT REPOSITORY for each git repository returned by SHOW GIT REPOSITORIES. The output of describe is saved to the description field. By default this value is set to true.
84
+ */
85
+ withDescribe?: pulumi.Input<boolean>;
86
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGitRepositoriesOutput = exports.getGitRepositories = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
10
+ *
11
+ * Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `gitRepositories`.
12
+ */
13
+ function getGitRepositories(args, opts) {
14
+ args = args || {};
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
+ return pulumi.runtime.invoke("snowflake:index/getGitRepositories:getGitRepositories", {
17
+ "in": args.in,
18
+ "like": args.like,
19
+ "limit": args.limit,
20
+ "withDescribe": args.withDescribe,
21
+ }, opts);
22
+ }
23
+ exports.getGitRepositories = getGitRepositories;
24
+ /**
25
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
26
+ *
27
+ * Data source used to get details of filtered git repositories. Filtering is aligned with the current possibilities for [SHOW GIT REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-git-repositories) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `gitRepositories`.
28
+ */
29
+ function getGitRepositoriesOutput(args, opts) {
30
+ args = args || {};
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invokeOutput("snowflake:index/getGitRepositories:getGitRepositories", {
33
+ "in": args.in,
34
+ "like": args.like,
35
+ "limit": args.limit,
36
+ "withDescribe": args.withDescribe,
37
+ }, opts);
38
+ }
39
+ exports.getGitRepositoriesOutput = getGitRepositoriesOutput;
40
+ //# sourceMappingURL=getGitRepositories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGitRepositories.js","sourceRoot":"","sources":["../getGitRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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,IAAiC;IAC3G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,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"}
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `imageRepositories`.
8
+ */
9
+ export declare function getImageRepositories(args?: GetImageRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise<GetImageRepositoriesResult>;
10
+ /**
11
+ * A collection of arguments for invoking getImageRepositories.
12
+ */
13
+ export interface GetImageRepositoriesArgs {
14
+ /**
15
+ * IN clause to filter the list of objects
16
+ */
17
+ in?: inputs.GetImageRepositoriesIn;
18
+ /**
19
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
20
+ */
21
+ like?: string;
22
+ }
23
+ /**
24
+ * A collection of values returned by getImageRepositories.
25
+ */
26
+ export interface GetImageRepositoriesResult {
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ /**
32
+ * Holds the aggregated output of all image repositories details queries.
33
+ */
34
+ readonly imageRepositories: outputs.GetImageRepositoriesImageRepository[];
35
+ /**
36
+ * IN clause to filter the list of objects
37
+ */
38
+ readonly in?: outputs.GetImageRepositoriesIn;
39
+ /**
40
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
41
+ */
42
+ readonly like?: string;
43
+ }
44
+ /**
45
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
46
+ *
47
+ * Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `imageRepositories`.
48
+ */
49
+ export declare function getImageRepositoriesOutput(args?: GetImageRepositoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageRepositoriesResult>;
50
+ /**
51
+ * A collection of arguments for invoking getImageRepositories.
52
+ */
53
+ export interface GetImageRepositoriesOutputArgs {
54
+ /**
55
+ * IN clause to filter the list of objects
56
+ */
57
+ in?: pulumi.Input<inputs.GetImageRepositoriesInArgs>;
58
+ /**
59
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
60
+ */
61
+ like?: pulumi.Input<string>;
62
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getImageRepositoriesOutput = exports.getImageRepositories = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
10
+ *
11
+ * Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `imageRepositories`.
12
+ */
13
+ function getImageRepositories(args, opts) {
14
+ args = args || {};
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
+ return pulumi.runtime.invoke("snowflake:index/getImageRepositories:getImageRepositories", {
17
+ "in": args.in,
18
+ "like": args.like,
19
+ }, opts);
20
+ }
21
+ exports.getImageRepositories = getImageRepositories;
22
+ /**
23
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
24
+ *
25
+ * Data source used to get details of filtered image repositories. Filtering is aligned with the current possibilities for [SHOW IMAGE REPOSITORIES](https://docs.snowflake.com/en/sql-reference/sql/show-image-repositories) query. The results of SHOW are encapsulated in one output collection `imageRepositories`.
26
+ */
27
+ function getImageRepositoriesOutput(args, opts) {
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("snowflake:index/getImageRepositories:getImageRepositories", {
31
+ "in": args.in,
32
+ "like": args.like,
33
+ }, opts);
34
+ }
35
+ exports.getImageRepositoriesOutput = getImageRepositoriesOutput;
36
+ //# sourceMappingURL=getImageRepositories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getImageRepositories.js","sourceRoot":"","sources":["../getImageRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAqCD;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAAiC;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,2DAA2D,EAAE;QAC5F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
@@ -20,7 +20,7 @@ export interface GetMaskingPoliciesArgs {
20
20
  */
21
21
  like?: string;
22
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
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
24
24
  */
25
25
  limit?: inputs.GetMaskingPoliciesLimit;
26
26
  /**
@@ -45,7 +45,7 @@ export interface GetMaskingPoliciesResult {
45
45
  */
46
46
  readonly like?: string;
47
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`.
48
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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
49
  */
50
50
  readonly limit?: outputs.GetMaskingPoliciesLimit;
51
51
  /**
@@ -76,7 +76,7 @@ export interface GetMaskingPoliciesOutputArgs {
76
76
  */
77
77
  like?: pulumi.Input<string>;
78
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`.
79
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
80
80
  */
81
81
  limit?: pulumi.Input<inputs.GetMaskingPoliciesLimitArgs>;
82
82
  /**
@@ -20,7 +20,7 @@ export interface GetRowAccessPoliciesArgs {
20
20
  */
21
21
  like?: string;
22
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
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
24
24
  */
25
25
  limit?: inputs.GetRowAccessPoliciesLimit;
26
26
  /**
@@ -45,7 +45,7 @@ export interface GetRowAccessPoliciesResult {
45
45
  */
46
46
  readonly like?: string;
47
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`.
48
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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
49
  */
50
50
  readonly limit?: outputs.GetRowAccessPoliciesLimit;
51
51
  /**
@@ -76,7 +76,7 @@ export interface GetRowAccessPoliciesOutputArgs {
76
76
  */
77
77
  like?: pulumi.Input<string>;
78
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`.
79
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
80
80
  */
81
81
  limit?: pulumi.Input<inputs.GetRowAccessPoliciesLimitArgs>;
82
82
  /**
package/getSchemas.d.ts CHANGED
@@ -21,7 +21,7 @@ export interface GetSchemasArgs {
21
21
  */
22
22
  like?: string;
23
23
  /**
24
- * 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`.
24
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
25
25
  */
26
26
  limit?: inputs.GetSchemasLimit;
27
27
  /**
@@ -54,7 +54,7 @@ export interface GetSchemasResult {
54
54
  */
55
55
  readonly like?: string;
56
56
  /**
57
- * 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`.
57
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
58
58
  */
59
59
  readonly limit?: outputs.GetSchemasLimit;
60
60
  /**
@@ -94,7 +94,7 @@ export interface GetSchemasOutputArgs {
94
94
  */
95
95
  like?: pulumi.Input<string>;
96
96
  /**
97
- * 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`.
97
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
98
98
  */
99
99
  limit?: pulumi.Input<inputs.GetSchemasLimitArgs>;
100
100
  /**
@@ -0,0 +1,110 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
+ *
7
+ * Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `serviceType` with a relevant option.
8
+ */
9
+ export declare function getServices(args?: GetServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetServicesResult>;
10
+ /**
11
+ * A collection of arguments for invoking getServices.
12
+ */
13
+ export interface GetServicesArgs {
14
+ /**
15
+ * IN clause to filter the list of objects
16
+ */
17
+ in?: inputs.GetServicesIn;
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 will 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`.
24
+ */
25
+ limit?: inputs.GetServicesLimit;
26
+ /**
27
+ * (Default: `ALL`) The type filtering of `SHOW SERVICES` results. `ALL` returns both services and job services. `JOBS_ONLY` returns only job services (`JOB` option in SQL). `SERVICES_ONLY` returns only services (`EXCLUDE_JOBS` option in SQL).
28
+ */
29
+ serviceType?: string;
30
+ /**
31
+ * Filters the output with **case-sensitive** characters indicating the beginning of the object name.
32
+ */
33
+ startsWith?: string;
34
+ /**
35
+ * (Default: `true`) Runs DESC SERVICE for each service returned by SHOW SERVICES. The output of describe is saved to the description field. By default this value is set to true.
36
+ */
37
+ withDescribe?: boolean;
38
+ }
39
+ /**
40
+ * A collection of values returned by getServices.
41
+ */
42
+ export interface GetServicesResult {
43
+ /**
44
+ * The provider-assigned unique ID for this managed resource.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * IN clause to filter the list of objects
49
+ */
50
+ readonly in?: outputs.GetServicesIn;
51
+ /**
52
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
53
+ */
54
+ readonly like?: string;
55
+ /**
56
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
57
+ */
58
+ readonly limit?: outputs.GetServicesLimit;
59
+ /**
60
+ * (Default: `ALL`) The type filtering of `SHOW SERVICES` results. `ALL` returns both services and job services. `JOBS_ONLY` returns only job services (`JOB` option in SQL). `SERVICES_ONLY` returns only services (`EXCLUDE_JOBS` option in SQL).
61
+ */
62
+ readonly serviceType?: string;
63
+ /**
64
+ * Holds the aggregated output of all services details queries.
65
+ */
66
+ readonly services: outputs.GetServicesService[];
67
+ /**
68
+ * Filters the output with **case-sensitive** characters indicating the beginning of the object name.
69
+ */
70
+ readonly startsWith?: string;
71
+ /**
72
+ * (Default: `true`) Runs DESC SERVICE for each service returned by SHOW SERVICES. The output of describe is saved to the description field. By default this value is set to true.
73
+ */
74
+ readonly withDescribe?: boolean;
75
+ }
76
+ /**
77
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
78
+ *
79
+ * Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `serviceType` with a relevant option.
80
+ */
81
+ export declare function getServicesOutput(args?: GetServicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServicesResult>;
82
+ /**
83
+ * A collection of arguments for invoking getServices.
84
+ */
85
+ export interface GetServicesOutputArgs {
86
+ /**
87
+ * IN clause to filter the list of objects
88
+ */
89
+ in?: pulumi.Input<inputs.GetServicesInArgs>;
90
+ /**
91
+ * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
92
+ */
93
+ like?: pulumi.Input<string>;
94
+ /**
95
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
96
+ */
97
+ limit?: pulumi.Input<inputs.GetServicesLimitArgs>;
98
+ /**
99
+ * (Default: `ALL`) The type filtering of `SHOW SERVICES` results. `ALL` returns both services and job services. `JOBS_ONLY` returns only job services (`JOB` option in SQL). `SERVICES_ONLY` returns only services (`EXCLUDE_JOBS` option in SQL).
100
+ */
101
+ serviceType?: pulumi.Input<string>;
102
+ /**
103
+ * Filters the output with **case-sensitive** characters indicating the beginning of the object name.
104
+ */
105
+ startsWith?: pulumi.Input<string>;
106
+ /**
107
+ * (Default: `true`) Runs DESC SERVICE for each service returned by SHOW SERVICES. The output of describe is saved to the description field. By default this value is set to true.
108
+ */
109
+ withDescribe?: pulumi.Input<boolean>;
110
+ }
package/getServices.js ADDED
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getServicesOutput = exports.getServices = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
10
+ *
11
+ * Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `serviceType` with a relevant option.
12
+ */
13
+ function getServices(args, opts) {
14
+ args = args || {};
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
+ return pulumi.runtime.invoke("snowflake:index/getServices:getServices", {
17
+ "in": args.in,
18
+ "like": args.like,
19
+ "limit": args.limit,
20
+ "serviceType": args.serviceType,
21
+ "startsWith": args.startsWith,
22
+ "withDescribe": args.withDescribe,
23
+ }, opts);
24
+ }
25
+ exports.getServices = getServices;
26
+ /**
27
+ * !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
28
+ *
29
+ * Data source used to get details of filtered services. Filtering is aligned with the current possibilities for [SHOW SERVICES](https://docs.snowflake.com/en/sql-reference/sql/show-services) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `services`. By default, the results includes both services and job services. If you want to filter only services or job service, set `serviceType` with a relevant option.
30
+ */
31
+ function getServicesOutput(args, opts) {
32
+ args = args || {};
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invokeOutput("snowflake:index/getServices:getServices", {
35
+ "in": args.in,
36
+ "like": args.like,
37
+ "limit": args.limit,
38
+ "serviceType": args.serviceType,
39
+ "startsWith": args.startsWith,
40
+ "withDescribe": args.withDescribe,
41
+ }, opts);
42
+ }
43
+ exports.getServicesOutput = getServicesOutput;
44
+ //# sourceMappingURL=getServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServices.js","sourceRoot":"","sources":["../getServices.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAqED;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;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,YAAY,CAAC,yCAAyC,EAAE;QAC1E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC"}
@@ -18,7 +18,7 @@ export interface GetStreamlitsArgs {
18
18
  */
19
19
  like?: string;
20
20
  /**
21
- * 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`.
21
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
22
22
  */
23
23
  limit?: inputs.GetStreamlitsLimit;
24
24
  /**
@@ -43,7 +43,7 @@ export interface GetStreamlitsResult {
43
43
  */
44
44
  readonly like?: string;
45
45
  /**
46
- * 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`.
46
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
47
47
  */
48
48
  readonly limit?: outputs.GetStreamlitsLimit;
49
49
  /**
@@ -72,7 +72,7 @@ export interface GetStreamlitsOutputArgs {
72
72
  */
73
73
  like?: pulumi.Input<string>;
74
74
  /**
75
- * 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`.
75
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
76
76
  */
77
77
  limit?: pulumi.Input<inputs.GetStreamlitsLimitArgs>;
78
78
  /**
package/getStreams.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface GetStreamsArgs {
18
18
  */
19
19
  like?: string;
20
20
  /**
21
- * 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`.
21
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
22
22
  */
23
23
  limit?: inputs.GetStreamsLimit;
24
24
  /**
@@ -47,7 +47,7 @@ export interface GetStreamsResult {
47
47
  */
48
48
  readonly like?: string;
49
49
  /**
50
- * 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`.
50
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
51
51
  */
52
52
  readonly limit?: outputs.GetStreamsLimit;
53
53
  /**
@@ -80,7 +80,7 @@ export interface GetStreamsOutputArgs {
80
80
  */
81
81
  like?: pulumi.Input<string>;
82
82
  /**
83
- * 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`.
83
+ * Limits the number of rows returned. If the `limit.from` is set, then the limit will 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`.
84
84
  */
85
85
  limit?: pulumi.Input<inputs.GetStreamsLimitArgs>;
86
86
  /**