@pulumi/snowflake 0.58.0-alpha.1726035035 → 0.58.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 +8 -26
- package/account.js +2 -26
- package/account.js.map +1 -1
- package/accountParameter.d.ts +0 -16
- package/accountParameter.js +0 -16
- package/accountParameter.js.map +1 -1
- package/accountPasswordPolicyAttachment.d.ts +0 -17
- package/accountPasswordPolicyAttachment.js +0 -17
- package/accountPasswordPolicyAttachment.js.map +1 -1
- package/accountRole.d.ts +17 -19
- package/accountRole.js +2 -19
- package/accountRole.js.map +1 -1
- package/alert.d.ts +8 -21
- package/alert.js +2 -21
- package/alert.js.map +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +11 -7
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +2 -4
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +11 -7
- package/apiAuthenticationIntegrationWithClientCredentials.js +2 -4
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +11 -7
- package/apiAuthenticationIntegrationWithJwtBearer.js +2 -4
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/apiIntegration.d.ts +8 -30
- package/apiIntegration.js +2 -30
- package/apiIntegration.js.map +1 -1
- package/cortexSearchService.d.ts +8 -42
- package/cortexSearchService.js +2 -42
- package/cortexSearchService.js.map +1 -1
- package/database.d.ts +23 -7
- package/database.js +4 -4
- package/database.js.map +1 -1
- package/databaseOld.d.ts +0 -40
- package/databaseOld.js +0 -40
- package/databaseOld.js.map +1 -1
- package/databaseRole.d.ts +25 -20
- package/databaseRole.js +5 -14
- package/databaseRole.js.map +1 -1
- package/dynamicTable.d.ts +8 -20
- package/dynamicTable.js +2 -20
- package/dynamicTable.js.map +1 -1
- package/emailNotificationIntegration.d.ts +8 -14
- package/emailNotificationIntegration.js +2 -14
- package/emailNotificationIntegration.js.map +1 -1
- package/externalFunction.d.ts +8 -27
- package/externalFunction.js +2 -27
- package/externalFunction.js.map +1 -1
- package/externalOauthIntegration.d.ts +11 -7
- package/externalOauthIntegration.js +2 -4
- package/externalOauthIntegration.js.map +1 -1
- package/externalTable.d.ts +8 -25
- package/externalTable.js +2 -25
- package/externalTable.js.map +1 -1
- package/failoverGroup.d.ts +8 -38
- package/failoverGroup.js +2 -38
- package/failoverGroup.js.map +1 -1
- package/fileFormat.d.ts +8 -14
- package/fileFormat.js +2 -14
- package/fileFormat.js.map +1 -1
- package/function.d.ts +8 -2
- package/function.js +2 -2
- package/function.js.map +1 -1
- package/getDatabaseRoles.d.ts +34 -27
- package/getDatabaseRoles.js +5 -21
- package/getDatabaseRoles.js.map +1 -1
- package/getUsers.d.ts +62 -27
- package/getUsers.js +10 -19
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +56 -39
- package/getViews.js +8 -24
- package/getViews.js.map +1 -1
- package/grantAccountRole.d.ts +0 -2
- package/grantAccountRole.js +0 -2
- package/grantAccountRole.js.map +1 -1
- package/grantApplicationRole.d.ts +0 -2
- package/grantApplicationRole.js +0 -2
- package/grantApplicationRole.js.map +1 -1
- package/grantDatabaseRole.d.ts +0 -2
- package/grantDatabaseRole.js +0 -2
- package/grantDatabaseRole.js.map +1 -1
- package/grantPrivilegesToAccountRole.d.ts +2 -2
- package/grantPrivilegesToAccountRole.js +2 -2
- package/grantPrivilegesToDatabaseRole.d.ts +3 -1
- package/grantPrivilegesToDatabaseRole.js +3 -1
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/grantPrivilegesToShare.d.ts +13 -1
- package/grantPrivilegesToShare.js +3 -1
- package/grantPrivilegesToShare.js.map +1 -1
- package/managedAccount.d.ts +8 -2
- package/managedAccount.js +2 -2
- package/managedAccount.js.map +1 -1
- package/maskingPolicy.d.ts +8 -37
- package/maskingPolicy.js +2 -31
- package/maskingPolicy.js.map +1 -1
- package/materializedView.d.ts +8 -18
- package/materializedView.js +2 -18
- package/materializedView.js.map +1 -1
- package/networkPolicy.d.ts +11 -7
- package/networkPolicy.js +2 -4
- package/networkPolicy.js.map +1 -1
- package/networkPolicyAttachment.d.ts +0 -16
- package/networkPolicyAttachment.js +0 -16
- package/networkPolicyAttachment.js.map +1 -1
- package/networkRule.d.ts +8 -28
- package/networkRule.js +2 -22
- package/networkRule.js.map +1 -1
- package/notificationIntegration.d.ts +8 -18
- package/notificationIntegration.js +2 -18
- package/notificationIntegration.js.map +1 -1
- package/oauthIntegration.d.ts +0 -18
- package/oauthIntegration.js +0 -18
- package/oauthIntegration.js.map +1 -1
- package/oauthIntegrationForCustomClients.d.ts +11 -56
- package/oauthIntegrationForCustomClients.js +2 -53
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +11 -7
- package/oauthIntegrationForPartnerApplications.js +2 -4
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/objectParameter.d.ts +0 -55
- package/objectParameter.js +0 -55
- package/objectParameter.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +8 -8
- package/passwordPolicy.js +2 -2
- package/passwordPolicy.js.map +1 -1
- package/pipe.d.ts +8 -2
- package/pipe.js +2 -2
- package/pipe.js.map +1 -1
- package/procedure.d.ts +8 -2
- package/procedure.js +2 -2
- package/procedure.js.map +1 -1
- package/resourceMonitor.d.ts +8 -25
- package/resourceMonitor.js +2 -25
- package/resourceMonitor.js.map +1 -1
- package/role.d.ts +17 -19
- package/role.js +2 -19
- package/role.js.map +1 -1
- package/rowAccessPolicy.d.ts +8 -18
- package/rowAccessPolicy.js +2 -18
- package/rowAccessPolicy.js.map +1 -1
- package/saml2Integration.d.ts +11 -7
- package/saml2Integration.js +2 -4
- package/saml2Integration.js.map +1 -1
- package/samlIntegration.d.ts +0 -18
- package/samlIntegration.js +0 -18
- package/samlIntegration.js.map +1 -1
- package/schema.d.ts +13 -9
- package/schema.js +4 -6
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +11 -7
- package/scimIntegration.js +2 -4
- package/scimIntegration.js.map +1 -1
- package/secondaryDatabase.d.ts +11 -9
- package/secondaryDatabase.js +2 -6
- package/secondaryDatabase.js.map +1 -1
- package/sequence.d.ts +2 -20
- package/sequence.js +0 -18
- package/sequence.js.map +1 -1
- package/sessionParameter.d.ts +0 -18
- package/sessionParameter.js +0 -18
- package/sessionParameter.js.map +1 -1
- package/share.d.ts +8 -16
- package/share.js +2 -16
- package/share.js.map +1 -1
- package/sharedDatabase.d.ts +11 -7
- package/sharedDatabase.js +2 -4
- package/sharedDatabase.js.map +1 -1
- package/stage.d.ts +8 -15
- package/stage.js +2 -15
- package/stage.js.map +1 -1
- package/storageIntegration.d.ts +8 -2
- package/storageIntegration.js +2 -2
- package/storageIntegration.js.map +1 -1
- package/stream.d.ts +8 -2
- package/stream.js +2 -2
- package/stream.js.map +1 -1
- package/streamlit.d.ts +12 -8
- package/streamlit.js +4 -6
- package/streamlit.js.map +1 -1
- package/table.d.ts +8 -10
- package/table.js +2 -4
- package/table.js.map +1 -1
- package/tableColumnMaskingPolicyApplication.d.ts +0 -8
- package/tableColumnMaskingPolicyApplication.js +0 -8
- package/tableColumnMaskingPolicyApplication.js.map +1 -1
- package/tableConstraint.d.ts +0 -82
- package/tableConstraint.js +0 -82
- package/tableConstraint.js.map +1 -1
- package/tag.d.ts +8 -22
- package/tag.js +2 -22
- package/tag.js.map +1 -1
- package/tagAssociation.d.ts +0 -66
- package/tagAssociation.js +0 -66
- package/tagAssociation.js.map +1 -1
- package/tagMaskingPolicyAssociation.d.ts +0 -2
- package/tagMaskingPolicyAssociation.js +0 -2
- package/tagMaskingPolicyAssociation.js.map +1 -1
- package/task.d.ts +8 -49
- package/task.js +2 -49
- package/task.js.map +1 -1
- package/types/input.d.ts +696 -15
- package/types/output.d.ts +1924 -720
- package/unsafeExecute.d.ts +0 -11
- package/unsafeExecute.js +0 -11
- package/unsafeExecute.js.map +1 -1
- package/user.d.ts +801 -62
- package/user.js +140 -33
- package/user.js.map +1 -1
- package/userPasswordPolicyAttachment.d.ts +0 -20
- package/userPasswordPolicyAttachment.js +0 -20
- package/userPasswordPolicyAttachment.js.map +1 -1
- package/view.d.ts +117 -63
- package/view.js +23 -26
- package/view.js.map +1 -1
- package/warehouse.d.ts +11 -20
- package/warehouse.js +2 -17
- package/warehouse.js.map +1 -1
package/account.d.ts
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The account resource allows you to create and manage Snowflake accounts.
|
|
4
|
-
*
|
|
5
|
-
* !> **Warning** This resource cannot be destroyed!!! The only way to delete accounts is to go through [Snowflake Support](https://docs.snowflake.com/en/user-guide/organizations-manage-accounts.html#deleting-an-account)
|
|
6
|
-
*
|
|
7
|
-
* > **Note** ORGADMIN priviliges are required for this resource
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
-
*
|
|
15
|
-
* const ac1 = new snowflake.Account("ac1", {
|
|
16
|
-
* name: "SNOWFLAKE_TEST_ACCOUNT",
|
|
17
|
-
* adminName: "John Doe",
|
|
18
|
-
* adminPassword: "Abcd1234!",
|
|
19
|
-
* email: "john.doe@snowflake.com",
|
|
20
|
-
* firstName: "John",
|
|
21
|
-
* lastName: "Doe",
|
|
22
|
-
* mustChangePassword: true,
|
|
23
|
-
* edition: "STANDARD",
|
|
24
|
-
* comment: "Snowflake Test Account",
|
|
25
|
-
* region: "AWS_US_WEST_2",
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
3
|
* ## Import
|
|
30
4
|
*
|
|
31
5
|
* ```sh
|
|
@@ -76,6 +50,10 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
76
50
|
* First name of the initial administrative user of the account
|
|
77
51
|
*/
|
|
78
52
|
readonly firstName: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
55
|
+
*/
|
|
56
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
79
57
|
/**
|
|
80
58
|
* Specifies the number of days to wait before dropping the account. The default is 3 days.
|
|
81
59
|
*/
|
|
@@ -145,6 +123,10 @@ export interface AccountState {
|
|
|
145
123
|
* First name of the initial administrative user of the account
|
|
146
124
|
*/
|
|
147
125
|
firstName?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
128
|
+
*/
|
|
129
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
148
130
|
/**
|
|
149
131
|
* Specifies the number of days to wait before dropping the account. The default is 3 days.
|
|
150
132
|
*/
|
package/account.js
CHANGED
|
@@ -6,32 +6,6 @@ exports.Account = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The account resource allows you to create and manage Snowflake accounts.
|
|
10
|
-
*
|
|
11
|
-
* !> **Warning** This resource cannot be destroyed!!! The only way to delete accounts is to go through [Snowflake Support](https://docs.snowflake.com/en/user-guide/organizations-manage-accounts.html#deleting-an-account)
|
|
12
|
-
*
|
|
13
|
-
* > **Note** ORGADMIN priviliges are required for this resource
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
20
|
-
*
|
|
21
|
-
* const ac1 = new snowflake.Account("ac1", {
|
|
22
|
-
* name: "SNOWFLAKE_TEST_ACCOUNT",
|
|
23
|
-
* adminName: "John Doe",
|
|
24
|
-
* adminPassword: "Abcd1234!",
|
|
25
|
-
* email: "john.doe@snowflake.com",
|
|
26
|
-
* firstName: "John",
|
|
27
|
-
* lastName: "Doe",
|
|
28
|
-
* mustChangePassword: true,
|
|
29
|
-
* edition: "STANDARD",
|
|
30
|
-
* comment: "Snowflake Test Account",
|
|
31
|
-
* region: "AWS_US_WEST_2",
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
9
|
* ## Import
|
|
36
10
|
*
|
|
37
11
|
* ```sh
|
|
@@ -73,6 +47,7 @@ class Account extends pulumi.CustomResource {
|
|
|
73
47
|
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
74
48
|
resourceInputs["email"] = state ? state.email : undefined;
|
|
75
49
|
resourceInputs["firstName"] = state ? state.firstName : undefined;
|
|
50
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
76
51
|
resourceInputs["gracePeriodInDays"] = state ? state.gracePeriodInDays : undefined;
|
|
77
52
|
resourceInputs["isOrgAdmin"] = state ? state.isOrgAdmin : undefined;
|
|
78
53
|
resourceInputs["lastName"] = state ? state.lastName : undefined;
|
|
@@ -105,6 +80,7 @@ class Account extends pulumi.CustomResource {
|
|
|
105
80
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
106
81
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
107
82
|
resourceInputs["regionGroup"] = args ? args.regionGroup : undefined;
|
|
83
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
108
84
|
resourceInputs["isOrgAdmin"] = undefined /*out*/;
|
|
109
85
|
}
|
|
110
86
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"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,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,eAAe,EAAE,mBAAmB,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC;QACzH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApJL,0BAqJC;AAvIG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/accountParameter.d.ts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
8
|
-
*
|
|
9
|
-
* const p = new snowflake.AccountParameter("p", {
|
|
10
|
-
* key: "ALLOW_ID_TOKEN",
|
|
11
|
-
* value: "true",
|
|
12
|
-
* });
|
|
13
|
-
* const p2 = new snowflake.AccountParameter("p2", {
|
|
14
|
-
* key: "CLIENT_ENCRYPTION_KEY_SIZE",
|
|
15
|
-
* value: "256",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
3
|
* ## Import
|
|
20
4
|
*
|
|
21
5
|
* ```sh
|
package/accountParameter.js
CHANGED
|
@@ -6,22 +6,6 @@ exports.AccountParameter = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
-
*
|
|
15
|
-
* const p = new snowflake.AccountParameter("p", {
|
|
16
|
-
* key: "ALLOW_ID_TOKEN",
|
|
17
|
-
* value: "true",
|
|
18
|
-
* });
|
|
19
|
-
* const p2 = new snowflake.AccountParameter("p2", {
|
|
20
|
-
* key: "CLIENT_ENCRYPTION_KEY_SIZE",
|
|
21
|
-
* value: "256",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
9
|
* ## Import
|
|
26
10
|
*
|
|
27
11
|
* ```sh
|
package/accountParameter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountParameter.js","sourceRoot":"","sources":["../accountParameter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accountParameter.js","sourceRoot":"","sources":["../accountParameter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;S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,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Specifies the password policy to use for the current account. To set the password policy of a different account, use a provider alias.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
10
|
-
*
|
|
11
|
-
* const _default = new snowflake.PasswordPolicy("default", {
|
|
12
|
-
* database: "prod",
|
|
13
|
-
* schema: "security",
|
|
14
|
-
* name: "default_policy",
|
|
15
|
-
* });
|
|
16
|
-
* const attachment = new snowflake.AccountPasswordPolicyAttachment("attachment", {passwordPolicy: _default.qualifiedName});
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
2
|
export declare class AccountPasswordPolicyAttachment extends pulumi.CustomResource {
|
|
20
3
|
/**
|
|
21
4
|
* Get an existing AccountPasswordPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
@@ -5,23 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.AccountPasswordPolicyAttachment = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the password policy to use for the current account. To set the password policy of a different account, use a provider alias.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
16
|
-
*
|
|
17
|
-
* const _default = new snowflake.PasswordPolicy("default", {
|
|
18
|
-
* database: "prod",
|
|
19
|
-
* schema: "security",
|
|
20
|
-
* name: "default_policy",
|
|
21
|
-
* });
|
|
22
|
-
* const attachment = new snowflake.AccountPasswordPolicyAttachment("attachment", {passwordPolicy: _default.qualifiedName});
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
8
|
class AccountPasswordPolicyAttachment extends pulumi.CustomResource {
|
|
26
9
|
/**
|
|
27
10
|
* Get an existing AccountPasswordPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountPasswordPolicyAttachment.js","sourceRoot":"","sources":["../accountPasswordPolicyAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accountPasswordPolicyAttachment.js","sourceRoot":"","sources":["../accountPasswordPolicyAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAeD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAA8D,CAAC;YAC5E,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAxDL,0EAyDC;AA3CG,gBAAgB;AACO,4CAAY,GAAG,iFAAiF,CAAC"}
|
package/accountRole.d.ts
CHANGED
|
@@ -2,25 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
6
|
-
*
|
|
7
|
-
* The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
-
*
|
|
15
|
-
* //# Minimal
|
|
16
|
-
* const minimal = new snowflake.AccountRole("minimal", {name: "role_name"});
|
|
17
|
-
* //# Complete (with every optional set)
|
|
18
|
-
* const complete = new snowflake.AccountRole("complete", {
|
|
19
|
-
* name: "role_name",
|
|
20
|
-
* comment: "my account role",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
5
|
* ## Import
|
|
25
6
|
*
|
|
26
7
|
* ```sh
|
|
@@ -44,6 +25,13 @@ export declare class AccountRole extends pulumi.CustomResource {
|
|
|
44
25
|
*/
|
|
45
26
|
static isInstance(obj: any): obj is AccountRole;
|
|
46
27
|
readonly comment: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
30
|
+
*/
|
|
31
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
34
|
+
*/
|
|
47
35
|
readonly name: pulumi.Output<string>;
|
|
48
36
|
/**
|
|
49
37
|
* Outputs the result of `SHOW ROLES` for the given role.
|
|
@@ -63,6 +51,13 @@ export declare class AccountRole extends pulumi.CustomResource {
|
|
|
63
51
|
*/
|
|
64
52
|
export interface AccountRoleState {
|
|
65
53
|
comment?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
56
|
+
*/
|
|
57
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
60
|
+
*/
|
|
66
61
|
name?: pulumi.Input<string>;
|
|
67
62
|
/**
|
|
68
63
|
* Outputs the result of `SHOW ROLES` for the given role.
|
|
@@ -74,5 +69,8 @@ export interface AccountRoleState {
|
|
|
74
69
|
*/
|
|
75
70
|
export interface AccountRoleArgs {
|
|
76
71
|
comment?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
74
|
+
*/
|
|
77
75
|
name?: pulumi.Input<string>;
|
|
78
76
|
}
|
package/accountRole.js
CHANGED
|
@@ -6,25 +6,6 @@ exports.AccountRole = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
10
|
-
*
|
|
11
|
-
* The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
18
|
-
*
|
|
19
|
-
* //# Minimal
|
|
20
|
-
* const minimal = new snowflake.AccountRole("minimal", {name: "role_name"});
|
|
21
|
-
* //# Complete (with every optional set)
|
|
22
|
-
* const complete = new snowflake.AccountRole("complete", {
|
|
23
|
-
* name: "role_name",
|
|
24
|
-
* comment: "my account role",
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
9
|
* ## Import
|
|
29
10
|
*
|
|
30
11
|
* ```sh
|
|
@@ -60,6 +41,7 @@ class AccountRole extends pulumi.CustomResource {
|
|
|
60
41
|
if (opts.id) {
|
|
61
42
|
const state = argsOrState;
|
|
62
43
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
44
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
63
45
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
46
|
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
65
47
|
}
|
|
@@ -67,6 +49,7 @@ class AccountRole extends pulumi.CustomResource {
|
|
|
67
49
|
const args = argsOrState;
|
|
68
50
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
69
51
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
52
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
70
53
|
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
71
54
|
}
|
|
72
55
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/accountRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountRole.js","sourceRoot":"","sources":["../accountRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accountRole.js","sourceRoot":"","sources":["../accountRole.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,IA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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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AApEL,kCAqEC;AAvDG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/alert.d.ts
CHANGED
|
@@ -2,27 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
10
|
-
*
|
|
11
|
-
* const alert = new snowflake.Alert("alert", {
|
|
12
|
-
* database: "database",
|
|
13
|
-
* schema: "schema",
|
|
14
|
-
* name: "alert",
|
|
15
|
-
* warehouse: "warehouse",
|
|
16
|
-
* alertSchedule: {
|
|
17
|
-
* interval: 10,
|
|
18
|
-
* },
|
|
19
|
-
* condition: "select 1 as c",
|
|
20
|
-
* action: "select 1 as c",
|
|
21
|
-
* enabled: true,
|
|
22
|
-
* comment: "my alert",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
5
|
* ## Import
|
|
27
6
|
*
|
|
28
7
|
* format is database name | schema name | alert name
|
|
@@ -71,6 +50,10 @@ export declare class Alert extends pulumi.CustomResource {
|
|
|
71
50
|
* Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
|
|
72
51
|
*/
|
|
73
52
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
55
|
+
*/
|
|
56
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
74
57
|
/**
|
|
75
58
|
* Specifies the identifier for the alert; must be unique for the database and schema in which the alert is created.
|
|
76
59
|
*/
|
|
@@ -120,6 +103,10 @@ export interface AlertState {
|
|
|
120
103
|
* Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
|
|
121
104
|
*/
|
|
122
105
|
enabled?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
108
|
+
*/
|
|
109
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
123
110
|
/**
|
|
124
111
|
* Specifies the identifier for the alert; must be unique for the database and schema in which the alert is created.
|
|
125
112
|
*/
|
package/alert.js
CHANGED
|
@@ -6,27 +6,6 @@ exports.Alert = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
14
|
-
*
|
|
15
|
-
* const alert = new snowflake.Alert("alert", {
|
|
16
|
-
* database: "database",
|
|
17
|
-
* schema: "schema",
|
|
18
|
-
* name: "alert",
|
|
19
|
-
* warehouse: "warehouse",
|
|
20
|
-
* alertSchedule: {
|
|
21
|
-
* interval: 10,
|
|
22
|
-
* },
|
|
23
|
-
* condition: "select 1 as c",
|
|
24
|
-
* action: "select 1 as c",
|
|
25
|
-
* enabled: true,
|
|
26
|
-
* comment: "my alert",
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
9
|
* ## Import
|
|
31
10
|
*
|
|
32
11
|
* format is database name | schema name | alert name
|
|
@@ -69,6 +48,7 @@ class Alert extends pulumi.CustomResource {
|
|
|
69
48
|
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
70
49
|
resourceInputs["database"] = state ? state.database : undefined;
|
|
71
50
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
51
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
72
52
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
53
|
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
74
54
|
resourceInputs["warehouse"] = state ? state.warehouse : undefined;
|
|
@@ -99,6 +79,7 @@ class Alert extends pulumi.CustomResource {
|
|
|
99
79
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
100
80
|
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
101
81
|
resourceInputs["warehouse"] = args ? args.warehouse : undefined;
|
|
82
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
102
83
|
}
|
|
103
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
85
|
super(Alert.__pulumiType, name, resourceInputs, opts);
|
package/alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO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,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA1HL,sBA2HC;AA7GG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -2,10 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
6
|
-
*
|
|
7
|
-
* Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
8
|
-
*
|
|
9
5
|
* ## Import
|
|
10
6
|
*
|
|
11
7
|
* ```sh
|
|
@@ -41,7 +37,11 @@ export declare class ApiAuthenticationIntegrationWithAuthorizationCodeGrant exte
|
|
|
41
37
|
*/
|
|
42
38
|
readonly enabled: pulumi.Output<boolean>;
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
40
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
41
|
+
*/
|
|
42
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -106,7 +106,11 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantState {
|
|
|
106
106
|
*/
|
|
107
107
|
enabled?: pulumi.Input<boolean>;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
110
|
+
*/
|
|
111
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
110
114
|
*/
|
|
111
115
|
name?: pulumi.Input<string>;
|
|
112
116
|
/**
|
|
@@ -159,7 +163,7 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs {
|
|
|
159
163
|
*/
|
|
160
164
|
enabled: pulumi.Input<boolean>;
|
|
161
165
|
/**
|
|
162
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
166
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
163
167
|
*/
|
|
164
168
|
name?: pulumi.Input<string>;
|
|
165
169
|
/**
|
|
@@ -6,10 +6,6 @@ exports.ApiAuthenticationIntegrationWithAuthorizationCodeGrant = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
10
|
-
*
|
|
11
|
-
* Resource used to manage api authentication security integration objects with authorization code grant. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
12
|
-
*
|
|
13
9
|
* ## Import
|
|
14
10
|
*
|
|
15
11
|
* ```sh
|
|
@@ -47,6 +43,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant extends pulumi.Cust
|
|
|
47
43
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
48
44
|
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
49
45
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
46
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
50
47
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
48
|
resourceInputs["oauthAccessTokenValidity"] = state ? state.oauthAccessTokenValidity : undefined;
|
|
52
49
|
resourceInputs["oauthAllowedScopes"] = state ? state.oauthAllowedScopes : undefined;
|
|
@@ -81,6 +78,7 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant extends pulumi.Cust
|
|
|
81
78
|
resourceInputs["oauthRefreshTokenValidity"] = args ? args.oauthRefreshTokenValidity : undefined;
|
|
82
79
|
resourceInputs["oauthTokenEndpoint"] = args ? args.oauthTokenEndpoint : undefined;
|
|
83
80
|
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
84
82
|
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
85
83
|
}
|
|
86
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiAuthenticationIntegrationWithAuthorizationCodeGrant.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithAuthorizationCodeGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiAuthenticationIntegrationWithAuthorizationCodeGrant.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithAuthorizationCodeGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,sDAAuD,SAAQ,MAAM,CAAC,cAAc;IAC7F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,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CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sDAAsD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3G,CAAC;;AA5IL,wHA6IC;AA/HG,gBAAgB;AACO,mEAAY,GAAG,+HAA+H,CAAC"}
|
|
@@ -2,10 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
6
|
-
*
|
|
7
|
-
* Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
8
|
-
*
|
|
9
5
|
* ## Import
|
|
10
6
|
*
|
|
11
7
|
* ```sh
|
|
@@ -41,7 +37,11 @@ export declare class ApiAuthenticationIntegrationWithClientCredentials extends p
|
|
|
41
37
|
*/
|
|
42
38
|
readonly enabled: pulumi.Output<boolean>;
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
40
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
41
|
+
*/
|
|
42
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -102,7 +102,11 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsState {
|
|
|
102
102
|
*/
|
|
103
103
|
enabled?: pulumi.Input<boolean>;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
106
|
+
*/
|
|
107
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
106
110
|
*/
|
|
107
111
|
name?: pulumi.Input<string>;
|
|
108
112
|
/**
|
|
@@ -151,7 +155,7 @@ export interface ApiAuthenticationIntegrationWithClientCredentialsArgs {
|
|
|
151
155
|
*/
|
|
152
156
|
enabled: pulumi.Input<boolean>;
|
|
153
157
|
/**
|
|
154
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
|
|
158
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
155
159
|
*/
|
|
156
160
|
name?: pulumi.Input<string>;
|
|
157
161
|
/**
|
|
@@ -6,10 +6,6 @@ exports.ApiAuthenticationIntegrationWithClientCredentials = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
10
|
-
*
|
|
11
|
-
* Resource used to manage api authentication security integration objects with client credentials. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
|
|
12
|
-
*
|
|
13
9
|
* ## Import
|
|
14
10
|
*
|
|
15
11
|
* ```sh
|
|
@@ -47,6 +43,7 @@ class ApiAuthenticationIntegrationWithClientCredentials extends pulumi.CustomRes
|
|
|
47
43
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
48
44
|
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
49
45
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
46
|
+
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
50
47
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
48
|
resourceInputs["oauthAccessTokenValidity"] = state ? state.oauthAccessTokenValidity : undefined;
|
|
52
49
|
resourceInputs["oauthAllowedScopes"] = state ? state.oauthAllowedScopes : undefined;
|
|
@@ -79,6 +76,7 @@ class ApiAuthenticationIntegrationWithClientCredentials extends pulumi.CustomRes
|
|
|
79
76
|
resourceInputs["oauthRefreshTokenValidity"] = args ? args.oauthRefreshTokenValidity : undefined;
|
|
80
77
|
resourceInputs["oauthTokenEndpoint"] = args ? args.oauthTokenEndpoint : undefined;
|
|
81
78
|
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
82
80
|
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
83
81
|
}
|
|
84
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|