@pulumi/pulumi 3.182.0-alpha.x49f2764 → 3.182.0-alpha.x7baa41a
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/automation/cmd.js +4 -2
- package/automation/cmd.js.map +1 -1
- package/cmd/run/index.js +39 -0
- package/cmd/run/index.js.map +1 -1
- package/package.json +1 -1
- package/proto/analyzer_grpc_pb.d.ts +17 -0
- package/proto/analyzer_grpc_pb.js +15 -0
- package/proto/provider_pb.d.ts +53 -0
- package/proto/provider_pb.js +475 -1
- package/proto/resource_pb.d.ts +6 -0
- package/proto/resource_pb.js +83 -23
- package/provider/server.js +29 -0
- package/provider/server.js.map +1 -1
- package/resource.d.ts +132 -0
- package/resource.js +44 -0
- package/resource.js.map +1 -1
- package/runtime/callbacks.d.ts +3 -1
- package/runtime/callbacks.js +52 -0
- package/runtime/callbacks.js.map +1 -1
- package/runtime/mocks.js +1 -0
- package/runtime/mocks.js.map +1 -1
- package/runtime/resource.d.ts +2 -1
- package/runtime/resource.js +47 -0
- package/runtime/resource.js.map +1 -1
- package/runtime/settings.js +4 -2
- package/runtime/settings.js.map +1 -1
- package/runtime/state.js +1 -0
- package/runtime/state.js.map +1 -1
- package/version.js +1 -1
package/proto/provider_pb.js
CHANGED
|
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.pulumirpc.ConfigureResponse', null, global);
|
|
|
37
37
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest', null, global);
|
|
38
38
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest.CustomTimeouts', null, global);
|
|
39
39
|
goog.exportSymbol('proto.pulumirpc.ConstructRequest.PropertyDependencies', null, global);
|
|
40
|
+
goog.exportSymbol('proto.pulumirpc.ConstructRequest.ResourceHooksBinding', null, global);
|
|
40
41
|
goog.exportSymbol('proto.pulumirpc.ConstructResponse', null, global);
|
|
41
42
|
goog.exportSymbol('proto.pulumirpc.ConstructResponse.PropertyDependencies', null, global);
|
|
42
43
|
goog.exportSymbol('proto.pulumirpc.CreateRequest', null, global);
|
|
@@ -803,6 +804,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
803
804
|
*/
|
|
804
805
|
proto.pulumirpc.ConstructRequest.CustomTimeouts.displayName = 'proto.pulumirpc.ConstructRequest.CustomTimeouts';
|
|
805
806
|
}
|
|
807
|
+
/**
|
|
808
|
+
* Generated by JsPbCodeGenerator.
|
|
809
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
810
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
811
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
812
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
813
|
+
* valid.
|
|
814
|
+
* @extends {jspb.Message}
|
|
815
|
+
* @constructor
|
|
816
|
+
*/
|
|
817
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding = function(opt_data) {
|
|
818
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ConstructRequest.ResourceHooksBinding.repeatedFields_, null);
|
|
819
|
+
};
|
|
820
|
+
goog.inherits(proto.pulumirpc.ConstructRequest.ResourceHooksBinding, jspb.Message);
|
|
821
|
+
if (goog.DEBUG && !COMPILED) {
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
* @override
|
|
825
|
+
*/
|
|
826
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.displayName = 'proto.pulumirpc.ConstructRequest.ResourceHooksBinding';
|
|
827
|
+
}
|
|
806
828
|
/**
|
|
807
829
|
* Generated by JsPbCodeGenerator.
|
|
808
830
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9630,7 +9652,8 @@ proto.pulumirpc.ConstructRequest.toObject = function(includeInstance, msg) {
|
|
|
9630
9652
|
ignorechangesList: (f = jspb.Message.getRepeatedField(msg, 22)) == null ? undefined : f,
|
|
9631
9653
|
replaceonchangesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
9632
9654
|
retainondelete: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
9633
|
-
acceptsOutputValues: jspb.Message.getBooleanFieldWithDefault(msg, 25, false)
|
|
9655
|
+
acceptsOutputValues: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
9656
|
+
resourceHooks: (f = msg.getResourceHooks()) && proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject(includeInstance, f)
|
|
9634
9657
|
};
|
|
9635
9658
|
|
|
9636
9659
|
if (includeInstance) {
|
|
@@ -9775,6 +9798,11 @@ proto.pulumirpc.ConstructRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
9775
9798
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9776
9799
|
msg.setAcceptsOutputValues(value);
|
|
9777
9800
|
break;
|
|
9801
|
+
case 26:
|
|
9802
|
+
var value = new proto.pulumirpc.ConstructRequest.ResourceHooksBinding;
|
|
9803
|
+
reader.readMessage(value,proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader);
|
|
9804
|
+
msg.setResourceHooks(value);
|
|
9805
|
+
break;
|
|
9778
9806
|
default:
|
|
9779
9807
|
reader.skipField();
|
|
9780
9808
|
break;
|
|
@@ -9972,6 +10000,14 @@ proto.pulumirpc.ConstructRequest.serializeBinaryToWriter = function(message, wri
|
|
|
9972
10000
|
f
|
|
9973
10001
|
);
|
|
9974
10002
|
}
|
|
10003
|
+
f = message.getResourceHooks();
|
|
10004
|
+
if (f != null) {
|
|
10005
|
+
writer.writeMessage(
|
|
10006
|
+
26,
|
|
10007
|
+
f,
|
|
10008
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter
|
|
10009
|
+
);
|
|
10010
|
+
}
|
|
9975
10011
|
};
|
|
9976
10012
|
|
|
9977
10013
|
|
|
@@ -10321,6 +10357,407 @@ proto.pulumirpc.ConstructRequest.CustomTimeouts.prototype.setDelete = function(v
|
|
|
10321
10357
|
};
|
|
10322
10358
|
|
|
10323
10359
|
|
|
10360
|
+
|
|
10361
|
+
/**
|
|
10362
|
+
* List of repeated fields within this message type.
|
|
10363
|
+
* @private {!Array<number>}
|
|
10364
|
+
* @const
|
|
10365
|
+
*/
|
|
10366
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.repeatedFields_ = [1,2,3,4,5,6];
|
|
10367
|
+
|
|
10368
|
+
|
|
10369
|
+
|
|
10370
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10371
|
+
/**
|
|
10372
|
+
* Creates an object representation of this proto.
|
|
10373
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10374
|
+
* Optional fields that are not set will be set to undefined.
|
|
10375
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10376
|
+
* For the list of reserved names please see:
|
|
10377
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10378
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10379
|
+
* JSPB instance for transitional soy proto support:
|
|
10380
|
+
* http://goto/soy-param-migration
|
|
10381
|
+
* @return {!Object}
|
|
10382
|
+
*/
|
|
10383
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.toObject = function(opt_includeInstance) {
|
|
10384
|
+
return proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject(opt_includeInstance, this);
|
|
10385
|
+
};
|
|
10386
|
+
|
|
10387
|
+
|
|
10388
|
+
/**
|
|
10389
|
+
* Static version of the {@see toObject} method.
|
|
10390
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10391
|
+
* the JSPB instance for transitional soy proto support:
|
|
10392
|
+
* http://goto/soy-param-migration
|
|
10393
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} msg The msg instance to transform.
|
|
10394
|
+
* @return {!Object}
|
|
10395
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10396
|
+
*/
|
|
10397
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.toObject = function(includeInstance, msg) {
|
|
10398
|
+
var f, obj = {
|
|
10399
|
+
beforeCreateList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10400
|
+
afterCreateList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
10401
|
+
beforeUpdateList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
10402
|
+
afterUpdateList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
10403
|
+
beforeDeleteList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
10404
|
+
afterDeleteList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
10405
|
+
};
|
|
10406
|
+
|
|
10407
|
+
if (includeInstance) {
|
|
10408
|
+
obj.$jspbMessageInstance = msg;
|
|
10409
|
+
}
|
|
10410
|
+
return obj;
|
|
10411
|
+
};
|
|
10412
|
+
}
|
|
10413
|
+
|
|
10414
|
+
|
|
10415
|
+
/**
|
|
10416
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10417
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10418
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
10419
|
+
*/
|
|
10420
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinary = function(bytes) {
|
|
10421
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10422
|
+
var msg = new proto.pulumirpc.ConstructRequest.ResourceHooksBinding;
|
|
10423
|
+
return proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader(msg, reader);
|
|
10424
|
+
};
|
|
10425
|
+
|
|
10426
|
+
|
|
10427
|
+
/**
|
|
10428
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10429
|
+
* given reader into the given message object.
|
|
10430
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} msg The message object to deserialize into.
|
|
10431
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10432
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
10433
|
+
*/
|
|
10434
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.deserializeBinaryFromReader = function(msg, reader) {
|
|
10435
|
+
while (reader.nextField()) {
|
|
10436
|
+
if (reader.isEndGroup()) {
|
|
10437
|
+
break;
|
|
10438
|
+
}
|
|
10439
|
+
var field = reader.getFieldNumber();
|
|
10440
|
+
switch (field) {
|
|
10441
|
+
case 1:
|
|
10442
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10443
|
+
msg.addBeforeCreate(value);
|
|
10444
|
+
break;
|
|
10445
|
+
case 2:
|
|
10446
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10447
|
+
msg.addAfterCreate(value);
|
|
10448
|
+
break;
|
|
10449
|
+
case 3:
|
|
10450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10451
|
+
msg.addBeforeUpdate(value);
|
|
10452
|
+
break;
|
|
10453
|
+
case 4:
|
|
10454
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10455
|
+
msg.addAfterUpdate(value);
|
|
10456
|
+
break;
|
|
10457
|
+
case 5:
|
|
10458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10459
|
+
msg.addBeforeDelete(value);
|
|
10460
|
+
break;
|
|
10461
|
+
case 6:
|
|
10462
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10463
|
+
msg.addAfterDelete(value);
|
|
10464
|
+
break;
|
|
10465
|
+
default:
|
|
10466
|
+
reader.skipField();
|
|
10467
|
+
break;
|
|
10468
|
+
}
|
|
10469
|
+
}
|
|
10470
|
+
return msg;
|
|
10471
|
+
};
|
|
10472
|
+
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10476
|
+
* @return {!Uint8Array}
|
|
10477
|
+
*/
|
|
10478
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.serializeBinary = function() {
|
|
10479
|
+
var writer = new jspb.BinaryWriter();
|
|
10480
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter(this, writer);
|
|
10481
|
+
return writer.getResultBuffer();
|
|
10482
|
+
};
|
|
10483
|
+
|
|
10484
|
+
|
|
10485
|
+
/**
|
|
10486
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10487
|
+
* format), writing to the given BinaryWriter.
|
|
10488
|
+
* @param {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} message
|
|
10489
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10490
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10491
|
+
*/
|
|
10492
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.serializeBinaryToWriter = function(message, writer) {
|
|
10493
|
+
var f = undefined;
|
|
10494
|
+
f = message.getBeforeCreateList();
|
|
10495
|
+
if (f.length > 0) {
|
|
10496
|
+
writer.writeRepeatedString(
|
|
10497
|
+
1,
|
|
10498
|
+
f
|
|
10499
|
+
);
|
|
10500
|
+
}
|
|
10501
|
+
f = message.getAfterCreateList();
|
|
10502
|
+
if (f.length > 0) {
|
|
10503
|
+
writer.writeRepeatedString(
|
|
10504
|
+
2,
|
|
10505
|
+
f
|
|
10506
|
+
);
|
|
10507
|
+
}
|
|
10508
|
+
f = message.getBeforeUpdateList();
|
|
10509
|
+
if (f.length > 0) {
|
|
10510
|
+
writer.writeRepeatedString(
|
|
10511
|
+
3,
|
|
10512
|
+
f
|
|
10513
|
+
);
|
|
10514
|
+
}
|
|
10515
|
+
f = message.getAfterUpdateList();
|
|
10516
|
+
if (f.length > 0) {
|
|
10517
|
+
writer.writeRepeatedString(
|
|
10518
|
+
4,
|
|
10519
|
+
f
|
|
10520
|
+
);
|
|
10521
|
+
}
|
|
10522
|
+
f = message.getBeforeDeleteList();
|
|
10523
|
+
if (f.length > 0) {
|
|
10524
|
+
writer.writeRepeatedString(
|
|
10525
|
+
5,
|
|
10526
|
+
f
|
|
10527
|
+
);
|
|
10528
|
+
}
|
|
10529
|
+
f = message.getAfterDeleteList();
|
|
10530
|
+
if (f.length > 0) {
|
|
10531
|
+
writer.writeRepeatedString(
|
|
10532
|
+
6,
|
|
10533
|
+
f
|
|
10534
|
+
);
|
|
10535
|
+
}
|
|
10536
|
+
};
|
|
10537
|
+
|
|
10538
|
+
|
|
10539
|
+
/**
|
|
10540
|
+
* repeated string before_create = 1;
|
|
10541
|
+
* @return {!Array<string>}
|
|
10542
|
+
*/
|
|
10543
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeCreateList = function() {
|
|
10544
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10545
|
+
};
|
|
10546
|
+
|
|
10547
|
+
|
|
10548
|
+
/**
|
|
10549
|
+
* @param {!Array<string>} value
|
|
10550
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10551
|
+
*/
|
|
10552
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeCreateList = function(value) {
|
|
10553
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
10554
|
+
};
|
|
10555
|
+
|
|
10556
|
+
|
|
10557
|
+
/**
|
|
10558
|
+
* @param {string} value
|
|
10559
|
+
* @param {number=} opt_index
|
|
10560
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10561
|
+
*/
|
|
10562
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeCreate = function(value, opt_index) {
|
|
10563
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10564
|
+
};
|
|
10565
|
+
|
|
10566
|
+
|
|
10567
|
+
/**
|
|
10568
|
+
* Clears the list making it empty but non-null.
|
|
10569
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10570
|
+
*/
|
|
10571
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeCreateList = function() {
|
|
10572
|
+
return this.setBeforeCreateList([]);
|
|
10573
|
+
};
|
|
10574
|
+
|
|
10575
|
+
|
|
10576
|
+
/**
|
|
10577
|
+
* repeated string after_create = 2;
|
|
10578
|
+
* @return {!Array<string>}
|
|
10579
|
+
*/
|
|
10580
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterCreateList = function() {
|
|
10581
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
10582
|
+
};
|
|
10583
|
+
|
|
10584
|
+
|
|
10585
|
+
/**
|
|
10586
|
+
* @param {!Array<string>} value
|
|
10587
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10588
|
+
*/
|
|
10589
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterCreateList = function(value) {
|
|
10590
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
10591
|
+
};
|
|
10592
|
+
|
|
10593
|
+
|
|
10594
|
+
/**
|
|
10595
|
+
* @param {string} value
|
|
10596
|
+
* @param {number=} opt_index
|
|
10597
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10598
|
+
*/
|
|
10599
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterCreate = function(value, opt_index) {
|
|
10600
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
10601
|
+
};
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
/**
|
|
10605
|
+
* Clears the list making it empty but non-null.
|
|
10606
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10607
|
+
*/
|
|
10608
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterCreateList = function() {
|
|
10609
|
+
return this.setAfterCreateList([]);
|
|
10610
|
+
};
|
|
10611
|
+
|
|
10612
|
+
|
|
10613
|
+
/**
|
|
10614
|
+
* repeated string before_update = 3;
|
|
10615
|
+
* @return {!Array<string>}
|
|
10616
|
+
*/
|
|
10617
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeUpdateList = function() {
|
|
10618
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
10619
|
+
};
|
|
10620
|
+
|
|
10621
|
+
|
|
10622
|
+
/**
|
|
10623
|
+
* @param {!Array<string>} value
|
|
10624
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10625
|
+
*/
|
|
10626
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeUpdateList = function(value) {
|
|
10627
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
10628
|
+
};
|
|
10629
|
+
|
|
10630
|
+
|
|
10631
|
+
/**
|
|
10632
|
+
* @param {string} value
|
|
10633
|
+
* @param {number=} opt_index
|
|
10634
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10635
|
+
*/
|
|
10636
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeUpdate = function(value, opt_index) {
|
|
10637
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
10638
|
+
};
|
|
10639
|
+
|
|
10640
|
+
|
|
10641
|
+
/**
|
|
10642
|
+
* Clears the list making it empty but non-null.
|
|
10643
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10644
|
+
*/
|
|
10645
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeUpdateList = function() {
|
|
10646
|
+
return this.setBeforeUpdateList([]);
|
|
10647
|
+
};
|
|
10648
|
+
|
|
10649
|
+
|
|
10650
|
+
/**
|
|
10651
|
+
* repeated string after_update = 4;
|
|
10652
|
+
* @return {!Array<string>}
|
|
10653
|
+
*/
|
|
10654
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterUpdateList = function() {
|
|
10655
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
10656
|
+
};
|
|
10657
|
+
|
|
10658
|
+
|
|
10659
|
+
/**
|
|
10660
|
+
* @param {!Array<string>} value
|
|
10661
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10662
|
+
*/
|
|
10663
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterUpdateList = function(value) {
|
|
10664
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
10665
|
+
};
|
|
10666
|
+
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* @param {string} value
|
|
10670
|
+
* @param {number=} opt_index
|
|
10671
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10672
|
+
*/
|
|
10673
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterUpdate = function(value, opt_index) {
|
|
10674
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
10675
|
+
};
|
|
10676
|
+
|
|
10677
|
+
|
|
10678
|
+
/**
|
|
10679
|
+
* Clears the list making it empty but non-null.
|
|
10680
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10681
|
+
*/
|
|
10682
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterUpdateList = function() {
|
|
10683
|
+
return this.setAfterUpdateList([]);
|
|
10684
|
+
};
|
|
10685
|
+
|
|
10686
|
+
|
|
10687
|
+
/**
|
|
10688
|
+
* repeated string before_delete = 5;
|
|
10689
|
+
* @return {!Array<string>}
|
|
10690
|
+
*/
|
|
10691
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getBeforeDeleteList = function() {
|
|
10692
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
10693
|
+
};
|
|
10694
|
+
|
|
10695
|
+
|
|
10696
|
+
/**
|
|
10697
|
+
* @param {!Array<string>} value
|
|
10698
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10699
|
+
*/
|
|
10700
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setBeforeDeleteList = function(value) {
|
|
10701
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
10702
|
+
};
|
|
10703
|
+
|
|
10704
|
+
|
|
10705
|
+
/**
|
|
10706
|
+
* @param {string} value
|
|
10707
|
+
* @param {number=} opt_index
|
|
10708
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10709
|
+
*/
|
|
10710
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addBeforeDelete = function(value, opt_index) {
|
|
10711
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
10712
|
+
};
|
|
10713
|
+
|
|
10714
|
+
|
|
10715
|
+
/**
|
|
10716
|
+
* Clears the list making it empty but non-null.
|
|
10717
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10718
|
+
*/
|
|
10719
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearBeforeDeleteList = function() {
|
|
10720
|
+
return this.setBeforeDeleteList([]);
|
|
10721
|
+
};
|
|
10722
|
+
|
|
10723
|
+
|
|
10724
|
+
/**
|
|
10725
|
+
* repeated string after_delete = 6;
|
|
10726
|
+
* @return {!Array<string>}
|
|
10727
|
+
*/
|
|
10728
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.getAfterDeleteList = function() {
|
|
10729
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
10730
|
+
};
|
|
10731
|
+
|
|
10732
|
+
|
|
10733
|
+
/**
|
|
10734
|
+
* @param {!Array<string>} value
|
|
10735
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10736
|
+
*/
|
|
10737
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.setAfterDeleteList = function(value) {
|
|
10738
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
|
|
10742
|
+
/**
|
|
10743
|
+
* @param {string} value
|
|
10744
|
+
* @param {number=} opt_index
|
|
10745
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10746
|
+
*/
|
|
10747
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.addAfterDelete = function(value, opt_index) {
|
|
10748
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
10749
|
+
};
|
|
10750
|
+
|
|
10751
|
+
|
|
10752
|
+
/**
|
|
10753
|
+
* Clears the list making it empty but non-null.
|
|
10754
|
+
* @return {!proto.pulumirpc.ConstructRequest.ResourceHooksBinding} returns this
|
|
10755
|
+
*/
|
|
10756
|
+
proto.pulumirpc.ConstructRequest.ResourceHooksBinding.prototype.clearAfterDeleteList = function() {
|
|
10757
|
+
return this.setAfterDeleteList([]);
|
|
10758
|
+
};
|
|
10759
|
+
|
|
10760
|
+
|
|
10324
10761
|
/**
|
|
10325
10762
|
* optional string project = 1;
|
|
10326
10763
|
* @return {string}
|
|
@@ -10989,6 +11426,43 @@ proto.pulumirpc.ConstructRequest.prototype.setAcceptsOutputValues = function(val
|
|
|
10989
11426
|
};
|
|
10990
11427
|
|
|
10991
11428
|
|
|
11429
|
+
/**
|
|
11430
|
+
* optional ResourceHooksBinding resource_hooks = 26;
|
|
11431
|
+
* @return {?proto.pulumirpc.ConstructRequest.ResourceHooksBinding}
|
|
11432
|
+
*/
|
|
11433
|
+
proto.pulumirpc.ConstructRequest.prototype.getResourceHooks = function() {
|
|
11434
|
+
return /** @type{?proto.pulumirpc.ConstructRequest.ResourceHooksBinding} */ (
|
|
11435
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ConstructRequest.ResourceHooksBinding, 26));
|
|
11436
|
+
};
|
|
11437
|
+
|
|
11438
|
+
|
|
11439
|
+
/**
|
|
11440
|
+
* @param {?proto.pulumirpc.ConstructRequest.ResourceHooksBinding|undefined} value
|
|
11441
|
+
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
|
11442
|
+
*/
|
|
11443
|
+
proto.pulumirpc.ConstructRequest.prototype.setResourceHooks = function(value) {
|
|
11444
|
+
return jspb.Message.setWrapperField(this, 26, value);
|
|
11445
|
+
};
|
|
11446
|
+
|
|
11447
|
+
|
|
11448
|
+
/**
|
|
11449
|
+
* Clears the message field making it undefined.
|
|
11450
|
+
* @return {!proto.pulumirpc.ConstructRequest} returns this
|
|
11451
|
+
*/
|
|
11452
|
+
proto.pulumirpc.ConstructRequest.prototype.clearResourceHooks = function() {
|
|
11453
|
+
return this.setResourceHooks(undefined);
|
|
11454
|
+
};
|
|
11455
|
+
|
|
11456
|
+
|
|
11457
|
+
/**
|
|
11458
|
+
* Returns whether this field is set.
|
|
11459
|
+
* @return {boolean}
|
|
11460
|
+
*/
|
|
11461
|
+
proto.pulumirpc.ConstructRequest.prototype.hasResourceHooks = function() {
|
|
11462
|
+
return jspb.Message.getField(this, 26) != null;
|
|
11463
|
+
};
|
|
11464
|
+
|
|
11465
|
+
|
|
10992
11466
|
|
|
10993
11467
|
|
|
10994
11468
|
|
package/proto/resource_pb.d.ts
CHANGED
|
@@ -886,6 +886,10 @@ export class ResourceHookRequest extends jspb.Message {
|
|
|
886
886
|
setUrn(value: string): ResourceHookRequest;
|
|
887
887
|
getId(): string;
|
|
888
888
|
setId(value: string): ResourceHookRequest;
|
|
889
|
+
getName(): string;
|
|
890
|
+
setName(value: string): ResourceHookRequest;
|
|
891
|
+
getType(): string;
|
|
892
|
+
setType(value: string): ResourceHookRequest;
|
|
889
893
|
|
|
890
894
|
hasNewInputs(): boolean;
|
|
891
895
|
clearNewInputs(): void;
|
|
@@ -921,6 +925,8 @@ export namespace ResourceHookRequest {
|
|
|
921
925
|
export type AsObject = {
|
|
922
926
|
urn: string,
|
|
923
927
|
id: string,
|
|
928
|
+
name: string,
|
|
929
|
+
type: string,
|
|
924
930
|
newInputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
925
931
|
oldInputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
926
932
|
newOutputs?: google_protobuf_struct_pb.Struct.AsObject,
|