@pulumi/pulumi 3.259.0 → 3.260.0-alpha.xd0df70f
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 +1 -1
- package/proto/resource_pb.d.ts +58 -0
- package/proto/resource_pb.js +473 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
package/proto/resource_pb.d.ts
CHANGED
|
@@ -342,6 +342,10 @@ export class RegisterResourceRequest extends jspb.Message {
|
|
|
342
342
|
setSnippetid(value: string): RegisterResourceRequest;
|
|
343
343
|
getAcceptsByteString(): boolean;
|
|
344
344
|
setAcceptsByteString(value: boolean): RegisterResourceRequest;
|
|
345
|
+
clearStateMigrationsList(): void;
|
|
346
|
+
getStateMigrationsList(): Array<pulumi_callback_pb.Callback>;
|
|
347
|
+
setStateMigrationsList(value: Array<pulumi_callback_pb.Callback>): RegisterResourceRequest;
|
|
348
|
+
addStateMigrations(value?: pulumi_callback_pb.Callback, index?: number): pulumi_callback_pb.Callback;
|
|
345
349
|
|
|
346
350
|
serializeBinary(): Uint8Array;
|
|
347
351
|
toObject(includeInstance?: boolean): RegisterResourceRequest.AsObject;
|
|
@@ -401,6 +405,7 @@ export namespace RegisterResourceRequest {
|
|
|
401
405
|
envvarmappingsMap: Array<[string, string]>,
|
|
402
406
|
snippetid: string,
|
|
403
407
|
acceptsByteString: boolean,
|
|
408
|
+
stateMigrationsList: Array<pulumi_callback_pb.Callback.AsObject>,
|
|
404
409
|
}
|
|
405
410
|
|
|
406
411
|
|
|
@@ -1191,6 +1196,58 @@ export namespace TransformInvokeOptions {
|
|
|
1191
1196
|
}
|
|
1192
1197
|
}
|
|
1193
1198
|
|
|
1199
|
+
export class StateMigrationRequest extends jspb.Message {
|
|
1200
|
+
getUrn(): string;
|
|
1201
|
+
setUrn(value: string): StateMigrationRequest;
|
|
1202
|
+
getOldState(): Uint8Array | string;
|
|
1203
|
+
getOldState_asU8(): Uint8Array;
|
|
1204
|
+
getOldState_asB64(): string;
|
|
1205
|
+
setOldState(value: Uint8Array | string): StateMigrationRequest;
|
|
1206
|
+
|
|
1207
|
+
serializeBinary(): Uint8Array;
|
|
1208
|
+
toObject(includeInstance?: boolean): StateMigrationRequest.AsObject;
|
|
1209
|
+
static toObject(includeInstance: boolean, msg: StateMigrationRequest): StateMigrationRequest.AsObject;
|
|
1210
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1211
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1212
|
+
static serializeBinaryToWriter(message: StateMigrationRequest, writer: jspb.BinaryWriter): void;
|
|
1213
|
+
static deserializeBinary(bytes: Uint8Array): StateMigrationRequest;
|
|
1214
|
+
static deserializeBinaryFromReader(message: StateMigrationRequest, reader: jspb.BinaryReader): StateMigrationRequest;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
export namespace StateMigrationRequest {
|
|
1218
|
+
export type AsObject = {
|
|
1219
|
+
urn: string,
|
|
1220
|
+
oldState: Uint8Array | string,
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export class StateMigrationResponse extends jspb.Message {
|
|
1225
|
+
getNewState(): Uint8Array | string;
|
|
1226
|
+
getNewState_asU8(): Uint8Array;
|
|
1227
|
+
getNewState_asB64(): string;
|
|
1228
|
+
setNewState(value: Uint8Array | string): StateMigrationResponse;
|
|
1229
|
+
|
|
1230
|
+
getSuccessorsMap(): jspb.Map<string, string>;
|
|
1231
|
+
clearSuccessorsMap(): void;
|
|
1232
|
+
|
|
1233
|
+
serializeBinary(): Uint8Array;
|
|
1234
|
+
toObject(includeInstance?: boolean): StateMigrationResponse.AsObject;
|
|
1235
|
+
static toObject(includeInstance: boolean, msg: StateMigrationResponse): StateMigrationResponse.AsObject;
|
|
1236
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1237
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1238
|
+
static serializeBinaryToWriter(message: StateMigrationResponse, writer: jspb.BinaryWriter): void;
|
|
1239
|
+
static deserializeBinary(bytes: Uint8Array): StateMigrationResponse;
|
|
1240
|
+
static deserializeBinaryFromReader(message: StateMigrationResponse, reader: jspb.BinaryReader): StateMigrationResponse;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export namespace StateMigrationResponse {
|
|
1244
|
+
export type AsObject = {
|
|
1245
|
+
newState: Uint8Array | string,
|
|
1246
|
+
|
|
1247
|
+
successorsMap: Array<[string, string]>,
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1194
1251
|
export class ResourceHookRequest extends jspb.Message {
|
|
1195
1252
|
getUrn(): string;
|
|
1196
1253
|
setUrn(value: string): ResourceHookRequest;
|
|
@@ -1532,6 +1589,7 @@ export enum ResourceMonitorFeature {
|
|
|
1532
1589
|
RESOURCE_MONITOR_FEATURE_BYTE_STRING = 13,
|
|
1533
1590
|
RESOURCE_MONITOR_FEATURE_INVOKE_DEPENDS_ON = 14,
|
|
1534
1591
|
RESOURCE_MONITOR_FEATURE_INVOKE_PARENT = 15,
|
|
1592
|
+
RESOURCE_MONITOR_FEATURE_STATE_MIGRATIONS = 16,
|
|
1535
1593
|
}
|
|
1536
1594
|
|
|
1537
1595
|
export enum Result {
|
package/proto/resource_pb.js
CHANGED
|
@@ -53,6 +53,8 @@ goog.exportSymbol('proto.pulumirpc.ResourceInvokeResponse', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.pulumirpc.ResourceMonitorFeature', null, global);
|
|
54
54
|
goog.exportSymbol('proto.pulumirpc.ResourceOptions', null, global);
|
|
55
55
|
goog.exportSymbol('proto.pulumirpc.Result', null, global);
|
|
56
|
+
goog.exportSymbol('proto.pulumirpc.StateMigrationRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.pulumirpc.StateMigrationResponse', null, global);
|
|
56
58
|
goog.exportSymbol('proto.pulumirpc.SupportsFeatureRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.pulumirpc.SupportsFeatureResponse', null, global);
|
|
58
60
|
goog.exportSymbol('proto.pulumirpc.TransformInvokeOptions', null, global);
|
|
@@ -544,6 +546,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
544
546
|
*/
|
|
545
547
|
proto.pulumirpc.TransformInvokeOptions.displayName = 'proto.pulumirpc.TransformInvokeOptions';
|
|
546
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* Generated by JsPbCodeGenerator.
|
|
551
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
552
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
553
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
554
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
555
|
+
* valid.
|
|
556
|
+
* @extends {jspb.Message}
|
|
557
|
+
* @constructor
|
|
558
|
+
*/
|
|
559
|
+
proto.pulumirpc.StateMigrationRequest = function(opt_data) {
|
|
560
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
561
|
+
};
|
|
562
|
+
goog.inherits(proto.pulumirpc.StateMigrationRequest, jspb.Message);
|
|
563
|
+
if (goog.DEBUG && !COMPILED) {
|
|
564
|
+
/**
|
|
565
|
+
* @public
|
|
566
|
+
* @override
|
|
567
|
+
*/
|
|
568
|
+
proto.pulumirpc.StateMigrationRequest.displayName = 'proto.pulumirpc.StateMigrationRequest';
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Generated by JsPbCodeGenerator.
|
|
572
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
573
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
574
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
575
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
576
|
+
* valid.
|
|
577
|
+
* @extends {jspb.Message}
|
|
578
|
+
* @constructor
|
|
579
|
+
*/
|
|
580
|
+
proto.pulumirpc.StateMigrationResponse = function(opt_data) {
|
|
581
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
582
|
+
};
|
|
583
|
+
goog.inherits(proto.pulumirpc.StateMigrationResponse, jspb.Message);
|
|
584
|
+
if (goog.DEBUG && !COMPILED) {
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* @override
|
|
588
|
+
*/
|
|
589
|
+
proto.pulumirpc.StateMigrationResponse.displayName = 'proto.pulumirpc.StateMigrationResponse';
|
|
590
|
+
}
|
|
547
591
|
/**
|
|
548
592
|
* Generated by JsPbCodeGenerator.
|
|
549
593
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2323,7 +2367,7 @@ proto.pulumirpc.ReadResourceResponse.prototype.hasProperties = function() {
|
|
|
2323
2367
|
* @private {!Array<number>}
|
|
2324
2368
|
* @const
|
|
2325
2369
|
*/
|
|
2326
|
-
proto.pulumirpc.RegisterResourceRequest.repeatedFields_ = [7,12,14,15,23,26,38,31,37];
|
|
2370
|
+
proto.pulumirpc.RegisterResourceRequest.repeatedFields_ = [7,12,14,15,23,26,38,31,37,43];
|
|
2327
2371
|
|
|
2328
2372
|
|
|
2329
2373
|
|
|
@@ -2399,7 +2443,9 @@ hooks: (f = msg.getHooks()) && proto.pulumirpc.RegisterResourceRequest.ResourceH
|
|
|
2399
2443
|
hidediffsList: (f = jspb.Message.getRepeatedField(msg, 37)) == null ? undefined : f,
|
|
2400
2444
|
envvarmappingsMap: (f = msg.getEnvvarmappingsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2401
2445
|
snippetid: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
2402
|
-
acceptsByteString: jspb.Message.getBooleanFieldWithDefault(msg, 42, false)
|
|
2446
|
+
acceptsByteString: jspb.Message.getBooleanFieldWithDefault(msg, 42, false),
|
|
2447
|
+
stateMigrationsList: jspb.Message.toObjectList(msg.getStateMigrationsList(),
|
|
2448
|
+
pulumi_callback_pb.Callback.toObject, includeInstance)
|
|
2403
2449
|
};
|
|
2404
2450
|
|
|
2405
2451
|
if (includeInstance) {
|
|
@@ -2620,6 +2666,11 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
|
|
|
2620
2666
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2621
2667
|
msg.setAcceptsByteString(value);
|
|
2622
2668
|
break;
|
|
2669
|
+
case 43:
|
|
2670
|
+
var value = new pulumi_callback_pb.Callback;
|
|
2671
|
+
reader.readMessage(value,pulumi_callback_pb.Callback.deserializeBinaryFromReader);
|
|
2672
|
+
msg.addStateMigrations(value);
|
|
2673
|
+
break;
|
|
2623
2674
|
default:
|
|
2624
2675
|
reader.skipField();
|
|
2625
2676
|
break;
|
|
@@ -2939,6 +2990,14 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
|
|
|
2939
2990
|
f
|
|
2940
2991
|
);
|
|
2941
2992
|
}
|
|
2993
|
+
f = message.getStateMigrationsList();
|
|
2994
|
+
if (f.length > 0) {
|
|
2995
|
+
writer.writeRepeatedMessage(
|
|
2996
|
+
43,
|
|
2997
|
+
f,
|
|
2998
|
+
pulumi_callback_pb.Callback.serializeBinaryToWriter
|
|
2999
|
+
);
|
|
3000
|
+
}
|
|
2942
3001
|
};
|
|
2943
3002
|
|
|
2944
3003
|
|
|
@@ -4867,6 +4926,44 @@ proto.pulumirpc.RegisterResourceRequest.prototype.setAcceptsByteString = functio
|
|
|
4867
4926
|
};
|
|
4868
4927
|
|
|
4869
4928
|
|
|
4929
|
+
/**
|
|
4930
|
+
* repeated Callback state_migrations = 43;
|
|
4931
|
+
* @return {!Array<!proto.pulumirpc.Callback>}
|
|
4932
|
+
*/
|
|
4933
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getStateMigrationsList = function() {
|
|
4934
|
+
return /** @type{!Array<!proto.pulumirpc.Callback>} */ (
|
|
4935
|
+
jspb.Message.getRepeatedWrapperField(this, pulumi_callback_pb.Callback, 43));
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4938
|
+
|
|
4939
|
+
/**
|
|
4940
|
+
* @param {!Array<!proto.pulumirpc.Callback>} value
|
|
4941
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
4942
|
+
*/
|
|
4943
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setStateMigrationsList = function(value) {
|
|
4944
|
+
return jspb.Message.setRepeatedWrapperField(this, 43, value);
|
|
4945
|
+
};
|
|
4946
|
+
|
|
4947
|
+
|
|
4948
|
+
/**
|
|
4949
|
+
* @param {!proto.pulumirpc.Callback=} opt_value
|
|
4950
|
+
* @param {number=} opt_index
|
|
4951
|
+
* @return {!proto.pulumirpc.Callback}
|
|
4952
|
+
*/
|
|
4953
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.addStateMigrations = function(opt_value, opt_index) {
|
|
4954
|
+
return jspb.Message.addToRepeatedWrapperField(this, 43, opt_value, proto.pulumirpc.Callback, opt_index);
|
|
4955
|
+
};
|
|
4956
|
+
|
|
4957
|
+
|
|
4958
|
+
/**
|
|
4959
|
+
* Clears the list making it empty but non-null.
|
|
4960
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
4961
|
+
*/
|
|
4962
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.clearStateMigrationsList = function() {
|
|
4963
|
+
return this.setStateMigrationsList([]);
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4966
|
+
|
|
4870
4967
|
|
|
4871
4968
|
/**
|
|
4872
4969
|
* List of repeated fields within this message type.
|
|
@@ -10289,6 +10386,378 @@ proto.pulumirpc.TransformInvokeOptions.prototype.clearPluginChecksumsMap = funct
|
|
|
10289
10386
|
|
|
10290
10387
|
|
|
10291
10388
|
|
|
10389
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10390
|
+
/**
|
|
10391
|
+
* Creates an object representation of this proto.
|
|
10392
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10393
|
+
* Optional fields that are not set will be set to undefined.
|
|
10394
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10395
|
+
* For the list of reserved names please see:
|
|
10396
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10397
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10398
|
+
* JSPB instance for transitional soy proto support:
|
|
10399
|
+
* http://goto/soy-param-migration
|
|
10400
|
+
* @return {!Object}
|
|
10401
|
+
*/
|
|
10402
|
+
proto.pulumirpc.StateMigrationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10403
|
+
return proto.pulumirpc.StateMigrationRequest.toObject(opt_includeInstance, this);
|
|
10404
|
+
};
|
|
10405
|
+
|
|
10406
|
+
|
|
10407
|
+
/**
|
|
10408
|
+
* Static version of the {@see toObject} method.
|
|
10409
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10410
|
+
* the JSPB instance for transitional soy proto support:
|
|
10411
|
+
* http://goto/soy-param-migration
|
|
10412
|
+
* @param {!proto.pulumirpc.StateMigrationRequest} msg The msg instance to transform.
|
|
10413
|
+
* @return {!Object}
|
|
10414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10415
|
+
*/
|
|
10416
|
+
proto.pulumirpc.StateMigrationRequest.toObject = function(includeInstance, msg) {
|
|
10417
|
+
var f, obj = {
|
|
10418
|
+
urn: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10419
|
+
oldState: msg.getOldState_asB64()
|
|
10420
|
+
};
|
|
10421
|
+
|
|
10422
|
+
if (includeInstance) {
|
|
10423
|
+
obj.$jspbMessageInstance = msg;
|
|
10424
|
+
}
|
|
10425
|
+
return obj;
|
|
10426
|
+
};
|
|
10427
|
+
}
|
|
10428
|
+
|
|
10429
|
+
|
|
10430
|
+
/**
|
|
10431
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10432
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10433
|
+
* @return {!proto.pulumirpc.StateMigrationRequest}
|
|
10434
|
+
*/
|
|
10435
|
+
proto.pulumirpc.StateMigrationRequest.deserializeBinary = function(bytes) {
|
|
10436
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10437
|
+
var msg = new proto.pulumirpc.StateMigrationRequest;
|
|
10438
|
+
return proto.pulumirpc.StateMigrationRequest.deserializeBinaryFromReader(msg, reader);
|
|
10439
|
+
};
|
|
10440
|
+
|
|
10441
|
+
|
|
10442
|
+
/**
|
|
10443
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10444
|
+
* given reader into the given message object.
|
|
10445
|
+
* @param {!proto.pulumirpc.StateMigrationRequest} msg The message object to deserialize into.
|
|
10446
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10447
|
+
* @return {!proto.pulumirpc.StateMigrationRequest}
|
|
10448
|
+
*/
|
|
10449
|
+
proto.pulumirpc.StateMigrationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10450
|
+
while (reader.nextField()) {
|
|
10451
|
+
if (reader.isEndGroup()) {
|
|
10452
|
+
break;
|
|
10453
|
+
}
|
|
10454
|
+
var field = reader.getFieldNumber();
|
|
10455
|
+
switch (field) {
|
|
10456
|
+
case 1:
|
|
10457
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10458
|
+
msg.setUrn(value);
|
|
10459
|
+
break;
|
|
10460
|
+
case 2:
|
|
10461
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
10462
|
+
msg.setOldState(value);
|
|
10463
|
+
break;
|
|
10464
|
+
default:
|
|
10465
|
+
reader.skipField();
|
|
10466
|
+
break;
|
|
10467
|
+
}
|
|
10468
|
+
}
|
|
10469
|
+
return msg;
|
|
10470
|
+
};
|
|
10471
|
+
|
|
10472
|
+
|
|
10473
|
+
/**
|
|
10474
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10475
|
+
* @return {!Uint8Array}
|
|
10476
|
+
*/
|
|
10477
|
+
proto.pulumirpc.StateMigrationRequest.prototype.serializeBinary = function() {
|
|
10478
|
+
var writer = new jspb.BinaryWriter();
|
|
10479
|
+
proto.pulumirpc.StateMigrationRequest.serializeBinaryToWriter(this, writer);
|
|
10480
|
+
return writer.getResultBuffer();
|
|
10481
|
+
};
|
|
10482
|
+
|
|
10483
|
+
|
|
10484
|
+
/**
|
|
10485
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10486
|
+
* format), writing to the given BinaryWriter.
|
|
10487
|
+
* @param {!proto.pulumirpc.StateMigrationRequest} message
|
|
10488
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10489
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10490
|
+
*/
|
|
10491
|
+
proto.pulumirpc.StateMigrationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10492
|
+
var f = undefined;
|
|
10493
|
+
f = message.getUrn();
|
|
10494
|
+
if (f.length > 0) {
|
|
10495
|
+
writer.writeString(
|
|
10496
|
+
1,
|
|
10497
|
+
f
|
|
10498
|
+
);
|
|
10499
|
+
}
|
|
10500
|
+
f = message.getOldState_asU8();
|
|
10501
|
+
if (f.length > 0) {
|
|
10502
|
+
writer.writeBytes(
|
|
10503
|
+
2,
|
|
10504
|
+
f
|
|
10505
|
+
);
|
|
10506
|
+
}
|
|
10507
|
+
};
|
|
10508
|
+
|
|
10509
|
+
|
|
10510
|
+
/**
|
|
10511
|
+
* optional string urn = 1;
|
|
10512
|
+
* @return {string}
|
|
10513
|
+
*/
|
|
10514
|
+
proto.pulumirpc.StateMigrationRequest.prototype.getUrn = function() {
|
|
10515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10516
|
+
};
|
|
10517
|
+
|
|
10518
|
+
|
|
10519
|
+
/**
|
|
10520
|
+
* @param {string} value
|
|
10521
|
+
* @return {!proto.pulumirpc.StateMigrationRequest} returns this
|
|
10522
|
+
*/
|
|
10523
|
+
proto.pulumirpc.StateMigrationRequest.prototype.setUrn = function(value) {
|
|
10524
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10525
|
+
};
|
|
10526
|
+
|
|
10527
|
+
|
|
10528
|
+
/**
|
|
10529
|
+
* optional bytes old_state = 2;
|
|
10530
|
+
* @return {!(string|Uint8Array)}
|
|
10531
|
+
*/
|
|
10532
|
+
proto.pulumirpc.StateMigrationRequest.prototype.getOldState = function() {
|
|
10533
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10534
|
+
};
|
|
10535
|
+
|
|
10536
|
+
|
|
10537
|
+
/**
|
|
10538
|
+
* optional bytes old_state = 2;
|
|
10539
|
+
* This is a type-conversion wrapper around `getOldState()`
|
|
10540
|
+
* @return {string}
|
|
10541
|
+
*/
|
|
10542
|
+
proto.pulumirpc.StateMigrationRequest.prototype.getOldState_asB64 = function() {
|
|
10543
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
10544
|
+
this.getOldState()));
|
|
10545
|
+
};
|
|
10546
|
+
|
|
10547
|
+
|
|
10548
|
+
/**
|
|
10549
|
+
* optional bytes old_state = 2;
|
|
10550
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
10551
|
+
* @see http://caniuse.com/Uint8Array
|
|
10552
|
+
* This is a type-conversion wrapper around `getOldState()`
|
|
10553
|
+
* @return {!Uint8Array}
|
|
10554
|
+
*/
|
|
10555
|
+
proto.pulumirpc.StateMigrationRequest.prototype.getOldState_asU8 = function() {
|
|
10556
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
10557
|
+
this.getOldState()));
|
|
10558
|
+
};
|
|
10559
|
+
|
|
10560
|
+
|
|
10561
|
+
/**
|
|
10562
|
+
* @param {!(string|Uint8Array)} value
|
|
10563
|
+
* @return {!proto.pulumirpc.StateMigrationRequest} returns this
|
|
10564
|
+
*/
|
|
10565
|
+
proto.pulumirpc.StateMigrationRequest.prototype.setOldState = function(value) {
|
|
10566
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
10567
|
+
};
|
|
10568
|
+
|
|
10569
|
+
|
|
10570
|
+
|
|
10571
|
+
|
|
10572
|
+
|
|
10573
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10574
|
+
/**
|
|
10575
|
+
* Creates an object representation of this proto.
|
|
10576
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10577
|
+
* Optional fields that are not set will be set to undefined.
|
|
10578
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10579
|
+
* For the list of reserved names please see:
|
|
10580
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10581
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10582
|
+
* JSPB instance for transitional soy proto support:
|
|
10583
|
+
* http://goto/soy-param-migration
|
|
10584
|
+
* @return {!Object}
|
|
10585
|
+
*/
|
|
10586
|
+
proto.pulumirpc.StateMigrationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10587
|
+
return proto.pulumirpc.StateMigrationResponse.toObject(opt_includeInstance, this);
|
|
10588
|
+
};
|
|
10589
|
+
|
|
10590
|
+
|
|
10591
|
+
/**
|
|
10592
|
+
* Static version of the {@see toObject} method.
|
|
10593
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10594
|
+
* the JSPB instance for transitional soy proto support:
|
|
10595
|
+
* http://goto/soy-param-migration
|
|
10596
|
+
* @param {!proto.pulumirpc.StateMigrationResponse} msg The msg instance to transform.
|
|
10597
|
+
* @return {!Object}
|
|
10598
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10599
|
+
*/
|
|
10600
|
+
proto.pulumirpc.StateMigrationResponse.toObject = function(includeInstance, msg) {
|
|
10601
|
+
var f, obj = {
|
|
10602
|
+
newState: msg.getNewState_asB64(),
|
|
10603
|
+
successorsMap: (f = msg.getSuccessorsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
10604
|
+
};
|
|
10605
|
+
|
|
10606
|
+
if (includeInstance) {
|
|
10607
|
+
obj.$jspbMessageInstance = msg;
|
|
10608
|
+
}
|
|
10609
|
+
return obj;
|
|
10610
|
+
};
|
|
10611
|
+
}
|
|
10612
|
+
|
|
10613
|
+
|
|
10614
|
+
/**
|
|
10615
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10616
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10617
|
+
* @return {!proto.pulumirpc.StateMigrationResponse}
|
|
10618
|
+
*/
|
|
10619
|
+
proto.pulumirpc.StateMigrationResponse.deserializeBinary = function(bytes) {
|
|
10620
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10621
|
+
var msg = new proto.pulumirpc.StateMigrationResponse;
|
|
10622
|
+
return proto.pulumirpc.StateMigrationResponse.deserializeBinaryFromReader(msg, reader);
|
|
10623
|
+
};
|
|
10624
|
+
|
|
10625
|
+
|
|
10626
|
+
/**
|
|
10627
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10628
|
+
* given reader into the given message object.
|
|
10629
|
+
* @param {!proto.pulumirpc.StateMigrationResponse} msg The message object to deserialize into.
|
|
10630
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10631
|
+
* @return {!proto.pulumirpc.StateMigrationResponse}
|
|
10632
|
+
*/
|
|
10633
|
+
proto.pulumirpc.StateMigrationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10634
|
+
while (reader.nextField()) {
|
|
10635
|
+
if (reader.isEndGroup()) {
|
|
10636
|
+
break;
|
|
10637
|
+
}
|
|
10638
|
+
var field = reader.getFieldNumber();
|
|
10639
|
+
switch (field) {
|
|
10640
|
+
case 1:
|
|
10641
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
10642
|
+
msg.setNewState(value);
|
|
10643
|
+
break;
|
|
10644
|
+
case 2:
|
|
10645
|
+
var value = msg.getSuccessorsMap();
|
|
10646
|
+
reader.readMessage(value, function(message, reader) {
|
|
10647
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
10648
|
+
});
|
|
10649
|
+
break;
|
|
10650
|
+
default:
|
|
10651
|
+
reader.skipField();
|
|
10652
|
+
break;
|
|
10653
|
+
}
|
|
10654
|
+
}
|
|
10655
|
+
return msg;
|
|
10656
|
+
};
|
|
10657
|
+
|
|
10658
|
+
|
|
10659
|
+
/**
|
|
10660
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10661
|
+
* @return {!Uint8Array}
|
|
10662
|
+
*/
|
|
10663
|
+
proto.pulumirpc.StateMigrationResponse.prototype.serializeBinary = function() {
|
|
10664
|
+
var writer = new jspb.BinaryWriter();
|
|
10665
|
+
proto.pulumirpc.StateMigrationResponse.serializeBinaryToWriter(this, writer);
|
|
10666
|
+
return writer.getResultBuffer();
|
|
10667
|
+
};
|
|
10668
|
+
|
|
10669
|
+
|
|
10670
|
+
/**
|
|
10671
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10672
|
+
* format), writing to the given BinaryWriter.
|
|
10673
|
+
* @param {!proto.pulumirpc.StateMigrationResponse} message
|
|
10674
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10675
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10676
|
+
*/
|
|
10677
|
+
proto.pulumirpc.StateMigrationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10678
|
+
var f = undefined;
|
|
10679
|
+
f = message.getNewState_asU8();
|
|
10680
|
+
if (f.length > 0) {
|
|
10681
|
+
writer.writeBytes(
|
|
10682
|
+
1,
|
|
10683
|
+
f
|
|
10684
|
+
);
|
|
10685
|
+
}
|
|
10686
|
+
f = message.getSuccessorsMap(true);
|
|
10687
|
+
if (f && f.getLength() > 0) {
|
|
10688
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
10689
|
+
}
|
|
10690
|
+
};
|
|
10691
|
+
|
|
10692
|
+
|
|
10693
|
+
/**
|
|
10694
|
+
* optional bytes new_state = 1;
|
|
10695
|
+
* @return {!(string|Uint8Array)}
|
|
10696
|
+
*/
|
|
10697
|
+
proto.pulumirpc.StateMigrationResponse.prototype.getNewState = function() {
|
|
10698
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10699
|
+
};
|
|
10700
|
+
|
|
10701
|
+
|
|
10702
|
+
/**
|
|
10703
|
+
* optional bytes new_state = 1;
|
|
10704
|
+
* This is a type-conversion wrapper around `getNewState()`
|
|
10705
|
+
* @return {string}
|
|
10706
|
+
*/
|
|
10707
|
+
proto.pulumirpc.StateMigrationResponse.prototype.getNewState_asB64 = function() {
|
|
10708
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
10709
|
+
this.getNewState()));
|
|
10710
|
+
};
|
|
10711
|
+
|
|
10712
|
+
|
|
10713
|
+
/**
|
|
10714
|
+
* optional bytes new_state = 1;
|
|
10715
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
10716
|
+
* @see http://caniuse.com/Uint8Array
|
|
10717
|
+
* This is a type-conversion wrapper around `getNewState()`
|
|
10718
|
+
* @return {!Uint8Array}
|
|
10719
|
+
*/
|
|
10720
|
+
proto.pulumirpc.StateMigrationResponse.prototype.getNewState_asU8 = function() {
|
|
10721
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
10722
|
+
this.getNewState()));
|
|
10723
|
+
};
|
|
10724
|
+
|
|
10725
|
+
|
|
10726
|
+
/**
|
|
10727
|
+
* @param {!(string|Uint8Array)} value
|
|
10728
|
+
* @return {!proto.pulumirpc.StateMigrationResponse} returns this
|
|
10729
|
+
*/
|
|
10730
|
+
proto.pulumirpc.StateMigrationResponse.prototype.setNewState = function(value) {
|
|
10731
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
10732
|
+
};
|
|
10733
|
+
|
|
10734
|
+
|
|
10735
|
+
/**
|
|
10736
|
+
* map<string, string> successors = 2;
|
|
10737
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
10738
|
+
* empty, instead returning `undefined`
|
|
10739
|
+
* @return {!jspb.Map<string,string>}
|
|
10740
|
+
*/
|
|
10741
|
+
proto.pulumirpc.StateMigrationResponse.prototype.getSuccessorsMap = function(opt_noLazyCreate) {
|
|
10742
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
10743
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
10744
|
+
null));
|
|
10745
|
+
};
|
|
10746
|
+
|
|
10747
|
+
|
|
10748
|
+
/**
|
|
10749
|
+
* Clears values from the map. The map will be non-null.
|
|
10750
|
+
* @return {!proto.pulumirpc.StateMigrationResponse} returns this
|
|
10751
|
+
*/
|
|
10752
|
+
proto.pulumirpc.StateMigrationResponse.prototype.clearSuccessorsMap = function() {
|
|
10753
|
+
this.getSuccessorsMap().clear();
|
|
10754
|
+
return this;
|
|
10755
|
+
};
|
|
10756
|
+
|
|
10757
|
+
|
|
10758
|
+
|
|
10759
|
+
|
|
10760
|
+
|
|
10292
10761
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10293
10762
|
/**
|
|
10294
10763
|
* Creates an object representation of this proto.
|
|
@@ -12774,7 +13243,8 @@ proto.pulumirpc.ResourceMonitorFeature = {
|
|
|
12774
13243
|
RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS: 12,
|
|
12775
13244
|
RESOURCE_MONITOR_FEATURE_BYTE_STRING: 13,
|
|
12776
13245
|
RESOURCE_MONITOR_FEATURE_INVOKE_DEPENDS_ON: 14,
|
|
12777
|
-
RESOURCE_MONITOR_FEATURE_INVOKE_PARENT: 15
|
|
13246
|
+
RESOURCE_MONITOR_FEATURE_INVOKE_PARENT: 15,
|
|
13247
|
+
RESOURCE_MONITOR_FEATURE_STATE_MIGRATIONS: 16
|
|
12778
13248
|
};
|
|
12779
13249
|
|
|
12780
13250
|
/**
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.260.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.
|
|
16
|
+
exports.version = "3.260.0-alpha.xd0df70f";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|