@pulumi/snowflake 0.61.0-alpha.1731393894 → 0.61.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/accountAuthenticationPolicyAttachment.d.ts +48 -0
- package/accountAuthenticationPolicyAttachment.js +52 -0
- package/accountAuthenticationPolicyAttachment.js.map +1 -0
- package/authenticationPolicy.d.ts +177 -0
- package/authenticationPolicy.js +84 -0
- package/authenticationPolicy.js.map +1 -0
- package/config/vars.d.ts +79 -36
- package/config/vars.js +46 -4
- package/config/vars.js.map +1 -1
- package/externalVolume.d.ts +113 -0
- package/externalVolume.js +67 -0
- package/externalVolume.js.map +1 -0
- package/getConnections.d.ts +91 -0
- package/getConnections.js +76 -0
- package/getConnections.js.map +1 -0
- package/getGrants.d.ts +4 -0
- package/getGrants.js +4 -0
- package/getGrants.js.map +1 -1
- package/getSecrets.d.ts +140 -0
- package/getSecrets.js +104 -0
- package/getSecrets.js.map +1 -0
- package/getStreams.d.ts +58 -37
- package/getStreams.js +16 -24
- package/getStreams.js.map +1 -1
- package/grantAccountRole.d.ts +1 -1
- package/grantAccountRole.js +1 -1
- package/grantApplicationRole.d.ts +1 -1
- package/grantApplicationRole.js +1 -1
- package/grantDatabaseRole.d.ts +1 -1
- package/grantDatabaseRole.js +1 -1
- package/grantOwnership.d.ts +7 -7
- package/grantOwnership.js +7 -7
- package/grantPrivilegesToAccountRole.d.ts +4 -4
- package/grantPrivilegesToAccountRole.js +4 -4
- package/grantPrivilegesToDatabaseRole.d.ts +4 -4
- package/grantPrivilegesToDatabaseRole.js +4 -4
- package/grantPrivilegesToShare.d.ts +1 -1
- package/grantPrivilegesToShare.js +1 -1
- package/index.d.ts +42 -0
- package/index.js +70 -4
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +2 -0
- package/legacyServiceUser.js +2 -0
- package/legacyServiceUser.js.map +1 -1
- package/package.json +2 -2
- package/primaryConnection.d.ts +99 -0
- package/primaryConnection.js +66 -0
- package/primaryConnection.js.map +1 -0
- package/provider.d.ts +158 -54
- package/provider.js +11 -4
- package/provider.js.map +1 -1
- package/secondaryConnection.d.ts +105 -0
- package/secondaryConnection.js +69 -0
- package/secondaryConnection.js.map +1 -0
- package/secretWithAuthorizationCodeGrant.d.ts +152 -0
- package/secretWithAuthorizationCodeGrant.js +93 -0
- package/secretWithAuthorizationCodeGrant.js.map +1 -0
- package/secretWithBasicAuthentication.d.ts +140 -0
- package/secretWithBasicAuthentication.js +88 -0
- package/secretWithBasicAuthentication.js.map +1 -0
- package/secretWithClientCredentials.d.ts +149 -0
- package/secretWithClientCredentials.js +86 -0
- package/secretWithClientCredentials.js.map +1 -0
- package/secretWithGenericString.d.ts +128 -0
- package/secretWithGenericString.js +83 -0
- package/secretWithGenericString.js.map +1 -0
- package/streamOnDirectoryTable.d.ts +151 -0
- package/streamOnDirectoryTable.js +85 -0
- package/streamOnDirectoryTable.js.map +1 -0
- package/streamOnExternalTable.d.ts +10 -0
- package/streamOnExternalTable.js +4 -0
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.d.ts +10 -0
- package/streamOnTable.js +4 -0
- package/streamOnTable.js.map +1 -1
- package/streamOnView.d.ts +172 -0
- package/streamOnView.js +93 -0
- package/streamOnView.js.map +1 -0
- package/tagAssociation.d.ts +3 -3
- package/types/input.d.ts +407 -4
- package/types/output.d.ts +448 -7
- package/user.d.ts +2 -0
- package/user.js +2 -0
- package/user.js.map +1 -1
- package/userAuthenticationPolicyAttachment.d.ts +60 -0
- package/userAuthenticationPolicyAttachment.js +57 -0
- package/userAuthenticationPolicyAttachment.js.map +1 -0
package/config/vars.js
CHANGED
|
@@ -12,6 +12,12 @@ Object.defineProperty(exports, "account", {
|
|
|
12
12
|
},
|
|
13
13
|
enumerable: true,
|
|
14
14
|
});
|
|
15
|
+
Object.defineProperty(exports, "accountName", {
|
|
16
|
+
get() {
|
|
17
|
+
return __config.get("accountName");
|
|
18
|
+
},
|
|
19
|
+
enumerable: true,
|
|
20
|
+
});
|
|
15
21
|
Object.defineProperty(exports, "authenticator", {
|
|
16
22
|
get() {
|
|
17
23
|
return __config.get("authenticator");
|
|
@@ -33,13 +39,13 @@ Object.defineProperty(exports, "clientIp", {
|
|
|
33
39
|
});
|
|
34
40
|
Object.defineProperty(exports, "clientRequestMfaToken", {
|
|
35
41
|
get() {
|
|
36
|
-
return __config.
|
|
42
|
+
return __config.get("clientRequestMfaToken");
|
|
37
43
|
},
|
|
38
44
|
enumerable: true,
|
|
39
45
|
});
|
|
40
46
|
Object.defineProperty(exports, "clientStoreTemporaryCredential", {
|
|
41
47
|
get() {
|
|
42
|
-
return __config.
|
|
48
|
+
return __config.get("clientStoreTemporaryCredential");
|
|
43
49
|
},
|
|
44
50
|
enumerable: true,
|
|
45
51
|
});
|
|
@@ -49,6 +55,12 @@ Object.defineProperty(exports, "clientTimeout", {
|
|
|
49
55
|
},
|
|
50
56
|
enumerable: true,
|
|
51
57
|
});
|
|
58
|
+
Object.defineProperty(exports, "disableConsoleLogin", {
|
|
59
|
+
get() {
|
|
60
|
+
return __config.get("disableConsoleLogin");
|
|
61
|
+
},
|
|
62
|
+
enumerable: true,
|
|
63
|
+
});
|
|
52
64
|
Object.defineProperty(exports, "disableQueryContextCache", {
|
|
53
65
|
get() {
|
|
54
66
|
return __config.getObject("disableQueryContextCache");
|
|
@@ -61,6 +73,12 @@ Object.defineProperty(exports, "disableTelemetry", {
|
|
|
61
73
|
},
|
|
62
74
|
enumerable: true,
|
|
63
75
|
});
|
|
76
|
+
Object.defineProperty(exports, "driverTracing", {
|
|
77
|
+
get() {
|
|
78
|
+
return __config.get("driverTracing");
|
|
79
|
+
},
|
|
80
|
+
enumerable: true,
|
|
81
|
+
});
|
|
64
82
|
Object.defineProperty(exports, "externalBrowserTimeout", {
|
|
65
83
|
get() {
|
|
66
84
|
return __config.getObject("externalBrowserTimeout");
|
|
@@ -74,6 +92,12 @@ Object.defineProperty(exports, "host", {
|
|
|
74
92
|
},
|
|
75
93
|
enumerable: true,
|
|
76
94
|
});
|
|
95
|
+
Object.defineProperty(exports, "includeRetryReason", {
|
|
96
|
+
get() {
|
|
97
|
+
return __config.get("includeRetryReason");
|
|
98
|
+
},
|
|
99
|
+
enumerable: true,
|
|
100
|
+
});
|
|
77
101
|
Object.defineProperty(exports, "insecureMode", {
|
|
78
102
|
get() {
|
|
79
103
|
return __config.getObject("insecureMode");
|
|
@@ -104,6 +128,12 @@ Object.defineProperty(exports, "loginTimeout", {
|
|
|
104
128
|
},
|
|
105
129
|
enumerable: true,
|
|
106
130
|
});
|
|
131
|
+
Object.defineProperty(exports, "maxRetryCount", {
|
|
132
|
+
get() {
|
|
133
|
+
return __config.getObject("maxRetryCount");
|
|
134
|
+
},
|
|
135
|
+
enumerable: true,
|
|
136
|
+
});
|
|
107
137
|
Object.defineProperty(exports, "oauthAccessToken", {
|
|
108
138
|
get() {
|
|
109
139
|
var _a;
|
|
@@ -148,7 +178,7 @@ Object.defineProperty(exports, "oauthRefreshToken", {
|
|
|
148
178
|
});
|
|
149
179
|
Object.defineProperty(exports, "ocspFailOpen", {
|
|
150
180
|
get() {
|
|
151
|
-
return __config.
|
|
181
|
+
return __config.get("ocspFailOpen");
|
|
152
182
|
},
|
|
153
183
|
enumerable: true,
|
|
154
184
|
});
|
|
@@ -158,6 +188,12 @@ Object.defineProperty(exports, "oktaUrl", {
|
|
|
158
188
|
},
|
|
159
189
|
enumerable: true,
|
|
160
190
|
});
|
|
191
|
+
Object.defineProperty(exports, "organizationName", {
|
|
192
|
+
get() {
|
|
193
|
+
return __config.get("organizationName");
|
|
194
|
+
},
|
|
195
|
+
enumerable: true,
|
|
196
|
+
});
|
|
161
197
|
Object.defineProperty(exports, "params", {
|
|
162
198
|
get() {
|
|
163
199
|
return __config.getObject("params");
|
|
@@ -249,6 +285,12 @@ Object.defineProperty(exports, "sessionParams", {
|
|
|
249
285
|
},
|
|
250
286
|
enumerable: true,
|
|
251
287
|
});
|
|
288
|
+
Object.defineProperty(exports, "tmpDirectoryPath", {
|
|
289
|
+
get() {
|
|
290
|
+
return __config.get("tmpDirectoryPath");
|
|
291
|
+
},
|
|
292
|
+
enumerable: true,
|
|
293
|
+
});
|
|
252
294
|
Object.defineProperty(exports, "token", {
|
|
253
295
|
get() {
|
|
254
296
|
return __config.get("token");
|
|
@@ -276,7 +318,7 @@ Object.defineProperty(exports, "username", {
|
|
|
276
318
|
});
|
|
277
319
|
Object.defineProperty(exports, "validateDefaultParameters", {
|
|
278
320
|
get() {
|
|
279
|
-
return __config.
|
|
321
|
+
return __config.get("validateDefaultParameters");
|
|
280
322
|
},
|
|
281
323
|
enumerable: true,
|
|
282
324
|
});
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAWhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAQH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,C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AAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA+B,eAAe,CAAC,CAAC;IAC7E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;IACnC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC1E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE;IACxD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource used to manage external volume objects. For more information, check [external volume documentation](https://docs.snowflake.com/en/sql-reference/commands-data-loading#external-volume).
|
|
6
|
+
*/
|
|
7
|
+
export declare class ExternalVolume extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ExternalVolume resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExternalVolumeState, opts?: pulumi.CustomResourceOptions): ExternalVolume;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of ExternalVolume. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is ExternalVolume;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
25
|
+
*/
|
|
26
|
+
readonly allowWrites: pulumi.Output<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies a comment for the external volume.
|
|
29
|
+
*/
|
|
30
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Outputs the result of `DESCRIBE EXTERNAL VOLUME` for the given external volume.
|
|
33
|
+
*/
|
|
34
|
+
readonly describeOutputs: pulumi.Output<outputs.ExternalVolumeDescribeOutput[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
37
|
+
*/
|
|
38
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
41
|
+
*/
|
|
42
|
+
readonly name: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Outputs the result of `SHOW EXTERNAL VOLUMES` for the given external volume.
|
|
45
|
+
*/
|
|
46
|
+
readonly showOutputs: pulumi.Output<outputs.ExternalVolumeShowOutput[]>;
|
|
47
|
+
/**
|
|
48
|
+
* List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
49
|
+
*/
|
|
50
|
+
readonly storageLocations: pulumi.Output<outputs.ExternalVolumeStorageLocation[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a ExternalVolume resource with the given unique name, arguments, and options.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resource.
|
|
55
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
+
*/
|
|
58
|
+
constructor(name: string, args: ExternalVolumeArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Input properties used for looking up and filtering ExternalVolume resources.
|
|
62
|
+
*/
|
|
63
|
+
export interface ExternalVolumeState {
|
|
64
|
+
/**
|
|
65
|
+
* Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
66
|
+
*/
|
|
67
|
+
allowWrites?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies a comment for the external volume.
|
|
70
|
+
*/
|
|
71
|
+
comment?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Outputs the result of `DESCRIBE EXTERNAL VOLUME` for the given external volume.
|
|
74
|
+
*/
|
|
75
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.ExternalVolumeDescribeOutput>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
78
|
+
*/
|
|
79
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
82
|
+
*/
|
|
83
|
+
name?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Outputs the result of `SHOW EXTERNAL VOLUMES` for the given external volume.
|
|
86
|
+
*/
|
|
87
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.ExternalVolumeShowOutput>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
90
|
+
*/
|
|
91
|
+
storageLocations?: pulumi.Input<pulumi.Input<inputs.ExternalVolumeStorageLocation>[]>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a ExternalVolume resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface ExternalVolumeArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
99
|
+
*/
|
|
100
|
+
allowWrites?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies a comment for the external volume.
|
|
103
|
+
*/
|
|
104
|
+
comment?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Identifier for the external volume; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
107
|
+
*/
|
|
108
|
+
name?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* List of named cloud storage locations in different regions and, optionally, cloud platforms. Minimum 1 required. The order of the list is important as it impacts the active storage location, and updates will be triggered if it changes. Note that not all parameter combinations are valid as they depend on the given storage*provider. Consult [the docs](https://docs.snowflake.com/en/sql-reference/sql/create-external-volume#cloud-provider-parameters-cloudproviderparams) for more details on this.
|
|
111
|
+
*/
|
|
112
|
+
storageLocations: pulumi.Input<pulumi.Input<inputs.ExternalVolumeStorageLocation>[]>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.ExternalVolume = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource used to manage external volume objects. For more information, check [external volume documentation](https://docs.snowflake.com/en/sql-reference/commands-data-loading#external-volume).
|
|
10
|
+
*/
|
|
11
|
+
class ExternalVolume extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ExternalVolume resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new ExternalVolume(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ExternalVolume. 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) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === ExternalVolume.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["allowWrites"] = state ? state.allowWrites : undefined;
|
|
40
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
41
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
42
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
43
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
44
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
45
|
+
resourceInputs["storageLocations"] = state ? state.storageLocations : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.storageLocations === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'storageLocations'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["allowWrites"] = args ? args.allowWrites : undefined;
|
|
53
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
54
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
55
|
+
resourceInputs["storageLocations"] = args ? args.storageLocations : undefined;
|
|
56
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(ExternalVolume.__pulumiType, name, resourceInputs, opts);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ExternalVolume = ExternalVolume;
|
|
65
|
+
/** @internal */
|
|
66
|
+
ExternalVolume.__pulumiType = 'snowflake:index/externalVolume:ExternalVolume';
|
|
67
|
+
//# sourceMappingURL=externalVolume.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"externalVolume.js","sourceRoot":"","sources":["../externalVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG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,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA5FL,wCA6FC;AA/EG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* !> **V1 release candidate** This data source 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
|
+
* Datasource used to get details of filtered connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
13
|
+
*
|
|
14
|
+
* // Simple usage
|
|
15
|
+
* const simple = snowflake.getConnections({});
|
|
16
|
+
* export const simpleOutput = simple.then(simple => simple.connections);
|
|
17
|
+
* // Filtering (like)
|
|
18
|
+
* const like = snowflake.getConnections({
|
|
19
|
+
* like: "connection-name",
|
|
20
|
+
* });
|
|
21
|
+
* export const likeOutput = like.then(like => like.connections);
|
|
22
|
+
* // Filtering by prefix (like)
|
|
23
|
+
* const likePrefix = snowflake.getConnections({
|
|
24
|
+
* like: "prefix%",
|
|
25
|
+
* });
|
|
26
|
+
* export const likePrefixOutput = likePrefix.then(likePrefix => likePrefix.connections);
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getConnections(args?: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionsResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getConnections.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetConnectionsArgs {
|
|
34
|
+
/**
|
|
35
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
36
|
+
*/
|
|
37
|
+
like?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getConnections.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetConnectionsResult {
|
|
43
|
+
/**
|
|
44
|
+
* Holds the aggregated output of all connections details queries.
|
|
45
|
+
*/
|
|
46
|
+
readonly connections: outputs.GetConnectionsConnection[];
|
|
47
|
+
/**
|
|
48
|
+
* The provider-assigned unique ID for this managed resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
53
|
+
*/
|
|
54
|
+
readonly like?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* !> **V1 release candidate** This data source 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.
|
|
58
|
+
*
|
|
59
|
+
* Datasource used to get details of filtered connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
60
|
+
*
|
|
61
|
+
* ## Example Usage
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
66
|
+
*
|
|
67
|
+
* // Simple usage
|
|
68
|
+
* const simple = snowflake.getConnections({});
|
|
69
|
+
* export const simpleOutput = simple.then(simple => simple.connections);
|
|
70
|
+
* // Filtering (like)
|
|
71
|
+
* const like = snowflake.getConnections({
|
|
72
|
+
* like: "connection-name",
|
|
73
|
+
* });
|
|
74
|
+
* export const likeOutput = like.then(like => like.connections);
|
|
75
|
+
* // Filtering by prefix (like)
|
|
76
|
+
* const likePrefix = snowflake.getConnections({
|
|
77
|
+
* like: "prefix%",
|
|
78
|
+
* });
|
|
79
|
+
* export const likePrefixOutput = likePrefix.then(likePrefix => likePrefix.connections);
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare function getConnectionsOutput(args?: GetConnectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionsResult>;
|
|
83
|
+
/**
|
|
84
|
+
* A collection of arguments for invoking getConnections.
|
|
85
|
+
*/
|
|
86
|
+
export interface GetConnectionsOutputArgs {
|
|
87
|
+
/**
|
|
88
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
89
|
+
*/
|
|
90
|
+
like?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getConnectionsOutput = exports.getConnections = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* !> **V1 release candidate** This data source 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 connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
18
|
+
*
|
|
19
|
+
* // Simple usage
|
|
20
|
+
* const simple = snowflake.getConnections({});
|
|
21
|
+
* export const simpleOutput = simple.then(simple => simple.connections);
|
|
22
|
+
* // Filtering (like)
|
|
23
|
+
* const like = snowflake.getConnections({
|
|
24
|
+
* like: "connection-name",
|
|
25
|
+
* });
|
|
26
|
+
* export const likeOutput = like.then(like => like.connections);
|
|
27
|
+
* // Filtering by prefix (like)
|
|
28
|
+
* const likePrefix = snowflake.getConnections({
|
|
29
|
+
* like: "prefix%",
|
|
30
|
+
* });
|
|
31
|
+
* export const likePrefixOutput = likePrefix.then(likePrefix => likePrefix.connections);
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
function getConnections(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("snowflake:index/getConnections:getConnections", {
|
|
38
|
+
"like": args.like,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getConnections = getConnections;
|
|
42
|
+
/**
|
|
43
|
+
* !> **V1 release candidate** This data source 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.
|
|
44
|
+
*
|
|
45
|
+
* Datasource used to get details of filtered connections. Filtering is aligned with the current possibilities for [SHOW CONNECTIONS](https://docs.snowflake.com/en/sql-reference/sql/show-connections) query. The results of SHOW is encapsulated in one output collection `connections`.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
52
|
+
*
|
|
53
|
+
* // Simple usage
|
|
54
|
+
* const simple = snowflake.getConnections({});
|
|
55
|
+
* export const simpleOutput = simple.then(simple => simple.connections);
|
|
56
|
+
* // Filtering (like)
|
|
57
|
+
* const like = snowflake.getConnections({
|
|
58
|
+
* like: "connection-name",
|
|
59
|
+
* });
|
|
60
|
+
* export const likeOutput = like.then(like => like.connections);
|
|
61
|
+
* // Filtering by prefix (like)
|
|
62
|
+
* const likePrefix = snowflake.getConnections({
|
|
63
|
+
* like: "prefix%",
|
|
64
|
+
* });
|
|
65
|
+
* export const likePrefixOutput = likePrefix.then(likePrefix => likePrefix.connections);
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
function getConnectionsOutput(args, opts) {
|
|
69
|
+
args = args || {};
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
71
|
+
return pulumi.runtime.invokeOutput("snowflake:index/getConnections:getConnections", {
|
|
72
|
+
"like": args.like,
|
|
73
|
+
}, opts);
|
|
74
|
+
}
|
|
75
|
+
exports.getConnectionsOutput = getConnectionsOutput;
|
|
76
|
+
//# sourceMappingURL=getConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnections.js","sourceRoot":"","sources":["../getConnections.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,YAAY,CAAC,+CAA+C,EAAE;QAChF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
package/getGrants.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 datasource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. To migrate from older grant resources please follow the migration guide.
|
|
6
|
+
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
7
9
|
* ```typescript
|
|
@@ -186,6 +188,8 @@ export interface GetGrantsResult {
|
|
|
186
188
|
readonly id: string;
|
|
187
189
|
}
|
|
188
190
|
/**
|
|
191
|
+
* !> **V1 release candidate** This datasource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. To migrate from older grant resources please follow the migration guide.
|
|
192
|
+
*
|
|
189
193
|
* ## Example Usage
|
|
190
194
|
*
|
|
191
195
|
* ```typescript
|
package/getGrants.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getGrantsOutput = exports.getGrants = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **V1 release candidate** This datasource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. To migrate from older grant resources please follow the migration guide.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ```typescript
|
|
@@ -143,6 +145,8 @@ function getGrants(args, opts) {
|
|
|
143
145
|
}
|
|
144
146
|
exports.getGrants = getGrants;
|
|
145
147
|
/**
|
|
148
|
+
* !> **V1 release candidate** This datasource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. To migrate from older grant resources please follow the migration guide.
|
|
149
|
+
*
|
|
146
150
|
* ## Example Usage
|
|
147
151
|
*
|
|
148
152
|
* ```typescript
|
package/getGrants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGrants.js","sourceRoot":"","sources":["../getGrants.ts"],"names":[],"m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