Skip to content

ExecutionProps

Properties for defining a Execution.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution

Initializer

import com.aliyun.ros.cdk.oos.ExecutionProps;
ExecutionProps.builder()
//  .description(java.lang.String)
//  .description(IResolvable)
//  .loopMode(java.lang.String)
//  .loopMode(IResolvable)
//  .mode(java.lang.String)
//  .mode(IResolvable)
//  .parameters(IResolvable)
//  .parameters(java.util.Map<java.lang.String, java.lang.Object>)
//  .parentExecutionId(java.lang.String)
//  .parentExecutionId(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .resourceOptions(IResolvable)
//  .resourceOptions(ResourceOptionsProperty)
//  .safetyCheck(java.lang.String)
//  .safetyCheck(IResolvable)
//  .tags(java.util.Map<java.lang.String, java.lang.Object>)
//  .templateContent(java.lang.String)
//  .templateContent(IResolvable)
//  .templateName(java.lang.String)
//  .templateName(IResolvable)
//  .templateUrl(java.lang.String)
//  .templateUrl(IResolvable)
//  .templateVersion(java.lang.String)
//  .templateVersion(IResolvable)
    .build();

Properties

Name Type Description
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of OOS Execution.
loopMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loopMode: The loop mode of OOS Execution.
mode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property mode: Execution mode.
parameters com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property parameters: Parameters for the execution of template.
parentExecutionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property parentExecutionId: Parent execution ID.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
resourceOptions com.aliyun.ros.cdk.core.IResolvable OR ResourceOptionsProperty Property resourceOptions: Resource options user by ROS.
safetyCheck java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property safetyCheck: Security check mode.
tags java.util.Map Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
templateContent java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateContent: The content of the template in the JSON or YAML format.
templateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateName: Template name.
templateUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template.
templateVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateVersion: Version number of template.

descriptionOptional

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

Property description: The description of OOS Execution.


loopModeOptional

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

Property loopMode: The loop mode of OOS Execution.

Valid values:

  • Automatic(Default): does not pause.
  • FirstBatchPause: The first batch of pauses.
  • EveryBatchPause: pause each batch.

modeOptional

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

Property mode: Execution mode.


parametersOptional

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

Property parameters: Parameters for the execution of template.


parentExecutionIdOptional

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

Property parentExecutionId: Parent execution ID.


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


resourceOptionsOptional

public java.lang.Object getResourceOptions();

Property resourceOptions: Resource options user by ROS.


safetyCheckOptional

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

Property safetyCheck: Security check mode.

Allowed values:

  • Skip (default): This option means that customers understand the risks, you can do anything without confirmation Action, no matter what the level of risk. It takes effect only if Mode is Automatic.
  • ConfirmEveryHighRiskAction: This option would require customers to confirm each Action a high risk. NotifyExecution by calling customer interface to confirm or cancel.

tagsOptional

public java.util.Map<java.lang.String, java.lang.Object> getTags();
  • Type: java.util.Map

Property tags: Tag value and the key mapping, the label of the key number can be up to 20.


templateContentOptional

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

Property templateContent: The content of the template in the JSON or YAML format.

This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.


templateNameOptional

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

Property templateName: Template name.

Content is limited to letters, numbers, underlined, underline, the length of 200 characters.


templateUrlOptional

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

Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template.

The access control list (ACL) of the object must be public-read. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.


templateVersionOptional

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

Property templateVersion: Version number of template.

Default to the latest version.