Interface PulumiCommand

  • All Known Implementing Classes:
    LocalPulumiCommand

    public interface PulumiCommand
    A Pulumi command.
    • Method Detail

      • version

        @Nullable
        Version version()
        The version of the Pulumi CLI that is being used.
        Returns:
        the version of the Pulumi CLI or null
      • run

        default CommandResult run​(java.util.List<java.lang.String> args)
                           throws AutomationException
        Runs the Pulumi command with default options.
        Parameters:
        args - the arguments to pass to the command
        Returns:
        the command result
        Throws:
        AutomationException - if the command fails