ExecutionProps
Properties for defining a Execution.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.ExecutionProps {
Description: interface{},
LoopMode: interface{},
Mode: interface{},
Parameters: interface{},
ParentExecutionId: interface{},
ResourceGroupId: interface{},
ResourceOptions: interface{},
SafetyCheck: interface{},
Tags: *map[string]interface{},
TemplateContent: interface{},
TemplateName: interface{},
TemplateUrl: interface{},
TemplateVersion: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Description | interface{} | Property description: The description of OOS Execution. |
LoopMode | interface{} | Property loopMode: The loop mode of OOS Execution. |
Mode | interface{} | Property mode: The execution mode. |
Parameters | interface{} | Property parameters: The JSON string that consists of a collection of parameters. |
ParentExecutionId | interface{} | Property parentExecutionId: The ID of the parent execution. |
ResourceGroupId | interface{} | Property resourceGroupId: Resource group id. |
ResourceOptions | interface{} | Property resourceOptions: Resource options user by ROS. |
SafetyCheck | interface{} | Property safetyCheck: Security check mode. |
Tags | *map[string]interface{} | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
TemplateContent | interface{} | Property templateContent: The content of the template in the JSON or YAML format. |
TemplateName | interface{} | Property templateName: The name of the template. |
TemplateUrl | interface{} | Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template. |
TemplateVersion | interface{} | Property templateVersion: Version number of template. |
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of OOS Execution.
LoopModeOptional
LoopMode interface{}
- Type: interface{}
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
Mode interface{}
- Type: interface{}
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
Parameters interface{}
- Type: interface{}
Property parameters: The JSON string that consists of a collection of parameters.
The default value is {}.
ParentExecutionIdOptional
ParentExecutionId interface{}
- Type: interface{}
Property parentExecutionId: The ID of the parent execution.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
ResourceOptionsOptional
ResourceOptions interface{}
- Type: interface{}
Property resourceOptions: Resource options user by ROS.
SafetyCheckOptional
SafetyCheck interface{}
- Type: interface{}
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
Tags *map[string]interface{}
- Type: *map[string]interface{}
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
TemplateContentOptional
TemplateContent interface{}
- Type: interface{}
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
TemplateName interface{}
- Type: interface{}
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
TemplateUrl interface{}
- Type: interface{}
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
TemplateVersion interface{}
- Type: interface{}
Property templateVersion: Version number of template.
Default to the latest version.