@pulumi/pulumi 3.154.0-alpha.x5401b6c → 3.155.0-alpha.x88a4c00

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.154.0-alpha.x5401b6c",
3
+ "version": "3.155.0-alpha.x88a4c00",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -382,9 +382,9 @@ function deserialize_pulumirpc_UpdateResponse(buffer_arg) {
382
382
  var ResourceProviderService = exports.ResourceProviderService = {
383
383
  // `Handshake` is the first call made by the engine to a provider. It is used to pass the engine's address to the
384
384
  // provider so that it may establish its own connections back, and to establish protocol configuration that will be
385
- // used to communicate between the two parties. Providers that support `Handshake` implicitly support the set of
386
- // feature flags previously handled by `Configure` prior to `Handshake`'s introduction, such as secrets and resource
387
- // references.
385
+ // used to communicate between the two parties. Providers that support `Handshake` should return responses
386
+ // consistent with those returned in response to [](pulumirpc.ResourceProvider.Configure) calls where there is
387
+ // overlap due to the use of `Configure` prior to `Handshake`'s introduction.
388
388
  handshake: {
389
389
  path: '/pulumirpc.ResourceProvider/Handshake',
390
390
  requestStream: false,
@@ -45,6 +45,14 @@ export namespace ProviderHandshakeRequest {
45
45
  }
46
46
 
47
47
  export class ProviderHandshakeResponse extends jspb.Message {
48
+ getAcceptSecrets(): boolean;
49
+ setAcceptSecrets(value: boolean): ProviderHandshakeResponse;
50
+ getAcceptResources(): boolean;
51
+ setAcceptResources(value: boolean): ProviderHandshakeResponse;
52
+ getAcceptOutputs(): boolean;
53
+ setAcceptOutputs(value: boolean): ProviderHandshakeResponse;
54
+ getSupportsAutonamingConfiguration(): boolean;
55
+ setSupportsAutonamingConfiguration(value: boolean): ProviderHandshakeResponse;
48
56
 
49
57
  serializeBinary(): Uint8Array;
50
58
  toObject(includeInstance?: boolean): ProviderHandshakeResponse.AsObject;
@@ -58,6 +66,10 @@ export class ProviderHandshakeResponse extends jspb.Message {
58
66
 
59
67
  export namespace ProviderHandshakeResponse {
60
68
  export type AsObject = {
69
+ acceptSecrets: boolean,
70
+ acceptResources: boolean,
71
+ acceptOutputs: boolean,
72
+ supportsAutonamingConfiguration: boolean,
61
73
  }
62
74
  }
63
75
 
@@ -1237,7 +1237,10 @@ proto.pulumirpc.ProviderHandshakeResponse.prototype.toObject = function(opt_incl
1237
1237
  */
1238
1238
  proto.pulumirpc.ProviderHandshakeResponse.toObject = function(includeInstance, msg) {
1239
1239
  var f, obj = {
1240
-
1240
+ acceptSecrets: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1241
+ acceptResources: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
1242
+ acceptOutputs: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1243
+ supportsAutonamingConfiguration: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
1241
1244
  };
1242
1245
 
1243
1246
  if (includeInstance) {
@@ -1274,6 +1277,22 @@ proto.pulumirpc.ProviderHandshakeResponse.deserializeBinaryFromReader = function
1274
1277
  }
1275
1278
  var field = reader.getFieldNumber();
1276
1279
  switch (field) {
1280
+ case 1:
1281
+ var value = /** @type {boolean} */ (reader.readBool());
1282
+ msg.setAcceptSecrets(value);
1283
+ break;
1284
+ case 2:
1285
+ var value = /** @type {boolean} */ (reader.readBool());
1286
+ msg.setAcceptResources(value);
1287
+ break;
1288
+ case 3:
1289
+ var value = /** @type {boolean} */ (reader.readBool());
1290
+ msg.setAcceptOutputs(value);
1291
+ break;
1292
+ case 4:
1293
+ var value = /** @type {boolean} */ (reader.readBool());
1294
+ msg.setSupportsAutonamingConfiguration(value);
1295
+ break;
1277
1296
  default:
1278
1297
  reader.skipField();
1279
1298
  break;
@@ -1303,6 +1322,106 @@ proto.pulumirpc.ProviderHandshakeResponse.prototype.serializeBinary = function()
1303
1322
  */
1304
1323
  proto.pulumirpc.ProviderHandshakeResponse.serializeBinaryToWriter = function(message, writer) {
1305
1324
  var f = undefined;
1325
+ f = message.getAcceptSecrets();
1326
+ if (f) {
1327
+ writer.writeBool(
1328
+ 1,
1329
+ f
1330
+ );
1331
+ }
1332
+ f = message.getAcceptResources();
1333
+ if (f) {
1334
+ writer.writeBool(
1335
+ 2,
1336
+ f
1337
+ );
1338
+ }
1339
+ f = message.getAcceptOutputs();
1340
+ if (f) {
1341
+ writer.writeBool(
1342
+ 3,
1343
+ f
1344
+ );
1345
+ }
1346
+ f = message.getSupportsAutonamingConfiguration();
1347
+ if (f) {
1348
+ writer.writeBool(
1349
+ 4,
1350
+ f
1351
+ );
1352
+ }
1353
+ };
1354
+
1355
+
1356
+ /**
1357
+ * optional bool accept_secrets = 1;
1358
+ * @return {boolean}
1359
+ */
1360
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.getAcceptSecrets = function() {
1361
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1362
+ };
1363
+
1364
+
1365
+ /**
1366
+ * @param {boolean} value
1367
+ * @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
1368
+ */
1369
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.setAcceptSecrets = function(value) {
1370
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1371
+ };
1372
+
1373
+
1374
+ /**
1375
+ * optional bool accept_resources = 2;
1376
+ * @return {boolean}
1377
+ */
1378
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.getAcceptResources = function() {
1379
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1380
+ };
1381
+
1382
+
1383
+ /**
1384
+ * @param {boolean} value
1385
+ * @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
1386
+ */
1387
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.setAcceptResources = function(value) {
1388
+ return jspb.Message.setProto3BooleanField(this, 2, value);
1389
+ };
1390
+
1391
+
1392
+ /**
1393
+ * optional bool accept_outputs = 3;
1394
+ * @return {boolean}
1395
+ */
1396
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.getAcceptOutputs = function() {
1397
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
1398
+ };
1399
+
1400
+
1401
+ /**
1402
+ * @param {boolean} value
1403
+ * @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
1404
+ */
1405
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.setAcceptOutputs = function(value) {
1406
+ return jspb.Message.setProto3BooleanField(this, 3, value);
1407
+ };
1408
+
1409
+
1410
+ /**
1411
+ * optional bool supports_autonaming_configuration = 4;
1412
+ * @return {boolean}
1413
+ */
1414
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.getSupportsAutonamingConfiguration = function() {
1415
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
1416
+ };
1417
+
1418
+
1419
+ /**
1420
+ * @param {boolean} value
1421
+ * @return {!proto.pulumirpc.ProviderHandshakeResponse} returns this
1422
+ */
1423
+ proto.pulumirpc.ProviderHandshakeResponse.prototype.setSupportsAutonamingConfiguration = function(value) {
1424
+ return jspb.Message.setProto3BooleanField(this, 4, value);
1306
1425
  };
1307
1426
 
1308
1427
 
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.154.0";
1
+ export declare const version = "3.155.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.154.0-alpha.x5401b6c";
16
+ exports.version = "3.155.0-alpha.x88a4c00";
17
17
  //# sourceMappingURL=version.js.map