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 that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-).
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 that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-).


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.