@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.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/account.d.ts +40 -86
- package/account.js +12 -5
- package/account.js.map +1 -1
- package/accountParameter.d.ts +7 -7
- package/accountParameter.js +1 -1
- package/accountRole.d.ts +4 -4
- package/accountRole.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
- package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
- package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/authenticationPolicy.d.ts +9 -9
- package/config/vars.d.ts +6 -74
- package/config/vars.js +6 -83
- package/config/vars.js.map +1 -1
- package/database.d.ts +4 -4
- package/database.js +1 -1
- package/databaseRole.d.ts +6 -6
- package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
- package/{unsafeExecute.js → execute.js} +17 -10
- package/execute.js.map +1 -0
- package/externalOauthIntegration.d.ts +12 -12
- package/externalOauthIntegration.js +1 -1
- package/externalVolume.d.ts +5 -3
- package/externalVolume.js +2 -0
- package/externalVolume.js.map +1 -1
- package/functionJava.d.ts +324 -0
- package/{function.js → functionJava.js} +40 -22
- package/functionJava.js.map +1 -0
- package/functionJavascript.d.ts +240 -0
- package/functionJavascript.js +106 -0
- package/functionJavascript.js.map +1 -0
- package/functionPython.d.ts +324 -0
- package/functionPython.js +123 -0
- package/functionPython.js.map +1 -0
- package/functionScala.d.ts +324 -0
- package/functionScala.js +123 -0
- package/functionScala.js.map +1 -0
- package/functionSql.d.ts +228 -0
- package/functionSql.js +104 -0
- package/functionSql.js.map +1 -0
- package/getAccountRoles.d.ts +57 -0
- package/getAccountRoles.js +32 -0
- package/getAccountRoles.js.map +1 -0
- package/getAccounts.d.ts +25 -7
- package/getAccounts.js +10 -2
- package/getAccounts.js.map +1 -1
- package/getAlerts.d.ts +4 -0
- package/getAlerts.js +4 -0
- package/getAlerts.js.map +1 -1
- package/getConnections.d.ts +2 -48
- package/getConnections.js +2 -48
- package/getConnections.js.map +1 -1
- package/getCortexSearchServices.d.ts +4 -0
- package/getCortexSearchServices.js +4 -0
- package/getCortexSearchServices.js.map +1 -1
- package/getCurrentAccount.d.ts +4 -0
- package/getCurrentAccount.js +4 -0
- package/getCurrentAccount.js.map +1 -1
- package/getCurrentRole.d.ts +6 -0
- package/getCurrentRole.js +6 -0
- package/getCurrentRole.js.map +1 -1
- package/getDatabase.d.ts +4 -0
- package/getDatabase.js +4 -0
- package/getDatabase.js.map +1 -1
- package/getDatabaseRole.d.ts +4 -0
- package/getDatabaseRole.js +4 -0
- package/getDatabaseRole.js.map +1 -1
- package/getDatabaseRoles.d.ts +2 -6
- package/getDatabaseRoles.js +2 -6
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.d.ts +2 -6
- package/getDatabases.js +2 -6
- package/getDatabases.js.map +1 -1
- package/getDynamicTables.d.ts +6 -0
- package/getDynamicTables.js +6 -0
- package/getDynamicTables.js.map +1 -1
- package/getExternalFunctions.d.ts +4 -0
- package/getExternalFunctions.js +4 -0
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +4 -0
- package/getExternalTables.js +4 -0
- package/getExternalTables.js.map +1 -1
- package/getFailoverGroups.d.ts +6 -0
- package/getFailoverGroups.js +6 -0
- package/getFailoverGroups.js.map +1 -1
- package/getFileFormats.d.ts +4 -0
- package/getFileFormats.js +4 -0
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +4 -0
- package/getFunctions.js +4 -0
- package/getFunctions.js.map +1 -1
- package/getGrants.d.ts +0 -4
- package/getGrants.js +0 -4
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +2 -6
- package/getMaskingPolicies.js +2 -6
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +4 -0
- package/getMaterializedViews.js +4 -0
- package/getMaterializedViews.js.map +1 -1
- package/getNetworkPolicies.d.ts +2 -6
- package/getNetworkPolicies.js +2 -6
- package/getNetworkPolicies.js.map +1 -1
- package/getParameters.d.ts +4 -0
- package/getParameters.js +4 -0
- package/getParameters.js.map +1 -1
- package/getPipes.d.ts +4 -0
- package/getPipes.js +4 -0
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +4 -0
- package/getProcedures.js +4 -0
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +2 -6
- package/getResourceMonitors.js +2 -6
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +2 -6
- package/getRowAccessPolicies.js +2 -6
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +6 -4
- package/getSchemas.js +6 -4
- package/getSchemas.js.map +1 -1
- package/getSecrets.d.ts +2 -6
- package/getSecrets.js +2 -6
- package/getSecrets.js.map +1 -1
- package/getSecurityIntegrations.d.ts +2 -6
- package/getSecurityIntegrations.js +2 -6
- package/getSecurityIntegrations.js.map +1 -1
- package/getSequences.d.ts +4 -0
- package/getSequences.js +4 -0
- package/getSequences.js.map +1 -1
- package/getShares.d.ts +4 -0
- package/getShares.js +4 -0
- package/getShares.js.map +1 -1
- package/getStages.d.ts +4 -0
- package/getStages.js +4 -0
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +4 -0
- package/getStorageIntegrations.js +4 -0
- package/getStorageIntegrations.js.map +1 -1
- package/getStreamlits.d.ts +2 -6
- package/getStreamlits.js +2 -6
- package/getStreamlits.js.map +1 -1
- package/getStreams.d.ts +2 -6
- package/getStreams.js +2 -6
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +4 -0
- package/getSystemGenerateScimAccessToken.js +4 -0
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +4 -0
- package/getSystemGetPrivateLinkConfig.js +4 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
- package/getSystemGetSnowflakePlatformInfo.js +6 -0
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
- package/getTables.d.ts +4 -0
- package/getTables.js +4 -0
- package/getTables.js.map +1 -1
- package/getTags.d.ts +2 -6
- package/getTags.js +2 -6
- package/getTags.js.map +1 -1
- package/getTasks.d.ts +0 -4
- package/getTasks.js +0 -4
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +2 -6
- package/getUsers.js +2 -6
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +2 -6
- package/getViews.js +2 -6
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +2 -6
- package/getWarehouses.js +2 -6
- package/getWarehouses.js.map +1 -1
- package/grantAccountRole.d.ts +9 -9
- package/grantApplicationRole.d.ts +3 -3
- package/grantDatabaseRole.d.ts +12 -12
- package/grantOwnership.d.ts +6 -6
- package/grantPrivilegesToAccountRole.d.ts +6 -6
- package/grantPrivilegesToDatabaseRole.d.ts +6 -6
- package/grantPrivilegesToShare.d.ts +18 -18
- package/index.d.ts +36 -36
- package/index.js +62 -60
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +9 -9
- package/maskingPolicy.d.ts +9 -9
- package/networkPolicy.d.ts +10 -10
- package/networkPolicy.js +1 -1
- package/oauthIntegrationForCustomClients.d.ts +23 -15
- package/oauthIntegrationForCustomClients.js +3 -4
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +16 -8
- package/oauthIntegrationForPartnerApplications.js +2 -3
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +7 -0
- package/passwordPolicy.js +7 -0
- package/passwordPolicy.js.map +1 -1
- package/primaryConnection.d.ts +7 -7
- package/primaryConnection.js +1 -1
- package/procedureJava.d.ts +345 -0
- package/procedureJava.js +128 -0
- package/procedureJava.js.map +1 -0
- package/procedureJavascript.d.ts +249 -0
- package/procedureJavascript.js +106 -0
- package/procedureJavascript.js.map +1 -0
- package/procedurePython.d.ts +333 -0
- package/procedurePython.js +126 -0
- package/procedurePython.js.map +1 -0
- package/procedureScala.d.ts +345 -0
- package/procedureScala.js +128 -0
- package/procedureScala.js.map +1 -0
- package/procedureSql.d.ts +249 -0
- package/{procedure.js → procedureSql.js} +36 -32
- package/procedureSql.js.map +1 -0
- package/provider.d.ts +11 -182
- package/provider.js +10 -21
- package/provider.js.map +1 -1
- package/resourceMonitor.d.ts +7 -9
- package/resourceMonitor.js +1 -3
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +9 -9
- package/saml2Integration.d.ts +4 -4
- package/saml2Integration.js +1 -1
- package/schema.d.ts +6 -8
- package/schema.js +0 -2
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +7 -7
- package/scimIntegration.js +1 -1
- package/secondaryConnection.d.ts +7 -7
- package/secondaryConnection.js +1 -1
- package/secondaryDatabase.d.ts +7 -7
- package/secondaryDatabase.js +1 -1
- package/secretWithAuthorizationCodeGrant.d.ts +12 -12
- package/secretWithBasicAuthentication.d.ts +9 -9
- package/secretWithClientCredentials.d.ts +12 -12
- package/secretWithGenericString.d.ts +9 -9
- package/serviceUser.d.ts +9 -9
- package/sharedDatabase.d.ts +7 -7
- package/sharedDatabase.js +1 -1
- package/streamOnDirectoryTable.d.ts +12 -21
- package/streamOnDirectoryTable.js.map +1 -1
- package/streamOnExternalTable.d.ts +12 -21
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.d.ts +12 -21
- package/streamOnTable.js.map +1 -1
- package/streamOnView.d.ts +12 -21
- package/streamOnView.js.map +1 -1
- package/streamlit.d.ts +18 -20
- package/streamlit.js +0 -2
- package/streamlit.js.map +1 -1
- package/tag.d.ts +12 -12
- package/tagAssociation.d.ts +11 -31
- package/tagAssociation.js +2 -4
- package/tagAssociation.js.map +1 -1
- package/task.d.ts +25 -27
- package/task.js +1 -3
- package/task.js.map +1 -1
- package/types/input.d.ts +828 -47
- package/types/output.d.ts +846 -94
- package/user.d.ts +9 -9
- package/view.d.ts +12 -21
- package/view.js.map +1 -1
- package/warehouse.d.ts +7 -7
- package/warehouse.js +1 -1
- package/databaseOld.d.ts +0 -147
- package/databaseOld.js +0 -70
- package/databaseOld.js.map +0 -1
- package/function.d.ts +0 -247
- package/function.js.map +0 -1
- package/getRole.d.ts +0 -66
- package/getRole.js +0 -50
- package/getRole.js.map +0 -1
- package/getRoles.d.ts +0 -61
- package/getRoles.js +0 -36
- package/getRoles.js.map +0 -1
- package/oauthIntegration.d.ts +0 -171
- package/oauthIntegration.js +0 -79
- package/oauthIntegration.js.map +0 -1
- package/procedure.d.ts +0 -253
- package/procedure.js.map +0 -1
- package/role.d.ts +0 -76
- package/role.js +0 -62
- package/role.js.map +0 -1
- package/samlIntegration.d.ts +0 -243
- package/samlIntegration.js +0 -104
- package/samlIntegration.js.map +0 -1
- package/sessionParameter.d.ts +0 -91
- package/sessionParameter.js +0 -68
- package/sessionParameter.js.map +0 -1
- package/stream.d.ts +0 -181
- package/stream.js +0 -86
- package/stream.js.map +0 -1
- package/tagMaskingPolicyAssociation.d.ts +0 -69
- package/tagMaskingPolicyAssociation.js +0 -66
- package/tagMaskingPolicyAssociation.js.map +0 -1
- package/unsafeExecute.js.map +0 -1
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials example "
|
|
8
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials example '"<integration_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class ApiAuthenticationIntegrationWithClientCredentials extends pulumi.CustomResource {
|
|
@@ -41,7 +41,7 @@ export declare class ApiAuthenticationIntegrationWithClientCredentials extends p
|
|
|
41
41
|
*/
|
|
42
42
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
44
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -60,9 +60,6 @@ export declare class ApiAuthenticationIntegrationWithClientCredentials extends p
|
|
|
60
60
|
* Specifies the client ID for the OAuth application in the external service.
|
|
61
61
|
*/
|
|
62
62
|
readonly oauthClientId: pulumi.Output<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
65
|
-
*/
|
|
66
63
|
readonly oauthClientSecret: pulumi.Output<string>;
|
|
67
64
|
/**
|
|
68
65
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -106,7 +103,7 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsState {
|
|
|
106
103
|
*/
|
|
107
104
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
108
105
|
/**
|
|
109
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
106
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
110
107
|
*/
|
|
111
108
|
name?: pulumi.Input<string>;
|
|
112
109
|
/**
|
|
@@ -125,9 +122,6 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsState {
|
|
|
125
122
|
* Specifies the client ID for the OAuth application in the external service.
|
|
126
123
|
*/
|
|
127
124
|
oauthClientId?: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
130
|
-
*/
|
|
131
125
|
oauthClientSecret?: pulumi.Input<string>;
|
|
132
126
|
/**
|
|
133
127
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -155,7 +149,7 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsArgs {
|
|
|
155
149
|
*/
|
|
156
150
|
enabled: pulumi.Input<boolean>;
|
|
157
151
|
/**
|
|
158
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
152
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
159
153
|
*/
|
|
160
154
|
name?: pulumi.Input<string>;
|
|
161
155
|
/**
|
|
@@ -174,9 +168,6 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsArgs {
|
|
|
174
168
|
* Specifies the client ID for the OAuth application in the external service.
|
|
175
169
|
*/
|
|
176
170
|
oauthClientId: pulumi.Input<string>;
|
|
177
|
-
/**
|
|
178
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
179
|
-
*/
|
|
180
171
|
oauthClientSecret: pulumi.Input<string>;
|
|
181
172
|
/**
|
|
182
173
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials example "
|
|
12
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithClientCredentials:ApiAuthenticationIntegrationWithClientCredentials example '"<integration_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class ApiAuthenticationIntegrationWithClientCredentials extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiAuthenticationIntegrationWithClientCredentials.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithClientCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,iDAAkD,SAAQ,MAAM,CAAC,cAAc;IACxF;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8D,EAAE,IAAmC;QAC5J,OAAO,IAAI,iDAAiD,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxG,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,iDAAiD,CAAC,YAAY,CAAC;IAClG,CAAC;
|
|
1
|
+
{"version":3,"file":"apiAuthenticationIntegrationWithClientCredentials.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithClientCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,iDAAkD,SAAQ,MAAM,CAAC,cAAc;IACxF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C,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iDAAiD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtG,CAAC;;AAnIL,8GAoIC;AAtHG,gBAAgB;AACO,8DAAY,GAAG,qHAAqH,CAAC"}
|
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "
|
|
8
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example '"<integration_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.CustomResource {
|
|
@@ -41,7 +41,7 @@ export declare class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.Cu
|
|
|
41
41
|
*/
|
|
42
42
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
44
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -61,9 +61,6 @@ export declare class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.Cu
|
|
|
61
61
|
* Specifies the client ID for the OAuth application in the external service.
|
|
62
62
|
*/
|
|
63
63
|
readonly oauthClientId: pulumi.Output<string>;
|
|
64
|
-
/**
|
|
65
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
66
|
-
*/
|
|
67
64
|
readonly oauthClientSecret: pulumi.Output<string>;
|
|
68
65
|
/**
|
|
69
66
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -107,7 +104,7 @@ export interface ApiAuthenticationIntegrationWithJwtBearerState {
|
|
|
107
104
|
*/
|
|
108
105
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
109
106
|
/**
|
|
110
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
107
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
111
108
|
*/
|
|
112
109
|
name?: pulumi.Input<string>;
|
|
113
110
|
/**
|
|
@@ -127,9 +124,6 @@ export interface ApiAuthenticationIntegrationWithJwtBearerState {
|
|
|
127
124
|
* Specifies the client ID for the OAuth application in the external service.
|
|
128
125
|
*/
|
|
129
126
|
oauthClientId?: pulumi.Input<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
132
|
-
*/
|
|
133
127
|
oauthClientSecret?: pulumi.Input<string>;
|
|
134
128
|
/**
|
|
135
129
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -157,7 +151,7 @@ export interface ApiAuthenticationIntegrationWithJwtBearerArgs {
|
|
|
157
151
|
*/
|
|
158
152
|
enabled: pulumi.Input<boolean>;
|
|
159
153
|
/**
|
|
160
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
154
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
161
155
|
*/
|
|
162
156
|
name?: pulumi.Input<string>;
|
|
163
157
|
/**
|
|
@@ -177,9 +171,6 @@ export interface ApiAuthenticationIntegrationWithJwtBearerArgs {
|
|
|
177
171
|
* Specifies the client ID for the OAuth application in the external service.
|
|
178
172
|
*/
|
|
179
173
|
oauthClientId: pulumi.Input<string>;
|
|
180
|
-
/**
|
|
181
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
182
|
-
*/
|
|
183
174
|
oauthClientSecret: pulumi.Input<string>;
|
|
184
175
|
/**
|
|
185
176
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "
|
|
12
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example '"<integration_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class ApiAuthenticationIntegrationWithJwtBearer extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiAuthenticationIntegrationWithJwtBearer.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithJwtBearer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,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B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yCAAyC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9F,CAAC;;AAzIL,8FA0IC;AA5HG,gBAAgB;AACO,sDAAY,GAAG,qGAAqG,CAAC"}
|
|
@@ -37,7 +37,7 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly comment: pulumi.Output<string | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
40
|
+
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
41
|
*/
|
|
42
42
|
readonly database: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
@@ -57,11 +57,11 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly mfaEnrollment: pulumi.Output<string | undefined>;
|
|
59
59
|
/**
|
|
60
|
-
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
60
|
+
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
61
61
|
*/
|
|
62
62
|
readonly name: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
|
-
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
64
|
+
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
65
65
|
*/
|
|
66
66
|
readonly schema: pulumi.Output<string>;
|
|
67
67
|
/**
|
|
@@ -98,7 +98,7 @@ export interface AuthenticationPolicyState {
|
|
|
98
98
|
*/
|
|
99
99
|
comment?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
101
|
+
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
102
102
|
*/
|
|
103
103
|
database?: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
@@ -118,11 +118,11 @@ export interface AuthenticationPolicyState {
|
|
|
118
118
|
*/
|
|
119
119
|
mfaEnrollment?: pulumi.Input<string>;
|
|
120
120
|
/**
|
|
121
|
-
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
121
|
+
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
122
122
|
*/
|
|
123
123
|
name?: pulumi.Input<string>;
|
|
124
124
|
/**
|
|
125
|
-
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
125
|
+
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
126
126
|
*/
|
|
127
127
|
schema?: pulumi.Input<string>;
|
|
128
128
|
/**
|
|
@@ -151,7 +151,7 @@ export interface AuthenticationPolicyArgs {
|
|
|
151
151
|
*/
|
|
152
152
|
comment?: pulumi.Input<string>;
|
|
153
153
|
/**
|
|
154
|
-
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
154
|
+
* The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
155
155
|
*/
|
|
156
156
|
database: pulumi.Input<string>;
|
|
157
157
|
/**
|
|
@@ -163,11 +163,11 @@ export interface AuthenticationPolicyArgs {
|
|
|
163
163
|
*/
|
|
164
164
|
mfaEnrollment?: pulumi.Input<string>;
|
|
165
165
|
/**
|
|
166
|
-
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
166
|
+
* Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
167
167
|
*/
|
|
168
168
|
name?: pulumi.Input<string>;
|
|
169
169
|
/**
|
|
170
|
-
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
170
|
+
* The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
171
171
|
*/
|
|
172
172
|
schema: pulumi.Input<string>;
|
|
173
173
|
/**
|
package/config/vars.d.ts
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
-
/**
|
|
3
|
-
* Use `accountName` and `organizationName` instead. Specifies your Snowflake account identifier assigned, by Snowflake.
|
|
4
|
-
* The [account
|
|
5
|
-
* locator](https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region) format
|
|
6
|
-
* is not supported. For information about account identifiers, see the [Snowflake
|
|
7
|
-
* documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Required unless using `profile`.
|
|
8
|
-
* Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
9
|
-
*/
|
|
10
|
-
export declare const account: string | undefined;
|
|
11
2
|
/**
|
|
12
3
|
* Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
13
4
|
* [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
|
|
@@ -16,15 +7,10 @@ export declare const account: string | undefined;
|
|
|
16
7
|
export declare const accountName: string | undefined;
|
|
17
8
|
/**
|
|
18
9
|
* Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
19
|
-
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `
|
|
20
|
-
*
|
|
21
|
-
* sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
10
|
+
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
11
|
+
* `TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
22
12
|
*/
|
|
23
13
|
export declare const authenticator: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
|
|
26
|
-
*/
|
|
27
|
-
export declare const browserAuth: boolean | undefined;
|
|
28
14
|
/**
|
|
29
15
|
* IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
30
16
|
*/
|
|
@@ -108,36 +94,6 @@ export declare const loginTimeout: number | undefined;
|
|
|
108
94
|
* `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
109
95
|
*/
|
|
110
96
|
export declare const maxRetryCount: number | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browserAuth`,
|
|
113
|
-
* `privateKeyPath`, `oauthRefreshToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN` environment
|
|
114
|
-
* variable.
|
|
115
|
-
*/
|
|
116
|
-
export declare const oauthAccessToken: string | undefined;
|
|
117
|
-
/**
|
|
118
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
119
|
-
*/
|
|
120
|
-
export declare const oauthClientId: string | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
123
|
-
* variable.
|
|
124
|
-
*/
|
|
125
|
-
export declare const oauthClientSecret: string | undefined;
|
|
126
|
-
/**
|
|
127
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
128
|
-
*/
|
|
129
|
-
export declare const oauthEndpoint: string | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment variable.
|
|
132
|
-
*/
|
|
133
|
-
export declare const oauthRedirectUrl: string | undefined;
|
|
134
|
-
/**
|
|
135
|
-
* Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
|
|
136
|
-
* `oauthClientId`, `oauthClientSecret`, `oauthEndpoint`, `oauthRedirectUrl`. Cannot be used with `browserAuth`,
|
|
137
|
-
* `privateKeyPath`, `oauthAccessToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN` environment
|
|
138
|
-
* variable.
|
|
139
|
-
*/
|
|
140
|
-
export declare const oauthRefreshToken: string | undefined;
|
|
141
97
|
/**
|
|
142
98
|
* True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
143
99
|
* sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
@@ -173,8 +129,8 @@ export declare const passcode: string | undefined;
|
|
|
173
129
|
*/
|
|
174
130
|
export declare const passcodeInPassword: boolean | undefined;
|
|
175
131
|
/**
|
|
176
|
-
* Password for user + password auth. Cannot be used with `
|
|
177
|
-
* `SNOWFLAKE_PASSWORD` environment variable.
|
|
132
|
+
* Password for user + password auth. Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from
|
|
133
|
+
* the `SNOWFLAKE_PASSWORD` environment variable.
|
|
178
134
|
*/
|
|
179
135
|
export declare const password: string | undefined;
|
|
180
136
|
/**
|
|
@@ -182,8 +138,9 @@ export declare const password: string | undefined;
|
|
|
182
138
|
* `SNOWFLAKE_PORT` environment variable.
|
|
183
139
|
*/
|
|
184
140
|
export declare const port: number | undefined;
|
|
141
|
+
export declare const previewFeaturesEnableds: string[] | undefined;
|
|
185
142
|
/**
|
|
186
|
-
* Private Key for username+private-key auth. Cannot be used with `
|
|
143
|
+
* Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
187
144
|
* `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
188
145
|
*/
|
|
189
146
|
export declare const privateKey: string | undefined;
|
|
@@ -192,11 +149,6 @@ export declare const privateKey: string | undefined;
|
|
|
192
149
|
* des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
193
150
|
*/
|
|
194
151
|
export declare const privateKeyPassphrase: string | undefined;
|
|
195
|
-
/**
|
|
196
|
-
* Path to a private key for using keypair authentication. Cannot be used with `browserAuth`, `oauthAccessToken` or
|
|
197
|
-
* `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
198
|
-
*/
|
|
199
|
-
export declare const privateKeyPath: string | undefined;
|
|
200
152
|
/**
|
|
201
153
|
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
202
154
|
* variable.
|
|
@@ -207,15 +159,6 @@ export declare const profile: string | undefined;
|
|
|
207
159
|
* `SNOWFLAKE_PROTOCOL` environment variable.
|
|
208
160
|
*/
|
|
209
161
|
export declare const protocol: string | undefined;
|
|
210
|
-
/**
|
|
211
|
-
* Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
212
|
-
* to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
213
|
-
* [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
214
|
-
* format for the `account`
|
|
215
|
-
* identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
216
|
-
* in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
217
|
-
*/
|
|
218
|
-
export declare const region: string | undefined;
|
|
219
162
|
/**
|
|
220
163
|
* request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
221
164
|
* `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
|
|
@@ -226,12 +169,6 @@ export declare const requestTimeout: number | undefined;
|
|
|
226
169
|
* `SNOWFLAKE_ROLE` environment variable.
|
|
227
170
|
*/
|
|
228
171
|
export declare const role: string | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* Sets session parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
|
|
231
|
-
*/
|
|
232
|
-
export declare const sessionParams: {
|
|
233
|
-
[key: string]: string;
|
|
234
|
-
} | undefined;
|
|
235
172
|
/**
|
|
236
173
|
* Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
237
174
|
* the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
@@ -247,11 +184,6 @@ export declare const tokenAccessor: outputs.config.TokenAccessor | undefined;
|
|
|
247
184
|
* Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
248
185
|
*/
|
|
249
186
|
export declare const user: string | undefined;
|
|
250
|
-
/**
|
|
251
|
-
* Username for user + password authentication. Required unless using `profile`. Can also be sourced from the
|
|
252
|
-
* `SNOWFLAKE_USERNAME` environment variable.
|
|
253
|
-
*/
|
|
254
|
-
export declare const username: string | undefined;
|
|
255
187
|
/**
|
|
256
188
|
* True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
257
189
|
* connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
package/config/vars.js
CHANGED
|
@@ -5,13 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const utilities = require("../utilities");
|
|
7
7
|
const __config = new pulumi.Config("snowflake");
|
|
8
|
-
Object.defineProperty(exports, "account", {
|
|
9
|
-
get() {
|
|
10
|
-
var _a;
|
|
11
|
-
return (_a = __config.get("account")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_ACCOUNT");
|
|
12
|
-
},
|
|
13
|
-
enumerable: true,
|
|
14
|
-
});
|
|
15
8
|
Object.defineProperty(exports, "accountName", {
|
|
16
9
|
get() {
|
|
17
10
|
return __config.get("accountName");
|
|
@@ -24,13 +17,6 @@ Object.defineProperty(exports, "authenticator", {
|
|
|
24
17
|
},
|
|
25
18
|
enumerable: true,
|
|
26
19
|
});
|
|
27
|
-
Object.defineProperty(exports, "browserAuth", {
|
|
28
|
-
get() {
|
|
29
|
-
var _a;
|
|
30
|
-
return (_a = __config.getObject("browserAuth")) !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("SNOWFLAKE_USE_BROWSER_AUTH");
|
|
31
|
-
},
|
|
32
|
-
enumerable: true,
|
|
33
|
-
});
|
|
34
20
|
Object.defineProperty(exports, "clientIp", {
|
|
35
21
|
get() {
|
|
36
22
|
return __config.get("clientIp");
|
|
@@ -134,48 +120,6 @@ Object.defineProperty(exports, "maxRetryCount", {
|
|
|
134
120
|
},
|
|
135
121
|
enumerable: true,
|
|
136
122
|
});
|
|
137
|
-
Object.defineProperty(exports, "oauthAccessToken", {
|
|
138
|
-
get() {
|
|
139
|
-
var _a;
|
|
140
|
-
return (_a = __config.get("oauthAccessToken")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_ACCESS_TOKEN");
|
|
141
|
-
},
|
|
142
|
-
enumerable: true,
|
|
143
|
-
});
|
|
144
|
-
Object.defineProperty(exports, "oauthClientId", {
|
|
145
|
-
get() {
|
|
146
|
-
var _a;
|
|
147
|
-
return (_a = __config.get("oauthClientId")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_CLIENT_ID");
|
|
148
|
-
},
|
|
149
|
-
enumerable: true,
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, "oauthClientSecret", {
|
|
152
|
-
get() {
|
|
153
|
-
var _a;
|
|
154
|
-
return (_a = __config.get("oauthClientSecret")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_CLIENT_SECRET");
|
|
155
|
-
},
|
|
156
|
-
enumerable: true,
|
|
157
|
-
});
|
|
158
|
-
Object.defineProperty(exports, "oauthEndpoint", {
|
|
159
|
-
get() {
|
|
160
|
-
var _a;
|
|
161
|
-
return (_a = __config.get("oauthEndpoint")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_ENDPOINT");
|
|
162
|
-
},
|
|
163
|
-
enumerable: true,
|
|
164
|
-
});
|
|
165
|
-
Object.defineProperty(exports, "oauthRedirectUrl", {
|
|
166
|
-
get() {
|
|
167
|
-
var _a;
|
|
168
|
-
return (_a = __config.get("oauthRedirectUrl")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_REDIRECT_URL");
|
|
169
|
-
},
|
|
170
|
-
enumerable: true,
|
|
171
|
-
});
|
|
172
|
-
Object.defineProperty(exports, "oauthRefreshToken", {
|
|
173
|
-
get() {
|
|
174
|
-
var _a;
|
|
175
|
-
return (_a = __config.get("oauthRefreshToken")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_OAUTH_REFRESH_TOKEN");
|
|
176
|
-
},
|
|
177
|
-
enumerable: true,
|
|
178
|
-
});
|
|
179
123
|
Object.defineProperty(exports, "ocspFailOpen", {
|
|
180
124
|
get() {
|
|
181
125
|
return __config.get("ocspFailOpen");
|
|
@@ -226,23 +170,22 @@ Object.defineProperty(exports, "port", {
|
|
|
226
170
|
},
|
|
227
171
|
enumerable: true,
|
|
228
172
|
});
|
|
229
|
-
Object.defineProperty(exports, "
|
|
173
|
+
Object.defineProperty(exports, "previewFeaturesEnableds", {
|
|
230
174
|
get() {
|
|
231
|
-
return __config.
|
|
175
|
+
return __config.getObject("previewFeaturesEnableds");
|
|
232
176
|
},
|
|
233
177
|
enumerable: true,
|
|
234
178
|
});
|
|
235
|
-
Object.defineProperty(exports, "
|
|
179
|
+
Object.defineProperty(exports, "privateKey", {
|
|
236
180
|
get() {
|
|
237
|
-
|
|
238
|
-
return (_a = __config.get("privateKeyPassphrase")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
|
|
181
|
+
return __config.get("privateKey");
|
|
239
182
|
},
|
|
240
183
|
enumerable: true,
|
|
241
184
|
});
|
|
242
|
-
Object.defineProperty(exports, "
|
|
185
|
+
Object.defineProperty(exports, "privateKeyPassphrase", {
|
|
243
186
|
get() {
|
|
244
187
|
var _a;
|
|
245
|
-
return (_a = __config.get("
|
|
188
|
+
return (_a = __config.get("privateKeyPassphrase")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
|
|
246
189
|
},
|
|
247
190
|
enumerable: true,
|
|
248
191
|
});
|
|
@@ -259,13 +202,6 @@ Object.defineProperty(exports, "protocol", {
|
|
|
259
202
|
},
|
|
260
203
|
enumerable: true,
|
|
261
204
|
});
|
|
262
|
-
Object.defineProperty(exports, "region", {
|
|
263
|
-
get() {
|
|
264
|
-
var _a;
|
|
265
|
-
return (_a = __config.get("region")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_REGION");
|
|
266
|
-
},
|
|
267
|
-
enumerable: true,
|
|
268
|
-
});
|
|
269
205
|
Object.defineProperty(exports, "requestTimeout", {
|
|
270
206
|
get() {
|
|
271
207
|
return __config.getObject("requestTimeout");
|
|
@@ -279,12 +215,6 @@ Object.defineProperty(exports, "role", {
|
|
|
279
215
|
},
|
|
280
216
|
enumerable: true,
|
|
281
217
|
});
|
|
282
|
-
Object.defineProperty(exports, "sessionParams", {
|
|
283
|
-
get() {
|
|
284
|
-
return __config.getObject("sessionParams");
|
|
285
|
-
},
|
|
286
|
-
enumerable: true,
|
|
287
|
-
});
|
|
288
218
|
Object.defineProperty(exports, "tmpDirectoryPath", {
|
|
289
219
|
get() {
|
|
290
220
|
return __config.get("tmpDirectoryPath");
|
|
@@ -309,13 +239,6 @@ Object.defineProperty(exports, "user", {
|
|
|
309
239
|
},
|
|
310
240
|
enumerable: true,
|
|
311
241
|
});
|
|
312
|
-
Object.defineProperty(exports, "username", {
|
|
313
|
-
get() {
|
|
314
|
-
var _a;
|
|
315
|
-
return (_a = __config.get("username")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_USER");
|
|
316
|
-
},
|
|
317
|
-
enumerable: true,
|
|
318
|
-
});
|
|
319
242
|
Object.defineProperty(exports, "validateDefaultParameters", {
|
|
320
243
|
get() {
|
|
321
244
|
return __config.get("validateDefaultParameters");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAQhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAQH,MAA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C,OAAO,EAAE,kBAAkB,EAAE;IAC/C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC5C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA+B,eAAe,CAAC,CAAC;IAC7E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;IACnC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE;IACxD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/database.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/database:Database example 'database_name'
|
|
8
|
+
* $ pulumi import snowflake:index/database:Database example '"<database_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class Database extends pulumi.CustomResource {
|
|
@@ -69,7 +69,7 @@ export declare class Database extends pulumi.CustomResource {
|
|
|
69
69
|
*/
|
|
70
70
|
readonly maxDataExtensionTimeInDays: pulumi.Output<number>;
|
|
71
71
|
/**
|
|
72
|
-
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
72
|
+
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
73
73
|
*/
|
|
74
74
|
readonly name: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
@@ -170,7 +170,7 @@ export interface DatabaseState {
|
|
|
170
170
|
*/
|
|
171
171
|
maxDataExtensionTimeInDays?: pulumi.Input<number>;
|
|
172
172
|
/**
|
|
173
|
-
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
173
|
+
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
174
174
|
*/
|
|
175
175
|
name?: pulumi.Input<string>;
|
|
176
176
|
/**
|
|
@@ -259,7 +259,7 @@ export interface DatabaseArgs {
|
|
|
259
259
|
*/
|
|
260
260
|
maxDataExtensionTimeInDays?: pulumi.Input<number>;
|
|
261
261
|
/**
|
|
262
|
-
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
262
|
+
* Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\n\n.\n\n.\n\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
263
263
|
*/
|
|
264
264
|
name?: pulumi.Input<string>;
|
|
265
265
|
/**
|
package/database.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/database:Database example 'database_name'
|
|
12
|
+
* $ pulumi import snowflake:index/database:Database example '"<database_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class Database extends pulumi.CustomResource {
|