Skip to content

RunCommandProps

Properties for defining a RunCommand.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-runcommand

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cloudphone;
new RunCommandProps {
    object Command,
    object InstanceIds,
    object RunAgainOn = null
};

Properties

Name Type Description
Command object Property command: The command to be executed.
InstanceIds object Property instanceIds: ID of the instance executing the command.
RunAgainOn object Property runAgainOn: The stage of executing the command again.

CommandRequired

public object Command { get; set; }
  • Type: object

Property command: The command to be executed.

The maximum length of a command is 1024 bytes, and only supports lowercase letters, numbers, downline (_), points (.), Slanting (/), colon (:), medium line (-).


InstanceIdsRequired

public object InstanceIds { get; set; }
  • Type: object

Property instanceIds: ID of the instance executing the command.

Range of n: 1 ~ 10


RunAgainOnOptional

public object RunAgainOn { get; set; }
  • Type: object

Property runAgainOn: The stage of executing the command again.