@pulumi/pulumi 3.174.0-alpha.xe1e8de2 → 3.175.0-alpha.x12b5591

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.174.0-alpha.xe1e8de2",
3
+ "version": "3.175.0-alpha.x12b5591",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -80,7 +80,7 @@
80
80
  "comment": "Do not remove. Marks this as as a deployment-time-only package"
81
81
  },
82
82
  "engines": {
83
- "node": ">=18"
83
+ "node": ">=20"
84
84
  },
85
85
  "mocha": {
86
86
  "require": ["source-map-support/register"],
@@ -18,11 +18,13 @@ export class AnalyzerStackConfigureRequest extends jspb.Message {
18
18
  setOrganization(value: string): AnalyzerStackConfigureRequest;
19
19
  getDryRun(): boolean;
20
20
  setDryRun(value: boolean): AnalyzerStackConfigureRequest;
21
+ clearConfigSecretKeysList(): void;
22
+ getConfigSecretKeysList(): Array<string>;
23
+ setConfigSecretKeysList(value: Array<string>): AnalyzerStackConfigureRequest;
24
+ addConfigSecretKeys(value: string, index?: number): string;
21
25
 
22
- hasConfig(): boolean;
23
- clearConfig(): void;
24
- getConfig(): google_protobuf_struct_pb.Struct | undefined;
25
- setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfigureRequest;
26
+ getConfigMap(): jspb.Map<string, string>;
27
+ clearConfigMap(): void;
26
28
 
27
29
  serializeBinary(): Uint8Array;
28
30
  toObject(includeInstance?: boolean): AnalyzerStackConfigureRequest.AsObject;
@@ -40,7 +42,9 @@ export namespace AnalyzerStackConfigureRequest {
40
42
  project: string,
41
43
  organization: string,
42
44
  dryRun: boolean,
43
- config?: google_protobuf_struct_pb.Struct.AsObject,
45
+ configSecretKeysList: Array<string>,
46
+
47
+ configMap: Array<[string, string]>,
44
48
  }
45
49
  }
46
50
 
@@ -398,10 +402,6 @@ export class AnalyzeDiagnostic extends jspb.Message {
398
402
  setDescription(value: string): AnalyzeDiagnostic;
399
403
  getMessage(): string;
400
404
  setMessage(value: string): AnalyzeDiagnostic;
401
- clearTagsList(): void;
402
- getTagsList(): Array<string>;
403
- setTagsList(value: Array<string>): AnalyzeDiagnostic;
404
- addTags(value: string, index?: number): string;
405
405
  getEnforcementlevel(): EnforcementLevel;
406
406
  setEnforcementlevel(value: EnforcementLevel): AnalyzeDiagnostic;
407
407
  getUrn(): string;
@@ -424,7 +424,6 @@ export namespace AnalyzeDiagnostic {
424
424
  policypackversion: string,
425
425
  description: string,
426
426
  message: string,
427
- tagsList: Array<string>,
428
427
  enforcementlevel: EnforcementLevel,
429
428
  urn: string,
430
429
  }
@@ -53,7 +53,7 @@ goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
53
53
  * @constructor
54
54
  */
55
55
  proto.pulumirpc.AnalyzerStackConfigureRequest = function(opt_data) {
56
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
56
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.AnalyzerStackConfigureRequest.repeatedFields_, null);
57
57
  };
58
58
  goog.inherits(proto.pulumirpc.AnalyzerStackConfigureRequest, jspb.Message);
59
59
  if (goog.DEBUG && !COMPILED) {
@@ -305,7 +305,7 @@ if (goog.DEBUG && !COMPILED) {
305
305
  * @constructor
306
306
  */
307
307
  proto.pulumirpc.AnalyzeDiagnostic = function(opt_data) {
308
- jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.AnalyzeDiagnostic.repeatedFields_, null);
308
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
309
309
  };
310
310
  goog.inherits(proto.pulumirpc.AnalyzeDiagnostic, jspb.Message);
311
311
  if (goog.DEBUG && !COMPILED) {
@@ -463,6 +463,13 @@ if (goog.DEBUG && !COMPILED) {
463
463
  proto.pulumirpc.ConfigureAnalyzerRequest.displayName = 'proto.pulumirpc.ConfigureAnalyzerRequest';
464
464
  }
465
465
 
466
+ /**
467
+ * List of repeated fields within this message type.
468
+ * @private {!Array<number>}
469
+ * @const
470
+ */
471
+ proto.pulumirpc.AnalyzerStackConfigureRequest.repeatedFields_ = [6];
472
+
466
473
 
467
474
 
468
475
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -498,7 +505,8 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.toObject = function(includeInstanc
498
505
  project: jspb.Message.getFieldWithDefault(msg, 2, ""),
499
506
  organization: jspb.Message.getFieldWithDefault(msg, 3, ""),
500
507
  dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
501
- config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
508
+ configSecretKeysList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
509
+ configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : []
502
510
  };
503
511
 
504
512
  if (includeInstance) {
@@ -551,10 +559,15 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = func
551
559
  var value = /** @type {boolean} */ (reader.readBool());
552
560
  msg.setDryRun(value);
553
561
  break;
554
- case 5:
555
- var value = new google_protobuf_struct_pb.Struct;
556
- reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
557
- msg.setConfig(value);
562
+ case 6:
563
+ var value = /** @type {string} */ (reader.readString());
564
+ msg.addConfigSecretKeys(value);
565
+ break;
566
+ case 7:
567
+ var value = msg.getConfigMap();
568
+ reader.readMessage(value, function(message, reader) {
569
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
570
+ });
558
571
  break;
559
572
  default:
560
573
  reader.skipField();
@@ -613,14 +626,17 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter = function
613
626
  f
614
627
  );
615
628
  }
616
- f = message.getConfig();
617
- if (f != null) {
618
- writer.writeMessage(
619
- 5,
620
- f,
621
- google_protobuf_struct_pb.Struct.serializeBinaryToWriter
629
+ f = message.getConfigSecretKeysList();
630
+ if (f.length > 0) {
631
+ writer.writeRepeatedString(
632
+ 6,
633
+ f
622
634
  );
623
635
  }
636
+ f = message.getConfigMap(true);
637
+ if (f && f.getLength() > 0) {
638
+ f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
639
+ }
624
640
  };
625
641
 
626
642
 
@@ -697,42 +713,64 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setDryRun = function(val
697
713
 
698
714
 
699
715
  /**
700
- * optional google.protobuf.Struct config = 5;
701
- * @return {?proto.google.protobuf.Struct}
716
+ * repeated string config_secret_keys = 6;
717
+ * @return {!Array<string>}
702
718
  */
703
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfig = function() {
704
- return /** @type{?proto.google.protobuf.Struct} */ (
705
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
719
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigSecretKeysList = function() {
720
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
706
721
  };
707
722
 
708
723
 
709
724
  /**
710
- * @param {?proto.google.protobuf.Struct|undefined} value
725
+ * @param {!Array<string>} value
711
726
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
712
- */
713
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfig = function(value) {
714
- return jspb.Message.setWrapperField(this, 5, value);
727
+ */
728
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfigSecretKeysList = function(value) {
729
+ return jspb.Message.setField(this, 6, value || []);
715
730
  };
716
731
 
717
732
 
718
733
  /**
719
- * Clears the message field making it undefined.
734
+ * @param {string} value
735
+ * @param {number=} opt_index
720
736
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
721
737
  */
722
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function() {
723
- return this.setConfig(undefined);
738
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.addConfigSecretKeys = function(value, opt_index) {
739
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
724
740
  };
725
741
 
726
742
 
727
743
  /**
728
- * Returns whether this field is set.
729
- * @return {boolean}
744
+ * Clears the list making it empty but non-null.
745
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
730
746
  */
731
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
732
- return jspb.Message.getField(this, 5) != null;
747
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigSecretKeysList = function() {
748
+ return this.setConfigSecretKeysList([]);
749
+ };
750
+
751
+
752
+ /**
753
+ * map<string, string> config = 7;
754
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
755
+ * empty, instead returning `undefined`
756
+ * @return {!jspb.Map<string,string>}
757
+ */
758
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigMap = function(opt_noLazyCreate) {
759
+ return /** @type {!jspb.Map<string,string>} */ (
760
+ jspb.Message.getMapField(this, 7, opt_noLazyCreate,
761
+ null));
733
762
  };
734
763
 
735
764
 
765
+ /**
766
+ * Clears values from the map. The map will be non-null.
767
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
768
+ */
769
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigMap = function() {
770
+ this.getConfigMap().clear();
771
+ return this;};
772
+
773
+
736
774
 
737
775
 
738
776
 
@@ -3299,13 +3337,6 @@ proto.pulumirpc.AnalyzeResponse.prototype.clearDiagnosticsList = function() {
3299
3337
 
3300
3338
 
3301
3339
 
3302
- /**
3303
- * List of repeated fields within this message type.
3304
- * @private {!Array<number>}
3305
- * @const
3306
- */
3307
- proto.pulumirpc.AnalyzeDiagnostic.repeatedFields_ = [6];
3308
-
3309
3340
 
3310
3341
 
3311
3342
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -3342,7 +3373,6 @@ proto.pulumirpc.AnalyzeDiagnostic.toObject = function(includeInstance, msg) {
3342
3373
  policypackversion: jspb.Message.getFieldWithDefault(msg, 3, ""),
3343
3374
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
3344
3375
  message: jspb.Message.getFieldWithDefault(msg, 5, ""),
3345
- tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3346
3376
  enforcementlevel: jspb.Message.getFieldWithDefault(msg, 7, 0),
3347
3377
  urn: jspb.Message.getFieldWithDefault(msg, 8, "")
3348
3378
  };
@@ -3401,10 +3431,6 @@ proto.pulumirpc.AnalyzeDiagnostic.deserializeBinaryFromReader = function(msg, re
3401
3431
  var value = /** @type {string} */ (reader.readString());
3402
3432
  msg.setMessage(value);
3403
3433
  break;
3404
- case 6:
3405
- var value = /** @type {string} */ (reader.readString());
3406
- msg.addTags(value);
3407
- break;
3408
3434
  case 7:
3409
3435
  var value = /** @type {!proto.pulumirpc.EnforcementLevel} */ (reader.readEnum());
3410
3436
  msg.setEnforcementlevel(value);
@@ -3477,13 +3503,6 @@ proto.pulumirpc.AnalyzeDiagnostic.serializeBinaryToWriter = function(message, wr
3477
3503
  f
3478
3504
  );
3479
3505
  }
3480
- f = message.getTagsList();
3481
- if (f.length > 0) {
3482
- writer.writeRepeatedString(
3483
- 6,
3484
- f
3485
- );
3486
- }
3487
3506
  f = message.getEnforcementlevel();
3488
3507
  if (f !== 0.0) {
3489
3508
  writer.writeEnum(
@@ -3591,43 +3610,6 @@ proto.pulumirpc.AnalyzeDiagnostic.prototype.setMessage = function(value) {
3591
3610
  };
3592
3611
 
3593
3612
 
3594
- /**
3595
- * repeated string tags = 6;
3596
- * @return {!Array<string>}
3597
- */
3598
- proto.pulumirpc.AnalyzeDiagnostic.prototype.getTagsList = function() {
3599
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
3600
- };
3601
-
3602
-
3603
- /**
3604
- * @param {!Array<string>} value
3605
- * @return {!proto.pulumirpc.AnalyzeDiagnostic} returns this
3606
- */
3607
- proto.pulumirpc.AnalyzeDiagnostic.prototype.setTagsList = function(value) {
3608
- return jspb.Message.setField(this, 6, value || []);
3609
- };
3610
-
3611
-
3612
- /**
3613
- * @param {string} value
3614
- * @param {number=} opt_index
3615
- * @return {!proto.pulumirpc.AnalyzeDiagnostic} returns this
3616
- */
3617
- proto.pulumirpc.AnalyzeDiagnostic.prototype.addTags = function(value, opt_index) {
3618
- return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
3619
- };
3620
-
3621
-
3622
- /**
3623
- * Clears the list making it empty but non-null.
3624
- * @return {!proto.pulumirpc.AnalyzeDiagnostic} returns this
3625
- */
3626
- proto.pulumirpc.AnalyzeDiagnostic.prototype.clearTagsList = function() {
3627
- return this.setTagsList([]);
3628
- };
3629
-
3630
-
3631
3613
  /**
3632
3614
  * optional EnforcementLevel enforcementLevel = 7;
3633
3615
  * @return {!proto.pulumirpc.EnforcementLevel}
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.174.0";
1
+ export declare const version = "3.175.0";
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.174.0-alpha.xe1e8de2";
16
+ exports.version = "3.175.0-alpha.x12b5591";
17
17
  //# sourceMappingURL=version.js.map