@pulumi/snowflake 2.10.0-alpha.1763622300 → 2.10.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.
- package/config/vars.d.ts +8 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/getNotebooks.d.ts +86 -0
- package/getNotebooks.js +40 -0
- package/getNotebooks.js.map +1 -0
- package/getSemanticViews.d.ts +90 -0
- package/getSemanticViews.js +44 -0
- package/getSemanticViews.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +20 -4
- package/index.js.map +1 -1
- package/notebook.d.ts +177 -0
- package/notebook.js +84 -0
- package/notebook.js.map +1 -0
- package/package.json +2 -2
- package/provider.d.ts +8 -0
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/semanticView.d.ts +126 -0
- package/semanticView.js +87 -0
- package/semanticView.js.map +1 -0
- package/task.d.ts +3 -3
- package/types/input.d.ts +317 -12
- package/types/output.d.ts +352 -12
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import snowflake:index/semanticView:SemanticView example '"<db_name>"."<schema_name>"."<semantic_view_name>"'
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* Note: Because the external changes for `dimensions`, `facts`, `metrics`, `relationships`, and `tables` are not currently handled, then import won't populate these fields too.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SemanticView extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing SemanticView resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SemanticViewState, opts?: pulumi.CustomResourceOptions): SemanticView;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of SemanticView. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is SemanticView;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies a comment for the semantic view.
|
|
31
|
+
*/
|
|
32
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The database in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
35
|
+
*/
|
|
36
|
+
readonly database: pulumi.Output<string>;
|
|
37
|
+
readonly dimensions: pulumi.Output<outputs.SemanticViewDimension[] | undefined>;
|
|
38
|
+
readonly facts: pulumi.Output<outputs.SemanticViewFact[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
41
|
+
*/
|
|
42
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
|
+
readonly metrics: pulumi.Output<outputs.SemanticViewMetric[] | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the identifier for the semantic view; must be unique within the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: pulumi.Output<string>;
|
|
48
|
+
readonly relationships: pulumi.Output<outputs.SemanticViewRelationship[] | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The schema in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
51
|
+
*/
|
|
52
|
+
readonly schema: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Outputs the result of `SHOW SEMANTIC VIEWS` for the given semantic view.
|
|
55
|
+
*/
|
|
56
|
+
readonly showOutputs: pulumi.Output<outputs.SemanticViewShowOutput[]>;
|
|
57
|
+
readonly tables: pulumi.Output<outputs.SemanticViewTable[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a SemanticView resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args: SemanticViewArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering SemanticView resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface SemanticViewState {
|
|
71
|
+
/**
|
|
72
|
+
* Specifies a comment for the semantic view.
|
|
73
|
+
*/
|
|
74
|
+
comment?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The database in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
77
|
+
*/
|
|
78
|
+
database?: pulumi.Input<string>;
|
|
79
|
+
dimensions?: pulumi.Input<pulumi.Input<inputs.SemanticViewDimension>[]>;
|
|
80
|
+
facts?: pulumi.Input<pulumi.Input<inputs.SemanticViewFact>[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
83
|
+
*/
|
|
84
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
85
|
+
metrics?: pulumi.Input<pulumi.Input<inputs.SemanticViewMetric>[]>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the identifier for the semantic view; must be unique within the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string>;
|
|
90
|
+
relationships?: pulumi.Input<pulumi.Input<inputs.SemanticViewRelationship>[]>;
|
|
91
|
+
/**
|
|
92
|
+
* The schema in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
93
|
+
*/
|
|
94
|
+
schema?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Outputs the result of `SHOW SEMANTIC VIEWS` for the given semantic view.
|
|
97
|
+
*/
|
|
98
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.SemanticViewShowOutput>[]>;
|
|
99
|
+
tables?: pulumi.Input<pulumi.Input<inputs.SemanticViewTable>[]>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a SemanticView resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface SemanticViewArgs {
|
|
105
|
+
/**
|
|
106
|
+
* Specifies a comment for the semantic view.
|
|
107
|
+
*/
|
|
108
|
+
comment?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The database in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
111
|
+
*/
|
|
112
|
+
database: pulumi.Input<string>;
|
|
113
|
+
dimensions?: pulumi.Input<pulumi.Input<inputs.SemanticViewDimension>[]>;
|
|
114
|
+
facts?: pulumi.Input<pulumi.Input<inputs.SemanticViewFact>[]>;
|
|
115
|
+
metrics?: pulumi.Input<pulumi.Input<inputs.SemanticViewMetric>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* Specifies the identifier for the semantic view; must be unique within the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
118
|
+
*/
|
|
119
|
+
name?: pulumi.Input<string>;
|
|
120
|
+
relationships?: pulumi.Input<pulumi.Input<inputs.SemanticViewRelationship>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* The schema in which to create the semantic view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
123
|
+
*/
|
|
124
|
+
schema: pulumi.Input<string>;
|
|
125
|
+
tables: pulumi.Input<pulumi.Input<inputs.SemanticViewTable>[]>;
|
|
126
|
+
}
|
package/semanticView.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
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.SemanticView = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import snowflake:index/semanticView:SemanticView example '"<db_name>"."<schema_name>"."<semantic_view_name>"'
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* Note: Because the external changes for `dimensions`, `facts`, `metrics`, `relationships`, and `tables` are not currently handled, then import won't populate these fields too.
|
|
16
|
+
*/
|
|
17
|
+
class SemanticView extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing SemanticView resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new SemanticView(name, state, { ...opts, id: id });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of SemanticView. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === SemanticView.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["comment"] = state?.comment;
|
|
46
|
+
resourceInputs["database"] = state?.database;
|
|
47
|
+
resourceInputs["dimensions"] = state?.dimensions;
|
|
48
|
+
resourceInputs["facts"] = state?.facts;
|
|
49
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
50
|
+
resourceInputs["metrics"] = state?.metrics;
|
|
51
|
+
resourceInputs["name"] = state?.name;
|
|
52
|
+
resourceInputs["relationships"] = state?.relationships;
|
|
53
|
+
resourceInputs["schema"] = state?.schema;
|
|
54
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
55
|
+
resourceInputs["tables"] = state?.tables;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if (args?.database === undefined && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'database'");
|
|
61
|
+
}
|
|
62
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'schema'");
|
|
64
|
+
}
|
|
65
|
+
if (args?.tables === undefined && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'tables'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["comment"] = args?.comment;
|
|
69
|
+
resourceInputs["database"] = args?.database;
|
|
70
|
+
resourceInputs["dimensions"] = args?.dimensions;
|
|
71
|
+
resourceInputs["facts"] = args?.facts;
|
|
72
|
+
resourceInputs["metrics"] = args?.metrics;
|
|
73
|
+
resourceInputs["name"] = args?.name;
|
|
74
|
+
resourceInputs["relationships"] = args?.relationships;
|
|
75
|
+
resourceInputs["schema"] = args?.schema;
|
|
76
|
+
resourceInputs["tables"] = args?.tables;
|
|
77
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(SemanticView.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.SemanticView = SemanticView;
|
|
85
|
+
/** @internal */
|
|
86
|
+
SemanticView.__pulumiType = 'snowflake:index/semanticView:SemanticView';
|
|
87
|
+
//# sourceMappingURL=semanticView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semanticView.js","sourceRoot":"","sources":["../semanticView.ts"],"names":[],"mappings":"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"}
|
package/task.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ export declare class Task extends pulumi.CustomResource {
|
|
|
189
189
|
*/
|
|
190
190
|
readonly s3StageVpceDnsName: pulumi.Output<string>;
|
|
191
191
|
/**
|
|
192
|
-
* The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `usingCron` should be set)
|
|
192
|
+
* The schedule for periodically running the task. This can be a cron or interval in seconds, minutes, or hours. (Conflicts with finalize and after; when set, one of the sub-fields `seconds`, `minutes`, `hours`, or `usingCron` should be set) For [Triggered tasks](https://docs.snowflake.com/en/user-guide/tasks-triggered), a schedule is not required. For other tasks, a schedule must be defined for a standalone task or the root task in a [task graph](https://docs.snowflake.com/en/user-guide/tasks-graphs#label-task-dag); otherwise, the task only runs if manually executed using [EXECUTE TASK](https://docs.snowflake.com/en/sql-reference/sql/execute-task) in, for example, the snowflake.Execute resource. A schedule cannot be specified for child tasks in a task graph. For more information on schedule restrictions, consult the [official documentation for Task object](https://docs.snowflake.com/en/user-guide/tasks-intro).
|
|
193
193
|
*/
|
|
194
194
|
readonly schedule: pulumi.Output<outputs.TaskSchedule | undefined>;
|
|
195
195
|
/**
|
|
@@ -502,7 +502,7 @@ export interface TaskState {
|
|
|
502
502
|
*/
|
|
503
503
|
s3StageVpceDnsName?: pulumi.Input<string>;
|
|
504
504
|
/**
|
|
505
|
-
* The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `usingCron` should be set)
|
|
505
|
+
* The schedule for periodically running the task. This can be a cron or interval in seconds, minutes, or hours. (Conflicts with finalize and after; when set, one of the sub-fields `seconds`, `minutes`, `hours`, or `usingCron` should be set) For [Triggered tasks](https://docs.snowflake.com/en/user-guide/tasks-triggered), a schedule is not required. For other tasks, a schedule must be defined for a standalone task or the root task in a [task graph](https://docs.snowflake.com/en/user-guide/tasks-graphs#label-task-dag); otherwise, the task only runs if manually executed using [EXECUTE TASK](https://docs.snowflake.com/en/sql-reference/sql/execute-task) in, for example, the snowflake.Execute resource. A schedule cannot be specified for child tasks in a task graph. For more information on schedule restrictions, consult the [official documentation for Task object](https://docs.snowflake.com/en/user-guide/tasks-intro).
|
|
506
506
|
*/
|
|
507
507
|
schedule?: pulumi.Input<inputs.TaskSchedule>;
|
|
508
508
|
/**
|
|
@@ -799,7 +799,7 @@ export interface TaskArgs {
|
|
|
799
799
|
*/
|
|
800
800
|
s3StageVpceDnsName?: pulumi.Input<string>;
|
|
801
801
|
/**
|
|
802
|
-
* The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `usingCron` should be set)
|
|
802
|
+
* The schedule for periodically running the task. This can be a cron or interval in seconds, minutes, or hours. (Conflicts with finalize and after; when set, one of the sub-fields `seconds`, `minutes`, `hours`, or `usingCron` should be set) For [Triggered tasks](https://docs.snowflake.com/en/user-guide/tasks-triggered), a schedule is not required. For other tasks, a schedule must be defined for a standalone task or the root task in a [task graph](https://docs.snowflake.com/en/user-guide/tasks-graphs#label-task-dag); otherwise, the task only runs if manually executed using [EXECUTE TASK](https://docs.snowflake.com/en/sql-reference/sql/execute-task) in, for example, the snowflake.Execute resource. A schedule cannot be specified for child tasks in a task graph. For more information on schedule restrictions, consult the [official documentation for Task object](https://docs.snowflake.com/en/user-guide/tasks-intro).
|
|
803
803
|
*/
|
|
804
804
|
schedule?: pulumi.Input<inputs.TaskSchedule>;
|
|
805
805
|
/**
|