Skip to content

IExecution

Represents a Execution.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrCounters object Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
AttrCurlCli object Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution.
AttrExecutionId object Attribute ExecutionId: Execution ID.
AttrOutputs object Attribute Outputs: Execution output.
AttrPowerShellCurlCli object 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 object Attribute Status: Execution status.
AttrStatusMessage object Attribute StatusMessage: Execution status information.
AttrWindowsCurlCli object 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

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.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

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrCountersRequired

public object AttrCounters { get; }
  • Type: object

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


AttrCurlCliRequired

public object AttrCurlCli { get; }
  • Type: object

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

public object AttrExecutionId { get; }
  • Type: object

Attribute ExecutionId: Execution ID.


AttrOutputsRequired

public object AttrOutputs { get; }
  • Type: object

Attribute Outputs: Execution output.


AttrPowerShellCurlCliRequired

public object AttrPowerShellCurlCli { get; }
  • Type: object

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

public object AttrStatus { get; }
  • Type: object

Attribute Status: Execution status.


AttrStatusMessageRequired

public object AttrStatusMessage { get; }
  • Type: object

Attribute StatusMessage: Execution status information.


AttrWindowsCurlCliRequired

public object AttrWindowsCurlCli { get; }
  • Type: object

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

public ExecutionProps Props { get; }