@pulumi/snowflake 0.56.0-alpha.1721327760 → 0.56.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/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +195 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +91 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -0
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +183 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js +89 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -0
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +186 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js +94 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -0
- package/cortexSearchService.d.ts +159 -0
- package/cortexSearchService.js +92 -0
- package/cortexSearchService.js.map +1 -0
- package/database.d.ts +240 -77
- package/database.js +94 -45
- package/database.js.map +1 -1
- package/databaseOld.d.ts +187 -0
- package/databaseOld.js +110 -0
- package/databaseOld.js.map +1 -0
- package/externalOauthIntegration.d.ts +118 -116
- package/externalOauthIntegration.js +43 -55
- package/externalOauthIntegration.js.map +1 -1
- package/failoverGroup.d.ts +1 -1
- package/failoverGroup.js +1 -1
- package/getCortexSearchServices.d.ts +136 -0
- package/getCortexSearchServices.js +83 -0
- package/getCortexSearchServices.js.map +1 -0
- package/getDatabases.d.ts +41 -38
- package/getDatabases.js +8 -17
- package/getDatabases.js.map +1 -1
- package/getSecurityIntegrations.d.ts +61 -0
- package/getSecurityIntegrations.js +31 -0
- package/getSecurityIntegrations.js.map +1 -0
- package/getWarehouses.d.ts +53 -17
- package/getWarehouses.js +13 -18
- package/getWarehouses.js.map +1 -1
- package/grantPrivilegesToDatabaseRole.d.ts +0 -2
- package/grantPrivilegesToDatabaseRole.js +0 -2
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/index.d.ts +37 -82
- package/index.js +60 -139
- package/index.js.map +1 -1
- package/managedAccount.d.ts +3 -3
- package/oauthIntegration.d.ts +2 -0
- package/oauthIntegration.js +2 -0
- package/oauthIntegration.js.map +1 -1
- package/oauthIntegrationForCustomClients.d.ts +274 -0
- package/oauthIntegrationForCustomClients.js +148 -0
- package/oauthIntegrationForCustomClients.js.map +1 -0
- package/oauthIntegrationForPartnerApplications.d.ts +162 -0
- package/oauthIntegrationForPartnerApplications.js +84 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -0
- package/package.json +2 -2
- package/saml2Integration.d.ts +267 -0
- package/saml2Integration.js +106 -0
- package/saml2Integration.js.map +1 -0
- package/samlIntegration.d.ts +2 -0
- package/samlIntegration.js +2 -0
- package/samlIntegration.js.map +1 -1
- package/scimIntegration.d.ts +67 -33
- package/scimIntegration.js +19 -20
- package/scimIntegration.js.map +1 -1
- package/secondaryDatabase.d.ts +289 -0
- package/secondaryDatabase.js +103 -0
- package/secondaryDatabase.js.map +1 -0
- package/sequence.d.ts +3 -3
- package/sequence.js +3 -3
- package/sharedDatabase.d.ts +251 -0
- package/sharedDatabase.js +95 -0
- package/sharedDatabase.js.map +1 -0
- package/tagAssociation.d.ts +19 -19
- package/tagAssociation.js +19 -19
- package/types/input.d.ts +1015 -75
- package/types/output.d.ts +1835 -280
- package/userPasswordPolicyAttachment.d.ts +18 -0
- package/userPasswordPolicyAttachment.js +18 -0
- package/userPasswordPolicyAttachment.js.map +1 -1
- package/warehouse.d.ts +61 -48
- package/warehouse.js +8 -2
- package/warehouse.js.map +1 -1
- package/accountGrant.d.ts +0 -102
- package/accountGrant.js +0 -82
- package/accountGrant.js.map +0 -1
- package/databaseGrant.d.ts +0 -143
- package/databaseGrant.js +0 -96
- package/databaseGrant.js.map +0 -1
- package/externalTableGrant.d.ts +0 -194
- package/externalTableGrant.js +0 -110
- package/externalTableGrant.js.map +0 -1
- package/failoverGroupGrant.d.ts +0 -102
- package/failoverGroupGrant.js +0 -65
- package/failoverGroupGrant.js.map +0 -1
- package/fileFormatGrant.d.ts +0 -178
- package/fileFormatGrant.js +0 -104
- package/fileFormatGrant.js.map +0 -1
- package/functionGrant.d.ts +0 -210
- package/functionGrant.js +0 -116
- package/functionGrant.js.map +0 -1
- package/grantPrivilegesToRole.d.ts +0 -323
- package/grantPrivilegesToRole.js +0 -255
- package/grantPrivilegesToRole.js.map +0 -1
- package/integrationGrant.d.ts +0 -127
- package/integrationGrant.js +0 -90
- package/integrationGrant.js.map +0 -1
- package/maskingPolicyGrant.d.ts +0 -154
- package/maskingPolicyGrant.js +0 -103
- package/maskingPolicyGrant.js.map +0 -1
- package/materializedViewGrant.d.ts +0 -194
- package/materializedViewGrant.js +0 -107
- package/materializedViewGrant.js.map +0 -1
- package/pipeGrant.d.ts +0 -166
- package/pipeGrant.js +0 -99
- package/pipeGrant.js.map +0 -1
- package/procedureGrant.d.ts +0 -210
- package/procedureGrant.js +0 -116
- package/procedureGrant.js.map +0 -1
- package/resourceMonitorGrant.d.ts +0 -112
- package/resourceMonitorGrant.js +0 -85
- package/resourceMonitorGrant.js.map +0 -1
- package/roleGrants.d.ts +0 -115
- package/roleGrants.js +0 -98
- package/roleGrants.js.map +0 -1
- package/roleOwnershipGrant.d.ts +0 -108
- package/roleOwnershipGrant.js +0 -94
- package/roleOwnershipGrant.js.map +0 -1
- package/rowAccessPolicyGrant.d.ts +0 -153
- package/rowAccessPolicyGrant.js +0 -102
- package/rowAccessPolicyGrant.js.map +0 -1
- package/schemaGrant.d.ts +0 -172
- package/schemaGrant.js +0 -104
- package/schemaGrant.js.map +0 -1
- package/sequenceGrant.d.ts +0 -178
- package/sequenceGrant.js +0 -104
- package/sequenceGrant.js.map +0 -1
- package/stageGrant.d.ts +0 -178
- package/stageGrant.js +0 -104
- package/stageGrant.js.map +0 -1
- package/streamGrant.d.ts +0 -178
- package/streamGrant.js +0 -104
- package/streamGrant.js.map +0 -1
- package/tableGrant.d.ts +0 -188
- package/tableGrant.js +0 -101
- package/tableGrant.js.map +0 -1
- package/tagGrant.d.ts +0 -149
- package/tagGrant.js +0 -98
- package/tagGrant.js.map +0 -1
- package/taskGrant.d.ts +0 -178
- package/taskGrant.js +0 -104
- package/taskGrant.js.map +0 -1
- package/userGrant.d.ts +0 -115
- package/userGrant.js +0 -91
- package/userGrant.js.map +0 -1
- package/userOwnershipGrant.d.ts +0 -78
- package/userOwnershipGrant.js +0 -64
- package/userOwnershipGrant.js.map +0 -1
- package/viewGrant.d.ts +0 -205
- package/viewGrant.js +0 -118
- package/viewGrant.js.map +0 -1
- package/warehouseGrant.d.ts +0 -127
- package/warehouseGrant.js +0 -90
- package/warehouseGrant.js.map +0 -1
|
@@ -0,0 +1,106 @@
|
|
|
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.Saml2Integration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* !> **V1 release candidate** This resource 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. Please follow the migration guide to use it.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import snowflake:index/saml2Integration:Saml2Integration example "name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Saml2Integration extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Saml2Integration resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Saml2Integration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Saml2Integration. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Saml2Integration.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["allowedEmailPatterns"] = state ? state.allowedEmailPatterns : undefined;
|
|
46
|
+
resourceInputs["allowedUserDomains"] = state ? state.allowedUserDomains : undefined;
|
|
47
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
48
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
49
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["saml2EnableSpInitiated"] = state ? state.saml2EnableSpInitiated : undefined;
|
|
52
|
+
resourceInputs["saml2ForceAuthn"] = state ? state.saml2ForceAuthn : undefined;
|
|
53
|
+
resourceInputs["saml2Issuer"] = state ? state.saml2Issuer : undefined;
|
|
54
|
+
resourceInputs["saml2PostLogoutRedirectUrl"] = state ? state.saml2PostLogoutRedirectUrl : undefined;
|
|
55
|
+
resourceInputs["saml2Provider"] = state ? state.saml2Provider : undefined;
|
|
56
|
+
resourceInputs["saml2RequestedNameidFormat"] = state ? state.saml2RequestedNameidFormat : undefined;
|
|
57
|
+
resourceInputs["saml2SignRequest"] = state ? state.saml2SignRequest : undefined;
|
|
58
|
+
resourceInputs["saml2SnowflakeAcsUrl"] = state ? state.saml2SnowflakeAcsUrl : undefined;
|
|
59
|
+
resourceInputs["saml2SnowflakeIssuerUrl"] = state ? state.saml2SnowflakeIssuerUrl : undefined;
|
|
60
|
+
resourceInputs["saml2SpInitiatedLoginPageLabel"] = state ? state.saml2SpInitiatedLoginPageLabel : undefined;
|
|
61
|
+
resourceInputs["saml2SsoUrl"] = state ? state.saml2SsoUrl : undefined;
|
|
62
|
+
resourceInputs["saml2X509Cert"] = state ? state.saml2X509Cert : undefined;
|
|
63
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.saml2Issuer === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'saml2Issuer'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.saml2Provider === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'saml2Provider'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.saml2SsoUrl === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'saml2SsoUrl'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.saml2X509Cert === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'saml2X509Cert'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["allowedEmailPatterns"] = args ? args.allowedEmailPatterns : undefined;
|
|
80
|
+
resourceInputs["allowedUserDomains"] = args ? args.allowedUserDomains : undefined;
|
|
81
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
82
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
83
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
84
|
+
resourceInputs["saml2EnableSpInitiated"] = args ? args.saml2EnableSpInitiated : undefined;
|
|
85
|
+
resourceInputs["saml2ForceAuthn"] = args ? args.saml2ForceAuthn : undefined;
|
|
86
|
+
resourceInputs["saml2Issuer"] = args ? args.saml2Issuer : undefined;
|
|
87
|
+
resourceInputs["saml2PostLogoutRedirectUrl"] = args ? args.saml2PostLogoutRedirectUrl : undefined;
|
|
88
|
+
resourceInputs["saml2Provider"] = args ? args.saml2Provider : undefined;
|
|
89
|
+
resourceInputs["saml2RequestedNameidFormat"] = args ? args.saml2RequestedNameidFormat : undefined;
|
|
90
|
+
resourceInputs["saml2SignRequest"] = args ? args.saml2SignRequest : undefined;
|
|
91
|
+
resourceInputs["saml2SnowflakeAcsUrl"] = args ? args.saml2SnowflakeAcsUrl : undefined;
|
|
92
|
+
resourceInputs["saml2SnowflakeIssuerUrl"] = args ? args.saml2SnowflakeIssuerUrl : undefined;
|
|
93
|
+
resourceInputs["saml2SpInitiatedLoginPageLabel"] = args ? args.saml2SpInitiatedLoginPageLabel : undefined;
|
|
94
|
+
resourceInputs["saml2SsoUrl"] = args ? args.saml2SsoUrl : undefined;
|
|
95
|
+
resourceInputs["saml2X509Cert"] = args ? args.saml2X509Cert : undefined;
|
|
96
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(Saml2Integration.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.Saml2Integration = Saml2Integration;
|
|
104
|
+
/** @internal */
|
|
105
|
+
Saml2Integration.__pulumiType = 'snowflake:index/saml2Integration:Saml2Integration';
|
|
106
|
+
//# sourceMappingURL=saml2Integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saml2Integration.js","sourceRoot":"","sources":["../saml2Integration.ts"],"names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AAC;YAC9E,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1G,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7KL,4CA8KC;AAhKG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/samlIntegration.d.ts
CHANGED
package/samlIntegration.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.SamlIntegration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.Saml2Integration instead. <deprecation>
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ```typescript
|
package/samlIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"samlIntegration.js","sourceRoot":"","sources":["../samlIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"samlIntegration.js","sourceRoot":"","sources":["../samlIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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;IAChE,CAAC;IAiFD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC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
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
8
|
-
*
|
|
9
|
-
* const aad = new snowflake.ScimIntegration("aad", {
|
|
10
|
-
* name: "AAD_PROVISIONING",
|
|
11
|
-
* networkPolicy: "AAD_NETWORK_POLICY",
|
|
12
|
-
* provisionerRole: "AAD_PROVISIONER",
|
|
13
|
-
* scimClient: "AZURE",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
5
|
+
* !> **V1 release candidate** This resource 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. Please follow the migration guide to use it.
|
|
16
6
|
*
|
|
17
7
|
* ## Import
|
|
18
8
|
*
|
|
19
9
|
* ```sh
|
|
20
|
-
* $ pulumi import snowflake:index/scimIntegration:ScimIntegration example name
|
|
10
|
+
* $ pulumi import snowflake:index/scimIntegration:ScimIntegration example "name"
|
|
21
11
|
* ```
|
|
22
12
|
*/
|
|
23
13
|
export declare class ScimIntegration extends pulumi.CustomResource {
|
|
@@ -37,25 +27,41 @@ export declare class ScimIntegration extends pulumi.CustomResource {
|
|
|
37
27
|
*/
|
|
38
28
|
static isInstance(obj: any): obj is ScimIntegration;
|
|
39
29
|
/**
|
|
40
|
-
*
|
|
30
|
+
* Specifies a comment for the integration.
|
|
31
|
+
*/
|
|
32
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
35
|
+
*/
|
|
36
|
+
readonly describeOutputs: pulumi.Output<outputs.ScimIntegrationDescribeOutput[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Specify whether the security integration is enabled.
|
|
41
39
|
*/
|
|
42
|
-
readonly
|
|
40
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
43
41
|
/**
|
|
44
|
-
*
|
|
42
|
+
* String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
45
43
|
*/
|
|
46
44
|
readonly name: pulumi.Output<string>;
|
|
47
45
|
/**
|
|
48
|
-
* Specifies an existing network policy
|
|
46
|
+
* Specifies an existing network policy that controls SCIM network traffic.
|
|
49
47
|
*/
|
|
50
48
|
readonly networkPolicy: pulumi.Output<string | undefined>;
|
|
51
49
|
/**
|
|
52
|
-
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM.
|
|
50
|
+
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: [OKTA*PROVISIONER AAD*PROVISIONER GENERIC*SCIM*PROVISIONER].
|
|
53
51
|
*/
|
|
54
|
-
readonly
|
|
52
|
+
readonly runAsRole: pulumi.Output<string>;
|
|
55
53
|
/**
|
|
56
|
-
* Specifies the client type for the scim integration
|
|
54
|
+
* Specifies the client type for the scim integration. Valid options are: [OKTA AZURE GENERIC].
|
|
57
55
|
*/
|
|
58
56
|
readonly scimClient: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
59
|
+
*/
|
|
60
|
+
readonly showOutputs: pulumi.Output<outputs.ScimIntegrationShowOutput[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. 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.
|
|
63
|
+
*/
|
|
64
|
+
readonly syncPassword: pulumi.Output<string | undefined>;
|
|
59
65
|
/**
|
|
60
66
|
* Create a ScimIntegration resource with the given unique name, arguments, and options.
|
|
61
67
|
*
|
|
@@ -70,44 +76,72 @@ export declare class ScimIntegration extends pulumi.CustomResource {
|
|
|
70
76
|
*/
|
|
71
77
|
export interface ScimIntegrationState {
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Specifies a comment for the integration.
|
|
80
|
+
*/
|
|
81
|
+
comment?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
74
84
|
*/
|
|
75
|
-
|
|
85
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.ScimIntegrationDescribeOutput>[]>;
|
|
76
86
|
/**
|
|
77
|
-
*
|
|
87
|
+
* Specify whether the security integration is enabled.
|
|
88
|
+
*/
|
|
89
|
+
enabled?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
78
92
|
*/
|
|
79
93
|
name?: pulumi.Input<string>;
|
|
80
94
|
/**
|
|
81
|
-
* Specifies an existing network policy
|
|
95
|
+
* Specifies an existing network policy that controls SCIM network traffic.
|
|
82
96
|
*/
|
|
83
97
|
networkPolicy?: pulumi.Input<string>;
|
|
84
98
|
/**
|
|
85
|
-
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM.
|
|
99
|
+
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: [OKTA*PROVISIONER AAD*PROVISIONER GENERIC*SCIM*PROVISIONER].
|
|
86
100
|
*/
|
|
87
|
-
|
|
101
|
+
runAsRole?: pulumi.Input<string>;
|
|
88
102
|
/**
|
|
89
|
-
* Specifies the client type for the scim integration
|
|
103
|
+
* Specifies the client type for the scim integration. Valid options are: [OKTA AZURE GENERIC].
|
|
90
104
|
*/
|
|
91
105
|
scimClient?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
108
|
+
*/
|
|
109
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.ScimIntegrationShowOutput>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. 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.
|
|
112
|
+
*/
|
|
113
|
+
syncPassword?: pulumi.Input<string>;
|
|
92
114
|
}
|
|
93
115
|
/**
|
|
94
116
|
* The set of arguments for constructing a ScimIntegration resource.
|
|
95
117
|
*/
|
|
96
118
|
export interface ScimIntegrationArgs {
|
|
97
119
|
/**
|
|
98
|
-
* Specifies
|
|
120
|
+
* Specifies a comment for the integration.
|
|
121
|
+
*/
|
|
122
|
+
comment?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Specify whether the security integration is enabled.
|
|
125
|
+
*/
|
|
126
|
+
enabled: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* String that specifies the identifier (i.e. name) for the integration; must be unique in your account.
|
|
99
129
|
*/
|
|
100
130
|
name?: pulumi.Input<string>;
|
|
101
131
|
/**
|
|
102
|
-
* Specifies an existing network policy
|
|
132
|
+
* Specifies an existing network policy that controls SCIM network traffic.
|
|
103
133
|
*/
|
|
104
134
|
networkPolicy?: pulumi.Input<string>;
|
|
105
135
|
/**
|
|
106
|
-
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM.
|
|
136
|
+
* Specify the SCIM role in Snowflake that owns any users and roles that are imported from the identity provider into Snowflake using SCIM. Provider assumes that the specified role is already provided. Valid options are: [OKTA*PROVISIONER AAD*PROVISIONER GENERIC*SCIM*PROVISIONER].
|
|
107
137
|
*/
|
|
108
|
-
|
|
138
|
+
runAsRole: pulumi.Input<string>;
|
|
109
139
|
/**
|
|
110
|
-
* Specifies the client type for the scim integration
|
|
140
|
+
* Specifies the client type for the scim integration. Valid options are: [OKTA AZURE GENERIC].
|
|
111
141
|
*/
|
|
112
142
|
scimClient: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies whether to enable or disable the synchronization of a user password from an Okta SCIM client as part of the API request to Snowflake. 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.
|
|
145
|
+
*/
|
|
146
|
+
syncPassword?: pulumi.Input<string>;
|
|
113
147
|
}
|
package/scimIntegration.js
CHANGED
|
@@ -6,24 +6,12 @@ exports.ScimIntegration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
-
*
|
|
15
|
-
* const aad = new snowflake.ScimIntegration("aad", {
|
|
16
|
-
* name: "AAD_PROVISIONING",
|
|
17
|
-
* networkPolicy: "AAD_NETWORK_POLICY",
|
|
18
|
-
* provisionerRole: "AAD_PROVISIONER",
|
|
19
|
-
* scimClient: "AZURE",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
9
|
+
* !> **V1 release candidate** This resource 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. Please follow the migration guide to use it.
|
|
22
10
|
*
|
|
23
11
|
* ## Import
|
|
24
12
|
*
|
|
25
13
|
* ```sh
|
|
26
|
-
* $ pulumi import snowflake:index/scimIntegration:ScimIntegration example name
|
|
14
|
+
* $ pulumi import snowflake:index/scimIntegration:ScimIntegration example "name"
|
|
27
15
|
* ```
|
|
28
16
|
*/
|
|
29
17
|
class ScimIntegration extends pulumi.CustomResource {
|
|
@@ -54,25 +42,36 @@ class ScimIntegration extends pulumi.CustomResource {
|
|
|
54
42
|
opts = opts || {};
|
|
55
43
|
if (opts.id) {
|
|
56
44
|
const state = argsOrState;
|
|
57
|
-
resourceInputs["
|
|
45
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
46
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
47
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
58
48
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
59
49
|
resourceInputs["networkPolicy"] = state ? state.networkPolicy : undefined;
|
|
60
|
-
resourceInputs["
|
|
50
|
+
resourceInputs["runAsRole"] = state ? state.runAsRole : undefined;
|
|
61
51
|
resourceInputs["scimClient"] = state ? state.scimClient : undefined;
|
|
52
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
53
|
+
resourceInputs["syncPassword"] = state ? state.syncPassword : undefined;
|
|
62
54
|
}
|
|
63
55
|
else {
|
|
64
56
|
const args = argsOrState;
|
|
65
|
-
if ((!args || args.
|
|
66
|
-
throw new Error("Missing required property '
|
|
57
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'enabled'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.runAsRole === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'runAsRole'");
|
|
67
62
|
}
|
|
68
63
|
if ((!args || args.scimClient === undefined) && !opts.urn) {
|
|
69
64
|
throw new Error("Missing required property 'scimClient'");
|
|
70
65
|
}
|
|
66
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
67
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
71
68
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
72
69
|
resourceInputs["networkPolicy"] = args ? args.networkPolicy : undefined;
|
|
73
|
-
resourceInputs["
|
|
70
|
+
resourceInputs["runAsRole"] = args ? args.runAsRole : undefined;
|
|
74
71
|
resourceInputs["scimClient"] = args ? args.scimClient : undefined;
|
|
75
|
-
resourceInputs["
|
|
72
|
+
resourceInputs["syncPassword"] = args ? args.syncPassword : undefined;
|
|
73
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
76
75
|
}
|
|
77
76
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
77
|
super(ScimIntegration.__pulumiType, name, resourceInputs, opts);
|
package/scimIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scimIntegration.js","sourceRoot":"","sources":["../scimIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"scimIntegration.js","sourceRoot":"","sources":["../scimIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;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;IAChE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAA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