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: Execution mode. |
Parameters |
interface{} |
Property parameters: Parameters for the execution of template. |
ParentExecutionId |
interface{} |
Property parentExecutionId: Parent execution ID. |
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: Template name. |
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: Execution mode.
ParametersOptional
Parameters interface{}
- Type: interface{}
Property parameters: Parameters for the execution of template.
ParentExecutionIdOptional
ParentExecutionId interface{}
- Type: interface{}
Property parentExecutionId: Parent execution ID.
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: Template name.
Content is limited to letters, numbers, underlined, underline, the length of 200 characters.
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.