@pulumi/pulumi 3.274.1 → 3.275.0-alpha.x1a60a93

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
+ doShowResources(options: PulumiDoShowResourcesOptions): ReturnType<API["__run"]>;
35
+ do(options: PulumiDoOptions): ReturnType<API["__run"]>;
34
36
  envChangeRequestApply(options: PulumiEnvChangeRequestApplyOptions): ReturnType<API["__run"]>;
35
37
  envChangeRequestApprove(options: PulumiEnvChangeRequestApproveOptions): ReturnType<API["__run"]>;
36
38
  envChangeRequestClose(options: PulumiEnvChangeRequestCloseOptions): ReturnType<API["__run"]>;
@@ -92,6 +94,7 @@ export declare class API {
92
94
  envWebhookRemove(options: PulumiEnvWebhookRemoveOptions): ReturnType<API["__run"]>;
93
95
  import(options: PulumiImportOptions, ...arg: string[]): ReturnType<API["__run"]>;
94
96
  install(options: PulumiInstallOptions): ReturnType<API["__run"]>;
97
+ login(options: PulumiLoginOptions, url?: string): ReturnType<API["__run"]>;
95
98
  logsDecrypt(options: PulumiLogsDecryptOptions): ReturnType<API["__run"]>;
96
99
  logsList(options: PulumiLogsListOptions): ReturnType<API["__run"]>;
97
100
  logsRemove(options: PulumiLogsRemoveOptions): ReturnType<API["__run"]>;
@@ -117,6 +120,8 @@ export declare class API {
117
120
  orgUsageGet(options: PulumiOrgUsageGetOptions): ReturnType<API["__run"]>;
118
121
  orgUsage(options: PulumiOrgUsageOptions): ReturnType<API["__run"]>;
119
122
  org(options: PulumiOrgOptions): ReturnType<API["__run"]>;
123
+ projectList(options: PulumiProjectListOptions): ReturnType<API["__run"]>;
124
+ projectNew(options: PulumiProjectNewOptions, templateOrUrl?: string): ReturnType<API["__run"]>;
120
125
  refresh(options: PulumiRefreshOptions): ReturnType<API["__run"]>;
121
126
  schemaCheck(options: PulumiSchemaCheckOptions, schemaSource: string, ...providerParameter: string[]): ReturnType<API["__run"]>;
122
127
  stateEdit(options: PulumiStateEditOptions): ReturnType<API["__run"]>;
@@ -866,6 +871,76 @@ export interface PulumiConvertOptions extends BaseOptions {
866
871
  /** Fail the conversion on errors such as missing variables */
867
872
  strict?: boolean;
868
873
  }
874
+ /** Options for the `pulumi do` command. */
875
+ export interface PulumiDoOptions extends BaseOptions {
876
+ /** Colorize output. Choices are: always, never, raw, auto */
877
+ color?: string;
878
+ /** Disable integrity checking of checkpoint files */
879
+ disableIntegrityChecking?: boolean;
880
+ /** Show fully-qualified stack names */
881
+ fullyQualifyStackNames?: boolean;
882
+ /** Flow log settings to child processes (like plugins) */
883
+ logflow?: boolean;
884
+ /** Log to stderr instead of to files */
885
+ logtostderr?: boolean;
886
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
887
+ memprofilerate?: number;
888
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
889
+ otelTraces?: string;
890
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
891
+ profiling?: string;
892
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
893
+ tracing?: string;
894
+ /** Include the tracing header with the given contents. */
895
+ tracingHeader?: string;
896
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
897
+ verbose?: number;
898
+ /** Run the operation in preview mode */
899
+ dryRun?: boolean;
900
+ /** Output format for resource operation results (supported: default, json) */
901
+ output?: string;
902
+ /** The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\"" */
903
+ package_?: string;
904
+ /** Show secret values in output */
905
+ showSecrets?: boolean;
906
+ /** Run create/patch/delete directly against the provider without persisting state. */
907
+ stateless?: boolean;
908
+ }
909
+ /** Options for the `pulumi do show-resources` command. */
910
+ export interface PulumiDoShowResourcesOptions extends BaseOptions {
911
+ /** Colorize output. Choices are: always, never, raw, auto */
912
+ color?: string;
913
+ /** Disable integrity checking of checkpoint files */
914
+ disableIntegrityChecking?: boolean;
915
+ /** Show fully-qualified stack names */
916
+ fullyQualifyStackNames?: boolean;
917
+ /** Flow log settings to child processes (like plugins) */
918
+ logflow?: boolean;
919
+ /** Log to stderr instead of to files */
920
+ logtostderr?: boolean;
921
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
922
+ memprofilerate?: number;
923
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
924
+ otelTraces?: string;
925
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
926
+ profiling?: string;
927
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
928
+ tracing?: string;
929
+ /** Include the tracing header with the given contents. */
930
+ tracingHeader?: string;
931
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
932
+ verbose?: number;
933
+ /** Run the operation in preview mode */
934
+ dryRun?: boolean;
935
+ /** Output format (supported: text, json) */
936
+ output?: string;
937
+ /** The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\"" */
938
+ package_?: string;
939
+ /** Show secret values in output */
940
+ showSecrets?: boolean;
941
+ /** Run create/patch/delete directly against the provider without persisting state. */
942
+ stateless?: boolean;
943
+ }
869
944
  /** Options for the `pulumi env change-request apply` command. */
870
945
  export interface PulumiEnvChangeRequestApplyOptions extends BaseOptions {
871
946
  /** Colorize output. Choices are: always, never, raw, auto */
@@ -2941,6 +3016,53 @@ export interface PulumiInstallOptions extends BaseOptions {
2941
3016
  /** Use language version tools to set up and install the language runtime */
2942
3017
  useLanguageVersionTools?: boolean;
2943
3018
  }
3019
+ /** Options for the `pulumi login` command. */
3020
+ export interface PulumiLoginOptions extends BaseOptions {
3021
+ /** Colorize output. Choices are: always, never, raw, auto */
3022
+ color?: string;
3023
+ /** Disable integrity checking of checkpoint files */
3024
+ disableIntegrityChecking?: boolean;
3025
+ /** Show fully-qualified stack names */
3026
+ fullyQualifyStackNames?: boolean;
3027
+ /** Flow log settings to child processes (like plugins) */
3028
+ logflow?: boolean;
3029
+ /** Log to stderr instead of to files */
3030
+ logtostderr?: boolean;
3031
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
3032
+ memprofilerate?: number;
3033
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
3034
+ otelTraces?: string;
3035
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
3036
+ profiling?: string;
3037
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
3038
+ tracing?: string;
3039
+ /** Include the tracing header with the given contents. */
3040
+ tracingHeader?: string;
3041
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
3042
+ verbose?: number;
3043
+ /** The URL of the Pulumi Cloud API to log in with (e.g., 'https://api.pulumi.com') */
3044
+ cloudUrl?: string;
3045
+ /** [EXPERIMENTAL] Command to supply backend credentials */
3046
+ credentialHelper?: string;
3047
+ /** [EXPERIMENTAL] Literal argument to pass to the credentials helper (repeatable) */
3048
+ credentialHelperArg?: string[];
3049
+ /** A default org to associate with the login. Please note, currently, only the managed and self-hosted backends support organizations */
3050
+ defaultOrg?: string;
3051
+ /** Allow insecure server connections when using SSL */
3052
+ insecure?: boolean;
3053
+ /** Use Pulumi in local-only mode */
3054
+ local?: boolean;
3055
+ /** The expiration for the cloud backend access token in duration format (e.g. '15m', '24h') */
3056
+ oidcExpiration?: string;
3057
+ /** The organization to use for OIDC token exchange audience */
3058
+ oidcOrg?: string;
3059
+ /** The team when exchanging for a team token */
3060
+ oidcTeam?: string;
3061
+ /** An OIDC token to exchange for a cloud backend access token. Can be either a raw token or a file path prefixed with 'file://'. */
3062
+ oidcToken?: string;
3063
+ /** The user when exchanging for a personal token */
3064
+ oidcUser?: string;
3065
+ }
2944
3066
  /** Options for the `pulumi logs decrypt` command. */
2945
3067
  export interface PulumiLogsDecryptOptions extends BaseOptions {
2946
3068
  /** Colorize output. Choices are: always, never, raw, auto */
@@ -3615,7 +3737,7 @@ export interface PulumiOrgSearchOptions extends BaseOptions {
3615
3737
  * A Pulumi Query to send to Pulumi Cloud for resource search.May be formatted as a single query, or multiple:
3616
3738
  * -q "type:aws:s3/bucketv2:BucketV2 modified:>=2023-09-01"
3617
3739
  * -q "type:aws:s3/bucketv2:BucketV2" -q "modified:>=2023-09-01"
3618
- * See https://www.pulumi.com/docs/pulumi-cloud/insights/search/#query-syntax for syntax reference.
3740
+ * See https://www.pulumi.com/docs/discovery-governance/guides/search-resources/#query-syntax for syntax reference.
3619
3741
  */
3620
3742
  query?: string[];
3621
3743
  /** Open the search results in a web browser. */
@@ -3741,6 +3863,90 @@ export interface PulumiOrgUsageGetOptions extends BaseOptions {
3741
3863
  /** Output format. Supported values are: default and json */
3742
3864
  output?: string;
3743
3865
  }
3866
+ /** Options for the `pulumi project list` command. */
3867
+ export interface PulumiProjectListOptions extends BaseOptions {
3868
+ /** Colorize output. Choices are: always, never, raw, auto */
3869
+ color?: string;
3870
+ /** Disable integrity checking of checkpoint files */
3871
+ disableIntegrityChecking?: boolean;
3872
+ /** Show fully-qualified stack names */
3873
+ fullyQualifyStackNames?: boolean;
3874
+ /** Flow log settings to child processes (like plugins) */
3875
+ logflow?: boolean;
3876
+ /** Log to stderr instead of to files */
3877
+ logtostderr?: boolean;
3878
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
3879
+ memprofilerate?: number;
3880
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
3881
+ otelTraces?: string;
3882
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
3883
+ profiling?: string;
3884
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
3885
+ tracing?: string;
3886
+ /** Include the tracing header with the given contents. */
3887
+ tracingHeader?: string;
3888
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
3889
+ verbose?: number;
3890
+ /** The organization whose projects to list */
3891
+ organization?: string;
3892
+ }
3893
+ /** Options for the `pulumi project new` command. */
3894
+ export interface PulumiProjectNewOptions extends BaseOptions {
3895
+ /** Colorize output. Choices are: always, never, raw, auto */
3896
+ color?: string;
3897
+ /** Disable integrity checking of checkpoint files */
3898
+ disableIntegrityChecking?: boolean;
3899
+ /** Show fully-qualified stack names */
3900
+ fullyQualifyStackNames?: boolean;
3901
+ /** Flow log settings to child processes (like plugins) */
3902
+ logflow?: boolean;
3903
+ /** Log to stderr instead of to files */
3904
+ logtostderr?: boolean;
3905
+ /** Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate */
3906
+ memprofilerate?: number;
3907
+ /** Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors */
3908
+ otelTraces?: string;
3909
+ /** Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively */
3910
+ profiling?: string;
3911
+ /** Emit tracing to the specified endpoint. Use the `file:` scheme to write tracing data to a local file */
3912
+ tracing?: string;
3913
+ /** Include the tracing header with the given contents. */
3914
+ tracingHeader?: string;
3915
+ /** Enable verbose logging (e.g., v=3); anything >3 is very verbose */
3916
+ verbose?: number;
3917
+ /** Retired: use 'pulumi neo -p "prompt"' instead. */
3918
+ ai?: string;
3919
+ /** Config to save */
3920
+ config?: string[];
3921
+ /** Config keys contain a path to a property in a map or list to set */
3922
+ configPath?: boolean;
3923
+ /** The project description; if not specified, a prompt will request it */
3924
+ description?: string;
3925
+ /** The location to place the generated project; if not specified, the current directory is used */
3926
+ dir?: string;
3927
+ /** Forces content to be generated even if it would change existing files */
3928
+ force?: boolean;
3929
+ /** Generate the project only; do not create a stack, save config, or install dependencies */
3930
+ generateOnly?: boolean;
3931
+ /** Retired: use 'pulumi neo -p "prompt"' instead. */
3932
+ language?: string;
3933
+ /** List locally installed templates and exit */
3934
+ listTemplates?: boolean;
3935
+ /** The project name; if not specified, a prompt will request it */
3936
+ name?: string;
3937
+ /** Use locally cached templates without making any network requests */
3938
+ offline?: boolean;
3939
+ /** Store stack configuration remotely */
3940
+ remoteStackConfig?: boolean;
3941
+ /** Additional options for the language runtime (format: key1=value1,key2=value2) */
3942
+ runtimeOptions?: string[];
3943
+ /** The type of the provider that should be used to encrypt and decrypt secrets (possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault) */
3944
+ secretsProvider?: string;
3945
+ /** The stack name; either an existing stack or stack to create; if not specified, a prompt will request it */
3946
+ stack?: string;
3947
+ /** Deprecated: template mode is now the only mode; this flag is a no-op */
3948
+ templateMode?: boolean;
3949
+ }
3744
3950
  /** Options for the `pulumi refresh` command. */
3745
3951
  export interface PulumiRefreshOptions extends BaseOptions {
3746
3952
  /** Colorize output. Choices are: always, never, raw, auto */
@@ -1344,6 +1344,127 @@ class API {
1344
1344
  }
1345
1345
  return this.__run(options, __final);
1346
1346
  }
1347
+ doShowResources(options) {
1348
+ const __final = [];
1349
+ __final.push("do");
1350
+ __final.push("show-resources");
1351
+ const __flags = [];
1352
+ if (options.color != null) {
1353
+ __flags.push("--color", "" + options.color);
1354
+ }
1355
+ if (options.disableIntegrityChecking) {
1356
+ __flags.push("--disable-integrity-checking");
1357
+ }
1358
+ if (options.fullyQualifyStackNames) {
1359
+ __flags.push("--fully-qualify-stack-names");
1360
+ }
1361
+ if (options.logflow) {
1362
+ __flags.push("--logflow");
1363
+ }
1364
+ if (options.logtostderr) {
1365
+ __flags.push("--logtostderr");
1366
+ }
1367
+ if (options.memprofilerate != null) {
1368
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
1369
+ }
1370
+ if (options.otelTraces != null) {
1371
+ __flags.push("--otel-traces", "" + options.otelTraces);
1372
+ }
1373
+ if (options.profiling != null) {
1374
+ __flags.push("--profiling", "" + options.profiling);
1375
+ }
1376
+ if (options.tracing != null) {
1377
+ __flags.push("--tracing", "" + options.tracing);
1378
+ }
1379
+ if (options.tracingHeader != null) {
1380
+ __flags.push("--tracing-header", "" + options.tracingHeader);
1381
+ }
1382
+ if (options.verbose != null) {
1383
+ __flags.push("--verbose", "" + options.verbose);
1384
+ }
1385
+ if (options.dryRun) {
1386
+ __flags.push("--dry-run");
1387
+ }
1388
+ if (options.output != null) {
1389
+ __flags.push("--output", "" + options.output);
1390
+ }
1391
+ if (options.package_ != null) {
1392
+ __flags.push("--package", "" + options.package_);
1393
+ }
1394
+ if (options.showSecrets) {
1395
+ __flags.push("--show-secrets");
1396
+ }
1397
+ if (options.stateless) {
1398
+ __flags.push("--stateless");
1399
+ }
1400
+ __final.push(...__flags);
1401
+ const __arguments = [];
1402
+ if (__arguments.length > 0) {
1403
+ __final.push("--");
1404
+ __final.push(...__arguments);
1405
+ }
1406
+ return this.__run(options, __final);
1407
+ }
1408
+ do(options) {
1409
+ const __final = [];
1410
+ __final.push("do");
1411
+ const __flags = [];
1412
+ if (options.color != null) {
1413
+ __flags.push("--color", "" + options.color);
1414
+ }
1415
+ if (options.disableIntegrityChecking) {
1416
+ __flags.push("--disable-integrity-checking");
1417
+ }
1418
+ if (options.fullyQualifyStackNames) {
1419
+ __flags.push("--fully-qualify-stack-names");
1420
+ }
1421
+ if (options.logflow) {
1422
+ __flags.push("--logflow");
1423
+ }
1424
+ if (options.logtostderr) {
1425
+ __flags.push("--logtostderr");
1426
+ }
1427
+ if (options.memprofilerate != null) {
1428
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
1429
+ }
1430
+ if (options.otelTraces != null) {
1431
+ __flags.push("--otel-traces", "" + options.otelTraces);
1432
+ }
1433
+ if (options.profiling != null) {
1434
+ __flags.push("--profiling", "" + options.profiling);
1435
+ }
1436
+ if (options.tracing != null) {
1437
+ __flags.push("--tracing", "" + options.tracing);
1438
+ }
1439
+ if (options.tracingHeader != null) {
1440
+ __flags.push("--tracing-header", "" + options.tracingHeader);
1441
+ }
1442
+ if (options.verbose != null) {
1443
+ __flags.push("--verbose", "" + options.verbose);
1444
+ }
1445
+ if (options.dryRun) {
1446
+ __flags.push("--dry-run");
1447
+ }
1448
+ if (options.output != null) {
1449
+ __flags.push("--output", "" + options.output);
1450
+ }
1451
+ if (options.package_ != null) {
1452
+ __flags.push("--package", "" + options.package_);
1453
+ }
1454
+ if (options.showSecrets) {
1455
+ __flags.push("--show-secrets");
1456
+ }
1457
+ if (options.stateless) {
1458
+ __flags.push("--stateless");
1459
+ }
1460
+ __final.push(...__flags);
1461
+ const __arguments = [];
1462
+ if (__arguments.length > 0) {
1463
+ __final.push("--");
1464
+ __final.push(...__arguments);
1465
+ }
1466
+ return this.__run(options, __final);
1467
+ }
1347
1468
  envChangeRequestApply(options) {
1348
1469
  const __final = [];
1349
1470
  __final.push("env");
@@ -5068,6 +5189,89 @@ class API {
5068
5189
  }
5069
5190
  return this.__run(options, __final);
5070
5191
  }
5192
+ login(options, url) {
5193
+ const __final = [];
5194
+ __final.push("login");
5195
+ const __flags = [];
5196
+ if (options.color != null) {
5197
+ __flags.push("--color", "" + options.color);
5198
+ }
5199
+ if (options.disableIntegrityChecking) {
5200
+ __flags.push("--disable-integrity-checking");
5201
+ }
5202
+ if (options.fullyQualifyStackNames) {
5203
+ __flags.push("--fully-qualify-stack-names");
5204
+ }
5205
+ if (options.logflow) {
5206
+ __flags.push("--logflow");
5207
+ }
5208
+ if (options.logtostderr) {
5209
+ __flags.push("--logtostderr");
5210
+ }
5211
+ if (options.memprofilerate != null) {
5212
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
5213
+ }
5214
+ if (options.otelTraces != null) {
5215
+ __flags.push("--otel-traces", "" + options.otelTraces);
5216
+ }
5217
+ if (options.profiling != null) {
5218
+ __flags.push("--profiling", "" + options.profiling);
5219
+ }
5220
+ if (options.tracing != null) {
5221
+ __flags.push("--tracing", "" + options.tracing);
5222
+ }
5223
+ if (options.tracingHeader != null) {
5224
+ __flags.push("--tracing-header", "" + options.tracingHeader);
5225
+ }
5226
+ if (options.verbose != null) {
5227
+ __flags.push("--verbose", "" + options.verbose);
5228
+ }
5229
+ if (options.cloudUrl != null) {
5230
+ __flags.push("--cloud-url", "" + options.cloudUrl);
5231
+ }
5232
+ if (options.credentialHelper != null) {
5233
+ __flags.push("--credential-helper", "" + options.credentialHelper);
5234
+ }
5235
+ for (const __item of options.credentialHelperArg ?? []) {
5236
+ if (__item != null) {
5237
+ __flags.push("--credential-helper-arg", "" + __item);
5238
+ }
5239
+ }
5240
+ if (options.defaultOrg != null) {
5241
+ __flags.push("--default-org", "" + options.defaultOrg);
5242
+ }
5243
+ if (options.insecure) {
5244
+ __flags.push("--insecure");
5245
+ }
5246
+ if (options.local) {
5247
+ __flags.push("--local");
5248
+ }
5249
+ if (options.oidcExpiration != null) {
5250
+ __flags.push("--oidc-expiration", "" + options.oidcExpiration);
5251
+ }
5252
+ if (options.oidcOrg != null) {
5253
+ __flags.push("--oidc-org", "" + options.oidcOrg);
5254
+ }
5255
+ if (options.oidcTeam != null) {
5256
+ __flags.push("--oidc-team", "" + options.oidcTeam);
5257
+ }
5258
+ if (options.oidcToken != null) {
5259
+ __flags.push("--oidc-token", "" + options.oidcToken);
5260
+ }
5261
+ if (options.oidcUser != null) {
5262
+ __flags.push("--oidc-user", "" + options.oidcUser);
5263
+ }
5264
+ __final.push(...__flags);
5265
+ const __arguments = [];
5266
+ if (url != null) {
5267
+ __arguments.push("" + url);
5268
+ }
5269
+ if (__arguments.length > 0) {
5270
+ __final.push("--");
5271
+ __final.push(...__arguments);
5272
+ }
5273
+ return this.__run(options, __final);
5274
+ }
5071
5275
  logsDecrypt(options) {
5072
5276
  const __final = [];
5073
5277
  __final.push("logs");
@@ -6508,6 +6712,158 @@ class API {
6508
6712
  }
6509
6713
  return this.__run(options, __final);
6510
6714
  }
6715
+ projectList(options) {
6716
+ const __final = [];
6717
+ __final.push("project");
6718
+ __final.push("list");
6719
+ const __flags = [];
6720
+ __flags.push("--output", "" + "json");
6721
+ if (options.color != null) {
6722
+ __flags.push("--color", "" + options.color);
6723
+ }
6724
+ if (options.disableIntegrityChecking) {
6725
+ __flags.push("--disable-integrity-checking");
6726
+ }
6727
+ if (options.fullyQualifyStackNames) {
6728
+ __flags.push("--fully-qualify-stack-names");
6729
+ }
6730
+ if (options.logflow) {
6731
+ __flags.push("--logflow");
6732
+ }
6733
+ if (options.logtostderr) {
6734
+ __flags.push("--logtostderr");
6735
+ }
6736
+ if (options.memprofilerate != null) {
6737
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
6738
+ }
6739
+ if (options.otelTraces != null) {
6740
+ __flags.push("--otel-traces", "" + options.otelTraces);
6741
+ }
6742
+ if (options.profiling != null) {
6743
+ __flags.push("--profiling", "" + options.profiling);
6744
+ }
6745
+ if (options.tracing != null) {
6746
+ __flags.push("--tracing", "" + options.tracing);
6747
+ }
6748
+ if (options.tracingHeader != null) {
6749
+ __flags.push("--tracing-header", "" + options.tracingHeader);
6750
+ }
6751
+ if (options.verbose != null) {
6752
+ __flags.push("--verbose", "" + options.verbose);
6753
+ }
6754
+ if (options.organization != null) {
6755
+ __flags.push("--organization", "" + options.organization);
6756
+ }
6757
+ __final.push(...__flags);
6758
+ const __arguments = [];
6759
+ if (__arguments.length > 0) {
6760
+ __final.push("--");
6761
+ __final.push(...__arguments);
6762
+ }
6763
+ return this.__run(options, __final);
6764
+ }
6765
+ projectNew(options, templateOrUrl) {
6766
+ const __final = [];
6767
+ __final.push("project");
6768
+ __final.push("new");
6769
+ const __flags = [];
6770
+ __flags.push("--yes");
6771
+ if (options.color != null) {
6772
+ __flags.push("--color", "" + options.color);
6773
+ }
6774
+ if (options.disableIntegrityChecking) {
6775
+ __flags.push("--disable-integrity-checking");
6776
+ }
6777
+ if (options.fullyQualifyStackNames) {
6778
+ __flags.push("--fully-qualify-stack-names");
6779
+ }
6780
+ if (options.logflow) {
6781
+ __flags.push("--logflow");
6782
+ }
6783
+ if (options.logtostderr) {
6784
+ __flags.push("--logtostderr");
6785
+ }
6786
+ if (options.memprofilerate != null) {
6787
+ __flags.push("--memprofilerate", "" + options.memprofilerate);
6788
+ }
6789
+ if (options.otelTraces != null) {
6790
+ __flags.push("--otel-traces", "" + options.otelTraces);
6791
+ }
6792
+ if (options.profiling != null) {
6793
+ __flags.push("--profiling", "" + options.profiling);
6794
+ }
6795
+ if (options.tracing != null) {
6796
+ __flags.push("--tracing", "" + options.tracing);
6797
+ }
6798
+ if (options.tracingHeader != null) {
6799
+ __flags.push("--tracing-header", "" + options.tracingHeader);
6800
+ }
6801
+ if (options.verbose != null) {
6802
+ __flags.push("--verbose", "" + options.verbose);
6803
+ }
6804
+ if (options.ai != null) {
6805
+ __flags.push("--ai", "" + options.ai);
6806
+ }
6807
+ for (const __item of options.config ?? []) {
6808
+ if (__item != null) {
6809
+ __flags.push("--config", "" + __item);
6810
+ }
6811
+ }
6812
+ if (options.configPath) {
6813
+ __flags.push("--config-path");
6814
+ }
6815
+ if (options.description != null) {
6816
+ __flags.push("--description", "" + options.description);
6817
+ }
6818
+ if (options.dir != null) {
6819
+ __flags.push("--dir", "" + options.dir);
6820
+ }
6821
+ if (options.force) {
6822
+ __flags.push("--force");
6823
+ }
6824
+ if (options.generateOnly) {
6825
+ __flags.push("--generate-only");
6826
+ }
6827
+ if (options.language != null) {
6828
+ __flags.push("--language", "" + options.language);
6829
+ }
6830
+ if (options.listTemplates) {
6831
+ __flags.push("--list-templates");
6832
+ }
6833
+ if (options.name != null) {
6834
+ __flags.push("--name", "" + options.name);
6835
+ }
6836
+ if (options.offline) {
6837
+ __flags.push("--offline");
6838
+ }
6839
+ if (options.remoteStackConfig) {
6840
+ __flags.push("--remote-stack-config");
6841
+ }
6842
+ for (const __item of options.runtimeOptions ?? []) {
6843
+ if (__item != null) {
6844
+ __flags.push("--runtime-options", "" + __item);
6845
+ }
6846
+ }
6847
+ if (options.secretsProvider != null) {
6848
+ __flags.push("--secrets-provider", "" + options.secretsProvider);
6849
+ }
6850
+ if (options.stack != null) {
6851
+ __flags.push("--stack", "" + options.stack);
6852
+ }
6853
+ if (options.templateMode) {
6854
+ __flags.push("--template-mode");
6855
+ }
6856
+ __final.push(...__flags);
6857
+ const __arguments = [];
6858
+ if (templateOrUrl != null) {
6859
+ __arguments.push("" + templateOrUrl);
6860
+ }
6861
+ if (__arguments.length > 0) {
6862
+ __final.push("--");
6863
+ __final.push(...__arguments);
6864
+ }
6865
+ return this.__run(options, __final);
6866
+ }
6511
6867
  refresh(options) {
6512
6868
  const __final = [];
6513
6869
  __final.push("refresh");