Engine services#
pulumi/pulumi:proto/pulumi/engine.proto
Services#
π Engine#
Engine is an auxiliary service offered to language and resource provider plugins. Its main purpose today is to serve as a common logging endpoint, but it also serves as a state storage mechanism for language hosts that canβt store their own global state.
π Log#
β€΅οΈ LogRequest β€΄οΈ .google.protobuf.Empty
Log logs a global message in the engine, including errors and warnings.
π GetRootResource#
β€΅οΈ GetRootResourceRequest β€΄οΈ GetRootResourceResponse
GetRootResource gets the URN of the root resource, the resource that should be the root of all otherwise-unparented resources.
π SetRootResource#
β€΅οΈ SetRootResourceRequest β€΄οΈ SetRootResourceResponse
SetRootResource sets the URN of the root resource.
π StartDebugging#
β€΅οΈ StartDebuggingRequest β€΄οΈ .google.protobuf.Empty
StartDebugging indicates to the engine that the program has started under a debugger, and the engine should notify the user of how to connect to the debugger.
π RequirePulumiVersion#
β€΅οΈ RequirePulumiVersionRequest β€΄οΈ RequirePulumiVersionResponse
RequirePulumiVersion checks that the version of the engine satisfies the passed in range.
Messages#
π¨ GetRootResourceRequest#
empty.
π¨ GetRootResourceResponse#
urnstringthe URN of the root resource, or the empty string if one was not set.
π¨ LogRequest#
severityLogSeveritythe logging level of this message.
messagestringthe contents of the logged message.
urnstringthe (optional) resource urn this log is associated with.
streamIdint32the (optional) stream id that a stream of log messages can be associated with. This allows clients to not have to buffer a large set of log messages that they all want to be conceptually connected. Instead the messages can be sent as chunks (with the same stream id) and the end display can show the messages as they arrive, while still stitching them together into one total log message.
0/not-given means: do not associate with any stream.
ephemeralboolOptional value indicating whether this is a status message.
π¨ RequirePulumiVersionRequest#
pulumi_version_rangestringA version range to check against the engine (CLI) version. If the version is not compatible with the specified range, an error is returned. The supported syntax for ranges is that of https://pkg.go.dev/github.com/blang/semver#ParseRange. For example β>=3.0.0β, or β!3.1.2β. Ranges can be AND-ed together by concatenating with spaces β>=3.5.0 !3.7.7β, meaning greater-or-equal to 3.5.0 and not exactly 3.7.7. Ranges can be OR-ed with the
||operator: β<3.4.0 || >3.8.0β, meaning less-than 3.4.0 or greater-than 3.8.0.
π¨ RequirePulumiVersionResponse#
empty
π¨ SetRootResourceRequest#
urnstringthe URN of the root resource, or the empty string.
π¨ SetRootResourceResponse#
empty.
π¨ StartDebuggingRequest#
configgoogle.protobuf.Structthe debug configuration parameters. These are meant to be in the right format for the DAP protocol to consume.
messagestringthe string to display to the user with instructions on how to connect to the debugger.