@pulumi/snowflake 0.56.0-alpha.1721327760 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +195 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +91 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -0
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +183 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js +89 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -0
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +186 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js +94 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -0
- package/cortexSearchService.d.ts +159 -0
- package/cortexSearchService.js +92 -0
- package/cortexSearchService.js.map +1 -0
- package/database.d.ts +240 -77
- package/database.js +94 -45
- package/database.js.map +1 -1
- package/databaseOld.d.ts +187 -0
- package/databaseOld.js +110 -0
- package/databaseOld.js.map +1 -0
- package/externalOauthIntegration.d.ts +118 -116
- package/externalOauthIntegration.js +43 -55
- package/externalOauthIntegration.js.map +1 -1
- package/failoverGroup.d.ts +1 -1
- package/failoverGroup.js +1 -1
- package/getCortexSearchServices.d.ts +136 -0
- package/getCortexSearchServices.js +83 -0
- package/getCortexSearchServices.js.map +1 -0
- package/getDatabases.d.ts +41 -38
- package/getDatabases.js +8 -17
- package/getDatabases.js.map +1 -1
- package/getSecurityIntegrations.d.ts +61 -0
- package/getSecurityIntegrations.js +31 -0
- package/getSecurityIntegrations.js.map +1 -0
- package/getWarehouses.d.ts +53 -17
- package/getWarehouses.js +13 -18
- package/getWarehouses.js.map +1 -1
- package/grantPrivilegesToDatabaseRole.d.ts +0 -2
- package/grantPrivilegesToDatabaseRole.js +0 -2
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/index.d.ts +37 -82
- package/index.js +60 -139
- package/index.js.map +1 -1
- package/managedAccount.d.ts +3 -3
- package/oauthIntegration.d.ts +2 -0
- package/oauthIntegration.js +2 -0
- package/oauthIntegration.js.map +1 -1
- package/oauthIntegrationForCustomClients.d.ts +274 -0
- package/oauthIntegrationForCustomClients.js +148 -0
- package/oauthIntegrationForCustomClients.js.map +1 -0
- package/oauthIntegrationForPartnerApplications.d.ts +162 -0
- package/oauthIntegrationForPartnerApplications.js +84 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -0
- package/package.json +2 -2
- package/saml2Integration.d.ts +267 -0
- package/saml2Integration.js +106 -0
- package/saml2Integration.js.map +1 -0
- package/samlIntegration.d.ts +2 -0
- package/samlIntegration.js +2 -0
- package/samlIntegration.js.map +1 -1
- package/scimIntegration.d.ts +67 -33
- package/scimIntegration.js +19 -20
- package/scimIntegration.js.map +1 -1
- package/secondaryDatabase.d.ts +289 -0
- package/secondaryDatabase.js +103 -0
- package/secondaryDatabase.js.map +1 -0
- package/sequence.d.ts +3 -3
- package/sequence.js +3 -3
- package/sharedDatabase.d.ts +251 -0
- package/sharedDatabase.js +95 -0
- package/sharedDatabase.js.map +1 -0
- package/tagAssociation.d.ts +19 -19
- package/tagAssociation.js +19 -19
- package/types/input.d.ts +1015 -75
- package/types/output.d.ts +1835 -280
- package/userPasswordPolicyAttachment.d.ts +18 -0
- package/userPasswordPolicyAttachment.js +18 -0
- package/userPasswordPolicyAttachment.js.map +1 -1
- package/warehouse.d.ts +61 -48
- package/warehouse.js +8 -2
- package/warehouse.js.map +1 -1
- package/accountGrant.d.ts +0 -102
- package/accountGrant.js +0 -82
- package/accountGrant.js.map +0 -1
- package/databaseGrant.d.ts +0 -143
- package/databaseGrant.js +0 -96
- package/databaseGrant.js.map +0 -1
- package/externalTableGrant.d.ts +0 -194
- package/externalTableGrant.js +0 -110
- package/externalTableGrant.js.map +0 -1
- package/failoverGroupGrant.d.ts +0 -102
- package/failoverGroupGrant.js +0 -65
- package/failoverGroupGrant.js.map +0 -1
- package/fileFormatGrant.d.ts +0 -178
- package/fileFormatGrant.js +0 -104
- package/fileFormatGrant.js.map +0 -1
- package/functionGrant.d.ts +0 -210
- package/functionGrant.js +0 -116
- package/functionGrant.js.map +0 -1
- package/grantPrivilegesToRole.d.ts +0 -323
- package/grantPrivilegesToRole.js +0 -255
- package/grantPrivilegesToRole.js.map +0 -1
- package/integrationGrant.d.ts +0 -127
- package/integrationGrant.js +0 -90
- package/integrationGrant.js.map +0 -1
- package/maskingPolicyGrant.d.ts +0 -154
- package/maskingPolicyGrant.js +0 -103
- package/maskingPolicyGrant.js.map +0 -1
- package/materializedViewGrant.d.ts +0 -194
- package/materializedViewGrant.js +0 -107
- package/materializedViewGrant.js.map +0 -1
- package/pipeGrant.d.ts +0 -166
- package/pipeGrant.js +0 -99
- package/pipeGrant.js.map +0 -1
- package/procedureGrant.d.ts +0 -210
- package/procedureGrant.js +0 -116
- package/procedureGrant.js.map +0 -1
- package/resourceMonitorGrant.d.ts +0 -112
- package/resourceMonitorGrant.js +0 -85
- package/resourceMonitorGrant.js.map +0 -1
- package/roleGrants.d.ts +0 -115
- package/roleGrants.js +0 -98
- package/roleGrants.js.map +0 -1
- package/roleOwnershipGrant.d.ts +0 -108
- package/roleOwnershipGrant.js +0 -94
- package/roleOwnershipGrant.js.map +0 -1
- package/rowAccessPolicyGrant.d.ts +0 -153
- package/rowAccessPolicyGrant.js +0 -102
- package/rowAccessPolicyGrant.js.map +0 -1
- package/schemaGrant.d.ts +0 -172
- package/schemaGrant.js +0 -104
- package/schemaGrant.js.map +0 -1
- package/sequenceGrant.d.ts +0 -178
- package/sequenceGrant.js +0 -104
- package/sequenceGrant.js.map +0 -1
- package/stageGrant.d.ts +0 -178
- package/stageGrant.js +0 -104
- package/stageGrant.js.map +0 -1
- package/streamGrant.d.ts +0 -178
- package/streamGrant.js +0 -104
- package/streamGrant.js.map +0 -1
- package/tableGrant.d.ts +0 -188
- package/tableGrant.js +0 -101
- package/tableGrant.js.map +0 -1
- package/tagGrant.d.ts +0 -149
- package/tagGrant.js +0 -98
- package/tagGrant.js.map +0 -1
- package/taskGrant.d.ts +0 -178
- package/taskGrant.js +0 -104
- package/taskGrant.js.map +0 -1
- package/userGrant.d.ts +0 -115
- package/userGrant.js +0 -91
- package/userGrant.js.map +0 -1
- package/userOwnershipGrant.d.ts +0 -78
- package/userOwnershipGrant.js +0 -64
- package/userOwnershipGrant.js.map +0 -1
- package/viewGrant.d.ts +0 -205
- package/viewGrant.js +0 -118
- package/viewGrant.js.map +0 -1
- package/warehouseGrant.d.ts +0 -127
- package/warehouseGrant.js +0 -90
- package/warehouseGrant.js.map +0 -1
package/viewGrant.d.ts
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.GrantPrivilegesToAccountRole instead. <deprecation>
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
10
|
-
*
|
|
11
|
-
* const grant = new snowflake.ViewGrant("grant", {
|
|
12
|
-
* databaseName: "database",
|
|
13
|
-
* schemaName: "schema",
|
|
14
|
-
* viewName: "view",
|
|
15
|
-
* privilege: "SELECT",
|
|
16
|
-
* roles: [
|
|
17
|
-
* "role1",
|
|
18
|
-
* "role2",
|
|
19
|
-
* ],
|
|
20
|
-
* shares: [
|
|
21
|
-
* "share1",
|
|
22
|
-
* "share2",
|
|
23
|
-
* ],
|
|
24
|
-
* onFuture: false,
|
|
25
|
-
* withGrantOption: false,
|
|
26
|
-
* });
|
|
27
|
-
* //Snowflake view grant is an object level grant, not a schema level grant. To add schema level
|
|
28
|
-
* //grants, use the `snowflake_schema_grant` resource
|
|
29
|
-
* const grantSchemaGrant = new snowflake.SchemaGrant("grant", {
|
|
30
|
-
* databaseName: "database",
|
|
31
|
-
* schemaName: "schema",
|
|
32
|
-
* privilege: "USAGE",
|
|
33
|
-
* roles: [
|
|
34
|
-
* "role1",
|
|
35
|
-
* "role2",
|
|
36
|
-
* ],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* ## Import
|
|
41
|
-
*
|
|
42
|
-
* format is database_name|schema_name|view_name|privilege|with_grant_option|on_future|on_all|roles|shares
|
|
43
|
-
*
|
|
44
|
-
* ```sh
|
|
45
|
-
* $ pulumi import snowflake:index/viewGrant:ViewGrant example "MY_DATABASE|MY_SCHEMA|MY_VIEW|USAGE|false|false|false|role1,role2|share1,share2"
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
export declare class ViewGrant extends pulumi.CustomResource {
|
|
49
|
-
/**
|
|
50
|
-
* Get an existing ViewGrant resource's state with the given name, ID, and optional extra
|
|
51
|
-
* properties used to qualify the lookup.
|
|
52
|
-
*
|
|
53
|
-
* @param name The _unique_ name of the resulting resource.
|
|
54
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
-
* @param state Any extra arguments used during the lookup.
|
|
56
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
-
*/
|
|
58
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ViewGrantState, opts?: pulumi.CustomResourceOptions): ViewGrant;
|
|
59
|
-
/**
|
|
60
|
-
* Returns true if the given object is an instance of ViewGrant. This is designed to work even
|
|
61
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
-
*/
|
|
63
|
-
static isInstance(obj: any): obj is ViewGrant;
|
|
64
|
-
/**
|
|
65
|
-
* The name of the database containing the current or future views on which to grant privileges.
|
|
66
|
-
*/
|
|
67
|
-
readonly databaseName: pulumi.Output<string>;
|
|
68
|
-
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* When this is set to true and a schema*name is provided, apply this grant on all views in the given schema. When this is true and no schema*name is provided apply this grant on all views in the given database. The view*name and shares fields must be unset in order to use on*all. Cannot be used together with on_future.
|
|
71
|
-
*/
|
|
72
|
-
readonly onAll: pulumi.Output<boolean | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* When this is set to true and a schema*name is provided, apply this grant on all future views in the given schema. When this is true and no schema*name is provided apply this grant on all future views in the given database. The view*name and shares fields must be unset in order to use on*future. Cannot be used together with on_all.
|
|
75
|
-
*/
|
|
76
|
-
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
77
|
-
/**
|
|
78
|
-
* The privilege to grant on the current or future view. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
79
|
-
*/
|
|
80
|
-
readonly privilege: pulumi.Output<string | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
83
|
-
*/
|
|
84
|
-
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
85
|
-
/**
|
|
86
|
-
* Grants privilege to these roles.
|
|
87
|
-
*/
|
|
88
|
-
readonly roles: pulumi.Output<string[] | undefined>;
|
|
89
|
-
/**
|
|
90
|
-
* The name of the schema containing the current or future views on which to grant privileges.
|
|
91
|
-
*/
|
|
92
|
-
readonly schemaName: pulumi.Output<string | undefined>;
|
|
93
|
-
/**
|
|
94
|
-
* Grants privilege to these shares (only valid if on*future and on*all are unset).
|
|
95
|
-
*/
|
|
96
|
-
readonly shares: pulumi.Output<string[] | undefined>;
|
|
97
|
-
/**
|
|
98
|
-
* The name of the view on which to grant privileges immediately (only valid if on*future and on*all are unset).
|
|
99
|
-
*/
|
|
100
|
-
readonly viewName: pulumi.Output<string | undefined>;
|
|
101
|
-
/**
|
|
102
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
103
|
-
*/
|
|
104
|
-
readonly withGrantOption: pulumi.Output<boolean | undefined>;
|
|
105
|
-
/**
|
|
106
|
-
* Create a ViewGrant resource with the given unique name, arguments, and options.
|
|
107
|
-
*
|
|
108
|
-
* @param name The _unique_ name of the resource.
|
|
109
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
-
*/
|
|
112
|
-
constructor(name: string, args: ViewGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Input properties used for looking up and filtering ViewGrant resources.
|
|
116
|
-
*/
|
|
117
|
-
export interface ViewGrantState {
|
|
118
|
-
/**
|
|
119
|
-
* The name of the database containing the current or future views on which to grant privileges.
|
|
120
|
-
*/
|
|
121
|
-
databaseName?: pulumi.Input<string>;
|
|
122
|
-
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
123
|
-
/**
|
|
124
|
-
* When this is set to true and a schema*name is provided, apply this grant on all views in the given schema. When this is true and no schema*name is provided apply this grant on all views in the given database. The view*name and shares fields must be unset in order to use on*all. Cannot be used together with on_future.
|
|
125
|
-
*/
|
|
126
|
-
onAll?: pulumi.Input<boolean>;
|
|
127
|
-
/**
|
|
128
|
-
* When this is set to true and a schema*name is provided, apply this grant on all future views in the given schema. When this is true and no schema*name is provided apply this grant on all future views in the given database. The view*name and shares fields must be unset in order to use on*future. Cannot be used together with on_all.
|
|
129
|
-
*/
|
|
130
|
-
onFuture?: pulumi.Input<boolean>;
|
|
131
|
-
/**
|
|
132
|
-
* The privilege to grant on the current or future view. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
133
|
-
*/
|
|
134
|
-
privilege?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
137
|
-
*/
|
|
138
|
-
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Grants privilege to these roles.
|
|
141
|
-
*/
|
|
142
|
-
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
143
|
-
/**
|
|
144
|
-
* The name of the schema containing the current or future views on which to grant privileges.
|
|
145
|
-
*/
|
|
146
|
-
schemaName?: pulumi.Input<string>;
|
|
147
|
-
/**
|
|
148
|
-
* Grants privilege to these shares (only valid if on*future and on*all are unset).
|
|
149
|
-
*/
|
|
150
|
-
shares?: pulumi.Input<pulumi.Input<string>[]>;
|
|
151
|
-
/**
|
|
152
|
-
* The name of the view on which to grant privileges immediately (only valid if on*future and on*all are unset).
|
|
153
|
-
*/
|
|
154
|
-
viewName?: pulumi.Input<string>;
|
|
155
|
-
/**
|
|
156
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
157
|
-
*/
|
|
158
|
-
withGrantOption?: pulumi.Input<boolean>;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* The set of arguments for constructing a ViewGrant resource.
|
|
162
|
-
*/
|
|
163
|
-
export interface ViewGrantArgs {
|
|
164
|
-
/**
|
|
165
|
-
* The name of the database containing the current or future views on which to grant privileges.
|
|
166
|
-
*/
|
|
167
|
-
databaseName: pulumi.Input<string>;
|
|
168
|
-
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
169
|
-
/**
|
|
170
|
-
* When this is set to true and a schema*name is provided, apply this grant on all views in the given schema. When this is true and no schema*name is provided apply this grant on all views in the given database. The view*name and shares fields must be unset in order to use on*all. Cannot be used together with on_future.
|
|
171
|
-
*/
|
|
172
|
-
onAll?: pulumi.Input<boolean>;
|
|
173
|
-
/**
|
|
174
|
-
* When this is set to true and a schema*name is provided, apply this grant on all future views in the given schema. When this is true and no schema*name is provided apply this grant on all future views in the given database. The view*name and shares fields must be unset in order to use on*future. Cannot be used together with on_all.
|
|
175
|
-
*/
|
|
176
|
-
onFuture?: pulumi.Input<boolean>;
|
|
177
|
-
/**
|
|
178
|
-
* The privilege to grant on the current or future view. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
179
|
-
*/
|
|
180
|
-
privilege?: pulumi.Input<string>;
|
|
181
|
-
/**
|
|
182
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
183
|
-
*/
|
|
184
|
-
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
185
|
-
/**
|
|
186
|
-
* Grants privilege to these roles.
|
|
187
|
-
*/
|
|
188
|
-
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
189
|
-
/**
|
|
190
|
-
* The name of the schema containing the current or future views on which to grant privileges.
|
|
191
|
-
*/
|
|
192
|
-
schemaName?: pulumi.Input<string>;
|
|
193
|
-
/**
|
|
194
|
-
* Grants privilege to these shares (only valid if on*future and on*all are unset).
|
|
195
|
-
*/
|
|
196
|
-
shares?: pulumi.Input<pulumi.Input<string>[]>;
|
|
197
|
-
/**
|
|
198
|
-
* The name of the view on which to grant privileges immediately (only valid if on*future and on*all are unset).
|
|
199
|
-
*/
|
|
200
|
-
viewName?: pulumi.Input<string>;
|
|
201
|
-
/**
|
|
202
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
203
|
-
*/
|
|
204
|
-
withGrantOption?: pulumi.Input<boolean>;
|
|
205
|
-
}
|
package/viewGrant.js
DELETED
|
@@ -1,118 +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.ViewGrant = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.GrantPrivilegesToAccountRole instead. <deprecation>
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
16
|
-
*
|
|
17
|
-
* const grant = new snowflake.ViewGrant("grant", {
|
|
18
|
-
* databaseName: "database",
|
|
19
|
-
* schemaName: "schema",
|
|
20
|
-
* viewName: "view",
|
|
21
|
-
* privilege: "SELECT",
|
|
22
|
-
* roles: [
|
|
23
|
-
* "role1",
|
|
24
|
-
* "role2",
|
|
25
|
-
* ],
|
|
26
|
-
* shares: [
|
|
27
|
-
* "share1",
|
|
28
|
-
* "share2",
|
|
29
|
-
* ],
|
|
30
|
-
* onFuture: false,
|
|
31
|
-
* withGrantOption: false,
|
|
32
|
-
* });
|
|
33
|
-
* //Snowflake view grant is an object level grant, not a schema level grant. To add schema level
|
|
34
|
-
* //grants, use the `snowflake_schema_grant` resource
|
|
35
|
-
* const grantSchemaGrant = new snowflake.SchemaGrant("grant", {
|
|
36
|
-
* databaseName: "database",
|
|
37
|
-
* schemaName: "schema",
|
|
38
|
-
* privilege: "USAGE",
|
|
39
|
-
* roles: [
|
|
40
|
-
* "role1",
|
|
41
|
-
* "role2",
|
|
42
|
-
* ],
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* ## Import
|
|
47
|
-
*
|
|
48
|
-
* format is database_name|schema_name|view_name|privilege|with_grant_option|on_future|on_all|roles|shares
|
|
49
|
-
*
|
|
50
|
-
* ```sh
|
|
51
|
-
* $ pulumi import snowflake:index/viewGrant:ViewGrant example "MY_DATABASE|MY_SCHEMA|MY_VIEW|USAGE|false|false|false|role1,role2|share1,share2"
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
class ViewGrant extends pulumi.CustomResource {
|
|
55
|
-
/**
|
|
56
|
-
* Get an existing ViewGrant resource's state with the given name, ID, and optional extra
|
|
57
|
-
* properties used to qualify the lookup.
|
|
58
|
-
*
|
|
59
|
-
* @param name The _unique_ name of the resulting resource.
|
|
60
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
-
* @param state Any extra arguments used during the lookup.
|
|
62
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
-
*/
|
|
64
|
-
static get(name, id, state, opts) {
|
|
65
|
-
return new ViewGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Returns true if the given object is an instance of ViewGrant. This is designed to work even
|
|
69
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
-
*/
|
|
71
|
-
static isInstance(obj) {
|
|
72
|
-
if (obj === undefined || obj === null) {
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
return obj['__pulumiType'] === ViewGrant.__pulumiType;
|
|
76
|
-
}
|
|
77
|
-
constructor(name, argsOrState, opts) {
|
|
78
|
-
let resourceInputs = {};
|
|
79
|
-
opts = opts || {};
|
|
80
|
-
if (opts.id) {
|
|
81
|
-
const state = argsOrState;
|
|
82
|
-
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
83
|
-
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
84
|
-
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
85
|
-
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
86
|
-
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
87
|
-
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
88
|
-
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
89
|
-
resourceInputs["schemaName"] = state ? state.schemaName : undefined;
|
|
90
|
-
resourceInputs["shares"] = state ? state.shares : undefined;
|
|
91
|
-
resourceInputs["viewName"] = state ? state.viewName : undefined;
|
|
92
|
-
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
const args = argsOrState;
|
|
96
|
-
if ((!args || args.databaseName === undefined) && !opts.urn) {
|
|
97
|
-
throw new Error("Missing required property 'databaseName'");
|
|
98
|
-
}
|
|
99
|
-
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
100
|
-
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
101
|
-
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
102
|
-
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
103
|
-
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
104
|
-
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
105
|
-
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
106
|
-
resourceInputs["schemaName"] = args ? args.schemaName : undefined;
|
|
107
|
-
resourceInputs["shares"] = args ? args.shares : undefined;
|
|
108
|
-
resourceInputs["viewName"] = args ? args.viewName : undefined;
|
|
109
|
-
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
|
110
|
-
}
|
|
111
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
112
|
-
super(ViewGrant.__pulumiType, name, resourceInputs, opts);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
exports.ViewGrant = ViewGrant;
|
|
116
|
-
/** @internal */
|
|
117
|
-
ViewGrant.__pulumiType = 'snowflake:index/viewGrant:ViewGrant';
|
|
118
|
-
//# sourceMappingURL=viewGrant.js.map
|
package/viewGrant.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"viewGrant.js","sourceRoot":"","sources":["../viewGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAA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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjHL,8BAkHC;AApGG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/warehouseGrant.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.GrantPrivilegesToAccountRole instead. <deprecation>
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
10
|
-
*
|
|
11
|
-
* const grant = new snowflake.WarehouseGrant("grant", {
|
|
12
|
-
* warehouseName: "warehouse",
|
|
13
|
-
* privilege: "MODIFY",
|
|
14
|
-
* roles: [
|
|
15
|
-
* "role1",
|
|
16
|
-
* "role2",
|
|
17
|
-
* ],
|
|
18
|
-
* withGrantOption: false,
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* ## Import
|
|
23
|
-
*
|
|
24
|
-
* format is warehouse_name|privilege|with_grant_option|roles
|
|
25
|
-
*
|
|
26
|
-
* ```sh
|
|
27
|
-
* $ pulumi import snowflake:index/warehouseGrant:WarehouseGrant example "MY_WAREHOUSE|MODIFY|false|role1,role2"
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class WarehouseGrant extends pulumi.CustomResource {
|
|
31
|
-
/**
|
|
32
|
-
* Get an existing WarehouseGrant resource's state with the given name, ID, and optional extra
|
|
33
|
-
* properties used to qualify the lookup.
|
|
34
|
-
*
|
|
35
|
-
* @param name The _unique_ name of the resulting resource.
|
|
36
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
-
* @param state Any extra arguments used during the lookup.
|
|
38
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
-
*/
|
|
40
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WarehouseGrantState, opts?: pulumi.CustomResourceOptions): WarehouseGrant;
|
|
41
|
-
/**
|
|
42
|
-
* Returns true if the given object is an instance of WarehouseGrant. This is designed to work even
|
|
43
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
-
*/
|
|
45
|
-
static isInstance(obj: any): obj is WarehouseGrant;
|
|
46
|
-
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* The privilege to grant on the warehouse. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
49
|
-
*/
|
|
50
|
-
readonly privilege: pulumi.Output<string | undefined>;
|
|
51
|
-
/**
|
|
52
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
53
|
-
*/
|
|
54
|
-
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
55
|
-
/**
|
|
56
|
-
* Grants privilege to these roles.
|
|
57
|
-
*/
|
|
58
|
-
readonly roles: pulumi.Output<string[] | undefined>;
|
|
59
|
-
/**
|
|
60
|
-
* The name of the warehouse on which to grant privileges.
|
|
61
|
-
*/
|
|
62
|
-
readonly warehouseName: pulumi.Output<string>;
|
|
63
|
-
/**
|
|
64
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
65
|
-
*/
|
|
66
|
-
readonly withGrantOption: pulumi.Output<boolean | undefined>;
|
|
67
|
-
/**
|
|
68
|
-
* Create a WarehouseGrant resource with the given unique name, arguments, and options.
|
|
69
|
-
*
|
|
70
|
-
* @param name The _unique_ name of the resource.
|
|
71
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
-
*/
|
|
74
|
-
constructor(name: string, args: WarehouseGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Input properties used for looking up and filtering WarehouseGrant resources.
|
|
78
|
-
*/
|
|
79
|
-
export interface WarehouseGrantState {
|
|
80
|
-
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
81
|
-
/**
|
|
82
|
-
* The privilege to grant on the warehouse. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
83
|
-
*/
|
|
84
|
-
privilege?: pulumi.Input<string>;
|
|
85
|
-
/**
|
|
86
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
87
|
-
*/
|
|
88
|
-
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
89
|
-
/**
|
|
90
|
-
* Grants privilege to these roles.
|
|
91
|
-
*/
|
|
92
|
-
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
|
-
/**
|
|
94
|
-
* The name of the warehouse on which to grant privileges.
|
|
95
|
-
*/
|
|
96
|
-
warehouseName?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
99
|
-
*/
|
|
100
|
-
withGrantOption?: pulumi.Input<boolean>;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* The set of arguments for constructing a WarehouseGrant resource.
|
|
104
|
-
*/
|
|
105
|
-
export interface WarehouseGrantArgs {
|
|
106
|
-
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
107
|
-
/**
|
|
108
|
-
* The privilege to grant on the warehouse. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
109
|
-
*/
|
|
110
|
-
privilege?: pulumi.Input<string>;
|
|
111
|
-
/**
|
|
112
|
-
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
113
|
-
*/
|
|
114
|
-
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
115
|
-
/**
|
|
116
|
-
* Grants privilege to these roles.
|
|
117
|
-
*/
|
|
118
|
-
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
119
|
-
/**
|
|
120
|
-
* The name of the warehouse on which to grant privileges.
|
|
121
|
-
*/
|
|
122
|
-
warehouseName: pulumi.Input<string>;
|
|
123
|
-
/**
|
|
124
|
-
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
125
|
-
*/
|
|
126
|
-
withGrantOption?: pulumi.Input<boolean>;
|
|
127
|
-
}
|
package/warehouseGrant.js
DELETED
|
@@ -1,90 +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.WarehouseGrant = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.GrantPrivilegesToAccountRole instead. <deprecation>
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
16
|
-
*
|
|
17
|
-
* const grant = new snowflake.WarehouseGrant("grant", {
|
|
18
|
-
* warehouseName: "warehouse",
|
|
19
|
-
* privilege: "MODIFY",
|
|
20
|
-
* roles: [
|
|
21
|
-
* "role1",
|
|
22
|
-
* "role2",
|
|
23
|
-
* ],
|
|
24
|
-
* withGrantOption: false,
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* ## Import
|
|
29
|
-
*
|
|
30
|
-
* format is warehouse_name|privilege|with_grant_option|roles
|
|
31
|
-
*
|
|
32
|
-
* ```sh
|
|
33
|
-
* $ pulumi import snowflake:index/warehouseGrant:WarehouseGrant example "MY_WAREHOUSE|MODIFY|false|role1,role2"
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
class WarehouseGrant extends pulumi.CustomResource {
|
|
37
|
-
/**
|
|
38
|
-
* Get an existing WarehouseGrant resource's state with the given name, ID, and optional extra
|
|
39
|
-
* properties used to qualify the lookup.
|
|
40
|
-
*
|
|
41
|
-
* @param name The _unique_ name of the resulting resource.
|
|
42
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
-
* @param state Any extra arguments used during the lookup.
|
|
44
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
-
*/
|
|
46
|
-
static get(name, id, state, opts) {
|
|
47
|
-
return new WarehouseGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Returns true if the given object is an instance of WarehouseGrant. This is designed to work even
|
|
51
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
-
*/
|
|
53
|
-
static isInstance(obj) {
|
|
54
|
-
if (obj === undefined || obj === null) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
return obj['__pulumiType'] === WarehouseGrant.__pulumiType;
|
|
58
|
-
}
|
|
59
|
-
constructor(name, argsOrState, opts) {
|
|
60
|
-
let resourceInputs = {};
|
|
61
|
-
opts = opts || {};
|
|
62
|
-
if (opts.id) {
|
|
63
|
-
const state = argsOrState;
|
|
64
|
-
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
65
|
-
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
66
|
-
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
67
|
-
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
68
|
-
resourceInputs["warehouseName"] = state ? state.warehouseName : undefined;
|
|
69
|
-
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
const args = argsOrState;
|
|
73
|
-
if ((!args || args.warehouseName === undefined) && !opts.urn) {
|
|
74
|
-
throw new Error("Missing required property 'warehouseName'");
|
|
75
|
-
}
|
|
76
|
-
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
77
|
-
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
78
|
-
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
79
|
-
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
80
|
-
resourceInputs["warehouseName"] = args ? args.warehouseName : undefined;
|
|
81
|
-
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
|
82
|
-
}
|
|
83
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
-
super(WarehouseGrant.__pulumiType, name, resourceInputs, opts);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
exports.WarehouseGrant = WarehouseGrant;
|
|
88
|
-
/** @internal */
|
|
89
|
-
WarehouseGrant.__pulumiType = 'snowflake:index/warehouseGrant:WarehouseGrant';
|
|
90
|
-
//# sourceMappingURL=warehouseGrant.js.map
|
package/warehouseGrant.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warehouseGrant.js","sourceRoot":"","sources":["../warehouseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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