@pulumi/pulumi 3.277.0-alpha.xab58854 → 3.277.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.
@@ -31,6 +31,8 @@ export declare class API {
31
31
  configSetAll(options: PulumiConfigSetAllOptions): ReturnType<API["__run"]>;
32
32
  config(options: PulumiConfigOptions): ReturnType<API["__run"]>;
33
33
  convert(options: PulumiConvertOptions, ...arg: string[]): ReturnType<API["__run"]>;
34
+ deliveryRegister(options: PulumiDeliveryRegisterOptions): ReturnType<API["__run"]>;
35
+ delivery(options: PulumiDeliveryOptions): ReturnType<API["__run"]>;
34
36
  deploymentCancel(options: PulumiDeploymentCancelOptions, deploymentId: string): ReturnType<API["__run"]>;
35
37
  deploymentGet(options: PulumiDeploymentGetOptions, deploymentVersion: string): ReturnType<API["__run"]>;
36
38
  deploymentList(options: PulumiDeploymentListOptions): ReturnType<API["__run"]>;
@@ -896,6 +898,152 @@ export interface PulumiConvertOptions extends BaseOptions {
896
898
  /** Fail the conversion on errors such as missing variables */
897
899
  strict?: boolean;
898
900
  }
901
+ /** Options for the `pulumi delivery` command. */
902
+ export interface PulumiDeliveryOptions extends BaseOptions {
903
+ /** Colorize output. Choices are: always, never, raw, auto */
904
+ color?: string;
905
+ /** Disable integrity checking of checkpoint files */
906
+ disableIntegrityChecking?: boolean;
907
+ /** Show fully-qualified stack names */
908
+ fullyQualifyStackNames?: boolean;
909
+ /** Flow log settings to child processes (like plugins) */
910
+ logflow?: boolean;
911
+ /** Log to stderr instead of to files */
912
+ logtostderr?: boolean;
913
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
914
+ memprofilerate?: number;
915
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
916
+ otelTraces?: string;
917
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
918
+ profiling?: string;
919
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
920
+ tracing?: string;
921
+ /** Include the tracing header with the given contents. */
922
+ tracingHeader?: string;
923
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
924
+ verbose?: number;
925
+ }
926
+ /** Options for the `pulumi delivery register` command. */
927
+ export interface PulumiDeliveryRegisterOptions extends BaseOptions {
928
+ /** Colorize output. Choices are: always, never, raw, auto */
929
+ color?: string;
930
+ /** Disable integrity checking of checkpoint files */
931
+ disableIntegrityChecking?: boolean;
932
+ /** Show fully-qualified stack names */
933
+ fullyQualifyStackNames?: boolean;
934
+ /** Flow log settings to child processes (like plugins) */
935
+ logflow?: boolean;
936
+ /** Log to stderr instead of to files */
937
+ logtostderr?: boolean;
938
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
939
+ memprofilerate?: number;
940
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
941
+ otelTraces?: string;
942
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
943
+ profiling?: string;
944
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
945
+ tracing?: string;
946
+ /** Include the tracing header with the given contents. */
947
+ tracingHeader?: string;
948
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
949
+ verbose?: number;
950
+ /** Enable the ability to attach a debugger to the program and source based plugins being executed. Can limit debug type to 'program', 'plugins', 'plugin:<name>' or 'all'. */
951
+ attachDebugger?: string[];
952
+ /** The address of an existing language runtime host to connect to */
953
+ client?: string;
954
+ /** Config to use during the update and save to the stack config file */
955
+ config?: string[];
956
+ /** Use the configuration values in the specified file rather than detecting the file name */
957
+ configFile?: string;
958
+ /** Config keys contain a path to a property in a map or list to set */
959
+ configPath?: boolean;
960
+ /** Continue updating resources even if an error is encountered (can also be set with PULUMI_CONTINUE_ON_ERROR environment variable) */
961
+ continueOnError?: boolean;
962
+ /** [DEPRECATED] Use --neo instead. Enable Pulumi Neo's assistance for improved CLI experience and insights (can also be set with PULUMI_COPILOT environment variable) */
963
+ copilot?: boolean;
964
+ /** Print detailed debugging output during resource operations */
965
+ debug?: boolean;
966
+ /** Display operation as a rich diff showing the overall change */
967
+ diff?: boolean;
968
+ /** Specify a resource URN to ignore. These resources will not be updated. Multiple resources can be specified using --exclude urn1 --exclude urn2. Wildcards (*, **) are also supported */
969
+ exclude?: string[];
970
+ /** Allows ignoring of dependent targets discovered but not specified in --exclude list */
971
+ excludeDependents?: boolean;
972
+ execAgent?: string;
973
+ execKind?: string;
974
+ /** Return an error if any changes occur during this update. This check happens after the update is applied */
975
+ expectNoChanges?: boolean;
976
+ /** Ignore the protect resource option for this operation, allowing protected resources to be deleted or replaced. Use with caution: deleted resources cannot be recovered */
977
+ ignoreProtect?: boolean;
978
+ /** Serialize the update diffs, operations, and overall output as JSON */
979
+ json?: boolean;
980
+ /** Optional message to associate with the update operation */
981
+ message?: string;
982
+ /** Enable Pulumi Neo's assistance for improved CLI experience and insights (can also be set with PULUMI_NEO environment variable) */
983
+ neo?: boolean;
984
+ /** Start a Neo task to help debug errors that occur during the operation */
985
+ neoTaskOnFailure?: boolean;
986
+ /** Output format. Supported values are: default and json */
987
+ output?: string;
988
+ /** [EXPERIMENTAL] Override an imported environment for this run only, as <env>=<replacement>; repeatable */
989
+ overrideEnv?: string[];
990
+ /** Allow P resource operations to run in parallel at once (1 for no parallelism). */
991
+ parallel?: number;
992
+ /** [EXPERIMENTAL] Path to a plan file to use for the update. The update will not perform operations that exceed its plan (e.g. replacements instead of updates, or updates insteadof sames). */
993
+ plan?: string;
994
+ /** Run one or more policy packs as part of this update */
995
+ policyPack?: string[];
996
+ /** Path to JSON file containing the config for the policy pack of the corresponding "--policy-pack" flag */
997
+ policyPackConfig?: string[];
998
+ /** Refresh the state of the stack's resources before this update */
999
+ refresh?: string;
1000
+ /** Specify a single resource URN to replace. Multiple resources can be specified using --replace urn1 --replace urn2. Wildcards (*, **) are also supported */
1001
+ replace?: string[];
1002
+ /** Run the program to determine up-to-date state for providers to refresh resources, this only applies if --refresh is set */
1003
+ runProgram?: boolean;
1004
+ /** The type of the provider that should be used to encrypt and decrypt secrets (possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault). Only used when creating a new stack from an existing template */
1005
+ secretsProvider?: string;
1006
+ /** Show configuration keys and variables */
1007
+ showConfig?: boolean;
1008
+ /** Display full length of inputs & outputs */
1009
+ showFullOutput?: boolean;
1010
+ /** Show each exempted policy violation instead of a summary */
1011
+ showPolicyExceptions?: boolean;
1012
+ /** Show per-resource policy remediation details instead of a summary */
1013
+ showPolicyRemediations?: boolean;
1014
+ /** Show resources that are being read in, alongside those being managed directly in the stack */
1015
+ showReads?: boolean;
1016
+ /** Show detailed resource replacement creates and deletes instead of a single step */
1017
+ showReplacementSteps?: boolean;
1018
+ /** Show resources that don't need be updated because they haven't changed, alongside those that do */
1019
+ showSames?: boolean;
1020
+ /** Show secret outputs in the CLI output */
1021
+ showSecrets?: boolean;
1022
+ /** Skip validation of stack config values against the project config schema */
1023
+ skipConfigValidation?: boolean;
1024
+ /** Skip the up-front provider plugin install step; missing plugins are installed lazily by the engine. When deploying from a template, also skips installing the project's runtime dependencies. */
1025
+ skipPluginPreInstall?: boolean;
1026
+ /** Do not calculate a preview before performing the update */
1027
+ skipPreview?: boolean;
1028
+ /** The name of the stack to operate on. Defaults to the current stack */
1029
+ stack?: string;
1030
+ /** [EXPERIMENTAL] Enable strict plan behavior: generate a plan during preview and constrain the update to that plan (opt-in). Cannot be used with --skip-preview. */
1031
+ strict?: boolean;
1032
+ /** Suppress display of stack outputs (in case they contain sensitive values) */
1033
+ suppressOutputs?: boolean;
1034
+ /** Suppress display of the state permalink */
1035
+ suppressPermalink?: string;
1036
+ /** Suppress display of periodic progress dots */
1037
+ suppressProgress?: boolean;
1038
+ /** Specify a single resource URN to update. Other resources will not be updated. Multiple resources can be specified using --target urn1 --target urn2. Wildcards (*, **) are also supported */
1039
+ target?: string[];
1040
+ /** Allows updating of dependent targets discovered but not specified in --target list */
1041
+ targetDependents?: boolean;
1042
+ /** Specify a single resource URN to replace. Other resources will not be updated. Shorthand for --target urn --replace urn. */
1043
+ targetReplace?: string[];
1044
+ /** Display full URNs instead of short resource names */
1045
+ urns?: boolean;
1046
+ }
899
1047
  /** Options for the `pulumi deployment` command. */
900
1048
  export interface PulumiDeploymentOptions extends BaseOptions {
901
1049
  /** Colorize output. Choices are: always, never, raw, auto */
@@ -5196,6 +5344,8 @@ export interface PulumiStateMoveOptions extends BaseOptions {
5196
5344
  dest?: string;
5197
5345
  /** Include all the parents of the moved resources as well */
5198
5346
  includeParents?: boolean;
5347
+ /** URN of a resource in the destination stack to parent moved resources under. Mutually exclusive with --include-parents */
5348
+ parent?: string;
5199
5349
  /** The name of the stack to move resources from */
5200
5350
  source?: string;
5201
5351
  }
@@ -1344,6 +1344,263 @@ class API {
1344
1344
  }
1345
1345
  return this.__run(options, __final);
1346
1346
  }
1347
+ deliveryRegister(options) {
1348
+ const __final = [];
1349
+ __final.push("delivery");
1350
+ __final.push("register");
1351
+ const __flags = [];
1352
+ __flags.push("--yes");
1353
+ if (options.color != null) {
1354
+ __flags.push("--color", "" + options.color);
1355
+ }
1356
+ if (options.disableIntegrityChecking) {
1357
+ __flags.push("--disable-integrity-checking");
1358
+ }
1359
+ if (options.fullyQualifyStackNames) {
1360
+ __flags.push("--fully-qualify-stack-names");
1361
+ }
1362
+ if (options.logflow) {
1363
+ __flags.push("--logflow");
1364
+ }
1365
+ if (options.logtostderr) {
1366
+ __flags.push("--logtostderr");
1367
+ }
1368
+ if (options.memprofilerate != null) {
1369
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
1370
+ }
1371
+ if (options.otelTraces != null) {
1372
+ __flags.push("--otel-traces", "" + options.otelTraces);
1373
+ }
1374
+ if (options.profiling != null) {
1375
+ __flags.push("--profiling", "" + options.profiling);
1376
+ }
1377
+ if (options.tracing != null) {
1378
+ __flags.push("--tracing", "" + options.tracing);
1379
+ }
1380
+ if (options.tracingHeader != null) {
1381
+ __flags.push("--tracing-header", "" + options.tracingHeader);
1382
+ }
1383
+ if (options.verbose != null) {
1384
+ __flags.push("--verbose", "" + options.verbose);
1385
+ }
1386
+ for (const __item of options.attachDebugger ?? []) {
1387
+ if (__item != null) {
1388
+ __flags.push("--attach-debugger", "" + __item);
1389
+ }
1390
+ }
1391
+ if (options.client != null) {
1392
+ __flags.push("--client", "" + options.client);
1393
+ }
1394
+ for (const __item of options.config ?? []) {
1395
+ if (__item != null) {
1396
+ __flags.push("--config", "" + __item);
1397
+ }
1398
+ }
1399
+ if (options.configFile != null) {
1400
+ __flags.push("--config-file", "" + options.configFile);
1401
+ }
1402
+ if (options.configPath) {
1403
+ __flags.push("--config-path");
1404
+ }
1405
+ if (options.continueOnError) {
1406
+ __flags.push("--continue-on-error");
1407
+ }
1408
+ if (options.copilot) {
1409
+ __flags.push("--copilot");
1410
+ }
1411
+ if (options.debug) {
1412
+ __flags.push("--debug");
1413
+ }
1414
+ if (options.diff) {
1415
+ __flags.push("--diff");
1416
+ }
1417
+ for (const __item of options.exclude ?? []) {
1418
+ if (__item != null) {
1419
+ __flags.push("--exclude", "" + __item);
1420
+ }
1421
+ }
1422
+ if (options.excludeDependents) {
1423
+ __flags.push("--exclude-dependents");
1424
+ }
1425
+ if (options.execAgent != null) {
1426
+ __flags.push("--exec-agent", "" + options.execAgent);
1427
+ }
1428
+ if (options.execKind != null) {
1429
+ __flags.push("--exec-kind", "" + options.execKind);
1430
+ }
1431
+ if (options.expectNoChanges) {
1432
+ __flags.push("--expect-no-changes");
1433
+ }
1434
+ if (options.ignoreProtect) {
1435
+ __flags.push("--ignore-protect");
1436
+ }
1437
+ if (options.json) {
1438
+ __flags.push("--json");
1439
+ }
1440
+ if (options.message != null) {
1441
+ __flags.push("--message", "" + options.message);
1442
+ }
1443
+ if (options.neo) {
1444
+ __flags.push("--neo");
1445
+ }
1446
+ if (options.neoTaskOnFailure) {
1447
+ __flags.push("--neo-task-on-failure");
1448
+ }
1449
+ if (options.output != null) {
1450
+ __flags.push("--output", "" + options.output);
1451
+ }
1452
+ for (const __item of options.overrideEnv ?? []) {
1453
+ if (__item != null) {
1454
+ __flags.push("--override-env", "" + __item);
1455
+ }
1456
+ }
1457
+ if (options.parallel != null) {
1458
+ __flags.push("--parallel", "" + options.parallel);
1459
+ }
1460
+ if (options.plan != null) {
1461
+ __flags.push("--plan", "" + options.plan);
1462
+ }
1463
+ for (const __item of options.policyPack ?? []) {
1464
+ if (__item != null) {
1465
+ __flags.push("--policy-pack", "" + __item);
1466
+ }
1467
+ }
1468
+ for (const __item of options.policyPackConfig ?? []) {
1469
+ if (__item != null) {
1470
+ __flags.push("--policy-pack-config", "" + __item);
1471
+ }
1472
+ }
1473
+ if (options.refresh != null) {
1474
+ __flags.push("--refresh", "" + options.refresh);
1475
+ }
1476
+ for (const __item of options.replace ?? []) {
1477
+ if (__item != null) {
1478
+ __flags.push("--replace", "" + __item);
1479
+ }
1480
+ }
1481
+ if (options.runProgram) {
1482
+ __flags.push("--run-program");
1483
+ }
1484
+ if (options.secretsProvider != null) {
1485
+ __flags.push("--secrets-provider", "" + options.secretsProvider);
1486
+ }
1487
+ if (options.showConfig) {
1488
+ __flags.push("--show-config");
1489
+ }
1490
+ if (options.showFullOutput) {
1491
+ __flags.push("--show-full-output");
1492
+ }
1493
+ if (options.showPolicyExceptions) {
1494
+ __flags.push("--show-policy-exceptions");
1495
+ }
1496
+ if (options.showPolicyRemediations) {
1497
+ __flags.push("--show-policy-remediations");
1498
+ }
1499
+ if (options.showReads) {
1500
+ __flags.push("--show-reads");
1501
+ }
1502
+ if (options.showReplacementSteps) {
1503
+ __flags.push("--show-replacement-steps");
1504
+ }
1505
+ if (options.showSames) {
1506
+ __flags.push("--show-sames");
1507
+ }
1508
+ if (options.showSecrets) {
1509
+ __flags.push("--show-secrets");
1510
+ }
1511
+ if (options.skipConfigValidation) {
1512
+ __flags.push("--skip-config-validation");
1513
+ }
1514
+ if (options.skipPluginPreInstall) {
1515
+ __flags.push("--skip-plugin-pre-install");
1516
+ }
1517
+ if (options.skipPreview) {
1518
+ __flags.push("--skip-preview");
1519
+ }
1520
+ if (options.stack != null) {
1521
+ __flags.push("--stack", "" + options.stack);
1522
+ }
1523
+ if (options.strict) {
1524
+ __flags.push("--strict");
1525
+ }
1526
+ if (options.suppressOutputs) {
1527
+ __flags.push("--suppress-outputs");
1528
+ }
1529
+ if (options.suppressPermalink != null) {
1530
+ __flags.push("--suppress-permalink", "" + options.suppressPermalink);
1531
+ }
1532
+ if (options.suppressProgress) {
1533
+ __flags.push("--suppress-progress");
1534
+ }
1535
+ for (const __item of options.target ?? []) {
1536
+ if (__item != null) {
1537
+ __flags.push("--target", "" + __item);
1538
+ }
1539
+ }
1540
+ if (options.targetDependents) {
1541
+ __flags.push("--target-dependents");
1542
+ }
1543
+ for (const __item of options.targetReplace ?? []) {
1544
+ if (__item != null) {
1545
+ __flags.push("--target-replace", "" + __item);
1546
+ }
1547
+ }
1548
+ if (options.urns) {
1549
+ __flags.push("--urns");
1550
+ }
1551
+ __final.push(...__flags);
1552
+ const __arguments = [];
1553
+ if (__arguments.length > 0) {
1554
+ __final.push("--");
1555
+ __final.push(...__arguments);
1556
+ }
1557
+ return this.__run(options, __final);
1558
+ }
1559
+ delivery(options) {
1560
+ const __final = [];
1561
+ __final.push("delivery");
1562
+ const __flags = [];
1563
+ if (options.color != null) {
1564
+ __flags.push("--color", "" + options.color);
1565
+ }
1566
+ if (options.disableIntegrityChecking) {
1567
+ __flags.push("--disable-integrity-checking");
1568
+ }
1569
+ if (options.fullyQualifyStackNames) {
1570
+ __flags.push("--fully-qualify-stack-names");
1571
+ }
1572
+ if (options.logflow) {
1573
+ __flags.push("--logflow");
1574
+ }
1575
+ if (options.logtostderr) {
1576
+ __flags.push("--logtostderr");
1577
+ }
1578
+ if (options.memprofilerate != null) {
1579
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
1580
+ }
1581
+ if (options.otelTraces != null) {
1582
+ __flags.push("--otel-traces", "" + options.otelTraces);
1583
+ }
1584
+ if (options.profiling != null) {
1585
+ __flags.push("--profiling", "" + options.profiling);
1586
+ }
1587
+ if (options.tracing != null) {
1588
+ __flags.push("--tracing", "" + options.tracing);
1589
+ }
1590
+ if (options.tracingHeader != null) {
1591
+ __flags.push("--tracing-header", "" + options.tracingHeader);
1592
+ }
1593
+ if (options.verbose != null) {
1594
+ __flags.push("--verbose", "" + options.verbose);
1595
+ }
1596
+ __final.push(...__flags);
1597
+ const __arguments = [];
1598
+ if (__arguments.length > 0) {
1599
+ __final.push("--");
1600
+ __final.push(...__arguments);
1601
+ }
1602
+ return this.__run(options, __final);
1603
+ }
1347
1604
  deploymentCancel(options, deploymentId) {
1348
1605
  const __final = [];
1349
1606
  __final.push("deployment");
@@ -9060,6 +9317,9 @@ class API {
9060
9317
  if (options.includeParents) {
9061
9318
  __flags.push("--include-parents");
9062
9319
  }
9320
+ if (options.parent != null) {
9321
+ __flags.push("--parent", "" + options.parent);
9322
+ }
9063
9323
  if (options.source != null) {
9064
9324
  __flags.push("--source", "" + options.source);
9065
9325
  }