@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
package/provider.d.ts
CHANGED
|
@@ -12,17 +12,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
12
12
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
13
13
|
*/
|
|
14
14
|
static isInstance(obj: any): obj is Provider;
|
|
15
|
-
/**
|
|
16
|
-
* Use `accountName` and `organizationName` instead. Specifies your Snowflake account identifier assigned, by Snowflake.
|
|
17
|
-
* The [account
|
|
18
|
-
* locator](https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region) format
|
|
19
|
-
* is not supported. For information about account identifiers, see the [Snowflake
|
|
20
|
-
* documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Required unless using `profile`.
|
|
21
|
-
* Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
22
|
-
*
|
|
23
|
-
* @deprecated Use `accountName` and `organizationName` instead of `account`
|
|
24
|
-
*/
|
|
25
|
-
readonly account: pulumi.Output<string | undefined>;
|
|
26
15
|
/**
|
|
27
16
|
* Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
28
17
|
* [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
|
|
@@ -31,9 +20,8 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
31
20
|
readonly accountName: pulumi.Output<string | undefined>;
|
|
32
21
|
/**
|
|
33
22
|
* Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
34
|
-
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `
|
|
35
|
-
*
|
|
36
|
-
* sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
23
|
+
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
24
|
+
* `TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
37
25
|
*/
|
|
38
26
|
readonly authenticator: pulumi.Output<string | undefined>;
|
|
39
27
|
/**
|
|
@@ -70,48 +58,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
70
58
|
* variable.
|
|
71
59
|
*/
|
|
72
60
|
readonly includeRetryReason: pulumi.Output<string | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browserAuth`,
|
|
75
|
-
* `privateKeyPath`, `oauthRefreshToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN` environment
|
|
76
|
-
* variable.
|
|
77
|
-
*
|
|
78
|
-
* @deprecated Use `token` instead
|
|
79
|
-
*/
|
|
80
|
-
readonly oauthAccessToken: pulumi.Output<string | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
83
|
-
*
|
|
84
|
-
* @deprecated Use `token_accessor.0.client_id` instead
|
|
85
|
-
*/
|
|
86
|
-
readonly oauthClientId: pulumi.Output<string | undefined>;
|
|
87
|
-
/**
|
|
88
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
89
|
-
* variable.
|
|
90
|
-
*
|
|
91
|
-
* @deprecated Use `token_accessor.0.client_secret` instead
|
|
92
|
-
*/
|
|
93
|
-
readonly oauthClientSecret: pulumi.Output<string | undefined>;
|
|
94
|
-
/**
|
|
95
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
96
|
-
*
|
|
97
|
-
* @deprecated Use `token_accessor.0.token_endpoint` instead
|
|
98
|
-
*/
|
|
99
|
-
readonly oauthEndpoint: pulumi.Output<string | undefined>;
|
|
100
|
-
/**
|
|
101
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment variable.
|
|
102
|
-
*
|
|
103
|
-
* @deprecated Use `token_accessor.0.redirect_uri` instead
|
|
104
|
-
*/
|
|
105
|
-
readonly oauthRedirectUrl: pulumi.Output<string | undefined>;
|
|
106
|
-
/**
|
|
107
|
-
* Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
|
|
108
|
-
* `oauthClientId`, `oauthClientSecret`, `oauthEndpoint`, `oauthRedirectUrl`. Cannot be used with `browserAuth`,
|
|
109
|
-
* `privateKeyPath`, `oauthAccessToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN` environment
|
|
110
|
-
* variable.
|
|
111
|
-
*
|
|
112
|
-
* @deprecated Use `token_accessor.0.refresh_token` instead
|
|
113
|
-
*/
|
|
114
|
-
readonly oauthRefreshToken: pulumi.Output<string | undefined>;
|
|
115
61
|
/**
|
|
116
62
|
* True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
117
63
|
* sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
@@ -135,12 +81,12 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
135
81
|
*/
|
|
136
82
|
readonly passcode: pulumi.Output<string | undefined>;
|
|
137
83
|
/**
|
|
138
|
-
* Password for user + password auth. Cannot be used with `
|
|
139
|
-
* `SNOWFLAKE_PASSWORD` environment variable.
|
|
84
|
+
* Password for user + password auth. Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from
|
|
85
|
+
* the `SNOWFLAKE_PASSWORD` environment variable.
|
|
140
86
|
*/
|
|
141
87
|
readonly password: pulumi.Output<string | undefined>;
|
|
142
88
|
/**
|
|
143
|
-
* Private Key for username+private-key auth. Cannot be used with `
|
|
89
|
+
* Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
144
90
|
* `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
145
91
|
*/
|
|
146
92
|
readonly privateKey: pulumi.Output<string | undefined>;
|
|
@@ -149,13 +95,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
149
95
|
* des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
150
96
|
*/
|
|
151
97
|
readonly privateKeyPassphrase: pulumi.Output<string | undefined>;
|
|
152
|
-
/**
|
|
153
|
-
* Path to a private key for using keypair authentication. Cannot be used with `browserAuth`, `oauthAccessToken` or
|
|
154
|
-
* `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
155
|
-
*
|
|
156
|
-
* @deprecated use the [file Function](https://developer.hashicorp.com/terraform/language/functions/file) instead
|
|
157
|
-
*/
|
|
158
|
-
readonly privateKeyPath: pulumi.Output<string | undefined>;
|
|
159
98
|
/**
|
|
160
99
|
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
161
100
|
* variable.
|
|
@@ -166,17 +105,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
166
105
|
* `SNOWFLAKE_PROTOCOL` environment variable.
|
|
167
106
|
*/
|
|
168
107
|
readonly protocol: pulumi.Output<string | undefined>;
|
|
169
|
-
/**
|
|
170
|
-
* Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
171
|
-
* to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
172
|
-
* [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
173
|
-
* format for the `account`
|
|
174
|
-
* identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
175
|
-
* in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
176
|
-
*
|
|
177
|
-
* @deprecated Specify the region as part of the account parameter
|
|
178
|
-
*/
|
|
179
|
-
readonly region: pulumi.Output<string | undefined>;
|
|
180
108
|
/**
|
|
181
109
|
* Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
|
|
182
110
|
* `SNOWFLAKE_ROLE` environment variable.
|
|
@@ -196,13 +124,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
196
124
|
* Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
197
125
|
*/
|
|
198
126
|
readonly user: pulumi.Output<string | undefined>;
|
|
199
|
-
/**
|
|
200
|
-
* Username for user + password authentication. Required unless using `profile`. Can also be sourced from the
|
|
201
|
-
* `SNOWFLAKE_USERNAME` environment variable.
|
|
202
|
-
*
|
|
203
|
-
* @deprecated Use `user` instead of `username`
|
|
204
|
-
*/
|
|
205
|
-
readonly username: pulumi.Output<string | undefined>;
|
|
206
127
|
/**
|
|
207
128
|
* True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
208
129
|
* connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
@@ -226,17 +147,6 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
226
147
|
* The set of arguments for constructing a Provider resource.
|
|
227
148
|
*/
|
|
228
149
|
export interface ProviderArgs {
|
|
229
|
-
/**
|
|
230
|
-
* Use `accountName` and `organizationName` instead. Specifies your Snowflake account identifier assigned, by Snowflake.
|
|
231
|
-
* The [account
|
|
232
|
-
* locator](https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region) format
|
|
233
|
-
* is not supported. For information about account identifiers, see the [Snowflake
|
|
234
|
-
* documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Required unless using `profile`.
|
|
235
|
-
* Can also be sourced from the `SNOWFLAKE_ACCOUNT` environment variable.
|
|
236
|
-
*
|
|
237
|
-
* @deprecated Use `accountName` and `organizationName` instead of `account`
|
|
238
|
-
*/
|
|
239
|
-
account?: pulumi.Input<string>;
|
|
240
150
|
/**
|
|
241
151
|
* Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
242
152
|
* [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
|
|
@@ -245,17 +155,10 @@ export interface ProviderArgs {
|
|
|
245
155
|
accountName?: pulumi.Input<string>;
|
|
246
156
|
/**
|
|
247
157
|
* Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
248
|
-
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `
|
|
249
|
-
*
|
|
250
|
-
* sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
158
|
+
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
159
|
+
* `TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
251
160
|
*/
|
|
252
161
|
authenticator?: pulumi.Input<string>;
|
|
253
|
-
/**
|
|
254
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
|
|
255
|
-
*
|
|
256
|
-
* @deprecated Use `authenticator` instead
|
|
257
|
-
*/
|
|
258
|
-
browserAuth?: pulumi.Input<boolean>;
|
|
259
162
|
/**
|
|
260
163
|
* IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
261
164
|
*/
|
|
@@ -339,48 +242,6 @@ export interface ProviderArgs {
|
|
|
339
242
|
* `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
340
243
|
*/
|
|
341
244
|
maxRetryCount?: pulumi.Input<number>;
|
|
342
|
-
/**
|
|
343
|
-
* Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browserAuth`,
|
|
344
|
-
* `privateKeyPath`, `oauthRefreshToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN` environment
|
|
345
|
-
* variable.
|
|
346
|
-
*
|
|
347
|
-
* @deprecated Use `token` instead
|
|
348
|
-
*/
|
|
349
|
-
oauthAccessToken?: pulumi.Input<string>;
|
|
350
|
-
/**
|
|
351
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
352
|
-
*
|
|
353
|
-
* @deprecated Use `token_accessor.0.client_id` instead
|
|
354
|
-
*/
|
|
355
|
-
oauthClientId?: pulumi.Input<string>;
|
|
356
|
-
/**
|
|
357
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
358
|
-
* variable.
|
|
359
|
-
*
|
|
360
|
-
* @deprecated Use `token_accessor.0.client_secret` instead
|
|
361
|
-
*/
|
|
362
|
-
oauthClientSecret?: pulumi.Input<string>;
|
|
363
|
-
/**
|
|
364
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
365
|
-
*
|
|
366
|
-
* @deprecated Use `token_accessor.0.token_endpoint` instead
|
|
367
|
-
*/
|
|
368
|
-
oauthEndpoint?: pulumi.Input<string>;
|
|
369
|
-
/**
|
|
370
|
-
* Required when `oauthRefreshToken` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment variable.
|
|
371
|
-
*
|
|
372
|
-
* @deprecated Use `token_accessor.0.redirect_uri` instead
|
|
373
|
-
*/
|
|
374
|
-
oauthRedirectUrl?: pulumi.Input<string>;
|
|
375
|
-
/**
|
|
376
|
-
* Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
|
|
377
|
-
* `oauthClientId`, `oauthClientSecret`, `oauthEndpoint`, `oauthRedirectUrl`. Cannot be used with `browserAuth`,
|
|
378
|
-
* `privateKeyPath`, `oauthAccessToken` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN` environment
|
|
379
|
-
* variable.
|
|
380
|
-
*
|
|
381
|
-
* @deprecated Use `token_accessor.0.refresh_token` instead
|
|
382
|
-
*/
|
|
383
|
-
oauthRefreshToken?: pulumi.Input<string>;
|
|
384
245
|
/**
|
|
385
246
|
* True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
386
247
|
* sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
@@ -416,8 +277,8 @@ export interface ProviderArgs {
|
|
|
416
277
|
*/
|
|
417
278
|
passcodeInPassword?: pulumi.Input<boolean>;
|
|
418
279
|
/**
|
|
419
|
-
* Password for user + password auth. Cannot be used with `
|
|
420
|
-
* `SNOWFLAKE_PASSWORD` environment variable.
|
|
280
|
+
* Password for user + password auth. Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from
|
|
281
|
+
* the `SNOWFLAKE_PASSWORD` environment variable.
|
|
421
282
|
*/
|
|
422
283
|
password?: pulumi.Input<string>;
|
|
423
284
|
/**
|
|
@@ -425,8 +286,9 @@ export interface ProviderArgs {
|
|
|
425
286
|
* `SNOWFLAKE_PORT` environment variable.
|
|
426
287
|
*/
|
|
427
288
|
port?: pulumi.Input<number>;
|
|
289
|
+
previewFeaturesEnableds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
428
290
|
/**
|
|
429
|
-
* Private Key for username+private-key auth. Cannot be used with `
|
|
291
|
+
* Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
430
292
|
* `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
431
293
|
*/
|
|
432
294
|
privateKey?: pulumi.Input<string>;
|
|
@@ -435,13 +297,6 @@ export interface ProviderArgs {
|
|
|
435
297
|
* des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
436
298
|
*/
|
|
437
299
|
privateKeyPassphrase?: pulumi.Input<string>;
|
|
438
|
-
/**
|
|
439
|
-
* Path to a private key for using keypair authentication. Cannot be used with `browserAuth`, `oauthAccessToken` or
|
|
440
|
-
* `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
441
|
-
*
|
|
442
|
-
* @deprecated use the [file Function](https://developer.hashicorp.com/terraform/language/functions/file) instead
|
|
443
|
-
*/
|
|
444
|
-
privateKeyPath?: pulumi.Input<string>;
|
|
445
300
|
/**
|
|
446
301
|
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
447
302
|
* variable.
|
|
@@ -452,17 +307,6 @@ export interface ProviderArgs {
|
|
|
452
307
|
* `SNOWFLAKE_PROTOCOL` environment variable.
|
|
453
308
|
*/
|
|
454
309
|
protocol?: pulumi.Input<string>;
|
|
455
|
-
/**
|
|
456
|
-
* Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
457
|
-
* to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
458
|
-
* [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
459
|
-
* format for the `account`
|
|
460
|
-
* identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
461
|
-
* in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
462
|
-
*
|
|
463
|
-
* @deprecated Specify the region as part of the account parameter
|
|
464
|
-
*/
|
|
465
|
-
region?: pulumi.Input<string>;
|
|
466
310
|
/**
|
|
467
311
|
* request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
468
312
|
* `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
|
|
@@ -473,14 +317,6 @@ export interface ProviderArgs {
|
|
|
473
317
|
* `SNOWFLAKE_ROLE` environment variable.
|
|
474
318
|
*/
|
|
475
319
|
role?: pulumi.Input<string>;
|
|
476
|
-
/**
|
|
477
|
-
* Sets session parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
|
|
478
|
-
*
|
|
479
|
-
* @deprecated Use `params` instead
|
|
480
|
-
*/
|
|
481
|
-
sessionParams?: pulumi.Input<{
|
|
482
|
-
[key: string]: pulumi.Input<string>;
|
|
483
|
-
}>;
|
|
484
320
|
/**
|
|
485
321
|
* Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
486
322
|
* the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
@@ -496,13 +332,6 @@ export interface ProviderArgs {
|
|
|
496
332
|
* Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
497
333
|
*/
|
|
498
334
|
user?: pulumi.Input<string>;
|
|
499
|
-
/**
|
|
500
|
-
* Username for user + password authentication. Required unless using `profile`. Can also be sourced from the
|
|
501
|
-
* `SNOWFLAKE_USERNAME` environment variable.
|
|
502
|
-
*
|
|
503
|
-
* @deprecated Use `user` instead of `username`
|
|
504
|
-
*/
|
|
505
|
-
username?: pulumi.Input<string>;
|
|
506
335
|
/**
|
|
507
336
|
* True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
508
337
|
* connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
package/provider.js
CHANGED
|
@@ -30,14 +30,12 @@ class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
* @param opts A bag of options that control this resource's behavior.
|
|
31
31
|
*/
|
|
32
32
|
constructor(name, args, opts) {
|
|
33
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
33
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
34
34
|
let resourceInputs = {};
|
|
35
35
|
opts = opts || {};
|
|
36
36
|
{
|
|
37
|
-
resourceInputs["account"] = (_a = (args ? args.account : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_ACCOUNT");
|
|
38
37
|
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
39
38
|
resourceInputs["authenticator"] = args ? args.authenticator : undefined;
|
|
40
|
-
resourceInputs["browserAuth"] = pulumi.output((_b = (args ? args.browserAuth : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnvBoolean("SNOWFLAKE_USE_BROWSER_AUTH")).apply(JSON.stringify);
|
|
41
39
|
resourceInputs["clientIp"] = args ? args.clientIp : undefined;
|
|
42
40
|
resourceInputs["clientRequestMfaToken"] = args ? args.clientRequestMfaToken : undefined;
|
|
43
41
|
resourceInputs["clientStoreTemporaryCredential"] = args ? args.clientStoreTemporaryCredential : undefined;
|
|
@@ -47,7 +45,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
47
45
|
resourceInputs["disableTelemetry"] = pulumi.output(args ? args.disableTelemetry : undefined).apply(JSON.stringify);
|
|
48
46
|
resourceInputs["driverTracing"] = args ? args.driverTracing : undefined;
|
|
49
47
|
resourceInputs["externalBrowserTimeout"] = pulumi.output(args ? args.externalBrowserTimeout : undefined).apply(JSON.stringify);
|
|
50
|
-
resourceInputs["host"] = (
|
|
48
|
+
resourceInputs["host"] = (_a = (args ? args.host : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_HOST");
|
|
51
49
|
resourceInputs["includeRetryReason"] = args ? args.includeRetryReason : undefined;
|
|
52
50
|
resourceInputs["insecureMode"] = pulumi.output(args ? args.insecureMode : undefined).apply(JSON.stringify);
|
|
53
51
|
resourceInputs["jwtClientTimeout"] = pulumi.output(args ? args.jwtClientTimeout : undefined).apply(JSON.stringify);
|
|
@@ -55,39 +53,30 @@ class Provider extends pulumi.ProviderResource {
|
|
|
55
53
|
resourceInputs["keepSessionAlive"] = pulumi.output(args ? args.keepSessionAlive : undefined).apply(JSON.stringify);
|
|
56
54
|
resourceInputs["loginTimeout"] = pulumi.output(args ? args.loginTimeout : undefined).apply(JSON.stringify);
|
|
57
55
|
resourceInputs["maxRetryCount"] = pulumi.output(args ? args.maxRetryCount : undefined).apply(JSON.stringify);
|
|
58
|
-
resourceInputs["oauthAccessToken"] = (_d = ((args === null || args === void 0 ? void 0 : args.oauthAccessToken) ? pulumi.secret(args.oauthAccessToken) : undefined)) !== null && _d !== void 0 ? _d : utilities.getEnv("SNOWFLAKE_OAUTH_ACCESS_TOKEN");
|
|
59
|
-
resourceInputs["oauthClientId"] = (_e = ((args === null || args === void 0 ? void 0 : args.oauthClientId) ? pulumi.secret(args.oauthClientId) : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnv("SNOWFLAKE_OAUTH_CLIENT_ID");
|
|
60
|
-
resourceInputs["oauthClientSecret"] = (_f = ((args === null || args === void 0 ? void 0 : args.oauthClientSecret) ? pulumi.secret(args.oauthClientSecret) : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("SNOWFLAKE_OAUTH_CLIENT_SECRET");
|
|
61
|
-
resourceInputs["oauthEndpoint"] = (_g = ((args === null || args === void 0 ? void 0 : args.oauthEndpoint) ? pulumi.secret(args.oauthEndpoint) : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("SNOWFLAKE_OAUTH_ENDPOINT");
|
|
62
|
-
resourceInputs["oauthRedirectUrl"] = (_h = ((args === null || args === void 0 ? void 0 : args.oauthRedirectUrl) ? pulumi.secret(args.oauthRedirectUrl) : undefined)) !== null && _h !== void 0 ? _h : utilities.getEnv("SNOWFLAKE_OAUTH_REDIRECT_URL");
|
|
63
|
-
resourceInputs["oauthRefreshToken"] = (_j = ((args === null || args === void 0 ? void 0 : args.oauthRefreshToken) ? pulumi.secret(args.oauthRefreshToken) : undefined)) !== null && _j !== void 0 ? _j : utilities.getEnv("SNOWFLAKE_OAUTH_REFRESH_TOKEN");
|
|
64
56
|
resourceInputs["ocspFailOpen"] = args ? args.ocspFailOpen : undefined;
|
|
65
57
|
resourceInputs["oktaUrl"] = args ? args.oktaUrl : undefined;
|
|
66
58
|
resourceInputs["organizationName"] = args ? args.organizationName : undefined;
|
|
67
59
|
resourceInputs["params"] = pulumi.output(args ? args.params : undefined).apply(JSON.stringify);
|
|
68
60
|
resourceInputs["passcode"] = args ? args.passcode : undefined;
|
|
69
61
|
resourceInputs["passcodeInPassword"] = pulumi.output(args ? args.passcodeInPassword : undefined).apply(JSON.stringify);
|
|
70
|
-
resourceInputs["password"] = (
|
|
71
|
-
resourceInputs["port"] = pulumi.output((
|
|
62
|
+
resourceInputs["password"] = (_b = ((args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("SNOWFLAKE_PASSWORD");
|
|
63
|
+
resourceInputs["port"] = pulumi.output((_c = (args ? args.port : undefined)) !== null && _c !== void 0 ? _c : utilities.getEnvNumber("SNOWFLAKE_PORT")).apply(JSON.stringify);
|
|
64
|
+
resourceInputs["previewFeaturesEnableds"] = pulumi.output(args ? args.previewFeaturesEnableds : undefined).apply(JSON.stringify);
|
|
72
65
|
resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
|
|
73
|
-
resourceInputs["privateKeyPassphrase"] = (
|
|
74
|
-
resourceInputs["privateKeyPath"] = (_o = ((args === null || args === void 0 ? void 0 : args.privateKeyPath) ? pulumi.secret(args.privateKeyPath) : undefined)) !== null && _o !== void 0 ? _o : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PATH");
|
|
66
|
+
resourceInputs["privateKeyPassphrase"] = (_d = ((args === null || args === void 0 ? void 0 : args.privateKeyPassphrase) ? pulumi.secret(args.privateKeyPassphrase) : undefined)) !== null && _d !== void 0 ? _d : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
|
|
75
67
|
resourceInputs["profile"] = args ? args.profile : undefined;
|
|
76
|
-
resourceInputs["protocol"] = (
|
|
77
|
-
resourceInputs["region"] = (_q = (args ? args.region : undefined)) !== null && _q !== void 0 ? _q : utilities.getEnv("SNOWFLAKE_REGION");
|
|
68
|
+
resourceInputs["protocol"] = (_e = (args ? args.protocol : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnv("SNOWFLAKE_PROTOCOL");
|
|
78
69
|
resourceInputs["requestTimeout"] = pulumi.output(args ? args.requestTimeout : undefined).apply(JSON.stringify);
|
|
79
|
-
resourceInputs["role"] = (
|
|
80
|
-
resourceInputs["sessionParams"] = pulumi.output(args ? args.sessionParams : undefined).apply(JSON.stringify);
|
|
70
|
+
resourceInputs["role"] = (_f = (args ? args.role : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("SNOWFLAKE_ROLE");
|
|
81
71
|
resourceInputs["tmpDirectoryPath"] = args ? args.tmpDirectoryPath : undefined;
|
|
82
72
|
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
83
73
|
resourceInputs["tokenAccessor"] = pulumi.output(args ? args.tokenAccessor : undefined).apply(JSON.stringify);
|
|
84
74
|
resourceInputs["user"] = args ? args.user : undefined;
|
|
85
|
-
resourceInputs["username"] = (_s = (args ? args.username : undefined)) !== null && _s !== void 0 ? _s : utilities.getEnv("SNOWFLAKE_USER");
|
|
86
75
|
resourceInputs["validateDefaultParameters"] = args ? args.validateDefaultParameters : undefined;
|
|
87
|
-
resourceInputs["warehouse"] = (
|
|
76
|
+
resourceInputs["warehouse"] = (_g = (args ? args.warehouse : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("SNOWFLAKE_WAREHOUSE");
|
|
88
77
|
}
|
|
89
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
-
const secretOpts = { additionalSecretOutputs: ["
|
|
79
|
+
const secretOpts = { additionalSecretOutputs: ["password", "privateKey", "privateKeyPassphrase", "token"] };
|
|
91
80
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
92
81
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
93
82
|
}
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB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AAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAlML,4BAmMC;AAlMG,gBAAgB;AACO,qBAAY,GAAG,WAAW,CAAC"}
|
package/resourceMonitor.d.ts
CHANGED
|
@@ -4,10 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* format is the resource monitor name
|
|
8
|
-
*
|
|
9
7
|
* ```sh
|
|
10
|
-
* $ pulumi import snowflake:index/resourceMonitor:ResourceMonitor example '
|
|
8
|
+
* $ pulumi import snowflake:index/resourceMonitor:ResourceMonitor example '"<resource_monitor_name>"'
|
|
11
9
|
* ```
|
|
12
10
|
*/
|
|
13
11
|
export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
@@ -43,7 +41,7 @@ export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
|
43
41
|
*/
|
|
44
42
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
45
43
|
/**
|
|
46
|
-
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
44
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
47
45
|
*/
|
|
48
46
|
readonly name: pulumi.Output<string>;
|
|
49
47
|
/**
|
|
@@ -51,7 +49,7 @@ export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
|
51
49
|
*/
|
|
52
50
|
readonly notifyTriggers: pulumi.Output<number[] | undefined>;
|
|
53
51
|
/**
|
|
54
|
-
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
52
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
|
|
55
53
|
*/
|
|
56
54
|
readonly notifyUsers: pulumi.Output<string[] | undefined>;
|
|
57
55
|
/**
|
|
@@ -100,7 +98,7 @@ export interface ResourceMonitorState {
|
|
|
100
98
|
*/
|
|
101
99
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
102
100
|
/**
|
|
103
|
-
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
101
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
104
102
|
*/
|
|
105
103
|
name?: pulumi.Input<string>;
|
|
106
104
|
/**
|
|
@@ -108,7 +106,7 @@ export interface ResourceMonitorState {
|
|
|
108
106
|
*/
|
|
109
107
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
110
108
|
/**
|
|
111
|
-
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
109
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
|
|
112
110
|
*/
|
|
113
111
|
notifyUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
114
112
|
/**
|
|
@@ -145,7 +143,7 @@ export interface ResourceMonitorArgs {
|
|
|
145
143
|
*/
|
|
146
144
|
frequency?: pulumi.Input<string>;
|
|
147
145
|
/**
|
|
148
|
-
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
146
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
149
147
|
*/
|
|
150
148
|
name?: pulumi.Input<string>;
|
|
151
149
|
/**
|
|
@@ -153,7 +151,7 @@ export interface ResourceMonitorArgs {
|
|
|
153
151
|
*/
|
|
154
152
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
155
153
|
/**
|
|
156
|
-
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
154
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors. For more information about this resource, see docs.
|
|
157
155
|
*/
|
|
158
156
|
notifyUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
157
|
/**
|
package/resourceMonitor.js
CHANGED
|
@@ -8,10 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* format is the resource monitor name
|
|
12
|
-
*
|
|
13
11
|
* ```sh
|
|
14
|
-
* $ pulumi import snowflake:index/resourceMonitor:ResourceMonitor example '
|
|
12
|
+
* $ pulumi import snowflake:index/resourceMonitor:ResourceMonitor example '"<resource_monitor_name>"'
|
|
15
13
|
* ```
|
|
16
14
|
*/
|
|
17
15
|
class ResourceMonitor extends pulumi.CustomResource {
|
package/resourceMonitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;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,OA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C,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAjHL,0CAkHC;AApGG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/rowAccessPolicy.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare class RowAccessPolicy extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly comment: pulumi.Output<string | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
40
|
+
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
41
|
*/
|
|
42
42
|
readonly database: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
@@ -49,11 +49,11 @@ export declare class RowAccessPolicy extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
|
-
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
52
|
+
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
53
53
|
*/
|
|
54
54
|
readonly name: pulumi.Output<string>;
|
|
55
55
|
/**
|
|
56
|
-
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
56
|
+
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
57
57
|
*/
|
|
58
58
|
readonly schema: pulumi.Output<string>;
|
|
59
59
|
/**
|
|
@@ -86,7 +86,7 @@ export interface RowAccessPolicyState {
|
|
|
86
86
|
*/
|
|
87
87
|
comment?: pulumi.Input<string>;
|
|
88
88
|
/**
|
|
89
|
-
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
89
|
+
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
90
90
|
*/
|
|
91
91
|
database?: pulumi.Input<string>;
|
|
92
92
|
/**
|
|
@@ -98,11 +98,11 @@ export interface RowAccessPolicyState {
|
|
|
98
98
|
*/
|
|
99
99
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
101
|
+
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
102
102
|
*/
|
|
103
103
|
name?: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
|
-
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
105
|
+
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
106
106
|
*/
|
|
107
107
|
schema?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
@@ -127,15 +127,15 @@ export interface RowAccessPolicyArgs {
|
|
|
127
127
|
*/
|
|
128
128
|
comment?: pulumi.Input<string>;
|
|
129
129
|
/**
|
|
130
|
-
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
130
|
+
* The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
131
131
|
*/
|
|
132
132
|
database: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
134
|
+
* Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
135
135
|
*/
|
|
136
136
|
name?: pulumi.Input<string>;
|
|
137
137
|
/**
|
|
138
|
-
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
138
|
+
* The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
139
139
|
*/
|
|
140
140
|
schema: pulumi.Input<string>;
|
|
141
141
|
}
|
package/saml2Integration.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/saml2Integration:Saml2Integration example "
|
|
8
|
+
* $ pulumi import snowflake:index/saml2Integration:Saml2Integration example '"<integration_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class Saml2Integration extends pulumi.CustomResource {
|
|
@@ -49,7 +49,7 @@ export declare class Saml2Integration extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
52
|
+
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
53
53
|
*/
|
|
54
54
|
readonly name: pulumi.Output<string>;
|
|
55
55
|
/**
|
|
@@ -142,7 +142,7 @@ export interface Saml2IntegrationState {
|
|
|
142
142
|
*/
|
|
143
143
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
144
144
|
/**
|
|
145
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
145
|
+
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
146
146
|
*/
|
|
147
147
|
name?: pulumi.Input<string>;
|
|
148
148
|
/**
|
|
@@ -219,7 +219,7 @@ export interface Saml2IntegrationArgs {
|
|
|
219
219
|
*/
|
|
220
220
|
enabled?: pulumi.Input<string>;
|
|
221
221
|
/**
|
|
222
|
-
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
222
|
+
* Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
223
223
|
*/
|
|
224
224
|
name?: pulumi.Input<string>;
|
|
225
225
|
/**
|
package/saml2Integration.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/saml2Integration:Saml2Integration example "
|
|
12
|
+
* $ pulumi import snowflake:index/saml2Integration:Saml2Integration example '"<integration_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class Saml2Integration extends pulumi.CustomResource {
|