@pulumi/pulumi 3.272.0 → 3.273.0-alpha.x16bb64f

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.
@@ -79,6 +79,10 @@ export declare class API {
79
79
  envWebhookRemove(options: PulumiEnvWebhookRemoveOptions): ReturnType<API["__run"]>;
80
80
  import(options: PulumiImportOptions, ...arg: string[]): ReturnType<API["__run"]>;
81
81
  install(options: PulumiInstallOptions): ReturnType<API["__run"]>;
82
+ logsDecrypt(options: PulumiLogsDecryptOptions): ReturnType<API["__run"]>;
83
+ logsList(options: PulumiLogsListOptions): ReturnType<API["__run"]>;
84
+ logsRemove(options: PulumiLogsRemoveOptions): ReturnType<API["__run"]>;
85
+ logsShare(options: PulumiLogsShareOptions, filename?: string): ReturnType<API["__run"]>;
82
86
  new(options: PulumiNewOptions, templateOrUrl?: string): ReturnType<API["__run"]>;
83
87
  orgGetDefault(options: PulumiOrgGetDefaultOptions): ReturnType<API["__run"]>;
84
88
  orgSearchAi(options: PulumiOrgSearchAiOptions): ReturnType<API["__run"]>;
@@ -98,6 +102,7 @@ export declare class API {
98
102
  stateUnprotect(options: PulumiStateUnprotectOptions, ...resourceUrn: string[]): ReturnType<API["__run"]>;
99
103
  stateUntaint(options: PulumiStateUntaintOptions, ...resourceUrn: string[]): ReturnType<API["__run"]>;
100
104
  stateUpgrade(options: PulumiStateUpgradeOptions): ReturnType<API["__run"]>;
105
+ up(options: PulumiUpOptions, templateOrUrl?: string): ReturnType<API["__run"]>;
101
106
  version(options: PulumiVersionOptions): ReturnType<API["__run"]>;
102
107
  whoami(options: PulumiWhoamiOptions): ReturnType<API["__run"]>;
103
108
  }
@@ -2430,6 +2435,166 @@ export interface PulumiInstallOptions extends BaseOptions {
2430
2435
  /** Use language version tools to set up and install the language runtime */
2431
2436
  useLanguageVersionTools?: boolean;
2432
2437
  }
2438
+ /** Options for the `pulumi logs decrypt` command. */
2439
+ export interface PulumiLogsDecryptOptions extends BaseOptions {
2440
+ /** Colorize output. Choices are: always, never, raw, auto */
2441
+ color?: string;
2442
+ /** Disable integrity checking of checkpoint files */
2443
+ disableIntegrityChecking?: boolean;
2444
+ /** Show fully-qualified stack names */
2445
+ fullyQualifyStackNames?: boolean;
2446
+ /** Flow log settings to child processes (like plugins) */
2447
+ logflow?: boolean;
2448
+ /** Log to stderr instead of to files */
2449
+ logtostderr?: boolean;
2450
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
2451
+ memprofilerate?: number;
2452
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
2453
+ otelTraces?: string;
2454
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
2455
+ profiling?: string;
2456
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
2457
+ tracing?: string;
2458
+ /** Include the tracing header with the given contents. */
2459
+ tracingHeader?: string;
2460
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
2461
+ verbose?: number;
2462
+ /** Use the configuration values in the specified file rather than detecting the file name */
2463
+ configFile?: string;
2464
+ /** Follow the log stream in real time (like tail -f) */
2465
+ follow?: boolean;
2466
+ /** Emit output as JSON */
2467
+ json?: boolean;
2468
+ /** Only return logs for the requested resource ('name', 'type::name' or full URN). Defaults to returning all logs. */
2469
+ resource?: string;
2470
+ /** Only return logs newer than a relative duration ('5s', '2m', '3h') or absolute timestamp. Defaults to returning the last 1 hour of logs. */
2471
+ since?: string;
2472
+ /** The name of the stack to operate on. Defaults to the current stack */
2473
+ stack?: string;
2474
+ /** Decrypt the most recent log file without prompting */
2475
+ latest?: boolean;
2476
+ }
2477
+ /** Options for the `pulumi logs list` command. */
2478
+ export interface PulumiLogsListOptions extends BaseOptions {
2479
+ /** Colorize output. Choices are: always, never, raw, auto */
2480
+ color?: string;
2481
+ /** Disable integrity checking of checkpoint files */
2482
+ disableIntegrityChecking?: boolean;
2483
+ /** Show fully-qualified stack names */
2484
+ fullyQualifyStackNames?: boolean;
2485
+ /** Flow log settings to child processes (like plugins) */
2486
+ logflow?: boolean;
2487
+ /** Log to stderr instead of to files */
2488
+ logtostderr?: boolean;
2489
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
2490
+ memprofilerate?: number;
2491
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
2492
+ otelTraces?: string;
2493
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
2494
+ profiling?: string;
2495
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
2496
+ tracing?: string;
2497
+ /** Include the tracing header with the given contents. */
2498
+ tracingHeader?: string;
2499
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
2500
+ verbose?: number;
2501
+ /** Use the configuration values in the specified file rather than detecting the file name */
2502
+ configFile?: string;
2503
+ /** Follow the log stream in real time (like tail -f) */
2504
+ follow?: boolean;
2505
+ /** Emit output as JSON */
2506
+ json?: boolean;
2507
+ /** Only return logs for the requested resource ('name', 'type::name' or full URN). Defaults to returning all logs. */
2508
+ resource?: string;
2509
+ /** Only return logs newer than a relative duration ('5s', '2m', '3h') or absolute timestamp. Defaults to returning the last 1 hour of logs. */
2510
+ since?: string;
2511
+ /** The name of the stack to operate on. Defaults to the current stack */
2512
+ stack?: string;
2513
+ /** Output format. Supported values are: default and json */
2514
+ output?: string;
2515
+ }
2516
+ /** Options for the `pulumi logs remove` command. */
2517
+ export interface PulumiLogsRemoveOptions extends BaseOptions {
2518
+ /** Colorize output. Choices are: always, never, raw, auto */
2519
+ color?: string;
2520
+ /** Disable integrity checking of checkpoint files */
2521
+ disableIntegrityChecking?: boolean;
2522
+ /** Show fully-qualified stack names */
2523
+ fullyQualifyStackNames?: boolean;
2524
+ /** Flow log settings to child processes (like plugins) */
2525
+ logflow?: boolean;
2526
+ /** Log to stderr instead of to files */
2527
+ logtostderr?: boolean;
2528
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
2529
+ memprofilerate?: number;
2530
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
2531
+ otelTraces?: string;
2532
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
2533
+ profiling?: string;
2534
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
2535
+ tracing?: string;
2536
+ /** Include the tracing header with the given contents. */
2537
+ tracingHeader?: string;
2538
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
2539
+ verbose?: number;
2540
+ /** Use the configuration values in the specified file rather than detecting the file name */
2541
+ configFile?: string;
2542
+ /** Follow the log stream in real time (like tail -f) */
2543
+ follow?: boolean;
2544
+ /** Emit output as JSON */
2545
+ json?: boolean;
2546
+ /** Only return logs for the requested resource ('name', 'type::name' or full URN). Defaults to returning all logs. */
2547
+ resource?: string;
2548
+ /** Only return logs newer than a relative duration ('5s', '2m', '3h') or absolute timestamp. Defaults to returning the last 1 hour of logs. */
2549
+ since?: string;
2550
+ /** The name of the stack to operate on. Defaults to the current stack */
2551
+ stack?: string;
2552
+ /** Remove all log files */
2553
+ all?: boolean;
2554
+ /** Remove logs created before this date or duration (e.g. '24h', '2026-01-01') */
2555
+ before?: string;
2556
+ }
2557
+ /** Options for the `pulumi logs share` command. */
2558
+ export interface PulumiLogsShareOptions extends BaseOptions {
2559
+ /** Colorize output. Choices are: always, never, raw, auto */
2560
+ color?: string;
2561
+ /** Disable integrity checking of checkpoint files */
2562
+ disableIntegrityChecking?: boolean;
2563
+ /** Show fully-qualified stack names */
2564
+ fullyQualifyStackNames?: boolean;
2565
+ /** Flow log settings to child processes (like plugins) */
2566
+ logflow?: boolean;
2567
+ /** Log to stderr instead of to files */
2568
+ logtostderr?: boolean;
2569
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
2570
+ memprofilerate?: number;
2571
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
2572
+ otelTraces?: string;
2573
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
2574
+ profiling?: string;
2575
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
2576
+ tracing?: string;
2577
+ /** Include the tracing header with the given contents. */
2578
+ tracingHeader?: string;
2579
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
2580
+ verbose?: number;
2581
+ /** Use the configuration values in the specified file rather than detecting the file name */
2582
+ configFile?: string;
2583
+ /** Follow the log stream in real time (like tail -f) */
2584
+ follow?: boolean;
2585
+ /** Emit output as JSON */
2586
+ json?: boolean;
2587
+ /** Only return logs for the requested resource ('name', 'type::name' or full URN). Defaults to returning all logs. */
2588
+ resource?: string;
2589
+ /** Only return logs newer than a relative duration ('5s', '2m', '3h') or absolute timestamp. Defaults to returning the last 1 hour of logs. */
2590
+ since?: string;
2591
+ /** The name of the stack to operate on. Defaults to the current stack */
2592
+ stack?: string;
2593
+ /** Include secret values in the shared log (by default secrets are redacted) */
2594
+ includeSecrets?: boolean;
2595
+ /** Share the most recent log file without prompting */
2596
+ latest?: boolean;
2597
+ }
2433
2598
  /** Options for the `pulumi new` command. */
2434
2599
  export interface PulumiNewOptions extends BaseOptions {
2435
2600
  /** Colorize output. Choices are: always, never, raw, auto */
@@ -3070,6 +3235,123 @@ export interface PulumiStateUpgradeOptions extends BaseOptions {
3070
3235
  /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
3071
3236
  verbose?: number;
3072
3237
  }
3238
+ /** Options for the `pulumi up` command. */
3239
+ export interface PulumiUpOptions extends BaseOptions {
3240
+ /** Colorize output. Choices are: always, never, raw, auto */
3241
+ color?: string;
3242
+ /** Disable integrity checking of checkpoint files */
3243
+ disableIntegrityChecking?: boolean;
3244
+ /** Show fully-qualified stack names */
3245
+ fullyQualifyStackNames?: boolean;
3246
+ /** Flow log settings to child processes (like plugins) */
3247
+ logflow?: boolean;
3248
+ /** Log to stderr instead of to files */
3249
+ logtostderr?: boolean;
3250
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
3251
+ memprofilerate?: number;
3252
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
3253
+ otelTraces?: string;
3254
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
3255
+ profiling?: string;
3256
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
3257
+ tracing?: string;
3258
+ /** Include the tracing header with the given contents. */
3259
+ tracingHeader?: string;
3260
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
3261
+ verbose?: number;
3262
+ /** 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'. */
3263
+ attachDebugger?: string[];
3264
+ /** The address of an existing language runtime host to connect to */
3265
+ client?: string;
3266
+ /** Config to use during the update and save to the stack config file */
3267
+ config?: string[];
3268
+ /** Use the configuration values in the specified file rather than detecting the file name */
3269
+ configFile?: string;
3270
+ /** Config keys contain a path to a property in a map or list to set */
3271
+ configPath?: boolean;
3272
+ /** Continue updating resources even if an error is encountered (can also be set with PULUMI_CONTINUE_ON_ERROR environment variable) */
3273
+ continueOnError?: boolean;
3274
+ /** [DEPRECATED] Use --neo instead. Enable Pulumi Neo's assistance for improved CLI experience and insights (can also be set with PULUMI_COPILOT environment variable) */
3275
+ copilot?: boolean;
3276
+ /** Print detailed debugging output during resource operations */
3277
+ debug?: boolean;
3278
+ /** Display operation as a rich diff showing the overall change */
3279
+ diff?: boolean;
3280
+ /** 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 */
3281
+ exclude?: string[];
3282
+ /** Allows ignoring of dependent targets discovered but not specified in --exclude list */
3283
+ excludeDependents?: boolean;
3284
+ execAgent?: string;
3285
+ execKind?: string;
3286
+ /** Return an error if any changes occur during this update. This check happens after the update is applied */
3287
+ expectNoChanges?: boolean;
3288
+ /** Ignore the protect resource option for this operation, allowing protected resources to be deleted or replaced. Use with caution: deleted resources cannot be recovered */
3289
+ ignoreProtect?: boolean;
3290
+ /** Serialize the update diffs, operations, and overall output as JSON */
3291
+ json?: boolean;
3292
+ /** Optional message to associate with the update operation */
3293
+ message?: string;
3294
+ /** Enable Pulumi Neo's assistance for improved CLI experience and insights (can also be set with PULUMI_NEO environment variable) */
3295
+ neo?: boolean;
3296
+ /** Start a Neo task to help debug errors that occur during the operation */
3297
+ neoTaskOnFailure?: boolean;
3298
+ /** Output format. Supported values are: default and json */
3299
+ output?: string;
3300
+ /** [EXPERIMENTAL] Override an imported environment for this run only, as <env>=<replacement>; repeatable */
3301
+ overrideEnv?: string[];
3302
+ /** Allow P resource operations to run in parallel at once (1 for no parallelism). */
3303
+ parallel?: number;
3304
+ /** [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). */
3305
+ plan?: string;
3306
+ /** Run one or more policy packs as part of this update */
3307
+ policyPack?: string[];
3308
+ /** Path to JSON file containing the config for the policy pack of the corresponding "--policy-pack" flag */
3309
+ policyPackConfig?: string[];
3310
+ /** Refresh the state of the stack's resources before this update */
3311
+ refresh?: string;
3312
+ /** Specify a single resource URN to replace. Multiple resources can be specified using --replace urn1 --replace urn2. Wildcards (*, **) are also supported */
3313
+ replace?: string[];
3314
+ /** Run the program to determine up-to-date state for providers to refresh resources, this only applies if --refresh is set */
3315
+ runProgram?: boolean;
3316
+ /** 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 */
3317
+ secretsProvider?: string;
3318
+ /** Show configuration keys and variables */
3319
+ showConfig?: boolean;
3320
+ /** Display full length of inputs & outputs */
3321
+ showFullOutput?: boolean;
3322
+ /** Show per-resource policy remediation details instead of a summary */
3323
+ showPolicyRemediations?: boolean;
3324
+ /** Show resources that are being read in, alongside those being managed directly in the stack */
3325
+ showReads?: boolean;
3326
+ /** Show detailed resource replacement creates and deletes instead of a single step */
3327
+ showReplacementSteps?: boolean;
3328
+ /** Show resources that don't need be updated because they haven't changed, alongside those that do */
3329
+ showSames?: boolean;
3330
+ /** Show secret outputs in the CLI output */
3331
+ showSecrets?: boolean;
3332
+ /** Skip validation of stack config values against the project config schema */
3333
+ skipConfigValidation?: boolean;
3334
+ /** 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. */
3335
+ skipPluginPreInstall?: boolean;
3336
+ /** The name of the stack to operate on. Defaults to the current stack */
3337
+ stack?: string;
3338
+ /** [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. */
3339
+ strict?: boolean;
3340
+ /** Suppress display of stack outputs (in case they contain sensitive values) */
3341
+ suppressOutputs?: boolean;
3342
+ /** Suppress display of the state permalink */
3343
+ suppressPermalink?: string;
3344
+ /** Suppress display of periodic progress dots */
3345
+ suppressProgress?: boolean;
3346
+ /** 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 */
3347
+ target?: string[];
3348
+ /** Allows updating of dependent targets discovered but not specified in --target list */
3349
+ targetDependents?: boolean;
3350
+ /** Specify a single resource URN to replace. Other resources will not be updated. Shorthand for --target urn --replace urn. */
3351
+ targetReplace?: string[];
3352
+ /** Display full URNs instead of short resource names */
3353
+ urns?: boolean;
3354
+ }
3073
3355
  /** Options for the `pulumi version` command. */
3074
3356
  export interface PulumiVersionOptions extends BaseOptions {
3075
3357
  /** Colorize output. Choices are: always, never, raw, auto */