Skip to content

WorkFlowProps

Properties for defining a WorkFlow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-schedulerx-workflow

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkschedulerx"
&alicloudroscdkschedulerx.WorkFlowProps {
    GroupId: interface{},
    Namespace: interface{},
    TimeType: interface{},
    WorkflowName: interface{},
    Description: interface{},
    MaxConcurrency: interface{},
    NamespaceSource: interface{},
    TimeExpression: interface{},
    Timezone: interface{},
}

Properties

Name Type Description
GroupId interface{} Property groupId: The application Group ID, which is obtained from the application management page of the console.
Namespace interface{} Property namespace: The namespace ID, which is obtained from the namespace page in the console.
TimeType interface{} Property timeType: Time type.
WorkflowName interface{} Property workflowName: Workflow Name.
Description interface{} Property description: Workflow description.
MaxConcurrency interface{} Property maxConcurrency: The maximum number of workflow instances running at the same time.
NamespaceSource interface{} Property namespaceSource: Special third parties are required.
TimeExpression interface{} Property timeExpression: Time expression, which is set based on the selected time type.
Timezone interface{} Property timezone: Time Zone.

GroupIdRequired

GroupId interface{}
  • Type: interface{}

Property groupId: The application Group ID, which is obtained from the application management page of the console.


NamespaceRequired

Namespace interface{}
  • Type: interface{}

Property namespace: The namespace ID, which is obtained from the namespace page in the console.


TimeTypeRequired

TimeType interface{}
  • Type: interface{}

Property timeType: Time type.

Currently, the following time types are supported:

  • cron: 1
  • api: 100.

WorkflowNameRequired

WorkflowName interface{}
  • Type: interface{}

Property workflowName: Workflow Name.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Workflow description.


MaxConcurrencyOptional

MaxConcurrency interface{}
  • Type: interface{}

Property maxConcurrency: The maximum number of workflow instances running at the same time.

The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even when the running time is reached.


NamespaceSourceOptional

NamespaceSource interface{}
  • Type: interface{}

Property namespaceSource: Special third parties are required.


TimeExpressionOptional

TimeExpression interface{}
  • Type: interface{}

Property timeExpression: Time expression, which is set based on the selected time type.

  • cron: Fill in standard cron expressions to support online verification.
  • api: No time expression.

TimezoneOptional

Timezone interface{}
  • Type: interface{}

Property timezone: Time Zone.


Protocols