Skip to content

RunCommandProps

Properties for defining a RunCommand.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudphone"
&alicloudroscdkcloudphone.RunCommandProps {
    Command: interface{},
    InstanceIds: interface{},
    RunAgainOn: interface{},
}

Properties

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

CommandRequired

Command interface{}
  • Type: interface{}

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

InstanceIds interface{}
  • Type: interface{}

Property instanceIds: ID of the instance executing the command.

Range of n: 1 ~ 10


RunAgainOnOptional

RunAgainOn interface{}
  • Type: interface{}

Property runAgainOn: The stage of executing the command again.