@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.
Files changed (301) hide show
  1. package/account.d.ts +40 -86
  2. package/account.js +12 -5
  3. package/account.js.map +1 -1
  4. package/accountParameter.d.ts +7 -7
  5. package/accountParameter.js +1 -1
  6. package/accountRole.d.ts +4 -4
  7. package/accountRole.js +1 -1
  8. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
  9. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
  10. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
  11. package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
  12. package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
  13. package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
  14. package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
  15. package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
  16. package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
  17. package/authenticationPolicy.d.ts +9 -9
  18. package/config/vars.d.ts +6 -74
  19. package/config/vars.js +6 -83
  20. package/config/vars.js.map +1 -1
  21. package/database.d.ts +4 -4
  22. package/database.js +1 -1
  23. package/databaseRole.d.ts +6 -6
  24. package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
  25. package/{unsafeExecute.js → execute.js} +17 -10
  26. package/execute.js.map +1 -0
  27. package/externalOauthIntegration.d.ts +12 -12
  28. package/externalOauthIntegration.js +1 -1
  29. package/externalVolume.d.ts +5 -3
  30. package/externalVolume.js +2 -0
  31. package/externalVolume.js.map +1 -1
  32. package/functionJava.d.ts +324 -0
  33. package/{function.js → functionJava.js} +40 -22
  34. package/functionJava.js.map +1 -0
  35. package/functionJavascript.d.ts +240 -0
  36. package/functionJavascript.js +106 -0
  37. package/functionJavascript.js.map +1 -0
  38. package/functionPython.d.ts +324 -0
  39. package/functionPython.js +123 -0
  40. package/functionPython.js.map +1 -0
  41. package/functionScala.d.ts +324 -0
  42. package/functionScala.js +123 -0
  43. package/functionScala.js.map +1 -0
  44. package/functionSql.d.ts +228 -0
  45. package/functionSql.js +104 -0
  46. package/functionSql.js.map +1 -0
  47. package/getAccountRoles.d.ts +57 -0
  48. package/getAccountRoles.js +32 -0
  49. package/getAccountRoles.js.map +1 -0
  50. package/getAccounts.d.ts +25 -7
  51. package/getAccounts.js +10 -2
  52. package/getAccounts.js.map +1 -1
  53. package/getAlerts.d.ts +4 -0
  54. package/getAlerts.js +4 -0
  55. package/getAlerts.js.map +1 -1
  56. package/getConnections.d.ts +2 -48
  57. package/getConnections.js +2 -48
  58. package/getConnections.js.map +1 -1
  59. package/getCortexSearchServices.d.ts +4 -0
  60. package/getCortexSearchServices.js +4 -0
  61. package/getCortexSearchServices.js.map +1 -1
  62. package/getCurrentAccount.d.ts +4 -0
  63. package/getCurrentAccount.js +4 -0
  64. package/getCurrentAccount.js.map +1 -1
  65. package/getCurrentRole.d.ts +6 -0
  66. package/getCurrentRole.js +6 -0
  67. package/getCurrentRole.js.map +1 -1
  68. package/getDatabase.d.ts +4 -0
  69. package/getDatabase.js +4 -0
  70. package/getDatabase.js.map +1 -1
  71. package/getDatabaseRole.d.ts +4 -0
  72. package/getDatabaseRole.js +4 -0
  73. package/getDatabaseRole.js.map +1 -1
  74. package/getDatabaseRoles.d.ts +2 -6
  75. package/getDatabaseRoles.js +2 -6
  76. package/getDatabaseRoles.js.map +1 -1
  77. package/getDatabases.d.ts +2 -6
  78. package/getDatabases.js +2 -6
  79. package/getDatabases.js.map +1 -1
  80. package/getDynamicTables.d.ts +6 -0
  81. package/getDynamicTables.js +6 -0
  82. package/getDynamicTables.js.map +1 -1
  83. package/getExternalFunctions.d.ts +4 -0
  84. package/getExternalFunctions.js +4 -0
  85. package/getExternalFunctions.js.map +1 -1
  86. package/getExternalTables.d.ts +4 -0
  87. package/getExternalTables.js +4 -0
  88. package/getExternalTables.js.map +1 -1
  89. package/getFailoverGroups.d.ts +6 -0
  90. package/getFailoverGroups.js +6 -0
  91. package/getFailoverGroups.js.map +1 -1
  92. package/getFileFormats.d.ts +4 -0
  93. package/getFileFormats.js +4 -0
  94. package/getFileFormats.js.map +1 -1
  95. package/getFunctions.d.ts +4 -0
  96. package/getFunctions.js +4 -0
  97. package/getFunctions.js.map +1 -1
  98. package/getGrants.d.ts +0 -4
  99. package/getGrants.js +0 -4
  100. package/getGrants.js.map +1 -1
  101. package/getMaskingPolicies.d.ts +2 -6
  102. package/getMaskingPolicies.js +2 -6
  103. package/getMaskingPolicies.js.map +1 -1
  104. package/getMaterializedViews.d.ts +4 -0
  105. package/getMaterializedViews.js +4 -0
  106. package/getMaterializedViews.js.map +1 -1
  107. package/getNetworkPolicies.d.ts +2 -6
  108. package/getNetworkPolicies.js +2 -6
  109. package/getNetworkPolicies.js.map +1 -1
  110. package/getParameters.d.ts +4 -0
  111. package/getParameters.js +4 -0
  112. package/getParameters.js.map +1 -1
  113. package/getPipes.d.ts +4 -0
  114. package/getPipes.js +4 -0
  115. package/getPipes.js.map +1 -1
  116. package/getProcedures.d.ts +4 -0
  117. package/getProcedures.js +4 -0
  118. package/getProcedures.js.map +1 -1
  119. package/getResourceMonitors.d.ts +2 -6
  120. package/getResourceMonitors.js +2 -6
  121. package/getResourceMonitors.js.map +1 -1
  122. package/getRowAccessPolicies.d.ts +2 -6
  123. package/getRowAccessPolicies.js +2 -6
  124. package/getRowAccessPolicies.js.map +1 -1
  125. package/getSchemas.d.ts +6 -4
  126. package/getSchemas.js +6 -4
  127. package/getSchemas.js.map +1 -1
  128. package/getSecrets.d.ts +2 -6
  129. package/getSecrets.js +2 -6
  130. package/getSecrets.js.map +1 -1
  131. package/getSecurityIntegrations.d.ts +2 -6
  132. package/getSecurityIntegrations.js +2 -6
  133. package/getSecurityIntegrations.js.map +1 -1
  134. package/getSequences.d.ts +4 -0
  135. package/getSequences.js +4 -0
  136. package/getSequences.js.map +1 -1
  137. package/getShares.d.ts +4 -0
  138. package/getShares.js +4 -0
  139. package/getShares.js.map +1 -1
  140. package/getStages.d.ts +4 -0
  141. package/getStages.js +4 -0
  142. package/getStages.js.map +1 -1
  143. package/getStorageIntegrations.d.ts +4 -0
  144. package/getStorageIntegrations.js +4 -0
  145. package/getStorageIntegrations.js.map +1 -1
  146. package/getStreamlits.d.ts +2 -6
  147. package/getStreamlits.js +2 -6
  148. package/getStreamlits.js.map +1 -1
  149. package/getStreams.d.ts +2 -6
  150. package/getStreams.js +2 -6
  151. package/getStreams.js.map +1 -1
  152. package/getSystemGenerateScimAccessToken.d.ts +4 -0
  153. package/getSystemGenerateScimAccessToken.js +4 -0
  154. package/getSystemGenerateScimAccessToken.js.map +1 -1
  155. package/getSystemGetPrivateLinkConfig.d.ts +4 -0
  156. package/getSystemGetPrivateLinkConfig.js +4 -0
  157. package/getSystemGetPrivateLinkConfig.js.map +1 -1
  158. package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
  159. package/getSystemGetSnowflakePlatformInfo.js +6 -0
  160. package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
  161. package/getTables.d.ts +4 -0
  162. package/getTables.js +4 -0
  163. package/getTables.js.map +1 -1
  164. package/getTags.d.ts +2 -6
  165. package/getTags.js +2 -6
  166. package/getTags.js.map +1 -1
  167. package/getTasks.d.ts +0 -4
  168. package/getTasks.js +0 -4
  169. package/getTasks.js.map +1 -1
  170. package/getUsers.d.ts +2 -6
  171. package/getUsers.js +2 -6
  172. package/getUsers.js.map +1 -1
  173. package/getViews.d.ts +2 -6
  174. package/getViews.js +2 -6
  175. package/getViews.js.map +1 -1
  176. package/getWarehouses.d.ts +2 -6
  177. package/getWarehouses.js +2 -6
  178. package/getWarehouses.js.map +1 -1
  179. package/grantAccountRole.d.ts +9 -9
  180. package/grantApplicationRole.d.ts +3 -3
  181. package/grantDatabaseRole.d.ts +12 -12
  182. package/grantOwnership.d.ts +6 -6
  183. package/grantPrivilegesToAccountRole.d.ts +6 -6
  184. package/grantPrivilegesToDatabaseRole.d.ts +6 -6
  185. package/grantPrivilegesToShare.d.ts +18 -18
  186. package/index.d.ts +36 -36
  187. package/index.js +62 -60
  188. package/index.js.map +1 -1
  189. package/legacyServiceUser.d.ts +9 -9
  190. package/maskingPolicy.d.ts +9 -9
  191. package/networkPolicy.d.ts +10 -10
  192. package/networkPolicy.js +1 -1
  193. package/oauthIntegrationForCustomClients.d.ts +23 -15
  194. package/oauthIntegrationForCustomClients.js +3 -4
  195. package/oauthIntegrationForCustomClients.js.map +1 -1
  196. package/oauthIntegrationForPartnerApplications.d.ts +16 -8
  197. package/oauthIntegrationForPartnerApplications.js +2 -3
  198. package/oauthIntegrationForPartnerApplications.js.map +1 -1
  199. package/package.json +2 -2
  200. package/passwordPolicy.d.ts +7 -0
  201. package/passwordPolicy.js +7 -0
  202. package/passwordPolicy.js.map +1 -1
  203. package/primaryConnection.d.ts +7 -7
  204. package/primaryConnection.js +1 -1
  205. package/procedureJava.d.ts +345 -0
  206. package/procedureJava.js +128 -0
  207. package/procedureJava.js.map +1 -0
  208. package/procedureJavascript.d.ts +249 -0
  209. package/procedureJavascript.js +106 -0
  210. package/procedureJavascript.js.map +1 -0
  211. package/procedurePython.d.ts +333 -0
  212. package/procedurePython.js +126 -0
  213. package/procedurePython.js.map +1 -0
  214. package/procedureScala.d.ts +345 -0
  215. package/procedureScala.js +128 -0
  216. package/procedureScala.js.map +1 -0
  217. package/procedureSql.d.ts +249 -0
  218. package/{procedure.js → procedureSql.js} +36 -32
  219. package/procedureSql.js.map +1 -0
  220. package/provider.d.ts +11 -182
  221. package/provider.js +10 -21
  222. package/provider.js.map +1 -1
  223. package/resourceMonitor.d.ts +7 -9
  224. package/resourceMonitor.js +1 -3
  225. package/resourceMonitor.js.map +1 -1
  226. package/rowAccessPolicy.d.ts +9 -9
  227. package/saml2Integration.d.ts +4 -4
  228. package/saml2Integration.js +1 -1
  229. package/schema.d.ts +6 -8
  230. package/schema.js +0 -2
  231. package/schema.js.map +1 -1
  232. package/scimIntegration.d.ts +7 -7
  233. package/scimIntegration.js +1 -1
  234. package/secondaryConnection.d.ts +7 -7
  235. package/secondaryConnection.js +1 -1
  236. package/secondaryDatabase.d.ts +7 -7
  237. package/secondaryDatabase.js +1 -1
  238. package/secretWithAuthorizationCodeGrant.d.ts +12 -12
  239. package/secretWithBasicAuthentication.d.ts +9 -9
  240. package/secretWithClientCredentials.d.ts +12 -12
  241. package/secretWithGenericString.d.ts +9 -9
  242. package/serviceUser.d.ts +9 -9
  243. package/sharedDatabase.d.ts +7 -7
  244. package/sharedDatabase.js +1 -1
  245. package/streamOnDirectoryTable.d.ts +12 -21
  246. package/streamOnDirectoryTable.js.map +1 -1
  247. package/streamOnExternalTable.d.ts +12 -21
  248. package/streamOnExternalTable.js.map +1 -1
  249. package/streamOnTable.d.ts +12 -21
  250. package/streamOnTable.js.map +1 -1
  251. package/streamOnView.d.ts +12 -21
  252. package/streamOnView.js.map +1 -1
  253. package/streamlit.d.ts +18 -20
  254. package/streamlit.js +0 -2
  255. package/streamlit.js.map +1 -1
  256. package/tag.d.ts +12 -12
  257. package/tagAssociation.d.ts +11 -31
  258. package/tagAssociation.js +2 -4
  259. package/tagAssociation.js.map +1 -1
  260. package/task.d.ts +25 -27
  261. package/task.js +1 -3
  262. package/task.js.map +1 -1
  263. package/types/input.d.ts +828 -47
  264. package/types/output.d.ts +846 -94
  265. package/user.d.ts +9 -9
  266. package/view.d.ts +12 -21
  267. package/view.js.map +1 -1
  268. package/warehouse.d.ts +7 -7
  269. package/warehouse.js +1 -1
  270. package/databaseOld.d.ts +0 -147
  271. package/databaseOld.js +0 -70
  272. package/databaseOld.js.map +0 -1
  273. package/function.d.ts +0 -247
  274. package/function.js.map +0 -1
  275. package/getRole.d.ts +0 -66
  276. package/getRole.js +0 -50
  277. package/getRole.js.map +0 -1
  278. package/getRoles.d.ts +0 -61
  279. package/getRoles.js +0 -36
  280. package/getRoles.js.map +0 -1
  281. package/oauthIntegration.d.ts +0 -171
  282. package/oauthIntegration.js +0 -79
  283. package/oauthIntegration.js.map +0 -1
  284. package/procedure.d.ts +0 -253
  285. package/procedure.js.map +0 -1
  286. package/role.d.ts +0 -76
  287. package/role.js +0 -62
  288. package/role.js.map +0 -1
  289. package/samlIntegration.d.ts +0 -243
  290. package/samlIntegration.js +0 -104
  291. package/samlIntegration.js.map +0 -1
  292. package/sessionParameter.d.ts +0 -91
  293. package/sessionParameter.js +0 -68
  294. package/sessionParameter.js.map +0 -1
  295. package/stream.d.ts +0 -181
  296. package/stream.js +0 -86
  297. package/stream.js.map +0 -1
  298. package/tagMaskingPolicyAssociation.d.ts +0 -69
  299. package/tagMaskingPolicyAssociation.js +0 -66
  300. package/tagMaskingPolicyAssociation.js.map +0 -1
  301. package/unsafeExecute.js.map +0 -1
package/function.d.ts DELETED
@@ -1,247 +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
- * format is <database_name>.<schema_name>.<function_name>(<arg types, separated with ','>)
8
- *
9
- * ```sh
10
- * $ pulumi import snowflake:index/function:Function example 'dbName.schemaName.functionName(varchar, varchar, varchar)'
11
- * ```
12
- */
13
- export declare class Function extends pulumi.CustomResource {
14
- /**
15
- * Get an existing Function resource's state with the given name, ID, and optional extra
16
- * properties used to qualify the lookup.
17
- *
18
- * @param name The _unique_ name of the resulting resource.
19
- * @param id The _unique_ provider ID of the resource to lookup.
20
- * @param state Any extra arguments used during the lookup.
21
- * @param opts Optional settings to control the behavior of the CustomResource.
22
- */
23
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionState, opts?: pulumi.CustomResourceOptions): Function;
24
- /**
25
- * Returns true if the given object is an instance of Function. This is designed to work even
26
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
- */
28
- static isInstance(obj: any): obj is Function;
29
- /**
30
- * List of the arguments for the function
31
- */
32
- readonly arguments: pulumi.Output<outputs.FunctionArgument[] | undefined>;
33
- /**
34
- * Specifies a comment for the function.
35
- */
36
- readonly comment: pulumi.Output<string | undefined>;
37
- /**
38
- * The database in which to create the function. Don't use the | character.
39
- */
40
- readonly database: pulumi.Output<string>;
41
- /**
42
- * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
43
- */
44
- readonly fullyQualifiedName: pulumi.Output<string>;
45
- /**
46
- * The handler method for Java / Python function.
47
- */
48
- readonly handler: pulumi.Output<string | undefined>;
49
- /**
50
- * Imports for Java / Python functions. For Java this a list of jar files, for Python this is a list of Python files.
51
- */
52
- readonly imports: pulumi.Output<string[] | undefined>;
53
- /**
54
- * Specifies that the function is secure.
55
- */
56
- readonly isSecure: pulumi.Output<boolean | undefined>;
57
- /**
58
- * Specifies the language of the stored function code.
59
- */
60
- readonly language: pulumi.Output<string | undefined>;
61
- /**
62
- * Specifies the identifier for the function; does not have to be unique for the schema in which the function is created. Don't use the | character.
63
- */
64
- readonly name: pulumi.Output<string>;
65
- /**
66
- * Specifies the behavior of the function when called with null inputs.
67
- */
68
- readonly nullInputBehavior: pulumi.Output<string | undefined>;
69
- /**
70
- * List of package imports to use for Java / Python functions. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
71
- */
72
- readonly packages: pulumi.Output<string[] | undefined>;
73
- /**
74
- * Specifies the behavior of the function when returning results
75
- */
76
- readonly returnBehavior: pulumi.Output<string | undefined>;
77
- /**
78
- * The return type of the function
79
- */
80
- readonly returnType: pulumi.Output<string>;
81
- /**
82
- * Required for Python functions. Specifies Python runtime version.
83
- */
84
- readonly runtimeVersion: pulumi.Output<string | undefined>;
85
- /**
86
- * The schema in which to create the function. Don't use the | character.
87
- */
88
- readonly schema: pulumi.Output<string>;
89
- /**
90
- * Specifies the javascript / java / scala / sql / python code used to create the function.
91
- */
92
- readonly statement: pulumi.Output<string>;
93
- /**
94
- * The target path for the Java / Python functions. For Java, it is the path of compiled jar files and for the Python it is the path of the Python files.
95
- */
96
- readonly targetPath: pulumi.Output<string | undefined>;
97
- /**
98
- * Create a Function resource with the given unique name, arguments, and options.
99
- *
100
- * @param name The _unique_ name of the resource.
101
- * @param args The arguments to use to populate this resource's properties.
102
- * @param opts A bag of options that control this resource's behavior.
103
- */
104
- constructor(name: string, args: FunctionArgs, opts?: pulumi.CustomResourceOptions);
105
- }
106
- /**
107
- * Input properties used for looking up and filtering Function resources.
108
- */
109
- export interface FunctionState {
110
- /**
111
- * List of the arguments for the function
112
- */
113
- arguments?: pulumi.Input<pulumi.Input<inputs.FunctionArgument>[]>;
114
- /**
115
- * Specifies a comment for the function.
116
- */
117
- comment?: pulumi.Input<string>;
118
- /**
119
- * The database in which to create the function. Don't use the | character.
120
- */
121
- database?: pulumi.Input<string>;
122
- /**
123
- * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
124
- */
125
- fullyQualifiedName?: pulumi.Input<string>;
126
- /**
127
- * The handler method for Java / Python function.
128
- */
129
- handler?: pulumi.Input<string>;
130
- /**
131
- * Imports for Java / Python functions. For Java this a list of jar files, for Python this is a list of Python files.
132
- */
133
- imports?: pulumi.Input<pulumi.Input<string>[]>;
134
- /**
135
- * Specifies that the function is secure.
136
- */
137
- isSecure?: pulumi.Input<boolean>;
138
- /**
139
- * Specifies the language of the stored function code.
140
- */
141
- language?: pulumi.Input<string>;
142
- /**
143
- * Specifies the identifier for the function; does not have to be unique for the schema in which the function is created. Don't use the | character.
144
- */
145
- name?: pulumi.Input<string>;
146
- /**
147
- * Specifies the behavior of the function when called with null inputs.
148
- */
149
- nullInputBehavior?: pulumi.Input<string>;
150
- /**
151
- * List of package imports to use for Java / Python functions. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
152
- */
153
- packages?: pulumi.Input<pulumi.Input<string>[]>;
154
- /**
155
- * Specifies the behavior of the function when returning results
156
- */
157
- returnBehavior?: pulumi.Input<string>;
158
- /**
159
- * The return type of the function
160
- */
161
- returnType?: pulumi.Input<string>;
162
- /**
163
- * Required for Python functions. Specifies Python runtime version.
164
- */
165
- runtimeVersion?: pulumi.Input<string>;
166
- /**
167
- * The schema in which to create the function. Don't use the | character.
168
- */
169
- schema?: pulumi.Input<string>;
170
- /**
171
- * Specifies the javascript / java / scala / sql / python code used to create the function.
172
- */
173
- statement?: pulumi.Input<string>;
174
- /**
175
- * The target path for the Java / Python functions. For Java, it is the path of compiled jar files and for the Python it is the path of the Python files.
176
- */
177
- targetPath?: pulumi.Input<string>;
178
- }
179
- /**
180
- * The set of arguments for constructing a Function resource.
181
- */
182
- export interface FunctionArgs {
183
- /**
184
- * List of the arguments for the function
185
- */
186
- arguments?: pulumi.Input<pulumi.Input<inputs.FunctionArgument>[]>;
187
- /**
188
- * Specifies a comment for the function.
189
- */
190
- comment?: pulumi.Input<string>;
191
- /**
192
- * The database in which to create the function. Don't use the | character.
193
- */
194
- database: pulumi.Input<string>;
195
- /**
196
- * The handler method for Java / Python function.
197
- */
198
- handler?: pulumi.Input<string>;
199
- /**
200
- * Imports for Java / Python functions. For Java this a list of jar files, for Python this is a list of Python files.
201
- */
202
- imports?: pulumi.Input<pulumi.Input<string>[]>;
203
- /**
204
- * Specifies that the function is secure.
205
- */
206
- isSecure?: pulumi.Input<boolean>;
207
- /**
208
- * Specifies the language of the stored function code.
209
- */
210
- language?: pulumi.Input<string>;
211
- /**
212
- * Specifies the identifier for the function; does not have to be unique for the schema in which the function is created. Don't use the | character.
213
- */
214
- name?: pulumi.Input<string>;
215
- /**
216
- * Specifies the behavior of the function when called with null inputs.
217
- */
218
- nullInputBehavior?: pulumi.Input<string>;
219
- /**
220
- * List of package imports to use for Java / Python functions. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
221
- */
222
- packages?: pulumi.Input<pulumi.Input<string>[]>;
223
- /**
224
- * Specifies the behavior of the function when returning results
225
- */
226
- returnBehavior?: pulumi.Input<string>;
227
- /**
228
- * The return type of the function
229
- */
230
- returnType: pulumi.Input<string>;
231
- /**
232
- * Required for Python functions. Specifies Python runtime version.
233
- */
234
- runtimeVersion?: pulumi.Input<string>;
235
- /**
236
- * The schema in which to create the function. Don't use the | character.
237
- */
238
- schema: pulumi.Input<string>;
239
- /**
240
- * Specifies the javascript / java / scala / sql / python code used to create the function.
241
- */
242
- statement: pulumi.Input<string>;
243
- /**
244
- * The target path for the Java / Python functions. For Java, it is the path of compiled jar files and for the Python it is the path of the Python files.
245
- */
246
- targetPath?: pulumi.Input<string>;
247
- }
package/function.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"function.js","sourceRoot":"","sources":["../function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA+ED,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACl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AC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjKL,4BAkKC;AApJG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
package/getRole.d.ts DELETED
@@ -1,66 +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.getRoles 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 this = snowflake.getRole({
12
- * name: "role1",
13
- * });
14
- * ```
15
- */
16
- export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
17
- /**
18
- * A collection of arguments for invoking getRole.
19
- */
20
- export interface GetRoleArgs {
21
- /**
22
- * The role for which to return metadata.
23
- */
24
- name: string;
25
- }
26
- /**
27
- * A collection of values returned by getRole.
28
- */
29
- export interface GetRoleResult {
30
- /**
31
- * The comment on the role
32
- */
33
- readonly comment: string;
34
- /**
35
- * The provider-assigned unique ID for this managed resource.
36
- */
37
- readonly id: string;
38
- /**
39
- * The role for which to return metadata.
40
- */
41
- readonly name: string;
42
- }
43
- /**
44
- * > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.getRoles instead. <deprecation>
45
- *
46
- * ## Example Usage
47
- *
48
- * ```typescript
49
- * import * as pulumi from "@pulumi/pulumi";
50
- * import * as snowflake from "@pulumi/snowflake";
51
- *
52
- * const this = snowflake.getRole({
53
- * name: "role1",
54
- * });
55
- * ```
56
- */
57
- export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoleResult>;
58
- /**
59
- * A collection of arguments for invoking getRole.
60
- */
61
- export interface GetRoleOutputArgs {
62
- /**
63
- * The role for which to return metadata.
64
- */
65
- name: pulumi.Input<string>;
66
- }
package/getRole.js DELETED
@@ -1,50 +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.getRoleOutput = exports.getRole = 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.getRoles 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 this = snowflake.getRole({
18
- * name: "role1",
19
- * });
20
- * ```
21
- */
22
- function getRole(args, opts) {
23
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
- return pulumi.runtime.invoke("snowflake:index/getRole:getRole", {
25
- "name": args.name,
26
- }, opts);
27
- }
28
- exports.getRole = getRole;
29
- /**
30
- * > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.getRoles instead. <deprecation>
31
- *
32
- * ## Example Usage
33
- *
34
- * ```typescript
35
- * import * as pulumi from "@pulumi/pulumi";
36
- * import * as snowflake from "@pulumi/snowflake";
37
- *
38
- * const this = snowflake.getRole({
39
- * name: "role1",
40
- * });
41
- * ```
42
- */
43
- function getRoleOutput(args, opts) {
44
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
- return pulumi.runtime.invokeOutput("snowflake:index/getRole:getRole", {
46
- "name": args.name,
47
- }, opts);
48
- }
49
- exports.getRoleOutput = getRoleOutput;
50
- //# sourceMappingURL=getRole.js.map
package/getRole.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
package/getRoles.d.ts DELETED
@@ -1,61 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * !> **V1 release candidate** This datasource 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
5
- *
6
- * Datasource used to get details of filtered roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `inClass` are all supported). The results of SHOW are encapsulated in one output collection.
7
- */
8
- export declare function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetRolesResult>;
9
- /**
10
- * A collection of arguments for invoking getRoles.
11
- */
12
- export interface GetRolesArgs {
13
- /**
14
- * Filters the SHOW GRANTS output by class name.
15
- */
16
- inClass?: string;
17
- /**
18
- * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
19
- */
20
- like?: string;
21
- }
22
- /**
23
- * A collection of values returned by getRoles.
24
- */
25
- export interface GetRolesResult {
26
- /**
27
- * The provider-assigned unique ID for this managed resource.
28
- */
29
- readonly id: string;
30
- /**
31
- * Filters the SHOW GRANTS output by class name.
32
- */
33
- readonly inClass?: string;
34
- /**
35
- * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
36
- */
37
- readonly like?: string;
38
- /**
39
- * Holds the aggregated output of all role details queries.
40
- */
41
- readonly roles: outputs.GetRolesRole[];
42
- }
43
- /**
44
- * !> **V1 release candidate** This datasource 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
45
- *
46
- * Datasource used to get details of filtered roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `inClass` are all supported). The results of SHOW are encapsulated in one output collection.
47
- */
48
- export declare function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRolesResult>;
49
- /**
50
- * A collection of arguments for invoking getRoles.
51
- */
52
- export interface GetRolesOutputArgs {
53
- /**
54
- * Filters the SHOW GRANTS output by class name.
55
- */
56
- inClass?: pulumi.Input<string>;
57
- /**
58
- * Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
59
- */
60
- like?: pulumi.Input<string>;
61
- }
package/getRoles.js DELETED
@@ -1,36 +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.getRolesOutput = exports.getRoles = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * !> **V1 release candidate** This datasource 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
10
- *
11
- * Datasource used to get details of filtered roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `inClass` are all supported). The results of SHOW are encapsulated in one output collection.
12
- */
13
- function getRoles(args, opts) {
14
- args = args || {};
15
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
- return pulumi.runtime.invoke("snowflake:index/getRoles:getRoles", {
17
- "inClass": args.inClass,
18
- "like": args.like,
19
- }, opts);
20
- }
21
- exports.getRoles = getRoles;
22
- /**
23
- * !> **V1 release candidate** This datasource 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 data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
24
- *
25
- * Datasource used to get details of filtered roles. Filtering is aligned with the current possibilities for [SHOW ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-roles) query (`like` and `inClass` are all supported). The results of SHOW are encapsulated in one output collection.
26
- */
27
- function getRolesOutput(args, opts) {
28
- args = args || {};
29
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
- return pulumi.runtime.invokeOutput("snowflake:index/getRoles:getRoles", {
31
- "inClass": args.inClass,
32
- "like": args.like,
33
- }, opts);
34
- }
35
- exports.getRolesOutput = getRolesOutput;
36
- //# sourceMappingURL=getRoles.js.map
package/getRoles.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRoles.js","sourceRoot":"","sources":["../getRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAqCD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC"}
@@ -1,171 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * ## Import
4
- *
5
- * ```sh
6
- * $ pulumi import snowflake:index/oauthIntegration:OauthIntegration example name
7
- * ```
8
- */
9
- export declare class OauthIntegration extends pulumi.CustomResource {
10
- /**
11
- * Get an existing OauthIntegration resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OauthIntegrationState, opts?: pulumi.CustomResourceOptions): OauthIntegration;
20
- /**
21
- * Returns true if the given object is an instance of OauthIntegration. This is designed to work even
22
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
- */
24
- static isInstance(obj: any): obj is OauthIntegration;
25
- /**
26
- * List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
27
- */
28
- readonly blockedRolesLists: pulumi.Output<string[] | undefined>;
29
- /**
30
- * Specifies a comment for the OAuth integration.
31
- */
32
- readonly comment: pulumi.Output<string | undefined>;
33
- /**
34
- * Date and time when the OAuth integration was created.
35
- */
36
- readonly createdOn: pulumi.Output<string>;
37
- /**
38
- * Specifies whether this OAuth integration is enabled or disabled.
39
- */
40
- readonly enabled: pulumi.Output<boolean | undefined>;
41
- /**
42
- * Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
43
- */
44
- readonly name: pulumi.Output<string>;
45
- /**
46
- * Specifies the OAuth client type.
47
- */
48
- readonly oauthClient: pulumi.Output<string>;
49
- /**
50
- * Specifies the type of client being registered. Snowflake supports both confidential and public clients.
51
- */
52
- readonly oauthClientType: pulumi.Output<string | undefined>;
53
- /**
54
- * Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
55
- */
56
- readonly oauthIssueRefreshTokens: pulumi.Output<boolean | undefined>;
57
- /**
58
- * Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI.
59
- */
60
- readonly oauthRedirectUri: pulumi.Output<string | undefined>;
61
- /**
62
- * Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
63
- */
64
- readonly oauthRefreshTokenValidity: pulumi.Output<number | undefined>;
65
- /**
66
- * Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
67
- */
68
- readonly oauthUseSecondaryRoles: pulumi.Output<string | undefined>;
69
- /**
70
- * Create a OauthIntegration resource with the given unique name, arguments, and options.
71
- *
72
- * @param name The _unique_ name of the resource.
73
- * @param args The arguments to use to populate this resource's properties.
74
- * @param opts A bag of options that control this resource's behavior.
75
- */
76
- constructor(name: string, args: OauthIntegrationArgs, opts?: pulumi.CustomResourceOptions);
77
- }
78
- /**
79
- * Input properties used for looking up and filtering OauthIntegration resources.
80
- */
81
- export interface OauthIntegrationState {
82
- /**
83
- * List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
84
- */
85
- blockedRolesLists?: pulumi.Input<pulumi.Input<string>[]>;
86
- /**
87
- * Specifies a comment for the OAuth integration.
88
- */
89
- comment?: pulumi.Input<string>;
90
- /**
91
- * Date and time when the OAuth integration was created.
92
- */
93
- createdOn?: pulumi.Input<string>;
94
- /**
95
- * Specifies whether this OAuth integration is enabled or disabled.
96
- */
97
- enabled?: pulumi.Input<boolean>;
98
- /**
99
- * Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
100
- */
101
- name?: pulumi.Input<string>;
102
- /**
103
- * Specifies the OAuth client type.
104
- */
105
- oauthClient?: pulumi.Input<string>;
106
- /**
107
- * Specifies the type of client being registered. Snowflake supports both confidential and public clients.
108
- */
109
- oauthClientType?: pulumi.Input<string>;
110
- /**
111
- * Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
112
- */
113
- oauthIssueRefreshTokens?: pulumi.Input<boolean>;
114
- /**
115
- * Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI.
116
- */
117
- oauthRedirectUri?: pulumi.Input<string>;
118
- /**
119
- * Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
120
- */
121
- oauthRefreshTokenValidity?: pulumi.Input<number>;
122
- /**
123
- * Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
124
- */
125
- oauthUseSecondaryRoles?: pulumi.Input<string>;
126
- }
127
- /**
128
- * The set of arguments for constructing a OauthIntegration resource.
129
- */
130
- export interface OauthIntegrationArgs {
131
- /**
132
- * List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
133
- */
134
- blockedRolesLists?: pulumi.Input<pulumi.Input<string>[]>;
135
- /**
136
- * Specifies a comment for the OAuth integration.
137
- */
138
- comment?: pulumi.Input<string>;
139
- /**
140
- * Specifies whether this OAuth integration is enabled or disabled.
141
- */
142
- enabled?: pulumi.Input<boolean>;
143
- /**
144
- * Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
145
- */
146
- name?: pulumi.Input<string>;
147
- /**
148
- * Specifies the OAuth client type.
149
- */
150
- oauthClient: pulumi.Input<string>;
151
- /**
152
- * Specifies the type of client being registered. Snowflake supports both confidential and public clients.
153
- */
154
- oauthClientType?: pulumi.Input<string>;
155
- /**
156
- * Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
157
- */
158
- oauthIssueRefreshTokens?: pulumi.Input<boolean>;
159
- /**
160
- * Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI.
161
- */
162
- oauthRedirectUri?: pulumi.Input<string>;
163
- /**
164
- * Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
165
- */
166
- oauthRefreshTokenValidity?: pulumi.Input<number>;
167
- /**
168
- * Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
169
- */
170
- oauthUseSecondaryRoles?: pulumi.Input<string>;
171
- }