Skip to content

RosRunCommandProps

Properties for defining a RosRunCommand.

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

Initializer

import com.aliyun.ros.cdk.ecs.RosRunCommandProps;
RosRunCommandProps.builder()
    .commandContent(java.lang.String)
    .commandContent(IResolvable)
    .instanceIds(IResolvable)
    .instanceIds(java.util.List<java.lang.String)
    .instanceIds(IResolvable>)
    .type(java.lang.String)
    .type(IResolvable)
//  .containerId(java.lang.String)
//  .containerId(IResolvable)
//  .containerName(java.lang.String)
//  .containerName(IResolvable)
//  .contentEncoding(java.lang.String)
//  .contentEncoding(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .enableParameter(java.lang.Boolean)
//  .enableParameter(IResolvable)
//  .frequency(java.lang.String)
//  .frequency(IResolvable)
//  .keepCommand(java.lang.Boolean)
//  .keepCommand(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .parameters(IResolvable)
//  .parameters(java.util.Map<java.lang.String, java.lang.Object>)
//  .repeatMode(java.lang.String)
//  .repeatMode(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .runAgainOn(IResolvable)
//  .runAgainOn(java.util.List<java.lang.String)
//  .runAgainOn(IResolvable>)
//  .sync(java.lang.Boolean)
//  .sync(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .timeout(java.lang.Number)
//  .timeout(IResolvable)
//  .username(java.lang.String)
//  .username(IResolvable)
//  .windowsPasswordName(java.lang.String)
//  .windowsPasswordName(IResolvable)
//  .workingDir(java.lang.String)
//  .workingDir(IResolvable)
    .build();

Properties

Name Type Description
commandContent java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
containerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
containerName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
contentEncoding java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
enableParameter java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
frequency java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
keepCommand java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
parameters com.aliyun.ros.cdk.core.IResolvable OR java.util.Map No description.
repeatMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
runAgainOn com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
sync java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
tags java.util.List<TagsProperty> No description.
timeout java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
username java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
windowsPasswordName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
workingDir java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

commandContentRequired

public java.lang.Object getCommandContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

instanceIdsRequired

public java.lang.Object getInstanceIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

typeRequired

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

containerIdOptional

public java.lang.Object getContainerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

containerNameOptional

public java.lang.Object getContainerName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

contentEncodingOptional

public java.lang.Object getContentEncoding();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

enableParameterOptional

public java.lang.Object getEnableParameter();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

frequencyOptional

public java.lang.Object getFrequency();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

keepCommandOptional

public java.lang.Object getKeepCommand();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

parametersOptional

public java.lang.Object getParameters();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

repeatModeOptional

public java.lang.Object getRepeatMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

runAgainOnOptional

public java.lang.Object getRunAgainOn();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

syncOptional

public java.lang.Object getSync();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

tagsOptional

public java.util.List<TagsProperty> getTags();

timeoutOptional

public java.lang.Object getTimeout();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

usernameOptional

public java.lang.Object getUsername();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

windowsPasswordNameOptional

public java.lang.Object getWindowsPasswordName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

workingDirOptional

public java.lang.Object getWorkingDir();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable