@pulumi/pulumi 3.174.0-alpha.x321bd9e → 3.174.0-alpha.x380d763

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.x321bd9e",
3
+ "version": "3.174.0-alpha.x380d763",
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"],
@@ -19,10 +19,12 @@ export class AnalyzerStackConfigureRequest extends jspb.Message {
19
19
  getDryRun(): boolean;
20
20
  setDryRun(value: boolean): AnalyzerStackConfigureRequest;
21
21
 
22
- hasConfig(): boolean;
23
- clearConfig(): void;
24
- getConfig(): google_protobuf_struct_pb.Struct | undefined;
25
- setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfigureRequest;
22
+ getConfigMap(): jspb.Map<string, string>;
23
+ clearConfigMap(): void;
24
+ clearConfigSecretKeysList(): void;
25
+ getConfigSecretKeysList(): Array<string>;
26
+ setConfigSecretKeysList(value: Array<string>): AnalyzerStackConfigureRequest;
27
+ addConfigSecretKeys(value: string, index?: number): string;
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
+
46
+ configMap: Array<[string, string]>,
47
+ configSecretKeysList: Array<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
+ configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
509
+ configSecretKeysList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
502
510
  };
503
511
 
504
512
  if (includeInstance) {
@@ -552,9 +560,14 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = func
552
560
  msg.setDryRun(value);
553
561
  break;
554
562
  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);
563
+ var value = msg.getConfigMap();
564
+ reader.readMessage(value, function(message, reader) {
565
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
566
+ });
567
+ break;
568
+ case 6:
569
+ var value = /** @type {string} */ (reader.readString());
570
+ msg.addConfigSecretKeys(value);
558
571
  break;
559
572
  default:
560
573
  reader.skipField();
@@ -613,12 +626,15 @@ 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.getConfigMap(true);
630
+ if (f && f.getLength() > 0) {
631
+ f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
632
+ }
633
+ f = message.getConfigSecretKeysList();
634
+ if (f.length > 0) {
635
+ writer.writeRepeatedString(
636
+ 6,
637
+ f
622
638
  );
623
639
  }
624
640
  };
@@ -697,39 +713,61 @@ 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
+ * map<string, string> config = 5;
717
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
718
+ * empty, instead returning `undefined`
719
+ * @return {!jspb.Map<string,string>}
702
720
  */
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));
721
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigMap = function(opt_noLazyCreate) {
722
+ return /** @type {!jspb.Map<string,string>} */ (
723
+ jspb.Message.getMapField(this, 5, opt_noLazyCreate,
724
+ null));
706
725
  };
707
726
 
708
727
 
709
728
  /**
710
- * @param {?proto.google.protobuf.Struct|undefined} value
729
+ * Clears values from the map. The map will be non-null.
711
730
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
712
- */
713
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfig = function(value) {
714
- return jspb.Message.setWrapperField(this, 5, value);
731
+ */
732
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigMap = function() {
733
+ this.getConfigMap().clear();
734
+ return this;};
735
+
736
+
737
+ /**
738
+ * repeated string config_secret_keys = 6;
739
+ * @return {!Array<string>}
740
+ */
741
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigSecretKeysList = function() {
742
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
715
743
  };
716
744
 
717
745
 
718
746
  /**
719
- * Clears the message field making it undefined.
747
+ * @param {!Array<string>} value
720
748
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
721
749
  */
722
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function() {
723
- return this.setConfig(undefined);
750
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfigSecretKeysList = function(value) {
751
+ return jspb.Message.setField(this, 6, value || []);
724
752
  };
725
753
 
726
754
 
727
755
  /**
728
- * Returns whether this field is set.
729
- * @return {boolean}
756
+ * @param {string} value
757
+ * @param {number=} opt_index
758
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
730
759
  */
731
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
732
- return jspb.Message.getField(this, 5) != null;
760
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.addConfigSecretKeys = function(value, opt_index) {
761
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
762
+ };
763
+
764
+
765
+ /**
766
+ * Clears the list making it empty but non-null.
767
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
768
+ */
769
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigSecretKeysList = function() {
770
+ return this.setConfigSecretKeysList([]);
733
771
  };
734
772
 
735
773
 
@@ -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.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.x321bd9e";
16
+ exports.version = "3.174.0-alpha.x380d763";
17
17
  //# sourceMappingURL=version.js.map