@pulumi/pulumi 3.208.0-alpha.xee8fc75 → 3.208.0-alpha.xffa81aa
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/proto/language_grpc_pb.d.ts +17 -0
- package/proto/language_grpc_pb.js +36 -0
- package/proto/language_pb.d.ts +43 -0
- package/proto/language_pb.js +326 -0
- package/proto/resource_pb.d.ts +12 -0
- package/proto/resource_pb.js +103 -1
- package/stash.d.ts +31 -0
- package/stash.js +35 -0
- package/stash.js.map +1 -0
- package/version.js +1 -1
- package/pulumi-analyzer-policy +0 -5
- package/pulumi-analyzer-policy.cmd +0 -6
package/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./metadata";
|
|
|
5
5
|
export * from "./output";
|
|
6
6
|
export * from "./resource";
|
|
7
7
|
export * from "./stackReference";
|
|
8
|
+
export * from "./stash";
|
|
8
9
|
import * as asset from "./asset";
|
|
9
10
|
import * as automation from "./automation";
|
|
10
11
|
import * as dynamic from "./dynamic";
|
package/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __export(require("./metadata"));
|
|
|
30
30
|
__export(require("./output"));
|
|
31
31
|
__export(require("./resource"));
|
|
32
32
|
__export(require("./stackReference"));
|
|
33
|
+
__export(require("./stash"));
|
|
33
34
|
// Export submodules individually.
|
|
34
35
|
const asset = __importStar(require("./asset"));
|
|
35
36
|
exports.asset = asset;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,6BAA6B;AAC7B,8BAAyB;AACzB,8BAAyB;AAEzB,gCAA2B;AAC3B,8BAAyB;AACzB,gCAA2B;AAC3B,sCAAiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,6BAA6B;AAC7B,8BAAyB;AACzB,8BAAyB;AAEzB,gCAA2B;AAC3B,8BAAyB;AACzB,gCAA2B;AAC3B,sCAAiC;AACjC,6BAAwB;AAExB,kCAAkC;AAClC,+CAAiC;AAQxB,sBAAK;AAPd,yDAA2C;AAO3B,gCAAU;AAN1B,mDAAqC;AAMT,0BAAO;AALnC,qDAAuC;AAKF,4BAAQ;AAJ7C,2CAA6B;AAIkB,kBAAG;AAHlD,qDAAuC;AAGa,4BAAQ;AAF5D,mDAAqC;AAEyB,0BAAO;AADrE,+CAAiC;AACsC,sBAAK;AAE5E,oGAAoG;AACpG,0FAA0F;AAC1F,mGAAmG;AACnG,gGAAgG;AAChG,gBAAgB;AACH,QAAA,oBAAoB,GAAG,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ interface ILanguageRuntimeService extends grpc.ServiceDefinition<grpc.UntypedSer
|
|
|
19
19
|
getPluginInfo: ILanguageRuntimeService_IGetPluginInfo;
|
|
20
20
|
installDependencies: ILanguageRuntimeService_IInstallDependencies;
|
|
21
21
|
runtimeOptionsPrompts: ILanguageRuntimeService_IRuntimeOptionsPrompts;
|
|
22
|
+
template: ILanguageRuntimeService_ITemplate;
|
|
22
23
|
about: ILanguageRuntimeService_IAbout;
|
|
23
24
|
getProgramDependencies: ILanguageRuntimeService_IGetProgramDependencies;
|
|
24
25
|
runPlugin: ILanguageRuntimeService_IRunPlugin;
|
|
@@ -93,6 +94,15 @@ interface ILanguageRuntimeService_IRuntimeOptionsPrompts extends grpc.MethodDefi
|
|
|
93
94
|
responseSerialize: grpc.serialize<pulumi_language_pb.RuntimeOptionsResponse>;
|
|
94
95
|
responseDeserialize: grpc.deserialize<pulumi_language_pb.RuntimeOptionsResponse>;
|
|
95
96
|
}
|
|
97
|
+
interface ILanguageRuntimeService_ITemplate extends grpc.MethodDefinition<pulumi_language_pb.TemplateRequest, pulumi_language_pb.TemplateResponse> {
|
|
98
|
+
path: "/pulumirpc.LanguageRuntime/Template";
|
|
99
|
+
requestStream: false;
|
|
100
|
+
responseStream: false;
|
|
101
|
+
requestSerialize: grpc.serialize<pulumi_language_pb.TemplateRequest>;
|
|
102
|
+
requestDeserialize: grpc.deserialize<pulumi_language_pb.TemplateRequest>;
|
|
103
|
+
responseSerialize: grpc.serialize<pulumi_language_pb.TemplateResponse>;
|
|
104
|
+
responseDeserialize: grpc.deserialize<pulumi_language_pb.TemplateResponse>;
|
|
105
|
+
}
|
|
96
106
|
interface ILanguageRuntimeService_IAbout extends grpc.MethodDefinition<pulumi_language_pb.AboutRequest, pulumi_language_pb.AboutResponse> {
|
|
97
107
|
path: "/pulumirpc.LanguageRuntime/About";
|
|
98
108
|
requestStream: false;
|
|
@@ -185,6 +195,7 @@ export interface ILanguageRuntimeServer extends grpc.UntypedServiceImplementatio
|
|
|
185
195
|
getPluginInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_plugin_pb.PluginInfo>;
|
|
186
196
|
installDependencies: grpc.handleServerStreamingCall<pulumi_language_pb.InstallDependenciesRequest, pulumi_language_pb.InstallDependenciesResponse>;
|
|
187
197
|
runtimeOptionsPrompts: grpc.handleUnaryCall<pulumi_language_pb.RuntimeOptionsRequest, pulumi_language_pb.RuntimeOptionsResponse>;
|
|
198
|
+
template: grpc.handleUnaryCall<pulumi_language_pb.TemplateRequest, pulumi_language_pb.TemplateResponse>;
|
|
188
199
|
about: grpc.handleUnaryCall<pulumi_language_pb.AboutRequest, pulumi_language_pb.AboutResponse>;
|
|
189
200
|
getProgramDependencies: grpc.handleUnaryCall<pulumi_language_pb.GetProgramDependenciesRequest, pulumi_language_pb.GetProgramDependenciesResponse>;
|
|
190
201
|
runPlugin: grpc.handleServerStreamingCall<pulumi_language_pb.RunPluginRequest, pulumi_language_pb.RunPluginResponse>;
|
|
@@ -217,6 +228,9 @@ export interface ILanguageRuntimeClient {
|
|
|
217
228
|
runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
218
229
|
runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
219
230
|
runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
231
|
+
template(request: pulumi_language_pb.TemplateRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
232
|
+
template(request: pulumi_language_pb.TemplateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
233
|
+
template(request: pulumi_language_pb.TemplateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
220
234
|
about(request: pulumi_language_pb.AboutRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
221
235
|
about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
222
236
|
about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -267,6 +281,9 @@ export class LanguageRuntimeClient extends grpc.Client implements ILanguageRunti
|
|
|
267
281
|
public runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
268
282
|
public runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
269
283
|
public runtimeOptionsPrompts(request: pulumi_language_pb.RuntimeOptionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.RuntimeOptionsResponse) => void): grpc.ClientUnaryCall;
|
|
284
|
+
public template(request: pulumi_language_pb.TemplateRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
285
|
+
public template(request: pulumi_language_pb.TemplateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
286
|
+
public template(request: pulumi_language_pb.TemplateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.TemplateResponse) => void): grpc.ClientUnaryCall;
|
|
270
287
|
public about(request: pulumi_language_pb.AboutRequest, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
271
288
|
public about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
272
289
|
public about(request: pulumi_language_pb.AboutRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_language_pb.AboutResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -353,6 +353,28 @@ function deserialize_pulumirpc_RuntimeOptionsResponse(buffer_arg) {
|
|
|
353
353
|
return pulumi_language_pb.RuntimeOptionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
function serialize_pulumirpc_TemplateRequest(arg) {
|
|
357
|
+
if (!(arg instanceof pulumi_language_pb.TemplateRequest)) {
|
|
358
|
+
throw new Error('Expected argument of type pulumirpc.TemplateRequest');
|
|
359
|
+
}
|
|
360
|
+
return Buffer.from(arg.serializeBinary());
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
function deserialize_pulumirpc_TemplateRequest(buffer_arg) {
|
|
364
|
+
return pulumi_language_pb.TemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
function serialize_pulumirpc_TemplateResponse(arg) {
|
|
368
|
+
if (!(arg instanceof pulumi_language_pb.TemplateResponse)) {
|
|
369
|
+
throw new Error('Expected argument of type pulumirpc.TemplateResponse');
|
|
370
|
+
}
|
|
371
|
+
return Buffer.from(arg.serializeBinary());
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
function deserialize_pulumirpc_TemplateResponse(buffer_arg) {
|
|
375
|
+
return pulumi_language_pb.TemplateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
376
|
+
}
|
|
377
|
+
|
|
356
378
|
|
|
357
379
|
// The LanguageRuntime service defines a standard interface for [language hosts/runtimes](languages). At a high level, a
|
|
358
380
|
// language runtime provides the ability to execute programs, install and query dependencies, and generate code for a
|
|
@@ -465,6 +487,20 @@ runtimeOptionsPrompts: {
|
|
|
465
487
|
responseSerialize: serialize_pulumirpc_RuntimeOptionsResponse,
|
|
466
488
|
responseDeserialize: deserialize_pulumirpc_RuntimeOptionsResponse,
|
|
467
489
|
},
|
|
490
|
+
// `Template` allows the language runtime to perform additional templating on a newly instantiated project template.
|
|
491
|
+
// For example the Python runtime might want to convert a requirements.txt into a pyproject.toml suitable for use
|
|
492
|
+
// with uv or poetry.
|
|
493
|
+
template: {
|
|
494
|
+
path: '/pulumirpc.LanguageRuntime/Template',
|
|
495
|
+
requestStream: false,
|
|
496
|
+
responseStream: false,
|
|
497
|
+
requestType: pulumi_language_pb.TemplateRequest,
|
|
498
|
+
responseType: pulumi_language_pb.TemplateResponse,
|
|
499
|
+
requestSerialize: serialize_pulumirpc_TemplateRequest,
|
|
500
|
+
requestDeserialize: deserialize_pulumirpc_TemplateRequest,
|
|
501
|
+
responseSerialize: serialize_pulumirpc_TemplateResponse,
|
|
502
|
+
responseDeserialize: deserialize_pulumirpc_TemplateResponse,
|
|
503
|
+
},
|
|
468
504
|
// `About` returns information about the language runtime being used.
|
|
469
505
|
about: {
|
|
470
506
|
path: '/pulumirpc.LanguageRuntime/About',
|
package/proto/language_pb.d.ts
CHANGED
|
@@ -553,6 +553,49 @@ export namespace RuntimeOptionsResponse {
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
+
export class TemplateRequest extends jspb.Message {
|
|
557
|
+
|
|
558
|
+
hasInfo(): boolean;
|
|
559
|
+
clearInfo(): void;
|
|
560
|
+
getInfo(): ProgramInfo | undefined;
|
|
561
|
+
setInfo(value?: ProgramInfo): TemplateRequest;
|
|
562
|
+
getProjectName(): string;
|
|
563
|
+
setProjectName(value: string): TemplateRequest;
|
|
564
|
+
|
|
565
|
+
serializeBinary(): Uint8Array;
|
|
566
|
+
toObject(includeInstance?: boolean): TemplateRequest.AsObject;
|
|
567
|
+
static toObject(includeInstance: boolean, msg: TemplateRequest): TemplateRequest.AsObject;
|
|
568
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
569
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
570
|
+
static serializeBinaryToWriter(message: TemplateRequest, writer: jspb.BinaryWriter): void;
|
|
571
|
+
static deserializeBinary(bytes: Uint8Array): TemplateRequest;
|
|
572
|
+
static deserializeBinaryFromReader(message: TemplateRequest, reader: jspb.BinaryReader): TemplateRequest;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export namespace TemplateRequest {
|
|
576
|
+
export type AsObject = {
|
|
577
|
+
info?: ProgramInfo.AsObject,
|
|
578
|
+
projectName: string,
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export class TemplateResponse extends jspb.Message {
|
|
583
|
+
|
|
584
|
+
serializeBinary(): Uint8Array;
|
|
585
|
+
toObject(includeInstance?: boolean): TemplateResponse.AsObject;
|
|
586
|
+
static toObject(includeInstance: boolean, msg: TemplateResponse): TemplateResponse.AsObject;
|
|
587
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
588
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
589
|
+
static serializeBinaryToWriter(message: TemplateResponse, writer: jspb.BinaryWriter): void;
|
|
590
|
+
static deserializeBinary(bytes: Uint8Array): TemplateResponse;
|
|
591
|
+
static deserializeBinaryFromReader(message: TemplateResponse, reader: jspb.BinaryReader): TemplateResponse;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export namespace TemplateResponse {
|
|
595
|
+
export type AsObject = {
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
556
599
|
export class RunPluginRequest extends jspb.Message {
|
|
557
600
|
getPwd(): string;
|
|
558
601
|
setPwd(value: string): RunPluginRequest;
|
package/proto/language_pb.js
CHANGED
|
@@ -64,6 +64,8 @@ goog.exportSymbol('proto.pulumirpc.RuntimeOptionPrompt.RuntimeOptionType', null,
|
|
|
64
64
|
goog.exportSymbol('proto.pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue', null, global);
|
|
65
65
|
goog.exportSymbol('proto.pulumirpc.RuntimeOptionsRequest', null, global);
|
|
66
66
|
goog.exportSymbol('proto.pulumirpc.RuntimeOptionsResponse', null, global);
|
|
67
|
+
goog.exportSymbol('proto.pulumirpc.TemplateRequest', null, global);
|
|
68
|
+
goog.exportSymbol('proto.pulumirpc.TemplateResponse', null, global);
|
|
67
69
|
/**
|
|
68
70
|
* Generated by JsPbCodeGenerator.
|
|
69
71
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -442,6 +444,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
442
444
|
*/
|
|
443
445
|
proto.pulumirpc.RuntimeOptionsResponse.displayName = 'proto.pulumirpc.RuntimeOptionsResponse';
|
|
444
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* Generated by JsPbCodeGenerator.
|
|
449
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
450
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
451
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
452
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
453
|
+
* valid.
|
|
454
|
+
* @extends {jspb.Message}
|
|
455
|
+
* @constructor
|
|
456
|
+
*/
|
|
457
|
+
proto.pulumirpc.TemplateRequest = function(opt_data) {
|
|
458
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
459
|
+
};
|
|
460
|
+
goog.inherits(proto.pulumirpc.TemplateRequest, jspb.Message);
|
|
461
|
+
if (goog.DEBUG && !COMPILED) {
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
* @override
|
|
465
|
+
*/
|
|
466
|
+
proto.pulumirpc.TemplateRequest.displayName = 'proto.pulumirpc.TemplateRequest';
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Generated by JsPbCodeGenerator.
|
|
470
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
471
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
472
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
473
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
474
|
+
* valid.
|
|
475
|
+
* @extends {jspb.Message}
|
|
476
|
+
* @constructor
|
|
477
|
+
*/
|
|
478
|
+
proto.pulumirpc.TemplateResponse = function(opt_data) {
|
|
479
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
480
|
+
};
|
|
481
|
+
goog.inherits(proto.pulumirpc.TemplateResponse, jspb.Message);
|
|
482
|
+
if (goog.DEBUG && !COMPILED) {
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
* @override
|
|
486
|
+
*/
|
|
487
|
+
proto.pulumirpc.TemplateResponse.displayName = 'proto.pulumirpc.TemplateResponse';
|
|
488
|
+
}
|
|
445
489
|
/**
|
|
446
490
|
* Generated by JsPbCodeGenerator.
|
|
447
491
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4797,6 +4841,288 @@ proto.pulumirpc.RuntimeOptionsResponse.prototype.clearPromptsList = function() {
|
|
|
4797
4841
|
|
|
4798
4842
|
|
|
4799
4843
|
|
|
4844
|
+
|
|
4845
|
+
|
|
4846
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4847
|
+
/**
|
|
4848
|
+
* Creates an object representation of this proto.
|
|
4849
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4850
|
+
* Optional fields that are not set will be set to undefined.
|
|
4851
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4852
|
+
* For the list of reserved names please see:
|
|
4853
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4854
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4855
|
+
* JSPB instance for transitional soy proto support:
|
|
4856
|
+
* http://goto/soy-param-migration
|
|
4857
|
+
* @return {!Object}
|
|
4858
|
+
*/
|
|
4859
|
+
proto.pulumirpc.TemplateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4860
|
+
return proto.pulumirpc.TemplateRequest.toObject(opt_includeInstance, this);
|
|
4861
|
+
};
|
|
4862
|
+
|
|
4863
|
+
|
|
4864
|
+
/**
|
|
4865
|
+
* Static version of the {@see toObject} method.
|
|
4866
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4867
|
+
* the JSPB instance for transitional soy proto support:
|
|
4868
|
+
* http://goto/soy-param-migration
|
|
4869
|
+
* @param {!proto.pulumirpc.TemplateRequest} msg The msg instance to transform.
|
|
4870
|
+
* @return {!Object}
|
|
4871
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4872
|
+
*/
|
|
4873
|
+
proto.pulumirpc.TemplateRequest.toObject = function(includeInstance, msg) {
|
|
4874
|
+
var f, obj = {
|
|
4875
|
+
info: (f = msg.getInfo()) && proto.pulumirpc.ProgramInfo.toObject(includeInstance, f),
|
|
4876
|
+
projectName: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4877
|
+
};
|
|
4878
|
+
|
|
4879
|
+
if (includeInstance) {
|
|
4880
|
+
obj.$jspbMessageInstance = msg;
|
|
4881
|
+
}
|
|
4882
|
+
return obj;
|
|
4883
|
+
};
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4886
|
+
|
|
4887
|
+
/**
|
|
4888
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4889
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4890
|
+
* @return {!proto.pulumirpc.TemplateRequest}
|
|
4891
|
+
*/
|
|
4892
|
+
proto.pulumirpc.TemplateRequest.deserializeBinary = function(bytes) {
|
|
4893
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4894
|
+
var msg = new proto.pulumirpc.TemplateRequest;
|
|
4895
|
+
return proto.pulumirpc.TemplateRequest.deserializeBinaryFromReader(msg, reader);
|
|
4896
|
+
};
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4901
|
+
* given reader into the given message object.
|
|
4902
|
+
* @param {!proto.pulumirpc.TemplateRequest} msg The message object to deserialize into.
|
|
4903
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4904
|
+
* @return {!proto.pulumirpc.TemplateRequest}
|
|
4905
|
+
*/
|
|
4906
|
+
proto.pulumirpc.TemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4907
|
+
while (reader.nextField()) {
|
|
4908
|
+
if (reader.isEndGroup()) {
|
|
4909
|
+
break;
|
|
4910
|
+
}
|
|
4911
|
+
var field = reader.getFieldNumber();
|
|
4912
|
+
switch (field) {
|
|
4913
|
+
case 1:
|
|
4914
|
+
var value = new proto.pulumirpc.ProgramInfo;
|
|
4915
|
+
reader.readMessage(value,proto.pulumirpc.ProgramInfo.deserializeBinaryFromReader);
|
|
4916
|
+
msg.setInfo(value);
|
|
4917
|
+
break;
|
|
4918
|
+
case 2:
|
|
4919
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4920
|
+
msg.setProjectName(value);
|
|
4921
|
+
break;
|
|
4922
|
+
default:
|
|
4923
|
+
reader.skipField();
|
|
4924
|
+
break;
|
|
4925
|
+
}
|
|
4926
|
+
}
|
|
4927
|
+
return msg;
|
|
4928
|
+
};
|
|
4929
|
+
|
|
4930
|
+
|
|
4931
|
+
/**
|
|
4932
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4933
|
+
* @return {!Uint8Array}
|
|
4934
|
+
*/
|
|
4935
|
+
proto.pulumirpc.TemplateRequest.prototype.serializeBinary = function() {
|
|
4936
|
+
var writer = new jspb.BinaryWriter();
|
|
4937
|
+
proto.pulumirpc.TemplateRequest.serializeBinaryToWriter(this, writer);
|
|
4938
|
+
return writer.getResultBuffer();
|
|
4939
|
+
};
|
|
4940
|
+
|
|
4941
|
+
|
|
4942
|
+
/**
|
|
4943
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4944
|
+
* format), writing to the given BinaryWriter.
|
|
4945
|
+
* @param {!proto.pulumirpc.TemplateRequest} message
|
|
4946
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4947
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4948
|
+
*/
|
|
4949
|
+
proto.pulumirpc.TemplateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4950
|
+
var f = undefined;
|
|
4951
|
+
f = message.getInfo();
|
|
4952
|
+
if (f != null) {
|
|
4953
|
+
writer.writeMessage(
|
|
4954
|
+
1,
|
|
4955
|
+
f,
|
|
4956
|
+
proto.pulumirpc.ProgramInfo.serializeBinaryToWriter
|
|
4957
|
+
);
|
|
4958
|
+
}
|
|
4959
|
+
f = message.getProjectName();
|
|
4960
|
+
if (f.length > 0) {
|
|
4961
|
+
writer.writeString(
|
|
4962
|
+
2,
|
|
4963
|
+
f
|
|
4964
|
+
);
|
|
4965
|
+
}
|
|
4966
|
+
};
|
|
4967
|
+
|
|
4968
|
+
|
|
4969
|
+
/**
|
|
4970
|
+
* optional ProgramInfo info = 1;
|
|
4971
|
+
* @return {?proto.pulumirpc.ProgramInfo}
|
|
4972
|
+
*/
|
|
4973
|
+
proto.pulumirpc.TemplateRequest.prototype.getInfo = function() {
|
|
4974
|
+
return /** @type{?proto.pulumirpc.ProgramInfo} */ (
|
|
4975
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ProgramInfo, 1));
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
|
|
4979
|
+
/**
|
|
4980
|
+
* @param {?proto.pulumirpc.ProgramInfo|undefined} value
|
|
4981
|
+
* @return {!proto.pulumirpc.TemplateRequest} returns this
|
|
4982
|
+
*/
|
|
4983
|
+
proto.pulumirpc.TemplateRequest.prototype.setInfo = function(value) {
|
|
4984
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4985
|
+
};
|
|
4986
|
+
|
|
4987
|
+
|
|
4988
|
+
/**
|
|
4989
|
+
* Clears the message field making it undefined.
|
|
4990
|
+
* @return {!proto.pulumirpc.TemplateRequest} returns this
|
|
4991
|
+
*/
|
|
4992
|
+
proto.pulumirpc.TemplateRequest.prototype.clearInfo = function() {
|
|
4993
|
+
return this.setInfo(undefined);
|
|
4994
|
+
};
|
|
4995
|
+
|
|
4996
|
+
|
|
4997
|
+
/**
|
|
4998
|
+
* Returns whether this field is set.
|
|
4999
|
+
* @return {boolean}
|
|
5000
|
+
*/
|
|
5001
|
+
proto.pulumirpc.TemplateRequest.prototype.hasInfo = function() {
|
|
5002
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5003
|
+
};
|
|
5004
|
+
|
|
5005
|
+
|
|
5006
|
+
/**
|
|
5007
|
+
* optional string project_name = 2;
|
|
5008
|
+
* @return {string}
|
|
5009
|
+
*/
|
|
5010
|
+
proto.pulumirpc.TemplateRequest.prototype.getProjectName = function() {
|
|
5011
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* @param {string} value
|
|
5017
|
+
* @return {!proto.pulumirpc.TemplateRequest} returns this
|
|
5018
|
+
*/
|
|
5019
|
+
proto.pulumirpc.TemplateRequest.prototype.setProjectName = function(value) {
|
|
5020
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5021
|
+
};
|
|
5022
|
+
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
|
|
5026
|
+
|
|
5027
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5028
|
+
/**
|
|
5029
|
+
* Creates an object representation of this proto.
|
|
5030
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5031
|
+
* Optional fields that are not set will be set to undefined.
|
|
5032
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5033
|
+
* For the list of reserved names please see:
|
|
5034
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5035
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5036
|
+
* JSPB instance for transitional soy proto support:
|
|
5037
|
+
* http://goto/soy-param-migration
|
|
5038
|
+
* @return {!Object}
|
|
5039
|
+
*/
|
|
5040
|
+
proto.pulumirpc.TemplateResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5041
|
+
return proto.pulumirpc.TemplateResponse.toObject(opt_includeInstance, this);
|
|
5042
|
+
};
|
|
5043
|
+
|
|
5044
|
+
|
|
5045
|
+
/**
|
|
5046
|
+
* Static version of the {@see toObject} method.
|
|
5047
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5048
|
+
* the JSPB instance for transitional soy proto support:
|
|
5049
|
+
* http://goto/soy-param-migration
|
|
5050
|
+
* @param {!proto.pulumirpc.TemplateResponse} msg The msg instance to transform.
|
|
5051
|
+
* @return {!Object}
|
|
5052
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5053
|
+
*/
|
|
5054
|
+
proto.pulumirpc.TemplateResponse.toObject = function(includeInstance, msg) {
|
|
5055
|
+
var f, obj = {
|
|
5056
|
+
|
|
5057
|
+
};
|
|
5058
|
+
|
|
5059
|
+
if (includeInstance) {
|
|
5060
|
+
obj.$jspbMessageInstance = msg;
|
|
5061
|
+
}
|
|
5062
|
+
return obj;
|
|
5063
|
+
};
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
/**
|
|
5068
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5069
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5070
|
+
* @return {!proto.pulumirpc.TemplateResponse}
|
|
5071
|
+
*/
|
|
5072
|
+
proto.pulumirpc.TemplateResponse.deserializeBinary = function(bytes) {
|
|
5073
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5074
|
+
var msg = new proto.pulumirpc.TemplateResponse;
|
|
5075
|
+
return proto.pulumirpc.TemplateResponse.deserializeBinaryFromReader(msg, reader);
|
|
5076
|
+
};
|
|
5077
|
+
|
|
5078
|
+
|
|
5079
|
+
/**
|
|
5080
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5081
|
+
* given reader into the given message object.
|
|
5082
|
+
* @param {!proto.pulumirpc.TemplateResponse} msg The message object to deserialize into.
|
|
5083
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5084
|
+
* @return {!proto.pulumirpc.TemplateResponse}
|
|
5085
|
+
*/
|
|
5086
|
+
proto.pulumirpc.TemplateResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5087
|
+
while (reader.nextField()) {
|
|
5088
|
+
if (reader.isEndGroup()) {
|
|
5089
|
+
break;
|
|
5090
|
+
}
|
|
5091
|
+
var field = reader.getFieldNumber();
|
|
5092
|
+
switch (field) {
|
|
5093
|
+
default:
|
|
5094
|
+
reader.skipField();
|
|
5095
|
+
break;
|
|
5096
|
+
}
|
|
5097
|
+
}
|
|
5098
|
+
return msg;
|
|
5099
|
+
};
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
/**
|
|
5103
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5104
|
+
* @return {!Uint8Array}
|
|
5105
|
+
*/
|
|
5106
|
+
proto.pulumirpc.TemplateResponse.prototype.serializeBinary = function() {
|
|
5107
|
+
var writer = new jspb.BinaryWriter();
|
|
5108
|
+
proto.pulumirpc.TemplateResponse.serializeBinaryToWriter(this, writer);
|
|
5109
|
+
return writer.getResultBuffer();
|
|
5110
|
+
};
|
|
5111
|
+
|
|
5112
|
+
|
|
5113
|
+
/**
|
|
5114
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5115
|
+
* format), writing to the given BinaryWriter.
|
|
5116
|
+
* @param {!proto.pulumirpc.TemplateResponse} message
|
|
5117
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5118
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5119
|
+
*/
|
|
5120
|
+
proto.pulumirpc.TemplateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5121
|
+
var f = undefined;
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
|
|
5125
|
+
|
|
4800
5126
|
/**
|
|
4801
5127
|
* List of repeated fields within this message type.
|
|
4802
5128
|
* @private {!Array<number>}
|
package/proto/resource_pb.d.ts
CHANGED
|
@@ -249,6 +249,11 @@ export class RegisterResourceRequest extends jspb.Message {
|
|
|
249
249
|
getReplaceWithList(): Array<string>;
|
|
250
250
|
setReplaceWithList(value: Array<string>): RegisterResourceRequest;
|
|
251
251
|
addReplaceWith(value: string, index?: number): string;
|
|
252
|
+
|
|
253
|
+
hasReplacementTrigger(): boolean;
|
|
254
|
+
clearReplacementTrigger(): void;
|
|
255
|
+
getReplacementTrigger(): google_protobuf_struct_pb.Value | undefined;
|
|
256
|
+
setReplacementTrigger(value?: google_protobuf_struct_pb.Value): RegisterResourceRequest;
|
|
252
257
|
getAliasspecs(): boolean;
|
|
253
258
|
setAliasspecs(value: boolean): RegisterResourceRequest;
|
|
254
259
|
|
|
@@ -325,6 +330,7 @@ export namespace RegisterResourceRequest {
|
|
|
325
330
|
aliasesList: Array<pulumi_alias_pb.Alias.AsObject>,
|
|
326
331
|
deletedwith: string,
|
|
327
332
|
replaceWithList: Array<string>,
|
|
333
|
+
replacementTrigger?: google_protobuf_struct_pb.Value.AsObject,
|
|
328
334
|
aliasspecs: boolean,
|
|
329
335
|
sourceposition?: pulumi_source_pb.SourcePosition.AsObject,
|
|
330
336
|
stacktrace?: pulumi_source_pb.StackTrace.AsObject,
|
|
@@ -748,6 +754,11 @@ export class TransformResourceOptions extends jspb.Message {
|
|
|
748
754
|
setReplaceWithList(value: Array<string>): TransformResourceOptions;
|
|
749
755
|
addReplaceWith(value: string, index?: number): string;
|
|
750
756
|
|
|
757
|
+
hasReplacementTrigger(): boolean;
|
|
758
|
+
clearReplacementTrigger(): void;
|
|
759
|
+
getReplacementTrigger(): google_protobuf_struct_pb.Value | undefined;
|
|
760
|
+
setReplacementTrigger(value?: google_protobuf_struct_pb.Value): TransformResourceOptions;
|
|
761
|
+
|
|
751
762
|
serializeBinary(): Uint8Array;
|
|
752
763
|
toObject(includeInstance?: boolean): TransformResourceOptions.AsObject;
|
|
753
764
|
static toObject(includeInstance: boolean, msg: TransformResourceOptions): TransformResourceOptions.AsObject;
|
|
@@ -781,6 +792,7 @@ export namespace TransformResourceOptions {
|
|
|
781
792
|
pb_import: string,
|
|
782
793
|
hideDiffList: Array<string>,
|
|
783
794
|
replaceWithList: Array<string>,
|
|
795
|
+
replacementTrigger?: google_protobuf_struct_pb.Value.AsObject,
|
|
784
796
|
}
|
|
785
797
|
}
|
|
786
798
|
|
package/proto/resource_pb.js
CHANGED
|
@@ -1838,6 +1838,7 @@ aliasesList: jspb.Message.toObjectList(msg.getAliasesList(),
|
|
|
1838
1838
|
pulumi_alias_pb.Alias.toObject, includeInstance),
|
|
1839
1839
|
deletedwith: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
1840
1840
|
replaceWithList: (f = jspb.Message.getRepeatedField(msg, 38)) == null ? undefined : f,
|
|
1841
|
+
replacementTrigger: (f = msg.getReplacementTrigger()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f),
|
|
1841
1842
|
aliasspecs: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
|
1842
1843
|
sourceposition: (f = msg.getSourceposition()) && pulumi_source_pb.SourcePosition.toObject(includeInstance, f),
|
|
1843
1844
|
stacktrace: (f = msg.getStacktrace()) && pulumi_source_pb.StackTrace.toObject(includeInstance, f),
|
|
@@ -2009,6 +2010,11 @@ proto.pulumirpc.RegisterResourceRequest.deserializeBinaryFromReader = function(m
|
|
|
2009
2010
|
var value = /** @type {string} */ (reader.readString());
|
|
2010
2011
|
msg.addReplaceWith(value);
|
|
2011
2012
|
break;
|
|
2013
|
+
case 39:
|
|
2014
|
+
var value = new google_protobuf_struct_pb.Value;
|
|
2015
|
+
reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
|
|
2016
|
+
msg.setReplacementTrigger(value);
|
|
2017
|
+
break;
|
|
2012
2018
|
case 28:
|
|
2013
2019
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2014
2020
|
msg.setAliasspecs(value);
|
|
@@ -2275,6 +2281,14 @@ proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter = function(messa
|
|
|
2275
2281
|
f
|
|
2276
2282
|
);
|
|
2277
2283
|
}
|
|
2284
|
+
f = message.getReplacementTrigger();
|
|
2285
|
+
if (f != null) {
|
|
2286
|
+
writer.writeMessage(
|
|
2287
|
+
39,
|
|
2288
|
+
f,
|
|
2289
|
+
google_protobuf_struct_pb.Value.serializeBinaryToWriter
|
|
2290
|
+
);
|
|
2291
|
+
}
|
|
2278
2292
|
f = message.getAliasspecs();
|
|
2279
2293
|
if (f) {
|
|
2280
2294
|
writer.writeBool(
|
|
@@ -3837,6 +3851,43 @@ proto.pulumirpc.RegisterResourceRequest.prototype.clearReplaceWithList = functio
|
|
|
3837
3851
|
};
|
|
3838
3852
|
|
|
3839
3853
|
|
|
3854
|
+
/**
|
|
3855
|
+
* optional google.protobuf.Value replacement_trigger = 39;
|
|
3856
|
+
* @return {?proto.google.protobuf.Value}
|
|
3857
|
+
*/
|
|
3858
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.getReplacementTrigger = function() {
|
|
3859
|
+
return /** @type{?proto.google.protobuf.Value} */ (
|
|
3860
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 39));
|
|
3861
|
+
};
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* @param {?proto.google.protobuf.Value|undefined} value
|
|
3866
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3867
|
+
*/
|
|
3868
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.setReplacementTrigger = function(value) {
|
|
3869
|
+
return jspb.Message.setWrapperField(this, 39, value);
|
|
3870
|
+
};
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* Clears the message field making it undefined.
|
|
3875
|
+
* @return {!proto.pulumirpc.RegisterResourceRequest} returns this
|
|
3876
|
+
*/
|
|
3877
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.clearReplacementTrigger = function() {
|
|
3878
|
+
return this.setReplacementTrigger(undefined);
|
|
3879
|
+
};
|
|
3880
|
+
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* Returns whether this field is set.
|
|
3884
|
+
* @return {boolean}
|
|
3885
|
+
*/
|
|
3886
|
+
proto.pulumirpc.RegisterResourceRequest.prototype.hasReplacementTrigger = function() {
|
|
3887
|
+
return jspb.Message.getField(this, 39) != null;
|
|
3888
|
+
};
|
|
3889
|
+
|
|
3890
|
+
|
|
3840
3891
|
/**
|
|
3841
3892
|
* optional bool aliasSpecs = 28;
|
|
3842
3893
|
* @return {boolean}
|
|
@@ -6005,7 +6056,8 @@ pluginChecksumsMap: (f = msg.getPluginChecksumsMap()) ? f.toObject(includeInstan
|
|
|
6005
6056
|
hooks: (f = msg.getHooks()) && proto.pulumirpc.RegisterResourceRequest.ResourceHooksBinding.toObject(includeInstance, f),
|
|
6006
6057
|
pb_import: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
6007
6058
|
hideDiffList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
|
|
6008
|
-
replaceWithList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f
|
|
6059
|
+
replaceWithList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f,
|
|
6060
|
+
replacementTrigger: (f = msg.getReplacementTrigger()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f)
|
|
6009
6061
|
};
|
|
6010
6062
|
|
|
6011
6063
|
if (includeInstance) {
|
|
@@ -6125,6 +6177,11 @@ proto.pulumirpc.TransformResourceOptions.deserializeBinaryFromReader = function(
|
|
|
6125
6177
|
var value = /** @type {string} */ (reader.readString());
|
|
6126
6178
|
msg.addReplaceWith(value);
|
|
6127
6179
|
break;
|
|
6180
|
+
case 20:
|
|
6181
|
+
var value = new google_protobuf_struct_pb.Value;
|
|
6182
|
+
reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
|
|
6183
|
+
msg.setReplacementTrigger(value);
|
|
6184
|
+
break;
|
|
6128
6185
|
default:
|
|
6129
6186
|
reader.skipField();
|
|
6130
6187
|
break;
|
|
@@ -6284,6 +6341,14 @@ proto.pulumirpc.TransformResourceOptions.serializeBinaryToWriter = function(mess
|
|
|
6284
6341
|
f
|
|
6285
6342
|
);
|
|
6286
6343
|
}
|
|
6344
|
+
f = message.getReplacementTrigger();
|
|
6345
|
+
if (f != null) {
|
|
6346
|
+
writer.writeMessage(
|
|
6347
|
+
20,
|
|
6348
|
+
f,
|
|
6349
|
+
google_protobuf_struct_pb.Value.serializeBinaryToWriter
|
|
6350
|
+
);
|
|
6351
|
+
}
|
|
6287
6352
|
};
|
|
6288
6353
|
|
|
6289
6354
|
|
|
@@ -6865,6 +6930,43 @@ proto.pulumirpc.TransformResourceOptions.prototype.clearReplaceWithList = functi
|
|
|
6865
6930
|
};
|
|
6866
6931
|
|
|
6867
6932
|
|
|
6933
|
+
/**
|
|
6934
|
+
* optional google.protobuf.Value replacement_trigger = 20;
|
|
6935
|
+
* @return {?proto.google.protobuf.Value}
|
|
6936
|
+
*/
|
|
6937
|
+
proto.pulumirpc.TransformResourceOptions.prototype.getReplacementTrigger = function() {
|
|
6938
|
+
return /** @type{?proto.google.protobuf.Value} */ (
|
|
6939
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 20));
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6942
|
+
|
|
6943
|
+
/**
|
|
6944
|
+
* @param {?proto.google.protobuf.Value|undefined} value
|
|
6945
|
+
* @return {!proto.pulumirpc.TransformResourceOptions} returns this
|
|
6946
|
+
*/
|
|
6947
|
+
proto.pulumirpc.TransformResourceOptions.prototype.setReplacementTrigger = function(value) {
|
|
6948
|
+
return jspb.Message.setWrapperField(this, 20, value);
|
|
6949
|
+
};
|
|
6950
|
+
|
|
6951
|
+
|
|
6952
|
+
/**
|
|
6953
|
+
* Clears the message field making it undefined.
|
|
6954
|
+
* @return {!proto.pulumirpc.TransformResourceOptions} returns this
|
|
6955
|
+
*/
|
|
6956
|
+
proto.pulumirpc.TransformResourceOptions.prototype.clearReplacementTrigger = function() {
|
|
6957
|
+
return this.setReplacementTrigger(undefined);
|
|
6958
|
+
};
|
|
6959
|
+
|
|
6960
|
+
|
|
6961
|
+
/**
|
|
6962
|
+
* Returns whether this field is set.
|
|
6963
|
+
* @return {boolean}
|
|
6964
|
+
*/
|
|
6965
|
+
proto.pulumirpc.TransformResourceOptions.prototype.hasReplacementTrigger = function() {
|
|
6966
|
+
return jspb.Message.getField(this, 20) != null;
|
|
6967
|
+
};
|
|
6968
|
+
|
|
6969
|
+
|
|
6868
6970
|
|
|
6869
6971
|
|
|
6870
6972
|
|
package/stash.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Input, Output } from "./output";
|
|
2
|
+
import { CustomResource, CustomResourceOptions } from "./resource";
|
|
3
|
+
/**
|
|
4
|
+
* Stash stores an arbitrary value in the state.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Stash extends CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* The value saved in the state for the stash.
|
|
9
|
+
*/
|
|
10
|
+
readonly output: Output<any>;
|
|
11
|
+
/**
|
|
12
|
+
* The most recent value passed to the stash resource.
|
|
13
|
+
*/
|
|
14
|
+
readonly input: Output<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Create a {@link Stash} resource with the given arguments, and options.
|
|
17
|
+
*
|
|
18
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
19
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
20
|
+
*/
|
|
21
|
+
constructor(name: string, args: StashArgs, opts?: CustomResourceOptions);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The set of arguments for constructing a {@link Stash} resource.
|
|
25
|
+
*/
|
|
26
|
+
export interface StashArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The value to store in the stash resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly input: Input<any>;
|
|
31
|
+
}
|
package/stash.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2025-2025, Pulumi Corporation.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
const resource_1 = require("./resource");
|
|
17
|
+
/**
|
|
18
|
+
* Stash stores an arbitrary value in the state.
|
|
19
|
+
*/
|
|
20
|
+
class Stash extends resource_1.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Create a {@link Stash} resource with the given arguments, and options.
|
|
23
|
+
*
|
|
24
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
25
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
26
|
+
*/
|
|
27
|
+
constructor(name, args, opts) {
|
|
28
|
+
super("pulumi:index:Stash", name, {
|
|
29
|
+
input: args.input,
|
|
30
|
+
output: undefined,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.Stash = Stash;
|
|
35
|
+
//# sourceMappingURL=stash.js.map
|
package/stash.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stash.js","sourceRoot":"","sources":["../stash.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAGjC,yCAAmE;AAEnE;;GAEG;AACH,MAAa,KAAM,SAAQ,yBAAc;IAWrC;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAe,EAAE,IAA4B;QACnE,KAAK,CACD,oBAAoB,EACpB,IAAI,EACJ;YACI,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,SAAS;SACpB,EACD,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA5BD,sBA4BC"}
|
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.208.0-alpha.
|
|
16
|
+
exports.version = "3.208.0-alpha.xffa81aa";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|
package/pulumi-analyzer-policy
DELETED