Interface IEngine
An interface to the engine host running this plugin.
Namespace: Pulumi.Experimental
Assembly: Pulumi.dll
Syntax
public interface IEngine
Methods
View SourceLogAsync(LogRequest)
Send a log message to the host.
Declaration
Task LogAsync(LogRequest message)
Parameters
| Type | Name | Description |
|---|---|---|
| LogRequest | message |
Returns
| Type | Description |
|---|---|
| Task |
RequirePulumiVersionAsync(string)
Checks that the version of the Pulumi CLI satisfies the specified version range.
Declaration
Task RequirePulumiVersionAsync(string pulumiVersionRange)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pulumiVersionRange | A 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. |
Returns
| Type | Description |
|---|---|
| Task |