@pulumi/snowflake 0.14.0 → 0.14.1-alpha.1672951590
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/accountGrant.d.ts +3 -3
- package/accountGrant.js +20 -20
- package/accountGrant.js.map +1 -1
- package/apiIntegration.d.ts +12 -0
- package/apiIntegration.js +26 -22
- package/apiIntegration.js.map +1 -1
- package/config/vars.d.ts +8 -6
- package/config/vars.js.map +1 -1
- package/database.d.ts +9 -0
- package/database.js +22 -22
- package/database.js.map +1 -1
- package/databaseGrant.d.ts +1 -1
- package/databaseGrant.js +23 -23
- package/databaseGrant.js.map +1 -1
- package/externalFunction.d.ts +1 -1
- package/externalFunction.js +23 -23
- package/externalFunction.js.map +1 -1
- package/externalOauthIntegration.js +22 -22
- package/externalOauthIntegration.js.map +1 -1
- package/externalTable.js +22 -22
- package/externalTable.js.map +1 -1
- package/externalTableGrant.d.ts +2 -2
- package/externalTableGrant.js +24 -24
- package/externalTableGrant.js.map +1 -1
- package/failoverGroup.d.ts +190 -0
- package/failoverGroup.js +109 -0
- package/failoverGroup.js.map +1 -0
- package/fileFormat.js +22 -22
- package/fileFormat.js.map +1 -1
- package/fileFormatGrant.d.ts +2 -2
- package/fileFormatGrant.js +24 -24
- package/fileFormatGrant.js.map +1 -1
- package/function.js +22 -22
- package/function.js.map +1 -1
- package/functionGrant.d.ts +1 -1
- package/functionGrant.js +23 -23
- package/functionGrant.js.map +1 -1
- package/getGrants.d.ts +143 -0
- package/getGrants.js +82 -0
- package/getGrants.js.map +1 -0
- package/getRoles.d.ts +39 -0
- package/getRoles.js +23 -0
- package/getRoles.js.map +1 -0
- package/index.d.ts +74 -62
- package/index.js +19 -3
- package/index.js.map +1 -1
- package/integrationGrant.js +22 -22
- package/integrationGrant.js.map +1 -1
- package/managedAccount.js +22 -22
- package/managedAccount.js.map +1 -1
- package/maskingPolicy.d.ts +8 -0
- package/maskingPolicy.js +24 -22
- package/maskingPolicy.js.map +1 -1
- package/maskingPolicyGrant.js +22 -22
- package/maskingPolicyGrant.js.map +1 -1
- package/materializedView.js +22 -22
- package/materializedView.js.map +1 -1
- package/materializedViewGrant.d.ts +2 -2
- package/materializedViewGrant.js +24 -24
- package/materializedViewGrant.js.map +1 -1
- package/networkPolicy.js +22 -22
- package/networkPolicy.js.map +1 -1
- package/networkPolicyAttachment.js +21 -21
- package/networkPolicyAttachment.js.map +1 -1
- package/notificationIntegration.js +22 -22
- package/notificationIntegration.js.map +1 -1
- package/oauthIntegration.d.ts +12 -0
- package/oauthIntegration.js +24 -22
- package/oauthIntegration.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipe.js +22 -22
- package/pipe.js.map +1 -1
- package/pipeGrant.d.ts +2 -2
- package/pipeGrant.js +24 -24
- package/pipeGrant.js.map +1 -1
- package/procedure.js +22 -22
- package/procedure.js.map +1 -1
- package/procedureGrant.d.ts +2 -2
- package/procedureGrant.js +24 -24
- package/procedureGrant.js.map +1 -1
- package/provider.d.ts +16 -12
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/resourceMonitor.d.ts +16 -0
- package/resourceMonitor.js +28 -22
- package/resourceMonitor.js.map +1 -1
- package/resourceMonitorGrant.js +22 -22
- package/resourceMonitorGrant.js.map +1 -1
- package/role.js +18 -18
- package/role.js.map +1 -1
- package/roleGrants.d.ts +4 -10
- package/roleGrants.js +26 -32
- package/roleGrants.js.map +1 -1
- package/roleOwnershipGrant.d.ts +12 -0
- package/roleOwnershipGrant.js +24 -22
- package/roleOwnershipGrant.js.map +1 -1
- package/rowAccessPolicy.js +22 -22
- package/rowAccessPolicy.js.map +1 -1
- package/rowAccessPolicyGrant.d.ts +1 -1
- package/rowAccessPolicyGrant.js +23 -23
- package/rowAccessPolicyGrant.js.map +1 -1
- package/samlIntegration.js +22 -22
- package/samlIntegration.js.map +1 -1
- package/schema.d.ts +1 -1
- package/schema.js +23 -23
- package/schema.js.map +1 -1
- package/schemaGrant.d.ts +1 -1
- package/schemaGrant.js +23 -23
- package/schemaGrant.js.map +1 -1
- package/scimIntegration.js +22 -22
- package/scimIntegration.js.map +1 -1
- package/sequence.js +22 -22
- package/sequence.js.map +1 -1
- package/sequenceGrant.d.ts +2 -2
- package/sequenceGrant.js +24 -24
- package/sequenceGrant.js.map +1 -1
- package/share.js +18 -18
- package/share.js.map +1 -1
- package/stage.js +22 -22
- package/stage.js.map +1 -1
- package/stageGrant.d.ts +1 -5
- package/stageGrant.js +23 -27
- package/stageGrant.js.map +1 -1
- package/storageIntegration.js +22 -22
- package/storageIntegration.js.map +1 -1
- package/stream.d.ts +1 -1
- package/stream.js +23 -23
- package/stream.js.map +1 -1
- package/streamGrant.d.ts +2 -2
- package/streamGrant.js +24 -24
- package/streamGrant.js.map +1 -1
- package/table.d.ts +6 -0
- package/table.js +22 -22
- package/table.js.map +1 -1
- package/tableConstraint.d.ts +263 -0
- package/tableConstraint.js +161 -0
- package/tableConstraint.js.map +1 -0
- package/tableGrant.js +22 -22
- package/tableGrant.js.map +1 -1
- package/tag.js +22 -22
- package/tag.js.map +1 -1
- package/tagAssociation.d.ts +54 -8
- package/tagAssociation.js +55 -27
- package/tagAssociation.js.map +1 -1
- package/tagGrant.js +22 -22
- package/tagGrant.js.map +1 -1
- package/tagMaskingPolicyAssociation.d.ts +3 -3
- package/tagMaskingPolicyAssociation.js +22 -22
- package/tagMaskingPolicyAssociation.js.map +1 -1
- package/task.d.ts +29 -9
- package/task.js +37 -27
- package/task.js.map +1 -1
- package/taskGrant.d.ts +2 -2
- package/taskGrant.js +24 -24
- package/taskGrant.js.map +1 -1
- package/types/input.d.ts +190 -0
- package/types/output.d.ts +147 -0
- package/user.js +22 -22
- package/user.js.map +1 -1
- package/userGrant.d.ts +4 -1
- package/userGrant.js +26 -23
- package/userGrant.js.map +1 -1
- package/userOwnershipGrant.d.ts +12 -0
- package/userOwnershipGrant.js +24 -22
- package/userOwnershipGrant.js.map +1 -1
- package/userPublicKeys.js +18 -18
- package/userPublicKeys.js.map +1 -1
- package/view.d.ts +1 -1
- package/view.js +23 -23
- package/view.js.map +1 -1
- package/viewGrant.d.ts +2 -2
- package/viewGrant.js +24 -24
- package/viewGrant.js.map +1 -1
- package/warehouse.d.ts +37 -1
- package/warehouse.js +29 -23
- package/warehouse.js.map +1 -1
- package/warehouseGrant.d.ts +5 -2
- package/warehouseGrant.js +27 -24
- package/warehouseGrant.js.map +1 -1
package/accountGrant.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class AccountGrant extends pulumi.CustomResource {
|
|
|
46
46
|
*/
|
|
47
47
|
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
48
48
|
/**
|
|
49
|
-
* The privilege to grant
|
|
49
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
50
50
|
*/
|
|
51
51
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
52
52
|
/**
|
|
@@ -76,7 +76,7 @@ export interface AccountGrantState {
|
|
|
76
76
|
*/
|
|
77
77
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
78
78
|
/**
|
|
79
|
-
* The privilege to grant
|
|
79
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
80
80
|
*/
|
|
81
81
|
privilege?: pulumi.Input<string>;
|
|
82
82
|
/**
|
|
@@ -98,7 +98,7 @@ export interface AccountGrantArgs {
|
|
|
98
98
|
*/
|
|
99
99
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
100
100
|
/**
|
|
101
|
-
* The privilege to grant
|
|
101
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
102
102
|
*/
|
|
103
103
|
privilege?: pulumi.Input<string>;
|
|
104
104
|
/**
|
package/accountGrant.js
CHANGED
|
@@ -31,26 +31,6 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
class AccountGrant extends pulumi.CustomResource {
|
|
34
|
-
constructor(name, argsOrState, opts) {
|
|
35
|
-
let resourceInputs = {};
|
|
36
|
-
opts = opts || {};
|
|
37
|
-
if (opts.id) {
|
|
38
|
-
const state = argsOrState;
|
|
39
|
-
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
40
|
-
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
41
|
-
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
42
|
-
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
const args = argsOrState;
|
|
46
|
-
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
47
|
-
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
48
|
-
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
49
|
-
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
|
50
|
-
}
|
|
51
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
|
-
super(AccountGrant.__pulumiType, name, resourceInputs, opts);
|
|
53
|
-
}
|
|
54
34
|
/**
|
|
55
35
|
* Get an existing AccountGrant resource's state with the given name, ID, and optional extra
|
|
56
36
|
* properties used to qualify the lookup.
|
|
@@ -73,6 +53,26 @@ class AccountGrant extends pulumi.CustomResource {
|
|
|
73
53
|
}
|
|
74
54
|
return obj['__pulumiType'] === AccountGrant.__pulumiType;
|
|
75
55
|
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
62
|
+
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
63
|
+
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
64
|
+
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
69
|
+
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
70
|
+
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
71
|
+
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(AccountGrant.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
76
|
}
|
|
77
77
|
exports.AccountGrant = AccountGrant;
|
|
78
78
|
/** @internal */
|
package/accountGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountGrant.js","sourceRoot":"","sources":["../accountGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"accountGrant.js","sourceRoot":"","sources":["../accountGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,SAAS,CAAC;YACxD,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAxEL,oCAyEC;AA3DG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/apiIntegration.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
56
56
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
57
57
|
*/
|
|
58
58
|
readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The API key (also called a “subscription key”).
|
|
61
|
+
*/
|
|
62
|
+
readonly apiKey: pulumi.Output<string | undefined>;
|
|
59
63
|
/**
|
|
60
64
|
* Specifies the HTTPS proxy service type.
|
|
61
65
|
*/
|
|
@@ -115,6 +119,10 @@ export interface ApiIntegrationState {
|
|
|
115
119
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
116
120
|
*/
|
|
117
121
|
apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* The API key (also called a “subscription key”).
|
|
124
|
+
*/
|
|
125
|
+
apiKey?: pulumi.Input<string>;
|
|
118
126
|
/**
|
|
119
127
|
* Specifies the HTTPS proxy service type.
|
|
120
128
|
*/
|
|
@@ -158,6 +166,10 @@ export interface ApiIntegrationArgs {
|
|
|
158
166
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
159
167
|
*/
|
|
160
168
|
apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* The API key (also called a “subscription key”).
|
|
171
|
+
*/
|
|
172
|
+
apiKey?: pulumi.Input<string>;
|
|
161
173
|
/**
|
|
162
174
|
* Specifies the HTTPS proxy service type.
|
|
163
175
|
*/
|
package/apiIntegration.js
CHANGED
|
@@ -27,6 +27,28 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
class ApiIntegration extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ApiIntegration resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new ApiIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of ApiIntegration. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === ApiIntegration.__pulumiType;
|
|
51
|
+
}
|
|
30
52
|
constructor(name, argsOrState, opts) {
|
|
31
53
|
let resourceInputs = {};
|
|
32
54
|
opts = opts || {};
|
|
@@ -37,6 +59,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
37
59
|
resourceInputs["apiAwsIamUserArn"] = state ? state.apiAwsIamUserArn : undefined;
|
|
38
60
|
resourceInputs["apiAwsRoleArn"] = state ? state.apiAwsRoleArn : undefined;
|
|
39
61
|
resourceInputs["apiBlockedPrefixes"] = state ? state.apiBlockedPrefixes : undefined;
|
|
62
|
+
resourceInputs["apiKey"] = state ? state.apiKey : undefined;
|
|
40
63
|
resourceInputs["apiProvider"] = state ? state.apiProvider : undefined;
|
|
41
64
|
resourceInputs["azureAdApplicationId"] = state ? state.azureAdApplicationId : undefined;
|
|
42
65
|
resourceInputs["azureConsentUrl"] = state ? state.azureConsentUrl : undefined;
|
|
@@ -57,6 +80,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
57
80
|
resourceInputs["apiAllowedPrefixes"] = args ? args.apiAllowedPrefixes : undefined;
|
|
58
81
|
resourceInputs["apiAwsRoleArn"] = args ? args.apiAwsRoleArn : undefined;
|
|
59
82
|
resourceInputs["apiBlockedPrefixes"] = args ? args.apiBlockedPrefixes : undefined;
|
|
83
|
+
resourceInputs["apiKey"] = (args === null || args === void 0 ? void 0 : args.apiKey) ? pulumi.secret(args.apiKey) : undefined;
|
|
60
84
|
resourceInputs["apiProvider"] = args ? args.apiProvider : undefined;
|
|
61
85
|
resourceInputs["azureAdApplicationId"] = args ? args.azureAdApplicationId : undefined;
|
|
62
86
|
resourceInputs["azureTenantId"] = args ? args.azureTenantId : undefined;
|
|
@@ -69,30 +93,10 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
69
93
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
70
94
|
}
|
|
71
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
const secretOpts = { additionalSecretOutputs: ["apiKey"] };
|
|
97
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
72
98
|
super(ApiIntegration.__pulumiType, name, resourceInputs, opts);
|
|
73
99
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Get an existing ApiIntegration resource's state with the given name, ID, and optional extra
|
|
76
|
-
* properties used to qualify the lookup.
|
|
77
|
-
*
|
|
78
|
-
* @param name The _unique_ name of the resulting resource.
|
|
79
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
-
* @param state Any extra arguments used during the lookup.
|
|
81
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
-
*/
|
|
83
|
-
static get(name, id, state, opts) {
|
|
84
|
-
return new ApiIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Returns true if the given object is an instance of ApiIntegration. This is designed to work even
|
|
88
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
-
*/
|
|
90
|
-
static isInstance(obj) {
|
|
91
|
-
if (obj === undefined || obj === null) {
|
|
92
|
-
return false;
|
|
93
|
-
}
|
|
94
|
-
return obj['__pulumiType'] === ApiIntegration.__pulumiType;
|
|
95
|
-
}
|
|
96
100
|
}
|
|
97
101
|
exports.ApiIntegration = ApiIntegration;
|
|
98
102
|
/** @internal */
|
package/apiIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;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,KAA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,SAAS,CAAC,OAAO,CAAC;YAC9D,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArIL,wCAsIC;AAxHG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const oauthRedirectUrl: string | undefined;
|
|
|
40
40
|
*/
|
|
41
41
|
export declare const oauthRefreshToken: string | undefined;
|
|
42
42
|
/**
|
|
43
|
-
* Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be
|
|
43
|
+
* Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can be sourced from
|
|
44
44
|
* `SNOWFLAKE_PASSWORD` environment variable.
|
|
45
45
|
*/
|
|
46
46
|
export declare const password: string | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const password: string | undefined;
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const port: number | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be
|
|
53
|
+
* Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can be sourced from
|
|
54
54
|
* `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
55
55
|
*/
|
|
56
56
|
export declare const privateKey: string | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const privateKey: string | undefined;
|
|
|
61
61
|
export declare const privateKeyPassphrase: string | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or
|
|
64
|
-
* `password`. Can be
|
|
64
|
+
* `password`. Can be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
65
65
|
*/
|
|
66
66
|
export declare const privateKeyPath: string | undefined;
|
|
67
67
|
/**
|
|
@@ -69,12 +69,14 @@ export declare const privateKeyPath: string | undefined;
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const protocol: string | undefined;
|
|
71
71
|
/**
|
|
72
|
-
* [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use.
|
|
73
|
-
* `
|
|
72
|
+
* [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
73
|
+
* format for the `account`
|
|
74
|
+
* identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
75
|
+
* in the form of `<cloud_region_id>.<cloud>`. Can be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
74
76
|
*/
|
|
75
77
|
export declare const region: string | undefined;
|
|
76
78
|
/**
|
|
77
|
-
* Snowflake role to use for operations. If left unset, default role for user will be used. Can
|
|
79
|
+
* Snowflake role to use for operations. If left unset, default role for user will be used. Can be sourced from the
|
|
78
80
|
* `SNOWFLAKE_ROLE` environment variable.
|
|
79
81
|
*/
|
|
80
82
|
export declare const role: string | undefined;
|
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;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAMhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAA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
|
|
59
59
|
*/
|
|
60
60
|
static isInstance(obj: any): obj is Database;
|
|
61
61
|
readonly comment: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database, schema, or table. For more information, see Understanding & Using Time Travel.
|
|
64
|
+
*/
|
|
62
65
|
readonly dataRetentionTimeInDays: pulumi.Output<number>;
|
|
63
66
|
/**
|
|
64
67
|
* Specify a database to create a clone from.
|
|
@@ -103,6 +106,9 @@ export declare class Database extends pulumi.CustomResource {
|
|
|
103
106
|
*/
|
|
104
107
|
export interface DatabaseState {
|
|
105
108
|
comment?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database, schema, or table. For more information, see Understanding & Using Time Travel.
|
|
111
|
+
*/
|
|
106
112
|
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
107
113
|
/**
|
|
108
114
|
* Specify a database to create a clone from.
|
|
@@ -139,6 +145,9 @@ export interface DatabaseState {
|
|
|
139
145
|
*/
|
|
140
146
|
export interface DatabaseArgs {
|
|
141
147
|
comment?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database, schema, or table. For more information, see Understanding & Using Time Travel.
|
|
150
|
+
*/
|
|
142
151
|
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
143
152
|
/**
|
|
144
153
|
* Specify a database to create a clone from.
|
package/database.js
CHANGED
|
@@ -47,6 +47,28 @@ const utilities = require("./utilities");
|
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
49
|
class Database extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new Database(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === Database.__pulumiType;
|
|
71
|
+
}
|
|
50
72
|
constructor(name, argsOrState, opts) {
|
|
51
73
|
let resourceInputs = {};
|
|
52
74
|
opts = opts || {};
|
|
@@ -77,28 +99,6 @@ class Database extends pulumi.CustomResource {
|
|
|
77
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
100
|
super(Database.__pulumiType, name, resourceInputs, opts);
|
|
79
101
|
}
|
|
80
|
-
/**
|
|
81
|
-
* Get an existing Database resource's state with the given name, ID, and optional extra
|
|
82
|
-
* properties used to qualify the lookup.
|
|
83
|
-
*
|
|
84
|
-
* @param name The _unique_ name of the resulting resource.
|
|
85
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
-
* @param state Any extra arguments used during the lookup.
|
|
87
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
-
*/
|
|
89
|
-
static get(name, id, state, opts) {
|
|
90
|
-
return new Database(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Returns true if the given object is an instance of Database. This is designed to work even
|
|
94
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
-
*/
|
|
96
|
-
static isInstance(obj) {
|
|
97
|
-
if (obj === undefined || obj === null) {
|
|
98
|
-
return false;
|
|
99
|
-
}
|
|
100
|
-
return obj['__pulumiType'] === Database.__pulumiType;
|
|
101
|
-
}
|
|
102
102
|
}
|
|
103
103
|
exports.Database = Database;
|
|
104
104
|
/** @internal */
|
package/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2CD,YAAY,IAAY,EA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package/databaseGrant.d.ts
CHANGED
package/databaseGrant.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
14
14
|
*
|
|
15
15
|
* const grant = new snowflake.DatabaseGrant("grant", {
|
|
16
|
-
* databaseName: "
|
|
16
|
+
* databaseName: "database",
|
|
17
17
|
* privilege: "USAGE",
|
|
18
18
|
* roles: [
|
|
19
19
|
* "role1",
|
|
@@ -36,6 +36,28 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
class DatabaseGrant extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing DatabaseGrant resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new DatabaseGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of DatabaseGrant. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === DatabaseGrant.__pulumiType;
|
|
60
|
+
}
|
|
39
61
|
constructor(name, argsOrState, opts) {
|
|
40
62
|
let resourceInputs = {};
|
|
41
63
|
opts = opts || {};
|
|
@@ -63,28 +85,6 @@ class DatabaseGrant extends pulumi.CustomResource {
|
|
|
63
85
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
86
|
super(DatabaseGrant.__pulumiType, name, resourceInputs, opts);
|
|
65
87
|
}
|
|
66
|
-
/**
|
|
67
|
-
* Get an existing DatabaseGrant resource's state with the given name, ID, and optional extra
|
|
68
|
-
* properties used to qualify the lookup.
|
|
69
|
-
*
|
|
70
|
-
* @param name The _unique_ name of the resulting resource.
|
|
71
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
-
* @param state Any extra arguments used during the lookup.
|
|
73
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
-
*/
|
|
75
|
-
static get(name, id, state, opts) {
|
|
76
|
-
return new DatabaseGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Returns true if the given object is an instance of DatabaseGrant. This is designed to work even
|
|
80
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
-
*/
|
|
82
|
-
static isInstance(obj) {
|
|
83
|
-
if (obj === undefined || obj === null) {
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
return obj['__pulumiType'] === DatabaseGrant.__pulumiType;
|
|
87
|
-
}
|
|
88
88
|
}
|
|
89
89
|
exports.DatabaseGrant = DatabaseGrant;
|
|
90
90
|
/** @internal */
|
package/databaseGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseGrant.js","sourceRoot":"","sources":["../databaseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"databaseGrant.js","sourceRoot":"","sources":["../databaseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AA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G,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/externalFunction.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* ],
|
|
23
23
|
* database: "my_test_db",
|
|
24
24
|
* returnBehavior: "IMMUTABLE",
|
|
25
|
-
* returnType: "
|
|
25
|
+
* returnType: "variant",
|
|
26
26
|
* schema: "my_test_schema",
|
|
27
27
|
* urlOfProxyAndResource: "https://123456.execute-api.us-west-2.amazonaws.com/prod/test_func",
|
|
28
28
|
* });
|
package/externalFunction.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* ],
|
|
27
27
|
* database: "my_test_db",
|
|
28
28
|
* returnBehavior: "IMMUTABLE",
|
|
29
|
-
* returnType: "
|
|
29
|
+
* returnType: "variant",
|
|
30
30
|
* schema: "my_test_schema",
|
|
31
31
|
* urlOfProxyAndResource: "https://123456.execute-api.us-west-2.amazonaws.com/prod/test_func",
|
|
32
32
|
* });
|
|
@@ -41,6 +41,28 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
43
|
class ExternalFunction extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing ExternalFunction resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new ExternalFunction(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of ExternalFunction. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === ExternalFunction.__pulumiType;
|
|
65
|
+
}
|
|
44
66
|
constructor(name, argsOrState, opts) {
|
|
45
67
|
let resourceInputs = {};
|
|
46
68
|
opts = opts || {};
|
|
@@ -103,28 +125,6 @@ class ExternalFunction extends pulumi.CustomResource {
|
|
|
103
125
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
126
|
super(ExternalFunction.__pulumiType, name, resourceInputs, opts);
|
|
105
127
|
}
|
|
106
|
-
/**
|
|
107
|
-
* Get an existing ExternalFunction resource's state with the given name, ID, and optional extra
|
|
108
|
-
* properties used to qualify the lookup.
|
|
109
|
-
*
|
|
110
|
-
* @param name The _unique_ name of the resulting resource.
|
|
111
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
112
|
-
* @param state Any extra arguments used during the lookup.
|
|
113
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
114
|
-
*/
|
|
115
|
-
static get(name, id, state, opts) {
|
|
116
|
-
return new ExternalFunction(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Returns true if the given object is an instance of ExternalFunction. This is designed to work even
|
|
120
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
121
|
-
*/
|
|
122
|
-
static isInstance(obj) {
|
|
123
|
-
if (obj === undefined || obj === null) {
|
|
124
|
-
return false;
|
|
125
|
-
}
|
|
126
|
-
return obj['__pulumiType'] === ExternalFunction.__pulumiType;
|
|
127
|
-
}
|
|
128
128
|
}
|
|
129
129
|
exports.ExternalFunction = ExternalFunction;
|
|
130
130
|
/** @internal */
|
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;
|
|
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;IA2ED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,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;;AAjKL,4CAkKC;AApJG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -30,6 +30,28 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing ExternalOauthIntegration resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new ExternalOauthIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of ExternalOauthIntegration. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === ExternalOauthIntegration.__pulumiType;
|
|
54
|
+
}
|
|
33
55
|
constructor(name, argsOrState, opts) {
|
|
34
56
|
let resourceInputs = {};
|
|
35
57
|
opts = opts || {};
|
|
@@ -89,28 +111,6 @@ class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
|
89
111
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
112
|
super(ExternalOauthIntegration.__pulumiType, name, resourceInputs, opts);
|
|
91
113
|
}
|
|
92
|
-
/**
|
|
93
|
-
* Get an existing ExternalOauthIntegration resource's state with the given name, ID, and optional extra
|
|
94
|
-
* properties used to qualify the lookup.
|
|
95
|
-
*
|
|
96
|
-
* @param name The _unique_ name of the resulting resource.
|
|
97
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
-
* @param state Any extra arguments used during the lookup.
|
|
99
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
-
*/
|
|
101
|
-
static get(name, id, state, opts) {
|
|
102
|
-
return new ExternalOauthIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Returns true if the given object is an instance of ExternalOauthIntegration. This is designed to work even
|
|
106
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
-
*/
|
|
108
|
-
static isInstance(obj) {
|
|
109
|
-
if (obj === undefined || obj === null) {
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
|
-
return obj['__pulumiType'] === ExternalOauthIntegration.__pulumiType;
|
|
113
|
-
}
|
|
114
114
|
}
|
|
115
115
|
exports.ExternalOauthIntegration = ExternalOauthIntegration;
|
|
116
116
|
/** @internal */
|