@pulumi/pulumi 3.134.0 → 3.134.1-alpha.x49efdab

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.134.0",
3
+ "version": "3.134.1-alpha.x49efdab",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -28,3 +28,50 @@ export namespace ErrorCause {
28
28
  stacktrace: string,
29
29
  }
30
30
  }
31
+
32
+ export class InvalidInputPropertiesError extends jspb.Message {
33
+ clearErrorsList(): void;
34
+ getErrorsList(): Array<InvalidInputPropertiesError.PropertyError>;
35
+ setErrorsList(value: Array<InvalidInputPropertiesError.PropertyError>): InvalidInputPropertiesError;
36
+ addErrors(value?: InvalidInputPropertiesError.PropertyError, index?: number): InvalidInputPropertiesError.PropertyError;
37
+
38
+ serializeBinary(): Uint8Array;
39
+ toObject(includeInstance?: boolean): InvalidInputPropertiesError.AsObject;
40
+ static toObject(includeInstance: boolean, msg: InvalidInputPropertiesError): InvalidInputPropertiesError.AsObject;
41
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
42
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
43
+ static serializeBinaryToWriter(message: InvalidInputPropertiesError, writer: jspb.BinaryWriter): void;
44
+ static deserializeBinary(bytes: Uint8Array): InvalidInputPropertiesError;
45
+ static deserializeBinaryFromReader(message: InvalidInputPropertiesError, reader: jspb.BinaryReader): InvalidInputPropertiesError;
46
+ }
47
+
48
+ export namespace InvalidInputPropertiesError {
49
+ export type AsObject = {
50
+ errorsList: Array<InvalidInputPropertiesError.PropertyError.AsObject>,
51
+ }
52
+
53
+
54
+ export class PropertyError extends jspb.Message {
55
+ getPropertyPath(): string;
56
+ setPropertyPath(value: string): PropertyError;
57
+ getReason(): string;
58
+ setReason(value: string): PropertyError;
59
+
60
+ serializeBinary(): Uint8Array;
61
+ toObject(includeInstance?: boolean): PropertyError.AsObject;
62
+ static toObject(includeInstance: boolean, msg: PropertyError): PropertyError.AsObject;
63
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
64
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
65
+ static serializeBinaryToWriter(message: PropertyError, writer: jspb.BinaryWriter): void;
66
+ static deserializeBinary(bytes: Uint8Array): PropertyError;
67
+ static deserializeBinaryFromReader(message: PropertyError, reader: jspb.BinaryReader): PropertyError;
68
+ }
69
+
70
+ export namespace PropertyError {
71
+ export type AsObject = {
72
+ propertyPath: string,
73
+ reason: string,
74
+ }
75
+ }
76
+
77
+ }
@@ -16,6 +16,8 @@ var goog = jspb;
16
16
  var proto = { pulumirpc: { codegen: { }, testing: { } } }, global = proto;
17
17
 
18
18
  goog.exportSymbol('proto.pulumirpc.ErrorCause', null, global);
19
+ goog.exportSymbol('proto.pulumirpc.InvalidInputPropertiesError', null, global);
20
+ goog.exportSymbol('proto.pulumirpc.InvalidInputPropertiesError.PropertyError', null, global);
19
21
  /**
20
22
  * Generated by JsPbCodeGenerator.
21
23
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -37,6 +39,48 @@ if (goog.DEBUG && !COMPILED) {
37
39
  */
38
40
  proto.pulumirpc.ErrorCause.displayName = 'proto.pulumirpc.ErrorCause';
39
41
  }
42
+ /**
43
+ * Generated by JsPbCodeGenerator.
44
+ * @param {Array=} opt_data Optional initial data array, typically from a
45
+ * server response, or constructed directly in Javascript. The array is used
46
+ * in place and becomes part of the constructed object. It is not cloned.
47
+ * If no data is provided, the constructed object will be empty, but still
48
+ * valid.
49
+ * @extends {jspb.Message}
50
+ * @constructor
51
+ */
52
+ proto.pulumirpc.InvalidInputPropertiesError = function(opt_data) {
53
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.InvalidInputPropertiesError.repeatedFields_, null);
54
+ };
55
+ goog.inherits(proto.pulumirpc.InvalidInputPropertiesError, jspb.Message);
56
+ if (goog.DEBUG && !COMPILED) {
57
+ /**
58
+ * @public
59
+ * @override
60
+ */
61
+ proto.pulumirpc.InvalidInputPropertiesError.displayName = 'proto.pulumirpc.InvalidInputPropertiesError';
62
+ }
63
+ /**
64
+ * Generated by JsPbCodeGenerator.
65
+ * @param {Array=} opt_data Optional initial data array, typically from a
66
+ * server response, or constructed directly in Javascript. The array is used
67
+ * in place and becomes part of the constructed object. It is not cloned.
68
+ * If no data is provided, the constructed object will be empty, but still
69
+ * valid.
70
+ * @extends {jspb.Message}
71
+ * @constructor
72
+ */
73
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError = function(opt_data) {
74
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
75
+ };
76
+ goog.inherits(proto.pulumirpc.InvalidInputPropertiesError.PropertyError, jspb.Message);
77
+ if (goog.DEBUG && !COMPILED) {
78
+ /**
79
+ * @public
80
+ * @override
81
+ */
82
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.displayName = 'proto.pulumirpc.InvalidInputPropertiesError.PropertyError';
83
+ }
40
84
 
41
85
 
42
86
 
@@ -197,4 +241,324 @@ proto.pulumirpc.ErrorCause.prototype.setStacktrace = function(value) {
197
241
  };
198
242
 
199
243
 
244
+
245
+ /**
246
+ * List of repeated fields within this message type.
247
+ * @private {!Array<number>}
248
+ * @const
249
+ */
250
+ proto.pulumirpc.InvalidInputPropertiesError.repeatedFields_ = [1];
251
+
252
+
253
+
254
+ if (jspb.Message.GENERATE_TO_OBJECT) {
255
+ /**
256
+ * Creates an object representation of this proto.
257
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
258
+ * Optional fields that are not set will be set to undefined.
259
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
260
+ * For the list of reserved names please see:
261
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
262
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
263
+ * JSPB instance for transitional soy proto support:
264
+ * http://goto/soy-param-migration
265
+ * @return {!Object}
266
+ */
267
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.toObject = function(opt_includeInstance) {
268
+ return proto.pulumirpc.InvalidInputPropertiesError.toObject(opt_includeInstance, this);
269
+ };
270
+
271
+
272
+ /**
273
+ * Static version of the {@see toObject} method.
274
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
275
+ * the JSPB instance for transitional soy proto support:
276
+ * http://goto/soy-param-migration
277
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError} msg The msg instance to transform.
278
+ * @return {!Object}
279
+ * @suppress {unusedLocalVariables} f is only used for nested messages
280
+ */
281
+ proto.pulumirpc.InvalidInputPropertiesError.toObject = function(includeInstance, msg) {
282
+ var f, obj = {
283
+ errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
284
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.toObject, includeInstance)
285
+ };
286
+
287
+ if (includeInstance) {
288
+ obj.$jspbMessageInstance = msg;
289
+ }
290
+ return obj;
291
+ };
292
+ }
293
+
294
+
295
+ /**
296
+ * Deserializes binary data (in protobuf wire format).
297
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
298
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError}
299
+ */
300
+ proto.pulumirpc.InvalidInputPropertiesError.deserializeBinary = function(bytes) {
301
+ var reader = new jspb.BinaryReader(bytes);
302
+ var msg = new proto.pulumirpc.InvalidInputPropertiesError;
303
+ return proto.pulumirpc.InvalidInputPropertiesError.deserializeBinaryFromReader(msg, reader);
304
+ };
305
+
306
+
307
+ /**
308
+ * Deserializes binary data (in protobuf wire format) from the
309
+ * given reader into the given message object.
310
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError} msg The message object to deserialize into.
311
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
312
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError}
313
+ */
314
+ proto.pulumirpc.InvalidInputPropertiesError.deserializeBinaryFromReader = function(msg, reader) {
315
+ while (reader.nextField()) {
316
+ if (reader.isEndGroup()) {
317
+ break;
318
+ }
319
+ var field = reader.getFieldNumber();
320
+ switch (field) {
321
+ case 1:
322
+ var value = new proto.pulumirpc.InvalidInputPropertiesError.PropertyError;
323
+ reader.readMessage(value,proto.pulumirpc.InvalidInputPropertiesError.PropertyError.deserializeBinaryFromReader);
324
+ msg.addErrors(value);
325
+ break;
326
+ default:
327
+ reader.skipField();
328
+ break;
329
+ }
330
+ }
331
+ return msg;
332
+ };
333
+
334
+
335
+ /**
336
+ * Serializes the message to binary data (in protobuf wire format).
337
+ * @return {!Uint8Array}
338
+ */
339
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.serializeBinary = function() {
340
+ var writer = new jspb.BinaryWriter();
341
+ proto.pulumirpc.InvalidInputPropertiesError.serializeBinaryToWriter(this, writer);
342
+ return writer.getResultBuffer();
343
+ };
344
+
345
+
346
+ /**
347
+ * Serializes the given message to binary data (in protobuf wire
348
+ * format), writing to the given BinaryWriter.
349
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError} message
350
+ * @param {!jspb.BinaryWriter} writer
351
+ * @suppress {unusedLocalVariables} f is only used for nested messages
352
+ */
353
+ proto.pulumirpc.InvalidInputPropertiesError.serializeBinaryToWriter = function(message, writer) {
354
+ var f = undefined;
355
+ f = message.getErrorsList();
356
+ if (f.length > 0) {
357
+ writer.writeRepeatedMessage(
358
+ 1,
359
+ f,
360
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.serializeBinaryToWriter
361
+ );
362
+ }
363
+ };
364
+
365
+
366
+
367
+
368
+
369
+ if (jspb.Message.GENERATE_TO_OBJECT) {
370
+ /**
371
+ * Creates an object representation of this proto.
372
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
373
+ * Optional fields that are not set will be set to undefined.
374
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
375
+ * For the list of reserved names please see:
376
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
377
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
378
+ * JSPB instance for transitional soy proto support:
379
+ * http://goto/soy-param-migration
380
+ * @return {!Object}
381
+ */
382
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.toObject = function(opt_includeInstance) {
383
+ return proto.pulumirpc.InvalidInputPropertiesError.PropertyError.toObject(opt_includeInstance, this);
384
+ };
385
+
386
+
387
+ /**
388
+ * Static version of the {@see toObject} method.
389
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
390
+ * the JSPB instance for transitional soy proto support:
391
+ * http://goto/soy-param-migration
392
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError} msg The msg instance to transform.
393
+ * @return {!Object}
394
+ * @suppress {unusedLocalVariables} f is only used for nested messages
395
+ */
396
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.toObject = function(includeInstance, msg) {
397
+ var f, obj = {
398
+ propertyPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
399
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
400
+ };
401
+
402
+ if (includeInstance) {
403
+ obj.$jspbMessageInstance = msg;
404
+ }
405
+ return obj;
406
+ };
407
+ }
408
+
409
+
410
+ /**
411
+ * Deserializes binary data (in protobuf wire format).
412
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
413
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError}
414
+ */
415
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.deserializeBinary = function(bytes) {
416
+ var reader = new jspb.BinaryReader(bytes);
417
+ var msg = new proto.pulumirpc.InvalidInputPropertiesError.PropertyError;
418
+ return proto.pulumirpc.InvalidInputPropertiesError.PropertyError.deserializeBinaryFromReader(msg, reader);
419
+ };
420
+
421
+
422
+ /**
423
+ * Deserializes binary data (in protobuf wire format) from the
424
+ * given reader into the given message object.
425
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError} msg The message object to deserialize into.
426
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
427
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError}
428
+ */
429
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.deserializeBinaryFromReader = function(msg, reader) {
430
+ while (reader.nextField()) {
431
+ if (reader.isEndGroup()) {
432
+ break;
433
+ }
434
+ var field = reader.getFieldNumber();
435
+ switch (field) {
436
+ case 1:
437
+ var value = /** @type {string} */ (reader.readString());
438
+ msg.setPropertyPath(value);
439
+ break;
440
+ case 2:
441
+ var value = /** @type {string} */ (reader.readString());
442
+ msg.setReason(value);
443
+ break;
444
+ default:
445
+ reader.skipField();
446
+ break;
447
+ }
448
+ }
449
+ return msg;
450
+ };
451
+
452
+
453
+ /**
454
+ * Serializes the message to binary data (in protobuf wire format).
455
+ * @return {!Uint8Array}
456
+ */
457
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.serializeBinary = function() {
458
+ var writer = new jspb.BinaryWriter();
459
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.serializeBinaryToWriter(this, writer);
460
+ return writer.getResultBuffer();
461
+ };
462
+
463
+
464
+ /**
465
+ * Serializes the given message to binary data (in protobuf wire
466
+ * format), writing to the given BinaryWriter.
467
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError} message
468
+ * @param {!jspb.BinaryWriter} writer
469
+ * @suppress {unusedLocalVariables} f is only used for nested messages
470
+ */
471
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.serializeBinaryToWriter = function(message, writer) {
472
+ var f = undefined;
473
+ f = message.getPropertyPath();
474
+ if (f.length > 0) {
475
+ writer.writeString(
476
+ 1,
477
+ f
478
+ );
479
+ }
480
+ f = message.getReason();
481
+ if (f.length > 0) {
482
+ writer.writeString(
483
+ 2,
484
+ f
485
+ );
486
+ }
487
+ };
488
+
489
+
490
+ /**
491
+ * optional string property_path = 1;
492
+ * @return {string}
493
+ */
494
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.getPropertyPath = function() {
495
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
496
+ };
497
+
498
+
499
+ /**
500
+ * @param {string} value
501
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError} returns this
502
+ */
503
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.setPropertyPath = function(value) {
504
+ return jspb.Message.setProto3StringField(this, 1, value);
505
+ };
506
+
507
+
508
+ /**
509
+ * optional string reason = 2;
510
+ * @return {string}
511
+ */
512
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.getReason = function() {
513
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
514
+ };
515
+
516
+
517
+ /**
518
+ * @param {string} value
519
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError} returns this
520
+ */
521
+ proto.pulumirpc.InvalidInputPropertiesError.PropertyError.prototype.setReason = function(value) {
522
+ return jspb.Message.setProto3StringField(this, 2, value);
523
+ };
524
+
525
+
526
+ /**
527
+ * repeated PropertyError errors = 1;
528
+ * @return {!Array<!proto.pulumirpc.InvalidInputPropertiesError.PropertyError>}
529
+ */
530
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.getErrorsList = function() {
531
+ return /** @type{!Array<!proto.pulumirpc.InvalidInputPropertiesError.PropertyError>} */ (
532
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.InvalidInputPropertiesError.PropertyError, 1));
533
+ };
534
+
535
+
536
+ /**
537
+ * @param {!Array<!proto.pulumirpc.InvalidInputPropertiesError.PropertyError>} value
538
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError} returns this
539
+ */
540
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.setErrorsList = function(value) {
541
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
542
+ };
543
+
544
+
545
+ /**
546
+ * @param {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError=} opt_value
547
+ * @param {number=} opt_index
548
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError.PropertyError}
549
+ */
550
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.addErrors = function(opt_value, opt_index) {
551
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.pulumirpc.InvalidInputPropertiesError.PropertyError, opt_index);
552
+ };
553
+
554
+
555
+ /**
556
+ * Clears the list making it empty but non-null.
557
+ * @return {!proto.pulumirpc.InvalidInputPropertiesError} returns this
558
+ */
559
+ proto.pulumirpc.InvalidInputPropertiesError.prototype.clearErrorsList = function() {
560
+ return this.setErrorsList([]);
561
+ };
562
+
563
+
200
564
  goog.object.extend(exports, proto.pulumirpc);
@@ -417,6 +417,12 @@ diffConfig: {
417
417
  responseDeserialize: deserialize_pulumirpc_DiffResponse,
418
418
  },
419
419
  // Configure configures the resource provider with "globals" that control its behavior.
420
+ //
421
+ // :::{warning}
422
+ // ConfigureRequest.args may include secrets. Because ConfigureRequest is sent before
423
+ // ConfigureResponse can specify acceptSecrets: false, providers *must* handle secrets from
424
+ // ConfigureRequest.args.
425
+ // :::
420
426
  configure: {
421
427
  path: '/pulumirpc.ResourceProvider/Configure',
422
428
  requestStream: false,
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.134.0";
1
+ export declare const version = "3.134.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.134.0";
16
+ exports.version = "3.134.1-alpha.x49efdab";
17
17
  //# sourceMappingURL=version.js.map