@pulumi/pulumi 3.141.0-alpha.x77dc1f9 → 3.141.1-alpha.xcf6fd75

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.141.0-alpha.x77dc1f9",
3
+ "version": "3.141.1-alpha.xcf6fd75",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -217,6 +217,8 @@ export class ConfigureResponse extends jspb.Message {
217
217
  setAcceptresources(value: boolean): ConfigureResponse;
218
218
  getAcceptoutputs(): boolean;
219
219
  setAcceptoutputs(value: boolean): ConfigureResponse;
220
+ getSupportsAutonamingConfiguration(): boolean;
221
+ setSupportsAutonamingConfiguration(value: boolean): ConfigureResponse;
220
222
 
221
223
  serializeBinary(): Uint8Array;
222
224
  toObject(includeInstance?: boolean): ConfigureResponse.AsObject;
@@ -234,6 +236,7 @@ export namespace ConfigureResponse {
234
236
  supportspreview: boolean,
235
237
  acceptresources: boolean,
236
238
  acceptoutputs: boolean,
239
+ supportsAutonamingConfiguration: boolean,
237
240
  }
238
241
  }
239
242
 
@@ -503,6 +506,11 @@ export class CheckRequest extends jspb.Message {
503
506
  getType(): string;
504
507
  setType(value: string): CheckRequest;
505
508
 
509
+ hasAutonaming(): boolean;
510
+ clearAutonaming(): void;
511
+ getAutonaming(): CheckRequest.AutonamingOptions | undefined;
512
+ setAutonaming(value?: CheckRequest.AutonamingOptions): CheckRequest;
513
+
506
514
  serializeBinary(): Uint8Array;
507
515
  toObject(includeInstance?: boolean): CheckRequest.AsObject;
508
516
  static toObject(includeInstance: boolean, msg: CheckRequest): CheckRequest.AsObject;
@@ -521,7 +529,40 @@ export namespace CheckRequest {
521
529
  randomseed: Uint8Array | string,
522
530
  name: string,
523
531
  type: string,
532
+ autonaming?: CheckRequest.AutonamingOptions.AsObject,
533
+ }
534
+
535
+
536
+ export class AutonamingOptions extends jspb.Message {
537
+ getProposedName(): string;
538
+ setProposedName(value: string): AutonamingOptions;
539
+ getMode(): CheckRequest.AutonamingOptions.Mode;
540
+ setMode(value: CheckRequest.AutonamingOptions.Mode): AutonamingOptions;
541
+
542
+ serializeBinary(): Uint8Array;
543
+ toObject(includeInstance?: boolean): AutonamingOptions.AsObject;
544
+ static toObject(includeInstance: boolean, msg: AutonamingOptions): AutonamingOptions.AsObject;
545
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
546
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
547
+ static serializeBinaryToWriter(message: AutonamingOptions, writer: jspb.BinaryWriter): void;
548
+ static deserializeBinary(bytes: Uint8Array): AutonamingOptions;
549
+ static deserializeBinaryFromReader(message: AutonamingOptions, reader: jspb.BinaryReader): AutonamingOptions;
524
550
  }
551
+
552
+ export namespace AutonamingOptions {
553
+ export type AsObject = {
554
+ proposedName: string,
555
+ mode: CheckRequest.AutonamingOptions.Mode,
556
+ }
557
+
558
+ export enum Mode {
559
+ PROPOSE = 0,
560
+ ENFORCE = 1,
561
+ DISABLE = 2,
562
+ }
563
+
564
+ }
565
+
525
566
  }
526
567
 
527
568
  export class CheckResponse extends jspb.Message {
@@ -27,6 +27,8 @@ goog.exportSymbol('proto.pulumirpc.CallResponse', null, global);
27
27
  goog.exportSymbol('proto.pulumirpc.CallResponse.ReturnDependencies', null, global);
28
28
  goog.exportSymbol('proto.pulumirpc.CheckFailure', null, global);
29
29
  goog.exportSymbol('proto.pulumirpc.CheckRequest', null, global);
30
+ goog.exportSymbol('proto.pulumirpc.CheckRequest.AutonamingOptions', null, global);
31
+ goog.exportSymbol('proto.pulumirpc.CheckRequest.AutonamingOptions.Mode', null, global);
30
32
  goog.exportSymbol('proto.pulumirpc.CheckResponse', null, global);
31
33
  goog.exportSymbol('proto.pulumirpc.ConfigureErrorMissingKeys', null, global);
32
34
  goog.exportSymbol('proto.pulumirpc.ConfigureErrorMissingKeys.MissingKey', null, global);
@@ -420,6 +422,27 @@ if (goog.DEBUG && !COMPILED) {
420
422
  */
421
423
  proto.pulumirpc.CheckRequest.displayName = 'proto.pulumirpc.CheckRequest';
422
424
  }
425
+ /**
426
+ * Generated by JsPbCodeGenerator.
427
+ * @param {Array=} opt_data Optional initial data array, typically from a
428
+ * server response, or constructed directly in Javascript. The array is used
429
+ * in place and becomes part of the constructed object. It is not cloned.
430
+ * If no data is provided, the constructed object will be empty, but still
431
+ * valid.
432
+ * @extends {jspb.Message}
433
+ * @constructor
434
+ */
435
+ proto.pulumirpc.CheckRequest.AutonamingOptions = function(opt_data) {
436
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
437
+ };
438
+ goog.inherits(proto.pulumirpc.CheckRequest.AutonamingOptions, jspb.Message);
439
+ if (goog.DEBUG && !COMPILED) {
440
+ /**
441
+ * @public
442
+ * @override
443
+ */
444
+ proto.pulumirpc.CheckRequest.AutonamingOptions.displayName = 'proto.pulumirpc.CheckRequest.AutonamingOptions';
445
+ }
423
446
  /**
424
447
  * Generated by JsPbCodeGenerator.
425
448
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2299,7 +2322,8 @@ proto.pulumirpc.ConfigureResponse.toObject = function(includeInstance, msg) {
2299
2322
  acceptsecrets: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
2300
2323
  supportspreview: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
2301
2324
  acceptresources: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
2302
- acceptoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2325
+ acceptoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
2326
+ supportsAutonamingConfiguration: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2303
2327
  };
2304
2328
 
2305
2329
  if (includeInstance) {
@@ -2352,6 +2376,10 @@ proto.pulumirpc.ConfigureResponse.deserializeBinaryFromReader = function(msg, re
2352
2376
  var value = /** @type {boolean} */ (reader.readBool());
2353
2377
  msg.setAcceptoutputs(value);
2354
2378
  break;
2379
+ case 5:
2380
+ var value = /** @type {boolean} */ (reader.readBool());
2381
+ msg.setSupportsAutonamingConfiguration(value);
2382
+ break;
2355
2383
  default:
2356
2384
  reader.skipField();
2357
2385
  break;
@@ -2409,6 +2437,13 @@ proto.pulumirpc.ConfigureResponse.serializeBinaryToWriter = function(message, wr
2409
2437
  f
2410
2438
  );
2411
2439
  }
2440
+ f = message.getSupportsAutonamingConfiguration();
2441
+ if (f) {
2442
+ writer.writeBool(
2443
+ 5,
2444
+ f
2445
+ );
2446
+ }
2412
2447
  };
2413
2448
 
2414
2449
 
@@ -2484,6 +2519,24 @@ proto.pulumirpc.ConfigureResponse.prototype.setAcceptoutputs = function(value) {
2484
2519
  };
2485
2520
 
2486
2521
 
2522
+ /**
2523
+ * optional bool supports_autonaming_configuration = 5;
2524
+ * @return {boolean}
2525
+ */
2526
+ proto.pulumirpc.ConfigureResponse.prototype.getSupportsAutonamingConfiguration = function() {
2527
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2528
+ };
2529
+
2530
+
2531
+ /**
2532
+ * @param {boolean} value
2533
+ * @return {!proto.pulumirpc.ConfigureResponse} returns this
2534
+ */
2535
+ proto.pulumirpc.ConfigureResponse.prototype.setSupportsAutonamingConfiguration = function(value) {
2536
+ return jspb.Message.setProto3BooleanField(this, 5, value);
2537
+ };
2538
+
2539
+
2487
2540
 
2488
2541
  /**
2489
2542
  * List of repeated fields within this message type.
@@ -4302,7 +4355,8 @@ proto.pulumirpc.CheckRequest.toObject = function(includeInstance, msg) {
4302
4355
  news: (f = msg.getNews()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
4303
4356
  randomseed: msg.getRandomseed_asB64(),
4304
4357
  name: jspb.Message.getFieldWithDefault(msg, 6, ""),
4305
- type: jspb.Message.getFieldWithDefault(msg, 7, "")
4358
+ type: jspb.Message.getFieldWithDefault(msg, 7, ""),
4359
+ autonaming: (f = msg.getAutonaming()) && proto.pulumirpc.CheckRequest.AutonamingOptions.toObject(includeInstance, f)
4306
4360
  };
4307
4361
 
4308
4362
  if (includeInstance) {
@@ -4365,6 +4419,11 @@ proto.pulumirpc.CheckRequest.deserializeBinaryFromReader = function(msg, reader)
4365
4419
  var value = /** @type {string} */ (reader.readString());
4366
4420
  msg.setType(value);
4367
4421
  break;
4422
+ case 8:
4423
+ var value = new proto.pulumirpc.CheckRequest.AutonamingOptions;
4424
+ reader.readMessage(value,proto.pulumirpc.CheckRequest.AutonamingOptions.deserializeBinaryFromReader);
4425
+ msg.setAutonaming(value);
4426
+ break;
4368
4427
  default:
4369
4428
  reader.skipField();
4370
4429
  break;
@@ -4438,6 +4497,183 @@ proto.pulumirpc.CheckRequest.serializeBinaryToWriter = function(message, writer)
4438
4497
  f
4439
4498
  );
4440
4499
  }
4500
+ f = message.getAutonaming();
4501
+ if (f != null) {
4502
+ writer.writeMessage(
4503
+ 8,
4504
+ f,
4505
+ proto.pulumirpc.CheckRequest.AutonamingOptions.serializeBinaryToWriter
4506
+ );
4507
+ }
4508
+ };
4509
+
4510
+
4511
+
4512
+
4513
+
4514
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4515
+ /**
4516
+ * Creates an object representation of this proto.
4517
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4518
+ * Optional fields that are not set will be set to undefined.
4519
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4520
+ * For the list of reserved names please see:
4521
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4522
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4523
+ * JSPB instance for transitional soy proto support:
4524
+ * http://goto/soy-param-migration
4525
+ * @return {!Object}
4526
+ */
4527
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.toObject = function(opt_includeInstance) {
4528
+ return proto.pulumirpc.CheckRequest.AutonamingOptions.toObject(opt_includeInstance, this);
4529
+ };
4530
+
4531
+
4532
+ /**
4533
+ * Static version of the {@see toObject} method.
4534
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4535
+ * the JSPB instance for transitional soy proto support:
4536
+ * http://goto/soy-param-migration
4537
+ * @param {!proto.pulumirpc.CheckRequest.AutonamingOptions} msg The msg instance to transform.
4538
+ * @return {!Object}
4539
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4540
+ */
4541
+ proto.pulumirpc.CheckRequest.AutonamingOptions.toObject = function(includeInstance, msg) {
4542
+ var f, obj = {
4543
+ proposedName: jspb.Message.getFieldWithDefault(msg, 1, ""),
4544
+ mode: jspb.Message.getFieldWithDefault(msg, 2, 0)
4545
+ };
4546
+
4547
+ if (includeInstance) {
4548
+ obj.$jspbMessageInstance = msg;
4549
+ }
4550
+ return obj;
4551
+ };
4552
+ }
4553
+
4554
+
4555
+ /**
4556
+ * Deserializes binary data (in protobuf wire format).
4557
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4558
+ * @return {!proto.pulumirpc.CheckRequest.AutonamingOptions}
4559
+ */
4560
+ proto.pulumirpc.CheckRequest.AutonamingOptions.deserializeBinary = function(bytes) {
4561
+ var reader = new jspb.BinaryReader(bytes);
4562
+ var msg = new proto.pulumirpc.CheckRequest.AutonamingOptions;
4563
+ return proto.pulumirpc.CheckRequest.AutonamingOptions.deserializeBinaryFromReader(msg, reader);
4564
+ };
4565
+
4566
+
4567
+ /**
4568
+ * Deserializes binary data (in protobuf wire format) from the
4569
+ * given reader into the given message object.
4570
+ * @param {!proto.pulumirpc.CheckRequest.AutonamingOptions} msg The message object to deserialize into.
4571
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4572
+ * @return {!proto.pulumirpc.CheckRequest.AutonamingOptions}
4573
+ */
4574
+ proto.pulumirpc.CheckRequest.AutonamingOptions.deserializeBinaryFromReader = function(msg, reader) {
4575
+ while (reader.nextField()) {
4576
+ if (reader.isEndGroup()) {
4577
+ break;
4578
+ }
4579
+ var field = reader.getFieldNumber();
4580
+ switch (field) {
4581
+ case 1:
4582
+ var value = /** @type {string} */ (reader.readString());
4583
+ msg.setProposedName(value);
4584
+ break;
4585
+ case 2:
4586
+ var value = /** @type {!proto.pulumirpc.CheckRequest.AutonamingOptions.Mode} */ (reader.readEnum());
4587
+ msg.setMode(value);
4588
+ break;
4589
+ default:
4590
+ reader.skipField();
4591
+ break;
4592
+ }
4593
+ }
4594
+ return msg;
4595
+ };
4596
+
4597
+
4598
+ /**
4599
+ * Serializes the message to binary data (in protobuf wire format).
4600
+ * @return {!Uint8Array}
4601
+ */
4602
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.serializeBinary = function() {
4603
+ var writer = new jspb.BinaryWriter();
4604
+ proto.pulumirpc.CheckRequest.AutonamingOptions.serializeBinaryToWriter(this, writer);
4605
+ return writer.getResultBuffer();
4606
+ };
4607
+
4608
+
4609
+ /**
4610
+ * Serializes the given message to binary data (in protobuf wire
4611
+ * format), writing to the given BinaryWriter.
4612
+ * @param {!proto.pulumirpc.CheckRequest.AutonamingOptions} message
4613
+ * @param {!jspb.BinaryWriter} writer
4614
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4615
+ */
4616
+ proto.pulumirpc.CheckRequest.AutonamingOptions.serializeBinaryToWriter = function(message, writer) {
4617
+ var f = undefined;
4618
+ f = message.getProposedName();
4619
+ if (f.length > 0) {
4620
+ writer.writeString(
4621
+ 1,
4622
+ f
4623
+ );
4624
+ }
4625
+ f = message.getMode();
4626
+ if (f !== 0.0) {
4627
+ writer.writeEnum(
4628
+ 2,
4629
+ f
4630
+ );
4631
+ }
4632
+ };
4633
+
4634
+
4635
+ /**
4636
+ * @enum {number}
4637
+ */
4638
+ proto.pulumirpc.CheckRequest.AutonamingOptions.Mode = {
4639
+ PROPOSE: 0,
4640
+ ENFORCE: 1,
4641
+ DISABLE: 2
4642
+ };
4643
+
4644
+ /**
4645
+ * optional string proposed_name = 1;
4646
+ * @return {string}
4647
+ */
4648
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.getProposedName = function() {
4649
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4650
+ };
4651
+
4652
+
4653
+ /**
4654
+ * @param {string} value
4655
+ * @return {!proto.pulumirpc.CheckRequest.AutonamingOptions} returns this
4656
+ */
4657
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.setProposedName = function(value) {
4658
+ return jspb.Message.setProto3StringField(this, 1, value);
4659
+ };
4660
+
4661
+
4662
+ /**
4663
+ * optional Mode mode = 2;
4664
+ * @return {!proto.pulumirpc.CheckRequest.AutonamingOptions.Mode}
4665
+ */
4666
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.getMode = function() {
4667
+ return /** @type {!proto.pulumirpc.CheckRequest.AutonamingOptions.Mode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4668
+ };
4669
+
4670
+
4671
+ /**
4672
+ * @param {!proto.pulumirpc.CheckRequest.AutonamingOptions.Mode} value
4673
+ * @return {!proto.pulumirpc.CheckRequest.AutonamingOptions} returns this
4674
+ */
4675
+ proto.pulumirpc.CheckRequest.AutonamingOptions.prototype.setMode = function(value) {
4676
+ return jspb.Message.setProto3EnumField(this, 2, value);
4441
4677
  };
4442
4678
 
4443
4679
 
@@ -4611,6 +4847,43 @@ proto.pulumirpc.CheckRequest.prototype.setType = function(value) {
4611
4847
  };
4612
4848
 
4613
4849
 
4850
+ /**
4851
+ * optional AutonamingOptions autonaming = 8;
4852
+ * @return {?proto.pulumirpc.CheckRequest.AutonamingOptions}
4853
+ */
4854
+ proto.pulumirpc.CheckRequest.prototype.getAutonaming = function() {
4855
+ return /** @type{?proto.pulumirpc.CheckRequest.AutonamingOptions} */ (
4856
+ jspb.Message.getWrapperField(this, proto.pulumirpc.CheckRequest.AutonamingOptions, 8));
4857
+ };
4858
+
4859
+
4860
+ /**
4861
+ * @param {?proto.pulumirpc.CheckRequest.AutonamingOptions|undefined} value
4862
+ * @return {!proto.pulumirpc.CheckRequest} returns this
4863
+ */
4864
+ proto.pulumirpc.CheckRequest.prototype.setAutonaming = function(value) {
4865
+ return jspb.Message.setWrapperField(this, 8, value);
4866
+ };
4867
+
4868
+
4869
+ /**
4870
+ * Clears the message field making it undefined.
4871
+ * @return {!proto.pulumirpc.CheckRequest} returns this
4872
+ */
4873
+ proto.pulumirpc.CheckRequest.prototype.clearAutonaming = function() {
4874
+ return this.setAutonaming(undefined);
4875
+ };
4876
+
4877
+
4878
+ /**
4879
+ * Returns whether this field is set.
4880
+ * @return {boolean}
4881
+ */
4882
+ proto.pulumirpc.CheckRequest.prototype.hasAutonaming = function() {
4883
+ return jspb.Message.getField(this, 8) != null;
4884
+ };
4885
+
4886
+
4614
4887
 
4615
4888
  /**
4616
4889
  * List of repeated fields within this message type.
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.141.0";
1
+ export declare const version = "3.141.1";
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.141.0-alpha.x77dc1f9";
16
+ exports.version = "3.141.1-alpha.xcf6fd75";
17
17
  //# sourceMappingURL=version.js.map