AppCenterCodepushPromoteSettings Class

Summary

Settings for appcenter codepush promote. Create a new release for the destination deployment, which includes the exact code and metadata from the latest release of the source deployment.
Assembly
Cake.AppCenter.dll
Namespace
Cake.AppCenter
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.AppCenter/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["AppCenterCodepushPromoteSettings"] class Type type-node

Syntax

public sealed class AppCenterCodepushPromoteSettings : AutoToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute
CompilerGeneratedAttribute

Constructors

Properties

Name Value Summary
App string
-a|--app <arg> Specify app in the <ownerName>/<appName> format
Debug Nullable<bool>
--debug Display extra output for debugging
Description string
--description <arg> Specifies description of the changes made to the app with this release
DestinationDeploymentName string
-d|--destination-deployment-name <arg> Specifies destination deployment name
Disabled Nullable<bool>
-x|--disabled Specifies whether this release should be immediately downloadable. (Putting -x flag means disabled)
DisableDuplicateReleaseError Nullable<bool>
--disable-duplicate-release-error Specifies that if the update is identical to the latest release on the deployment, the CLI should generate a warning instead of an error
DisableTelemetry Nullable<bool>
--disable-telemetry Disable telemetry for this command
Env string
--env <arg> Environment when using API token
Help Nullable<bool>
-h|--help Display help for current command
Label string
-l|--label <arg> Allows you to pick the specified label from the source deployment and promote it to the destination deployment
Mandatory Nullable<bool>
-m|--mandatory Specifies whether this release should be considered mandatory. (Putting -m flag means mandatory)
Output string
--output <arg> Output format: json
Quiet Nullable<bool>
--quiet Auto-confirm any prompts without waiting for input
Rollout string
-r|--rollout <arg> Specifies percentage of users this release should be immediately available to. (The specified number must be an integer between 1 and 100)
SourceDeploymentName string
-s|--source-deployment-name <arg> Specifies source deployment name
TargetBinaryVersion string
-t|--target-binary-version <arg> Specifies binary app version(s) that specifies this release is targeting for. (The value must be a semver expression such as 1.1.0, ~1.2.3)
Token string
--token <arg> API token
Version Nullable<bool>
-v|--version Display appcenter version

Extension Methods

Name Value Summary
Dump<AppCenterCodepushPromoteSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AppCenterCodepushPromoteSettings>(AppCenterCodepushPromoteSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AppCenterCodepushPromoteSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AppCenterCodepushPromoteSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AppCenterCodepushPromoteSettings>(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<AppCenterCodepushPromoteSettings>(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