@pulumi/snowflake 0.24.1-alpha.1683787713 → 0.25.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 -2
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/database.d.ts +1 -1
- package/database.js +1 -1
- package/emailNotificationIntegration.d.ts +86 -0
- package/emailNotificationIntegration.js +81 -0
- package/emailNotificationIntegration.js.map +1 -0
- package/externalFunction.d.ts +24 -0
- package/externalFunction.js +4 -0
- package/externalFunction.js.map +1 -1
- package/externalTableGrant.d.ts +15 -3
- package/externalTableGrant.js +2 -0
- package/externalTableGrant.js.map +1 -1
- package/fileFormatGrant.d.ts +15 -3
- package/fileFormatGrant.js +2 -0
- package/fileFormatGrant.js.map +1 -1
- package/functionGrant.d.ts +15 -3
- package/functionGrant.js +2 -0
- package/functionGrant.js.map +1 -1
- package/getDatabaseRoles.d.ts +39 -0
- package/getDatabaseRoles.js +20 -0
- package/getDatabaseRoles.js.map +1 -0
- package/index.d.ts +6 -0
- package/index.js +11 -3
- package/index.js.map +1 -1
- package/maskingPolicy.d.ts +62 -10
- package/maskingPolicy.js +28 -8
- package/maskingPolicy.js.map +1 -1
- package/materializedViewGrant.d.ts +3 -3
- package/networkPolicyAttachment.d.ts +3 -18
- package/networkPolicyAttachment.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/procedureGrant.d.ts +15 -3
- package/procedureGrant.js +2 -0
- package/procedureGrant.js.map +1 -1
- package/provider.d.ts +16 -4
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/schemaGrant.d.ts +3 -3
- package/sequenceGrant.d.ts +15 -3
- package/sequenceGrant.js +2 -0
- package/sequenceGrant.js.map +1 -1
- package/stageGrant.d.ts +3 -3
- package/streamGrant.d.ts +15 -3
- package/streamGrant.js +2 -0
- package/streamGrant.js.map +1 -1
- package/tableColumnMaskingPolicyApplication.d.ts +8 -0
- package/tableColumnMaskingPolicyApplication.js +8 -0
- package/tableColumnMaskingPolicyApplication.js.map +1 -1
- package/tableGrant.d.ts +3 -3
- package/tagMaskingPolicyAssociation.d.ts +2 -0
- package/tagMaskingPolicyAssociation.js +2 -0
- package/tagMaskingPolicyAssociation.js.map +1 -1
- package/taskGrant.d.ts +15 -3
- package/taskGrant.js +2 -0
- package/taskGrant.js.map +1 -1
- package/types/input.d.ts +10 -0
- package/types/output.d.ts +15 -0
- package/viewGrant.d.ts +3 -3
package/config/vars.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The name of the Snowflake account. Can also come from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
2
|
+
* The name of the Snowflake account. Can also come from the `SNOWFLAKE_ACCOUNT` environment variable. Required unless
|
|
3
|
+
* using profile.
|
|
3
4
|
*/
|
|
4
5
|
export declare const account: string | undefined;
|
|
5
6
|
/**
|
|
@@ -69,6 +70,10 @@ export declare const privateKeyPassphrase: string | undefined;
|
|
|
69
70
|
* `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
70
71
|
*/
|
|
71
72
|
export declare const privateKeyPath: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Sets the profile to read from ~/.snowflake/config file.
|
|
75
|
+
*/
|
|
76
|
+
export declare const profile: string | undefined;
|
|
72
77
|
/**
|
|
73
78
|
* Support custom protocols to snowflake go driver. Can be sourced from `SNOWFLAKE_PROTOCOL` environment variable.
|
|
74
79
|
*/
|
|
@@ -86,7 +91,8 @@ export declare const region: string | undefined;
|
|
|
86
91
|
*/
|
|
87
92
|
export declare const role: string | undefined;
|
|
88
93
|
/**
|
|
89
|
-
* Username for username+password authentication. Can come from the `SNOWFLAKE_USER` environment variable.
|
|
94
|
+
* Username for username+password authentication. Can come from the `SNOWFLAKE_USER` environment variable. Required unless
|
|
95
|
+
* using profile.
|
|
90
96
|
*/
|
|
91
97
|
export declare const username: string | undefined;
|
|
92
98
|
/**
|
package/config/vars.js
CHANGED
|
@@ -108,6 +108,12 @@ Object.defineProperty(exports, "privateKeyPath", {
|
|
|
108
108
|
},
|
|
109
109
|
enumerable: true,
|
|
110
110
|
});
|
|
111
|
+
Object.defineProperty(exports, "profile", {
|
|
112
|
+
get() {
|
|
113
|
+
return __config.get("profile");
|
|
114
|
+
},
|
|
115
|
+
enumerable: true,
|
|
116
|
+
});
|
|
111
117
|
Object.defineProperty(exports, "protocol", {
|
|
112
118
|
get() {
|
|
113
119
|
var _a;
|
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;AACzC,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;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAOhD,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;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAU,aAAa,CAAC,mCAAI,SAAS,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;IAC/G,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,C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AC;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;AAMH,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"}
|
package/database.d.ts
CHANGED
package/database.js
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
8
|
+
*
|
|
9
|
+
* const emailInt = new snowflake.EmailNotificationIntegration("emailInt", {
|
|
10
|
+
* allowedRecipients: ["john.doe@gmail.com"],
|
|
11
|
+
* comment: "A notification integration.",
|
|
12
|
+
* enabled: true,
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* ```sh
|
|
19
|
+
* $ pulumi import snowflake:index/emailNotificationIntegration:EmailNotificationIntegration example name
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class EmailNotificationIntegration extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing EmailNotificationIntegration resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param state Any extra arguments used during the lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EmailNotificationIntegrationState, opts?: pulumi.CustomResourceOptions): EmailNotificationIntegration;
|
|
33
|
+
/**
|
|
34
|
+
* Returns true if the given object is an instance of EmailNotificationIntegration. This is designed to work even
|
|
35
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
36
|
+
*/
|
|
37
|
+
static isInstance(obj: any): obj is EmailNotificationIntegration;
|
|
38
|
+
/**
|
|
39
|
+
* List of email addresses that should receive notifications.
|
|
40
|
+
*/
|
|
41
|
+
readonly allowedRecipients: pulumi.Output<string[]>;
|
|
42
|
+
/**
|
|
43
|
+
* A comment for the email integration.
|
|
44
|
+
*/
|
|
45
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
46
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
47
|
+
readonly name: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a EmailNotificationIntegration resource with the given unique name, arguments, and options.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resource.
|
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
54
|
+
*/
|
|
55
|
+
constructor(name: string, args: EmailNotificationIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Input properties used for looking up and filtering EmailNotificationIntegration resources.
|
|
59
|
+
*/
|
|
60
|
+
export interface EmailNotificationIntegrationState {
|
|
61
|
+
/**
|
|
62
|
+
* List of email addresses that should receive notifications.
|
|
63
|
+
*/
|
|
64
|
+
allowedRecipients?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65
|
+
/**
|
|
66
|
+
* A comment for the email integration.
|
|
67
|
+
*/
|
|
68
|
+
comment?: pulumi.Input<string>;
|
|
69
|
+
enabled?: pulumi.Input<boolean>;
|
|
70
|
+
name?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The set of arguments for constructing a EmailNotificationIntegration resource.
|
|
74
|
+
*/
|
|
75
|
+
export interface EmailNotificationIntegrationArgs {
|
|
76
|
+
/**
|
|
77
|
+
* List of email addresses that should receive notifications.
|
|
78
|
+
*/
|
|
79
|
+
allowedRecipients: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* A comment for the email integration.
|
|
82
|
+
*/
|
|
83
|
+
comment?: pulumi.Input<string>;
|
|
84
|
+
enabled: pulumi.Input<boolean>;
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.EmailNotificationIntegration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
+
*
|
|
15
|
+
* const emailInt = new snowflake.EmailNotificationIntegration("emailInt", {
|
|
16
|
+
* allowedRecipients: ["john.doe@gmail.com"],
|
|
17
|
+
* comment: "A notification integration.",
|
|
18
|
+
* enabled: true,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import snowflake:index/emailNotificationIntegration:EmailNotificationIntegration example name
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
class EmailNotificationIntegration extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing EmailNotificationIntegration resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name, id, state, opts) {
|
|
39
|
+
return new EmailNotificationIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of EmailNotificationIntegration. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj) {
|
|
46
|
+
if (obj === undefined || obj === null) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
return obj['__pulumiType'] === EmailNotificationIntegration.__pulumiType;
|
|
50
|
+
}
|
|
51
|
+
constructor(name, argsOrState, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
if (opts.id) {
|
|
55
|
+
const state = argsOrState;
|
|
56
|
+
resourceInputs["allowedRecipients"] = state ? state.allowedRecipients : undefined;
|
|
57
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
58
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
59
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.allowedRecipients === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'allowedRecipients'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'enabled'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["allowedRecipients"] = args ? args.allowedRecipients : undefined;
|
|
70
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
71
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
72
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(EmailNotificationIntegration.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.EmailNotificationIntegration = EmailNotificationIntegration;
|
|
79
|
+
/** @internal */
|
|
80
|
+
EmailNotificationIntegration.__pulumiType = 'snowflake:index/emailNotificationIntegration:EmailNotificationIntegration';
|
|
81
|
+
//# sourceMappingURL=emailNotificationIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailNotificationIntegration.js","sourceRoot":"","sources":["../emailNotificationIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,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,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAvEL,oEAwEC;AA1DG,gBAAgB;AACO,yCAAY,GAAG,2EAA2E,CAAC"}
|
package/externalFunction.d.ts
CHANGED
|
@@ -96,6 +96,14 @@ export declare class ExternalFunction extends pulumi.CustomResource {
|
|
|
96
96
|
* Specifies the behavior of the external function when called with null inputs.
|
|
97
97
|
*/
|
|
98
98
|
readonly nullInputBehavior: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* This specifies the name of the request translator function
|
|
101
|
+
*/
|
|
102
|
+
readonly requestTranslator: pulumi.Output<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* This specifies the name of the response translator function.
|
|
105
|
+
*/
|
|
106
|
+
readonly responseTranslator: pulumi.Output<string | undefined>;
|
|
99
107
|
/**
|
|
100
108
|
* Specifies the behavior of the function when returning results
|
|
101
109
|
*/
|
|
@@ -173,6 +181,14 @@ export interface ExternalFunctionState {
|
|
|
173
181
|
* Specifies the behavior of the external function when called with null inputs.
|
|
174
182
|
*/
|
|
175
183
|
nullInputBehavior?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* This specifies the name of the request translator function
|
|
186
|
+
*/
|
|
187
|
+
requestTranslator?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* This specifies the name of the response translator function.
|
|
190
|
+
*/
|
|
191
|
+
responseTranslator?: pulumi.Input<string>;
|
|
176
192
|
/**
|
|
177
193
|
* Specifies the behavior of the function when returning results
|
|
178
194
|
*/
|
|
@@ -238,6 +254,14 @@ export interface ExternalFunctionArgs {
|
|
|
238
254
|
* Specifies the behavior of the external function when called with null inputs.
|
|
239
255
|
*/
|
|
240
256
|
nullInputBehavior?: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* This specifies the name of the request translator function
|
|
259
|
+
*/
|
|
260
|
+
requestTranslator?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* This specifies the name of the response translator function.
|
|
263
|
+
*/
|
|
264
|
+
responseTranslator?: pulumi.Input<string>;
|
|
241
265
|
/**
|
|
242
266
|
* Specifies the behavior of the function when returning results
|
|
243
267
|
*/
|
package/externalFunction.js
CHANGED
|
@@ -79,6 +79,8 @@ class ExternalFunction extends pulumi.CustomResource {
|
|
|
79
79
|
resourceInputs["maxBatchRows"] = state ? state.maxBatchRows : undefined;
|
|
80
80
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
81
81
|
resourceInputs["nullInputBehavior"] = state ? state.nullInputBehavior : undefined;
|
|
82
|
+
resourceInputs["requestTranslator"] = state ? state.requestTranslator : undefined;
|
|
83
|
+
resourceInputs["responseTranslator"] = state ? state.responseTranslator : undefined;
|
|
82
84
|
resourceInputs["returnBehavior"] = state ? state.returnBehavior : undefined;
|
|
83
85
|
resourceInputs["returnNullAllowed"] = state ? state.returnNullAllowed : undefined;
|
|
84
86
|
resourceInputs["returnType"] = state ? state.returnType : undefined;
|
|
@@ -115,6 +117,8 @@ class ExternalFunction extends pulumi.CustomResource {
|
|
|
115
117
|
resourceInputs["maxBatchRows"] = args ? args.maxBatchRows : undefined;
|
|
116
118
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
117
119
|
resourceInputs["nullInputBehavior"] = args ? args.nullInputBehavior : undefined;
|
|
120
|
+
resourceInputs["requestTranslator"] = args ? args.requestTranslator : undefined;
|
|
121
|
+
resourceInputs["responseTranslator"] = args ? args.responseTranslator : undefined;
|
|
118
122
|
resourceInputs["returnBehavior"] = args ? args.returnBehavior : undefined;
|
|
119
123
|
resourceInputs["returnNullAllowed"] = args ? args.returnNullAllowed : undefined;
|
|
120
124
|
resourceInputs["returnType"] = args ? args.returnType : undefined;
|
package/externalFunction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalFunction.js","sourceRoot":"","sources":["../externalFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;
|
|
1
|
+
{"version":3,"file":"externalFunction.js","sourceRoot":"","sources":["../externalFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;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CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7KL,4CA8KC;AAhKG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/externalTableGrant.d.ts
CHANGED
|
@@ -62,7 +62,11 @@ export declare class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
62
62
|
*/
|
|
63
63
|
readonly externalTableName: pulumi.Output<string | undefined>;
|
|
64
64
|
/**
|
|
65
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
65
|
+
* When this is set to true and a schema*name is provided, apply this grant on all external tables in the given schema. When this is true and no schema*name is provided apply this grant on all external tables in the given database. The external*table*name and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
66
|
+
*/
|
|
67
|
+
readonly onAll: pulumi.Output<boolean | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future external tables in the given schema. When this is true and no schema*name is provided apply this grant on all future external tables in the given database. The external*table*name and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
66
70
|
*/
|
|
67
71
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
68
72
|
/**
|
|
@@ -112,7 +116,11 @@ export interface ExternalTableGrantState {
|
|
|
112
116
|
*/
|
|
113
117
|
externalTableName?: pulumi.Input<string>;
|
|
114
118
|
/**
|
|
115
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
119
|
+
* When this is set to true and a schema*name is provided, apply this grant on all external tables in the given schema. When this is true and no schema*name is provided apply this grant on all external tables in the given database. The external*table*name and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
120
|
+
*/
|
|
121
|
+
onAll?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future external tables in the given schema. When this is true and no schema*name is provided apply this grant on all future external tables in the given database. The external*table*name and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
116
124
|
*/
|
|
117
125
|
onFuture?: pulumi.Input<boolean>;
|
|
118
126
|
/**
|
|
@@ -154,7 +162,11 @@ export interface ExternalTableGrantArgs {
|
|
|
154
162
|
*/
|
|
155
163
|
externalTableName?: pulumi.Input<string>;
|
|
156
164
|
/**
|
|
157
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
165
|
+
* When this is set to true and a schema*name is provided, apply this grant on all external tables in the given schema. When this is true and no schema*name is provided apply this grant on all external tables in the given database. The external*table*name and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
166
|
+
*/
|
|
167
|
+
onAll?: pulumi.Input<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future external tables in the given schema. When this is true and no schema*name is provided apply this grant on all future external tables in the given database. The external*table*name and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
158
170
|
*/
|
|
159
171
|
onFuture?: pulumi.Input<boolean>;
|
|
160
172
|
/**
|
package/externalTableGrant.js
CHANGED
|
@@ -69,6 +69,7 @@ class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
69
69
|
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
70
70
|
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
71
71
|
resourceInputs["externalTableName"] = state ? state.externalTableName : undefined;
|
|
72
|
+
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
72
73
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
73
74
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
74
75
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
@@ -87,6 +88,7 @@ class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
87
88
|
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
88
89
|
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
89
90
|
resourceInputs["externalTableName"] = args ? args.externalTableName : undefined;
|
|
91
|
+
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
90
92
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
91
93
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
92
94
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalTableGrant.js","sourceRoot":"","sources":["../externalTableGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;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UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAlHL,gDAmHC;AArGG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
package/fileFormatGrant.d.ts
CHANGED
|
@@ -58,7 +58,11 @@ export declare class FileFormatGrant extends pulumi.CustomResource {
|
|
|
58
58
|
*/
|
|
59
59
|
readonly fileFormatName: pulumi.Output<string | undefined>;
|
|
60
60
|
/**
|
|
61
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
61
|
+
* When this is set to true and a schema*name is provided, apply this grant on all file formats in the given schema. When this is true and no schema*name is provided apply this grant on all file formats in the given database. The file*format*name field must be unset in order to use on*all. Cannot be used together with on*future.
|
|
62
|
+
*/
|
|
63
|
+
readonly onAll: pulumi.Output<boolean | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future file formats in the given schema. When this is true and no schema*name is provided apply this grant on all future file formats in the given database. The file*format*name field must be unset in order to use on*future. Cannot be used together with on*all.
|
|
62
66
|
*/
|
|
63
67
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
64
68
|
/**
|
|
@@ -104,7 +108,11 @@ export interface FileFormatGrantState {
|
|
|
104
108
|
*/
|
|
105
109
|
fileFormatName?: pulumi.Input<string>;
|
|
106
110
|
/**
|
|
107
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
111
|
+
* When this is set to true and a schema*name is provided, apply this grant on all file formats in the given schema. When this is true and no schema*name is provided apply this grant on all file formats in the given database. The file*format*name field must be unset in order to use on*all. Cannot be used together with on*future.
|
|
112
|
+
*/
|
|
113
|
+
onAll?: pulumi.Input<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future file formats in the given schema. When this is true and no schema*name is provided apply this grant on all future file formats in the given database. The file*format*name field must be unset in order to use on*future. Cannot be used together with on*all.
|
|
108
116
|
*/
|
|
109
117
|
onFuture?: pulumi.Input<boolean>;
|
|
110
118
|
/**
|
|
@@ -142,7 +150,11 @@ export interface FileFormatGrantArgs {
|
|
|
142
150
|
*/
|
|
143
151
|
fileFormatName?: pulumi.Input<string>;
|
|
144
152
|
/**
|
|
145
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
153
|
+
* When this is set to true and a schema*name is provided, apply this grant on all file formats in the given schema. When this is true and no schema*name is provided apply this grant on all file formats in the given database. The file*format*name field must be unset in order to use on*all. Cannot be used together with on*future.
|
|
154
|
+
*/
|
|
155
|
+
onAll?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future file formats in the given schema. When this is true and no schema*name is provided apply this grant on all future file formats in the given database. The file*format*name field must be unset in order to use on*future. Cannot be used together with on*all.
|
|
146
158
|
*/
|
|
147
159
|
onFuture?: pulumi.Input<boolean>;
|
|
148
160
|
/**
|
package/fileFormatGrant.js
CHANGED
|
@@ -65,6 +65,7 @@ class FileFormatGrant extends pulumi.CustomResource {
|
|
|
65
65
|
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
66
66
|
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
67
67
|
resourceInputs["fileFormatName"] = state ? state.fileFormatName : undefined;
|
|
68
|
+
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
68
69
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
69
70
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
70
71
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
@@ -82,6 +83,7 @@ class FileFormatGrant extends pulumi.CustomResource {
|
|
|
82
83
|
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
83
84
|
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
84
85
|
resourceInputs["fileFormatName"] = args ? args.fileFormatName : undefined;
|
|
86
|
+
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
85
87
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
86
88
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
87
89
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
package/fileFormatGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileFormatGrant.js","sourceRoot":"","sources":["../fileFormatGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IACh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cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5GL,0CA6GC;AA/FG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/functionGrant.d.ts
CHANGED
|
@@ -70,7 +70,11 @@ export declare class FunctionGrant extends pulumi.CustomResource {
|
|
|
70
70
|
*/
|
|
71
71
|
readonly functionName: pulumi.Output<string | undefined>;
|
|
72
72
|
/**
|
|
73
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
73
|
+
* When this is set to true and a schema*name is provided, apply this grant on all functions in the given schema. When this is true and no schema*name is provided apply this grant on all functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
74
|
+
*/
|
|
75
|
+
readonly onAll: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future functions in the given schema. When this is true and no schema*name is provided apply this grant on all future functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
74
78
|
*/
|
|
75
79
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
76
80
|
/**
|
|
@@ -124,7 +128,11 @@ export interface FunctionGrantState {
|
|
|
124
128
|
*/
|
|
125
129
|
functionName?: pulumi.Input<string>;
|
|
126
130
|
/**
|
|
127
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
131
|
+
* When this is set to true and a schema*name is provided, apply this grant on all functions in the given schema. When this is true and no schema*name is provided apply this grant on all functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
132
|
+
*/
|
|
133
|
+
onAll?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future functions in the given schema. When this is true and no schema*name is provided apply this grant on all future functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
128
136
|
*/
|
|
129
137
|
onFuture?: pulumi.Input<boolean>;
|
|
130
138
|
/**
|
|
@@ -170,7 +178,11 @@ export interface FunctionGrantArgs {
|
|
|
170
178
|
*/
|
|
171
179
|
functionName?: pulumi.Input<string>;
|
|
172
180
|
/**
|
|
173
|
-
* When this is set to true and a schema*name is provided, apply this grant on all
|
|
181
|
+
* When this is set to true and a schema*name is provided, apply this grant on all functions in the given schema. When this is true and no schema*name is provided apply this grant on all functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*all. Cannot be used together with on*future.
|
|
182
|
+
*/
|
|
183
|
+
onAll?: pulumi.Input<boolean>;
|
|
184
|
+
/**
|
|
185
|
+
* When this is set to true and a schema*name is provided, apply this grant on all future functions in the given schema. When this is true and no schema*name is provided apply this grant on all future functions in the given database. The function*name, arguments, return*type, and shares fields must be unset in order to use on*future. Cannot be used together with on*all.
|
|
174
186
|
*/
|
|
175
187
|
onFuture?: pulumi.Input<boolean>;
|
|
176
188
|
/**
|
package/functionGrant.js
CHANGED
|
@@ -74,6 +74,7 @@ class FunctionGrant extends pulumi.CustomResource {
|
|
|
74
74
|
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
75
75
|
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
76
76
|
resourceInputs["functionName"] = state ? state.functionName : undefined;
|
|
77
|
+
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
77
78
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
78
79
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
79
80
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
@@ -93,6 +94,7 @@ class FunctionGrant extends pulumi.CustomResource {
|
|
|
93
94
|
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
94
95
|
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
95
96
|
resourceInputs["functionName"] = args ? args.functionName : undefined;
|
|
97
|
+
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
96
98
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
97
99
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
98
100
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
package/functionGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functionGrant.js","sourceRoot":"","sources":["../functionGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACz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AAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxHL,sCAyHC;AA3GG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getDatabaseRoles(args?: GetDatabaseRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseRolesResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getDatabaseRoles.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetDatabaseRolesArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The database from which to return the database roles from.
|
|
10
|
+
*/
|
|
11
|
+
database?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getDatabaseRoles.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetDatabaseRolesResult {
|
|
17
|
+
/**
|
|
18
|
+
* The database from which to return the database roles from.
|
|
19
|
+
*/
|
|
20
|
+
readonly database?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Lists all the database roles in a specified database.
|
|
23
|
+
*/
|
|
24
|
+
readonly databaseRoles: outputs.GetDatabaseRolesDatabaseRole[];
|
|
25
|
+
/**
|
|
26
|
+
* The provider-assigned unique ID for this managed resource.
|
|
27
|
+
*/
|
|
28
|
+
readonly id: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function getDatabaseRolesOutput(args?: GetDatabaseRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseRolesResult>;
|
|
31
|
+
/**
|
|
32
|
+
* A collection of arguments for invoking getDatabaseRoles.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetDatabaseRolesOutputArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The database from which to return the database roles from.
|
|
37
|
+
*/
|
|
38
|
+
database?: pulumi.Input<string>;
|
|
39
|
+
}
|