@pulumi/snowflake 2.9.0-alpha.1761894775 → 2.9.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/types/input.d.ts CHANGED
@@ -330,20 +330,60 @@ export interface AuthenticationPolicyDescribeOutput {
330
330
  comment?: pulumi.Input<string>;
331
331
  mfaAuthenticationMethods?: pulumi.Input<string>;
332
332
  mfaEnrollment?: pulumi.Input<string>;
333
+ mfaPolicy?: pulumi.Input<string>;
333
334
  name?: pulumi.Input<string>;
334
335
  owner?: pulumi.Input<string>;
336
+ patPolicy?: pulumi.Input<string>;
335
337
  securityIntegrations?: pulumi.Input<string>;
338
+ workloadIdentityPolicy?: pulumi.Input<string>;
339
+ }
340
+ export interface AuthenticationPolicyMfaPolicy {
341
+ allowedMethods?: pulumi.Input<pulumi.Input<string>[]>;
342
+ /**
343
+ * Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive): `ALL` | `NONE`.
344
+ */
345
+ enforceMfaOnExternalAuthentication?: pulumi.Input<string>;
346
+ }
347
+ export interface AuthenticationPolicyPatPolicy {
348
+ /**
349
+ * Specifies the default expiration time (in days) for a programmatic access token.
350
+ */
351
+ defaultExpiryInDays?: pulumi.Input<number>;
352
+ /**
353
+ * Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
354
+ */
355
+ maxExpiryInDays?: pulumi.Input<number>;
356
+ /**
357
+ * Specifies the network policy evaluation for the PAT.
358
+ */
359
+ networkPolicyEvaluation?: pulumi.Input<string>;
336
360
  }
337
361
  export interface AuthenticationPolicyShowOutput {
338
362
  comment?: pulumi.Input<string>;
339
363
  createdOn?: pulumi.Input<string>;
340
364
  databaseName?: pulumi.Input<string>;
365
+ kind?: pulumi.Input<string>;
341
366
  name?: pulumi.Input<string>;
342
367
  options?: pulumi.Input<string>;
343
368
  owner?: pulumi.Input<string>;
344
369
  ownerRoleType?: pulumi.Input<string>;
345
370
  schemaName?: pulumi.Input<string>;
346
371
  }
372
+ export interface AuthenticationPolicyWorkloadIdentityPolicy {
373
+ /**
374
+ * Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type `AWS`.
375
+ */
376
+ allowedAwsAccounts?: pulumi.Input<pulumi.Input<string>[]>;
377
+ /**
378
+ * Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type `AZURE`.
379
+ */
380
+ allowedAzureIssuers?: pulumi.Input<pulumi.Input<string>[]>;
381
+ /**
382
+ * Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type `OIDC`.
383
+ */
384
+ allowedOidcIssuers?: pulumi.Input<pulumi.Input<string>[]>;
385
+ allowedProviders?: pulumi.Input<pulumi.Input<string>[]>;
386
+ }
347
387
  export interface ComputePoolDescribeOutput {
348
388
  activeNodes?: pulumi.Input<number>;
349
389
  application?: pulumi.Input<string>;
@@ -1115,6 +1155,90 @@ export interface FunctionSqlShowOutput {
1115
1155
  secrets?: pulumi.Input<string>;
1116
1156
  validForClustering?: pulumi.Input<boolean>;
1117
1157
  }
1158
+ export interface GetAuthenticationPoliciesIn {
1159
+ /**
1160
+ * Returns records for the entire account.
1161
+ */
1162
+ account?: boolean;
1163
+ /**
1164
+ * Returns records for the specified application.
1165
+ */
1166
+ application?: string;
1167
+ /**
1168
+ * Returns records for the specified application package.
1169
+ */
1170
+ applicationPackage?: string;
1171
+ /**
1172
+ * Returns records for the current database in use or for a specified database.
1173
+ */
1174
+ database?: string;
1175
+ /**
1176
+ * Returns records for the current schema in use or a specified schema. Use fully qualified name.
1177
+ */
1178
+ schema?: string;
1179
+ }
1180
+ export interface GetAuthenticationPoliciesInArgs {
1181
+ /**
1182
+ * Returns records for the entire account.
1183
+ */
1184
+ account?: pulumi.Input<boolean>;
1185
+ /**
1186
+ * Returns records for the specified application.
1187
+ */
1188
+ application?: pulumi.Input<string>;
1189
+ /**
1190
+ * Returns records for the specified application package.
1191
+ */
1192
+ applicationPackage?: pulumi.Input<string>;
1193
+ /**
1194
+ * Returns records for the current database in use or for a specified database.
1195
+ */
1196
+ database?: pulumi.Input<string>;
1197
+ /**
1198
+ * Returns records for the current schema in use or a specified schema. Use fully qualified name.
1199
+ */
1200
+ schema?: pulumi.Input<string>;
1201
+ }
1202
+ export interface GetAuthenticationPoliciesLimit {
1203
+ /**
1204
+ * Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
1205
+ */
1206
+ from?: string;
1207
+ /**
1208
+ * The maximum number of rows to return.
1209
+ */
1210
+ rows: number;
1211
+ }
1212
+ export interface GetAuthenticationPoliciesLimitArgs {
1213
+ /**
1214
+ * Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
1215
+ */
1216
+ from?: pulumi.Input<string>;
1217
+ /**
1218
+ * The maximum number of rows to return.
1219
+ */
1220
+ rows: pulumi.Input<number>;
1221
+ }
1222
+ export interface GetAuthenticationPoliciesOn {
1223
+ /**
1224
+ * Returns records for the entire account.
1225
+ */
1226
+ account?: boolean;
1227
+ /**
1228
+ * Returns records for the specified user.
1229
+ */
1230
+ user?: string;
1231
+ }
1232
+ export interface GetAuthenticationPoliciesOnArgs {
1233
+ /**
1234
+ * Returns records for the entire account.
1235
+ */
1236
+ account?: pulumi.Input<boolean>;
1237
+ /**
1238
+ * Returns records for the specified user.
1239
+ */
1240
+ user?: pulumi.Input<string>;
1241
+ }
1118
1242
  export interface GetComputePoolsLimit {
1119
1243
  /**
1120
1244
  * Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
package/types/output.d.ts CHANGED
@@ -329,20 +329,60 @@ export interface AuthenticationPolicyDescribeOutput {
329
329
  comment: string;
330
330
  mfaAuthenticationMethods: string;
331
331
  mfaEnrollment: string;
332
+ mfaPolicy: string;
332
333
  name: string;
333
334
  owner: string;
335
+ patPolicy: string;
334
336
  securityIntegrations: string;
337
+ workloadIdentityPolicy: string;
338
+ }
339
+ export interface AuthenticationPolicyMfaPolicy {
340
+ allowedMethods?: string[];
341
+ /**
342
+ * Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive): `ALL` | `NONE`.
343
+ */
344
+ enforceMfaOnExternalAuthentication?: string;
345
+ }
346
+ export interface AuthenticationPolicyPatPolicy {
347
+ /**
348
+ * Specifies the default expiration time (in days) for a programmatic access token.
349
+ */
350
+ defaultExpiryInDays?: number;
351
+ /**
352
+ * Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
353
+ */
354
+ maxExpiryInDays?: number;
355
+ /**
356
+ * Specifies the network policy evaluation for the PAT.
357
+ */
358
+ networkPolicyEvaluation?: string;
335
359
  }
336
360
  export interface AuthenticationPolicyShowOutput {
337
361
  comment: string;
338
362
  createdOn: string;
339
363
  databaseName: string;
364
+ kind: string;
340
365
  name: string;
341
366
  options: string;
342
367
  owner: string;
343
368
  ownerRoleType: string;
344
369
  schemaName: string;
345
370
  }
371
+ export interface AuthenticationPolicyWorkloadIdentityPolicy {
372
+ /**
373
+ * Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type `AWS`.
374
+ */
375
+ allowedAwsAccounts?: string[];
376
+ /**
377
+ * Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type `AZURE`.
378
+ */
379
+ allowedAzureIssuers?: string[];
380
+ /**
381
+ * Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type `OIDC`.
382
+ */
383
+ allowedOidcIssuers?: string[];
384
+ allowedProviders?: string[];
385
+ }
346
386
  export interface ComputePoolDescribeOutput {
347
387
  activeNodes: number;
348
388
  application: string;
@@ -1199,6 +1239,82 @@ export interface GetAlertsAlert {
1199
1239
  */
1200
1240
  schemaName: string;
1201
1241
  }
1242
+ export interface GetAuthenticationPoliciesAuthenticationPolicy {
1243
+ /**
1244
+ * Holds the output of DESCRIBE AUTHENTICATION POLICY.
1245
+ */
1246
+ describeOutputs: outputs.GetAuthenticationPoliciesAuthenticationPolicyDescribeOutput[];
1247
+ /**
1248
+ * Holds the output of SHOW AUTHENTICATION POLICIES.
1249
+ */
1250
+ showOutputs: outputs.GetAuthenticationPoliciesAuthenticationPolicyShowOutput[];
1251
+ }
1252
+ export interface GetAuthenticationPoliciesAuthenticationPolicyDescribeOutput {
1253
+ authenticationMethods: string;
1254
+ clientTypes: string;
1255
+ comment: string;
1256
+ mfaAuthenticationMethods: string;
1257
+ mfaEnrollment: string;
1258
+ mfaPolicy: string;
1259
+ name: string;
1260
+ owner: string;
1261
+ patPolicy: string;
1262
+ securityIntegrations: string;
1263
+ workloadIdentityPolicy: string;
1264
+ }
1265
+ export interface GetAuthenticationPoliciesAuthenticationPolicyShowOutput {
1266
+ comment: string;
1267
+ createdOn: string;
1268
+ databaseName: string;
1269
+ kind: string;
1270
+ name: string;
1271
+ options: string;
1272
+ owner: string;
1273
+ ownerRoleType: string;
1274
+ schemaName: string;
1275
+ }
1276
+ export interface GetAuthenticationPoliciesIn {
1277
+ /**
1278
+ * Returns records for the entire account.
1279
+ */
1280
+ account?: boolean;
1281
+ /**
1282
+ * Returns records for the specified application.
1283
+ */
1284
+ application?: string;
1285
+ /**
1286
+ * Returns records for the specified application package.
1287
+ */
1288
+ applicationPackage?: string;
1289
+ /**
1290
+ * Returns records for the current database in use or for a specified database.
1291
+ */
1292
+ database?: string;
1293
+ /**
1294
+ * Returns records for the current schema in use or a specified schema. Use fully qualified name.
1295
+ */
1296
+ schema?: string;
1297
+ }
1298
+ export interface GetAuthenticationPoliciesLimit {
1299
+ /**
1300
+ * Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
1301
+ */
1302
+ from?: string;
1303
+ /**
1304
+ * The maximum number of rows to return.
1305
+ */
1306
+ rows: number;
1307
+ }
1308
+ export interface GetAuthenticationPoliciesOn {
1309
+ /**
1310
+ * Returns records for the entire account.
1311
+ */
1312
+ account?: boolean;
1313
+ /**
1314
+ * Returns records for the specified user.
1315
+ */
1316
+ user?: string;
1317
+ }
1202
1318
  export interface GetComputePoolsComputePool {
1203
1319
  /**
1204
1320
  * Holds the output of DESCRIBE COMPUTE POOL.