@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/user.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
92
92
|
*/
|
|
93
93
|
readonly defaultNamespace: pulumi.Output<string | undefined>;
|
|
94
94
|
/**
|
|
95
|
-
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
|
|
95
|
+
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
96
96
|
*/
|
|
97
97
|
readonly defaultRole: pulumi.Output<string | undefined>;
|
|
98
98
|
/**
|
|
@@ -100,7 +100,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
100
100
|
*/
|
|
101
101
|
readonly defaultSecondaryRolesOption: pulumi.Output<string | undefined>;
|
|
102
102
|
/**
|
|
103
|
-
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
|
|
103
|
+
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
104
104
|
*/
|
|
105
105
|
readonly defaultWarehouse: pulumi.Output<string | undefined>;
|
|
106
106
|
readonly disableMfa: pulumi.Output<string | undefined>;
|
|
@@ -195,7 +195,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
195
195
|
*/
|
|
196
196
|
readonly mustChangePassword: pulumi.Output<string | undefined>;
|
|
197
197
|
/**
|
|
198
|
-
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
198
|
+
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
199
199
|
*/
|
|
200
200
|
readonly name: pulumi.Output<string>;
|
|
201
201
|
/**
|
|
@@ -422,7 +422,7 @@ export interface UserState {
|
|
|
422
422
|
*/
|
|
423
423
|
defaultNamespace?: pulumi.Input<string>;
|
|
424
424
|
/**
|
|
425
|
-
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
|
|
425
|
+
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
426
426
|
*/
|
|
427
427
|
defaultRole?: pulumi.Input<string>;
|
|
428
428
|
/**
|
|
@@ -430,7 +430,7 @@ export interface UserState {
|
|
|
430
430
|
*/
|
|
431
431
|
defaultSecondaryRolesOption?: pulumi.Input<string>;
|
|
432
432
|
/**
|
|
433
|
-
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
|
|
433
|
+
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
434
434
|
*/
|
|
435
435
|
defaultWarehouse?: pulumi.Input<string>;
|
|
436
436
|
disableMfa?: pulumi.Input<string>;
|
|
@@ -525,7 +525,7 @@ export interface UserState {
|
|
|
525
525
|
*/
|
|
526
526
|
mustChangePassword?: pulumi.Input<string>;
|
|
527
527
|
/**
|
|
528
|
-
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
528
|
+
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
529
529
|
*/
|
|
530
530
|
name?: pulumi.Input<string>;
|
|
531
531
|
/**
|
|
@@ -744,7 +744,7 @@ export interface UserArgs {
|
|
|
744
744
|
*/
|
|
745
745
|
defaultNamespace?: pulumi.Input<string>;
|
|
746
746
|
/**
|
|
747
|
-
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
|
|
747
|
+
* Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
|
|
748
748
|
*/
|
|
749
749
|
defaultRole?: pulumi.Input<string>;
|
|
750
750
|
/**
|
|
@@ -752,7 +752,7 @@ export interface UserArgs {
|
|
|
752
752
|
*/
|
|
753
753
|
defaultSecondaryRolesOption?: pulumi.Input<string>;
|
|
754
754
|
/**
|
|
755
|
-
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
|
|
755
|
+
* Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
|
|
756
756
|
*/
|
|
757
757
|
defaultWarehouse?: pulumi.Input<string>;
|
|
758
758
|
disableMfa?: pulumi.Input<string>;
|
|
@@ -843,7 +843,7 @@ export interface UserArgs {
|
|
|
843
843
|
*/
|
|
844
844
|
mustChangePassword?: pulumi.Input<string>;
|
|
845
845
|
/**
|
|
846
|
-
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
846
|
+
* Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
847
847
|
*/
|
|
848
848
|
name?: pulumi.Input<string>;
|
|
849
849
|
/**
|
package/view.d.ts
CHANGED
|
@@ -40,9 +40,6 @@ export declare class View extends pulumi.CustomResource {
|
|
|
40
40
|
* Specifies a comment for the view.
|
|
41
41
|
*/
|
|
42
42
|
readonly comment: pulumi.Output<string | undefined>;
|
|
43
|
-
/**
|
|
44
|
-
* Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
45
|
-
*/
|
|
46
43
|
readonly copyGrants: pulumi.Output<boolean | undefined>;
|
|
47
44
|
/**
|
|
48
45
|
* Data metric functions used for the view.
|
|
@@ -53,7 +50,7 @@ export declare class View extends pulumi.CustomResource {
|
|
|
53
50
|
*/
|
|
54
51
|
readonly dataMetricSchedule: pulumi.Output<outputs.ViewDataMetricSchedule | undefined>;
|
|
55
52
|
/**
|
|
56
|
-
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
53
|
+
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
57
54
|
*/
|
|
58
55
|
readonly database: pulumi.Output<string>;
|
|
59
56
|
/**
|
|
@@ -71,7 +68,7 @@ export declare class View extends pulumi.CustomResource {
|
|
|
71
68
|
readonly isSecure: pulumi.Output<string | undefined>;
|
|
72
69
|
readonly isTemporary: pulumi.Output<string | undefined>;
|
|
73
70
|
/**
|
|
74
|
-
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
71
|
+
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
75
72
|
*/
|
|
76
73
|
readonly name: pulumi.Output<string>;
|
|
77
74
|
/**
|
|
@@ -79,7 +76,7 @@ export declare class View extends pulumi.CustomResource {
|
|
|
79
76
|
*/
|
|
80
77
|
readonly rowAccessPolicy: pulumi.Output<outputs.ViewRowAccessPolicy | undefined>;
|
|
81
78
|
/**
|
|
82
|
-
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
79
|
+
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
83
80
|
*/
|
|
84
81
|
readonly schema: pulumi.Output<string>;
|
|
85
82
|
/**
|
|
@@ -87,7 +84,7 @@ export declare class View extends pulumi.CustomResource {
|
|
|
87
84
|
*/
|
|
88
85
|
readonly showOutputs: pulumi.Output<outputs.ViewShowOutput[]>;
|
|
89
86
|
/**
|
|
90
|
-
* Specifies the query used to create the view.
|
|
87
|
+
* Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
91
88
|
*/
|
|
92
89
|
readonly statement: pulumi.Output<string>;
|
|
93
90
|
/**
|
|
@@ -119,9 +116,6 @@ export interface ViewState {
|
|
|
119
116
|
* Specifies a comment for the view.
|
|
120
117
|
*/
|
|
121
118
|
comment?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
124
|
-
*/
|
|
125
119
|
copyGrants?: pulumi.Input<boolean>;
|
|
126
120
|
/**
|
|
127
121
|
* Data metric functions used for the view.
|
|
@@ -132,7 +126,7 @@ export interface ViewState {
|
|
|
132
126
|
*/
|
|
133
127
|
dataMetricSchedule?: pulumi.Input<inputs.ViewDataMetricSchedule>;
|
|
134
128
|
/**
|
|
135
|
-
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
129
|
+
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
136
130
|
*/
|
|
137
131
|
database?: pulumi.Input<string>;
|
|
138
132
|
/**
|
|
@@ -150,7 +144,7 @@ export interface ViewState {
|
|
|
150
144
|
isSecure?: pulumi.Input<string>;
|
|
151
145
|
isTemporary?: pulumi.Input<string>;
|
|
152
146
|
/**
|
|
153
|
-
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
147
|
+
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
154
148
|
*/
|
|
155
149
|
name?: pulumi.Input<string>;
|
|
156
150
|
/**
|
|
@@ -158,7 +152,7 @@ export interface ViewState {
|
|
|
158
152
|
*/
|
|
159
153
|
rowAccessPolicy?: pulumi.Input<inputs.ViewRowAccessPolicy>;
|
|
160
154
|
/**
|
|
161
|
-
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
155
|
+
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
162
156
|
*/
|
|
163
157
|
schema?: pulumi.Input<string>;
|
|
164
158
|
/**
|
|
@@ -166,7 +160,7 @@ export interface ViewState {
|
|
|
166
160
|
*/
|
|
167
161
|
showOutputs?: pulumi.Input<pulumi.Input<inputs.ViewShowOutput>[]>;
|
|
168
162
|
/**
|
|
169
|
-
* Specifies the query used to create the view.
|
|
163
|
+
* Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
170
164
|
*/
|
|
171
165
|
statement?: pulumi.Input<string>;
|
|
172
166
|
}
|
|
@@ -190,9 +184,6 @@ export interface ViewArgs {
|
|
|
190
184
|
* Specifies a comment for the view.
|
|
191
185
|
*/
|
|
192
186
|
comment?: pulumi.Input<string>;
|
|
193
|
-
/**
|
|
194
|
-
* Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
|
|
195
|
-
*/
|
|
196
187
|
copyGrants?: pulumi.Input<boolean>;
|
|
197
188
|
/**
|
|
198
189
|
* Data metric functions used for the view.
|
|
@@ -203,7 +194,7 @@ export interface ViewArgs {
|
|
|
203
194
|
*/
|
|
204
195
|
dataMetricSchedule?: pulumi.Input<inputs.ViewDataMetricSchedule>;
|
|
205
196
|
/**
|
|
206
|
-
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
197
|
+
* The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
207
198
|
*/
|
|
208
199
|
database: pulumi.Input<string>;
|
|
209
200
|
/**
|
|
@@ -213,7 +204,7 @@ export interface ViewArgs {
|
|
|
213
204
|
isSecure?: pulumi.Input<string>;
|
|
214
205
|
isTemporary?: pulumi.Input<string>;
|
|
215
206
|
/**
|
|
216
|
-
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
207
|
+
* Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
217
208
|
*/
|
|
218
209
|
name?: pulumi.Input<string>;
|
|
219
210
|
/**
|
|
@@ -221,11 +212,11 @@ export interface ViewArgs {
|
|
|
221
212
|
*/
|
|
222
213
|
rowAccessPolicy?: pulumi.Input<inputs.ViewRowAccessPolicy>;
|
|
223
214
|
/**
|
|
224
|
-
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
215
|
+
* The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
225
216
|
*/
|
|
226
217
|
schema: pulumi.Input<string>;
|
|
227
218
|
/**
|
|
228
|
-
* Specifies the query used to create the view.
|
|
219
|
+
* Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
229
220
|
*/
|
|
230
221
|
statement: pulumi.Input<string>;
|
|
231
222
|
}
|
package/view.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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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7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/warehouse:Warehouse example
|
|
8
|
+
* $ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class Warehouse extends pulumi.CustomResource {
|
|
@@ -61,7 +61,7 @@ export declare class Warehouse extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly minClusterCount: pulumi.Output<number | undefined>;
|
|
63
63
|
/**
|
|
64
|
-
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
64
|
+
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
65
65
|
*/
|
|
66
66
|
readonly name: pulumi.Output<string>;
|
|
67
67
|
/**
|
|
@@ -73,7 +73,7 @@ export declare class Warehouse extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
readonly queryAccelerationMaxScaleFactor: pulumi.Output<number | undefined>;
|
|
75
75
|
/**
|
|
76
|
-
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
76
|
+
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
77
77
|
*/
|
|
78
78
|
readonly resourceMonitor: pulumi.Output<string | undefined>;
|
|
79
79
|
/**
|
|
@@ -150,7 +150,7 @@ export interface WarehouseState {
|
|
|
150
150
|
*/
|
|
151
151
|
minClusterCount?: pulumi.Input<number>;
|
|
152
152
|
/**
|
|
153
|
-
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
153
|
+
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
154
154
|
*/
|
|
155
155
|
name?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
@@ -162,7 +162,7 @@ export interface WarehouseState {
|
|
|
162
162
|
*/
|
|
163
163
|
queryAccelerationMaxScaleFactor?: pulumi.Input<number>;
|
|
164
164
|
/**
|
|
165
|
-
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
165
|
+
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
166
166
|
*/
|
|
167
167
|
resourceMonitor?: pulumi.Input<string>;
|
|
168
168
|
/**
|
|
@@ -227,7 +227,7 @@ export interface WarehouseArgs {
|
|
|
227
227
|
*/
|
|
228
228
|
minClusterCount?: pulumi.Input<number>;
|
|
229
229
|
/**
|
|
230
|
-
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
230
|
+
* Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
231
231
|
*/
|
|
232
232
|
name?: pulumi.Input<string>;
|
|
233
233
|
/**
|
|
@@ -235,7 +235,7 @@ export interface WarehouseArgs {
|
|
|
235
235
|
*/
|
|
236
236
|
queryAccelerationMaxScaleFactor?: pulumi.Input<number>;
|
|
237
237
|
/**
|
|
238
|
-
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
|
|
238
|
+
* Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
|
|
239
239
|
*/
|
|
240
240
|
resourceMonitor?: pulumi.Input<string>;
|
|
241
241
|
/**
|
package/warehouse.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/warehouse:Warehouse example
|
|
12
|
+
* $ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class Warehouse extends pulumi.CustomResource {
|
package/databaseOld.d.ts
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/databaseOld:DatabaseOld example 'database_name'
|
|
9
|
-
* ```
|
|
10
|
-
*/
|
|
11
|
-
export declare class DatabaseOld extends pulumi.CustomResource {
|
|
12
|
-
/**
|
|
13
|
-
* Get an existing DatabaseOld resource's state with the given name, ID, and optional extra
|
|
14
|
-
* properties used to qualify the lookup.
|
|
15
|
-
*
|
|
16
|
-
* @param name The _unique_ name of the resulting resource.
|
|
17
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
-
* @param state Any extra arguments used during the lookup.
|
|
19
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
-
*/
|
|
21
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseOldState, opts?: pulumi.CustomResourceOptions): DatabaseOld;
|
|
22
|
-
/**
|
|
23
|
-
* Returns true if the given object is an instance of DatabaseOld. This is designed to work even
|
|
24
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
-
*/
|
|
26
|
-
static isInstance(obj: any): obj is DatabaseOld;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies a comment for the database.
|
|
29
|
-
*/
|
|
30
|
-
readonly comment: pulumi.Output<string | undefined>;
|
|
31
|
-
/**
|
|
32
|
-
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
33
|
-
*/
|
|
34
|
-
readonly dataRetentionTimeInDays: pulumi.Output<number | undefined>;
|
|
35
|
-
/**
|
|
36
|
-
* Specify a database to create a clone from.
|
|
37
|
-
*/
|
|
38
|
-
readonly fromDatabase: pulumi.Output<string | undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
|
|
41
|
-
*/
|
|
42
|
-
readonly fromReplica: pulumi.Output<string | undefined>;
|
|
43
|
-
/**
|
|
44
|
-
* Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
|
|
45
|
-
*/
|
|
46
|
-
readonly fromShare: pulumi.Output<{
|
|
47
|
-
[key: string]: string;
|
|
48
|
-
} | undefined>;
|
|
49
|
-
/**
|
|
50
|
-
* Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
51
|
-
*/
|
|
52
|
-
readonly isTransient: pulumi.Output<boolean | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies the identifier for the database; must be unique for your account.
|
|
55
|
-
*/
|
|
56
|
-
readonly name: pulumi.Output<string>;
|
|
57
|
-
/**
|
|
58
|
-
* When set, specifies the configurations for database replication.
|
|
59
|
-
*/
|
|
60
|
-
readonly replicationConfiguration: pulumi.Output<outputs.DatabaseOldReplicationConfiguration | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Create a DatabaseOld resource with the given unique name, arguments, and options.
|
|
63
|
-
*
|
|
64
|
-
* @param name The _unique_ name of the resource.
|
|
65
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
-
*/
|
|
68
|
-
constructor(name: string, args?: DatabaseOldArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Input properties used for looking up and filtering DatabaseOld resources.
|
|
72
|
-
*/
|
|
73
|
-
export interface DatabaseOldState {
|
|
74
|
-
/**
|
|
75
|
-
* Specifies a comment for the database.
|
|
76
|
-
*/
|
|
77
|
-
comment?: pulumi.Input<string>;
|
|
78
|
-
/**
|
|
79
|
-
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
80
|
-
*/
|
|
81
|
-
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
82
|
-
/**
|
|
83
|
-
* Specify a database to create a clone from.
|
|
84
|
-
*/
|
|
85
|
-
fromDatabase?: pulumi.Input<string>;
|
|
86
|
-
/**
|
|
87
|
-
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
|
|
88
|
-
*/
|
|
89
|
-
fromReplica?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
|
|
92
|
-
*/
|
|
93
|
-
fromShare?: pulumi.Input<{
|
|
94
|
-
[key: string]: pulumi.Input<string>;
|
|
95
|
-
}>;
|
|
96
|
-
/**
|
|
97
|
-
* Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
98
|
-
*/
|
|
99
|
-
isTransient?: pulumi.Input<boolean>;
|
|
100
|
-
/**
|
|
101
|
-
* Specifies the identifier for the database; must be unique for your account.
|
|
102
|
-
*/
|
|
103
|
-
name?: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* When set, specifies the configurations for database replication.
|
|
106
|
-
*/
|
|
107
|
-
replicationConfiguration?: pulumi.Input<inputs.DatabaseOldReplicationConfiguration>;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* The set of arguments for constructing a DatabaseOld resource.
|
|
111
|
-
*/
|
|
112
|
-
export interface DatabaseOldArgs {
|
|
113
|
-
/**
|
|
114
|
-
* Specifies a comment for the database.
|
|
115
|
-
*/
|
|
116
|
-
comment?: pulumi.Input<string>;
|
|
117
|
-
/**
|
|
118
|
-
* Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
119
|
-
*/
|
|
120
|
-
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
121
|
-
/**
|
|
122
|
-
* Specify a database to create a clone from.
|
|
123
|
-
*/
|
|
124
|
-
fromDatabase?: pulumi.Input<string>;
|
|
125
|
-
/**
|
|
126
|
-
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
|
|
127
|
-
*/
|
|
128
|
-
fromReplica?: pulumi.Input<string>;
|
|
129
|
-
/**
|
|
130
|
-
* Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
|
|
131
|
-
*/
|
|
132
|
-
fromShare?: pulumi.Input<{
|
|
133
|
-
[key: string]: pulumi.Input<string>;
|
|
134
|
-
}>;
|
|
135
|
-
/**
|
|
136
|
-
* Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
|
|
137
|
-
*/
|
|
138
|
-
isTransient?: pulumi.Input<boolean>;
|
|
139
|
-
/**
|
|
140
|
-
* Specifies the identifier for the database; must be unique for your account.
|
|
141
|
-
*/
|
|
142
|
-
name?: pulumi.Input<string>;
|
|
143
|
-
/**
|
|
144
|
-
* When set, specifies the configurations for database replication.
|
|
145
|
-
*/
|
|
146
|
-
replicationConfiguration?: pulumi.Input<inputs.DatabaseOldReplicationConfiguration>;
|
|
147
|
-
}
|
package/databaseOld.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DatabaseOld = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/databaseOld:DatabaseOld example 'database_name'
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
class DatabaseOld extends pulumi.CustomResource {
|
|
16
|
-
/**
|
|
17
|
-
* Get an existing DatabaseOld resource's state with the given name, ID, and optional extra
|
|
18
|
-
* properties used to qualify the lookup.
|
|
19
|
-
*
|
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
-
* @param state Any extra arguments used during the lookup.
|
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
-
*/
|
|
25
|
-
static get(name, id, state, opts) {
|
|
26
|
-
return new DatabaseOld(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of DatabaseOld. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj) {
|
|
33
|
-
if (obj === undefined || obj === null) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return obj['__pulumiType'] === DatabaseOld.__pulumiType;
|
|
37
|
-
}
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
let resourceInputs = {};
|
|
40
|
-
opts = opts || {};
|
|
41
|
-
if (opts.id) {
|
|
42
|
-
const state = argsOrState;
|
|
43
|
-
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
44
|
-
resourceInputs["dataRetentionTimeInDays"] = state ? state.dataRetentionTimeInDays : undefined;
|
|
45
|
-
resourceInputs["fromDatabase"] = state ? state.fromDatabase : undefined;
|
|
46
|
-
resourceInputs["fromReplica"] = state ? state.fromReplica : undefined;
|
|
47
|
-
resourceInputs["fromShare"] = state ? state.fromShare : undefined;
|
|
48
|
-
resourceInputs["isTransient"] = state ? state.isTransient : undefined;
|
|
49
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
|
-
resourceInputs["replicationConfiguration"] = state ? state.replicationConfiguration : undefined;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
const args = argsOrState;
|
|
54
|
-
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
55
|
-
resourceInputs["dataRetentionTimeInDays"] = args ? args.dataRetentionTimeInDays : undefined;
|
|
56
|
-
resourceInputs["fromDatabase"] = args ? args.fromDatabase : undefined;
|
|
57
|
-
resourceInputs["fromReplica"] = args ? args.fromReplica : undefined;
|
|
58
|
-
resourceInputs["fromShare"] = args ? args.fromShare : undefined;
|
|
59
|
-
resourceInputs["isTransient"] = args ? args.isTransient : undefined;
|
|
60
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
|
-
resourceInputs["replicationConfiguration"] = args ? args.replicationConfiguration : undefined;
|
|
62
|
-
}
|
|
63
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
-
super(DatabaseOld.__pulumiType, name, resourceInputs, opts);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.DatabaseOld = DatabaseOld;
|
|
68
|
-
/** @internal */
|
|
69
|
-
DatabaseOld.__pulumiType = 'snowflake:index/databaseOld:DatabaseOld';
|
|
70
|
-
//# sourceMappingURL=databaseOld.js.map
|
package/databaseOld.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"databaseOld.js","sourceRoot":"","sources":["../databaseOld.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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