ExecutionProps
Properties for defining a Execution.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution
Initializer
using AlibabaCloud.SDK.ROS.CDK.Oos;
new ExecutionProps {
object Description = null,
object LoopMode = null,
object Mode = null,
object Parameters = null,
object ParentExecutionId = null,
object ResourceGroupId = null,
object ResourceOptions = null,
object SafetyCheck = null,
System.Collections.Generic.IDictionary<string, object> Tags = null,
object TemplateContent = null,
object TemplateName = null,
object TemplateUrl = null,
object TemplateVersion = null
};
Properties
| Name | Type | Description |
|---|---|---|
Description | object | Property description: The description of OOS Execution. |
LoopMode | object | Property loopMode: The loop mode of OOS Execution. |
Mode | object | Property mode: The execution mode. |
Parameters | object | Property parameters: The JSON string that consists of a collection of parameters. |
ParentExecutionId | object | Property parentExecutionId: The ID of the parent execution. |
ResourceGroupId | object | Property resourceGroupId: Resource group id. |
ResourceOptions | object | Property resourceOptions: Resource options user by ROS. |
SafetyCheck | object | Property safetyCheck: Security check mode. |
Tags | System.Collections.Generic.IDictionary | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
TemplateContent | object | Property templateContent: The content of the template in the JSON or YAML format. |
TemplateName | object | Property templateName: The name of the template. |
TemplateUrl | object | Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template. |
TemplateVersion | object | Property templateVersion: Version number of template. |
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of OOS Execution.
LoopModeOptional
public object LoopMode { get; set; }
- Type: object
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 object Mode { get; set; }
- Type: object
Property mode: The execution mode.
Valid values:
- Automatic (default): The execution is automatically run.
- FailurePause: The execution is paused if a task fails.
- Debug: The execution is run in single-step mode.
ParametersOptional
public object Parameters { get; set; }
- Type: object
Property parameters: The JSON string that consists of a collection of parameters.
The default value is {}.
ParentExecutionIdOptional
public object ParentExecutionId { get; set; }
- Type: object
Property parentExecutionId: The ID of the parent execution.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
ResourceOptionsOptional
public object ResourceOptions { get; set; }
- Type: object
Property resourceOptions: Resource options user by ROS.
SafetyCheckOptional
public object SafetyCheck { get; set; }
- Type: object
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 System.Collections.Generic.IDictionary<string, object> Tags { get; set; }
- Type: System.Collections.Generic.IDictionary
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
TemplateContentOptional
public object TemplateContent { get; set; }
- Type: object
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 object TemplateName { get; set; }
- Type: object
Property templateName: The name of the template.
The name can contain letters, digits, hyphens (-), and underscores (_). The name can be up to 200 characters in length.
TemplateUrlOptional
public object TemplateUrl { get; set; }
- Type: object
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 object TemplateVersion { get; set; }
- Type: object
Property templateVersion: Version number of template.
Default to the latest version.