OctopusDeployReleasePromoter Class

Summary

The Octopus Deploy Promote Release runner. This class facilitates promoting existing releases in Octopus Deploy.
graph BT Type-->Base0["OctopusDeployTool<OctopusDeployPromoteReleaseSettings>"] Base0-->Base1["Tool<OctopusDeployPromoteReleaseSettings>"] Base1-->Base2["object"] Type["OctopusDeployReleasePromoter"] class Type type-node

Syntax

public sealed class OctopusDeployReleasePromoter : 
    OctopusDeployTool<OctopusDeployPromoteReleaseSettings>

Constructors

Methods

Name Value Summary
PromoteRelease(string, string, string, string, string, OctopusDeployPromoteReleaseSettings) void
Requests a promotion of a specified release to an environment.

Extension Methods

Name Value Summary
Dump<OctopusDeployReleasePromoter>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<OctopusDeployReleasePromoter>(OctopusDeployReleasePromoter[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<OctopusDeployReleasePromoter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<OctopusDeployReleasePromoter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<OctopusDeployReleasePromoter>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<OctopusDeployReleasePromoter>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin