Skip to content

IExecution

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Execution, IExecution

Represents a Execution.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrCounters interface{} Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
AttrCurlCli interface{} Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution.
AttrExecutionId interface{} Attribute ExecutionId: Execution ID.
AttrOutputs interface{} Attribute Outputs: Execution output.
AttrPowerShellCurlCli interface{} Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used to notify oos execution instead of OOS API NotifyExecution.
AttrStatus interface{} Attribute Status: Execution status.
AttrStatusMessage interface{} Attribute StatusMessage: Execution status information.
AttrWindowsCurlCli interface{} Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used to notify oos execution instead of OOS API NotifyExecution.
Props ExecutionProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrCountersRequired

func AttrCounters() interface{}
  • Type: interface{}

Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.


AttrCurlCliRequired

func AttrCurlCli() interface{}
  • Type: interface{}

Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution.

You can notify approve to oos execution by adding --data-binary '{"data": {"NotifyType": "Approve"}}' For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html. You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.


AttrExecutionIdRequired

func AttrExecutionId() interface{}
  • Type: interface{}

Attribute ExecutionId: Execution ID.


AttrOutputsRequired

func AttrOutputs() interface{}
  • Type: interface{}

Attribute Outputs: Execution output.


AttrPowerShellCurlCliRequired

func AttrPowerShellCurlCli() interface{}
  • Type: interface{}

Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used to notify oos execution instead of OOS API NotifyExecution.

You can notify approve to oos execution by adding -Body '{"data": {"NotifyType": "Approve"}}' For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.


AttrStatusRequired

func AttrStatus() interface{}
  • Type: interface{}

Attribute Status: Execution status.


AttrStatusMessageRequired

func AttrStatusMessage() interface{}
  • Type: interface{}

Attribute StatusMessage: Execution status information.


AttrWindowsCurlCliRequired

func AttrWindowsCurlCli() interface{}
  • Type: interface{}

Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used to notify oos execution instead of OOS API NotifyExecution.

You can notify approve to oos execution by adding --data-binary "{"data": {"NotifyType": "Approve"}}" For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.


PropsRequired

func Props() ExecutionProps