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. |
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of OOS Execution.
loopMode
Optional
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.
mode
Optional
public java.lang.Object getMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property mode: Execution mode.
parameters
Optional
public java.lang.Object getParameters();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property parameters: Parameters for the execution of template.
parentExecutionId
Optional
public java.lang.Object getParentExecutionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property parentExecutionId: Parent execution ID.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group id.
resourceOptions
Optional
public java.lang.Object getResourceOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ResourceOptionsProperty
Property resourceOptions: Resource options user by ROS.
safetyCheck
Optional
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.
tags
Optional
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.
templateContent
Optional
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.
templateName
Optional
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.
templateUrl
Optional
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.
templateVersion
Optional
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.