1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. pai
  5. FlowPipeline
Alibaba Cloud v3.77.0 published on Friday, May 2, 2025 by Pulumi

alicloud.pai.FlowPipeline

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.77.0 published on Friday, May 2, 2025 by Pulumi

    Provides a Pai Flow Pipeline resource.

    For information about Pai Flow Pipeline and how to use it, see What is Pipeline.

    NOTE: Available since v1.248.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform_example";
    const _default = alicloud.getAccount({});
    const defaultInteger = new random.index.Integer("default", {
        min: 10000,
        max: 99999,
    });
    const defaultWjQD1e = new alicloud.pai.WorkspaceWorkspace("defaultWjQD1e", {
        description: name,
        displayName: name,
        workspaceName: name,
        envTypes: ["dev"],
    });
    const defaultFlowPipeline = new alicloud.pai.FlowPipeline("default", {
        workspaceId: defaultWjQD1e.id,
        manifest: _default.then(_default => `apiVersion: "core/v1"
    metadata:
      provider: "${_default.id}"
      version: "v1"
      identifier: "my_pipeline"
      name: "source-transform"
      uuid: "terraformuuid${defaultInteger.result}"
      annotations: {}
      labels: {}
    spec:
      inputs:
        artifacts: []
        parameters:
        - name: "execution_maxcompute"
          type: "Map"
          value:
            spec:
              endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
              odpsProject: "test_i****"
      outputs:
        artifacts: []
        parameters: []
      arguments:
        artifacts: []
        parameters: []
      dependencies: []
      initContainers: []
      sideCarContainers: []
      pipelines:
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "data_source"
          name: "data-source"
          uuid: "2ftahdnzcod2rt6u9q"
          displayName: "读数据表-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts: []
            parameters:
            - name: "inputTableName"
              value: "pai_online_project.wumai_data"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies: []
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "type_transform"
          name: "type-transform"
          uuid: "gacnnnl4ksvbabfh6l"
          displayName: "类型转换-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts:
            - name: "inputTable"
              from: "{{pipelines.data_source.outputs.artifacts.outputTable}}"
            parameters:
            - name: "cols_to_double"
              value: "time,hour,pm2,pm10,so2,co,no2"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies:
          - "data_source"
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      volumes: []
    `),
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform_example"
    default = alicloud.get_account()
    default_integer = random.index.Integer("default",
        min=10000,
        max=99999)
    default_wj_qd1e = alicloud.pai.WorkspaceWorkspace("defaultWjQD1e",
        description=name,
        display_name=name,
        workspace_name=name,
        env_types=["dev"])
    default_flow_pipeline = alicloud.pai.FlowPipeline("default",
        workspace_id=default_wj_qd1e.id,
        manifest=f"""apiVersion: "core/v1"
    metadata:
      provider: "{default.id}"
      version: "v1"
      identifier: "my_pipeline"
      name: "source-transform"
      uuid: "terraformuuid{default_integer["result"]}"
      annotations: {{}}
      labels: {{}}
    spec:
      inputs:
        artifacts: []
        parameters:
        - name: "execution_maxcompute"
          type: "Map"
          value:
            spec:
              endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
              odpsProject: "test_i****"
      outputs:
        artifacts: []
        parameters: []
      arguments:
        artifacts: []
        parameters: []
      dependencies: []
      initContainers: []
      sideCarContainers: []
      pipelines:
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "data_source"
          name: "data-source"
          uuid: "2ftahdnzcod2rt6u9q"
          displayName: "读数据表-1"
          annotations: {{}}
          labels: {{}}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts: []
            parameters:
            - name: "inputTableName"
              value: "pai_online_project.wumai_data"
            - name: "execution"
              from: "{{{{inputs.parameters.execution_maxcompute}}}}"
          dependencies: []
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "type_transform"
          name: "type-transform"
          uuid: "gacnnnl4ksvbabfh6l"
          displayName: "类型转换-1"
          annotations: {{}}
          labels: {{}}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts:
            - name: "inputTable"
              from: "{{{{pipelines.data_source.outputs.artifacts.outputTable}}}}"
            parameters:
            - name: "cols_to_double"
              value: "time,hour,pm2,pm10,so2,co,no2"
            - name: "execution"
              from: "{{{{inputs.parameters.execution_maxcompute}}}}"
          dependencies:
          - "data_source"
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      volumes: []
    """)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pai"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform_example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
    			Min: 10000,
    			Max: 99999,
    		})
    		if err != nil {
    			return err
    		}
    		defaultWjQD1e, err := pai.NewWorkspaceWorkspace(ctx, "defaultWjQD1e", &pai.WorkspaceWorkspaceArgs{
    			Description:   pulumi.String(name),
    			DisplayName:   pulumi.String(name),
    			WorkspaceName: pulumi.String(name),
    			EnvTypes: pulumi.StringArray{
    				pulumi.String("dev"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = pai.NewFlowPipeline(ctx, "default", &pai.FlowPipelineArgs{
    			WorkspaceId: defaultWjQD1e.ID(),
    			Manifest: pulumi.Sprintf(`apiVersion: "core/v1"
    metadata:
      provider: "%v"
      version: "v1"
      identifier: "my_pipeline"
      name: "source-transform"
      uuid: "terraformuuid%v"
      annotations: {}
      labels: {}
    spec:
      inputs:
        artifacts: []
        parameters:
        - name: "execution_maxcompute"
          type: "Map"
          value:
            spec:
              endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
              odpsProject: "test_i****"
      outputs:
        artifacts: []
        parameters: []
      arguments:
        artifacts: []
        parameters: []
      dependencies: []
      initContainers: []
      sideCarContainers: []
      pipelines:
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "data_source"
          name: "data-source"
          uuid: "2ftahdnzcod2rt6u9q"
          displayName: "读数据表-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts: []
            parameters:
            - name: "inputTableName"
              value: "pai_online_project.wumai_data"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies: []
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "type_transform"
          name: "type-transform"
          uuid: "gacnnnl4ksvbabfh6l"
          displayName: "类型转换-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts:
            - name: "inputTable"
              from: "{{pipelines.data_source.outputs.artifacts.outputTable}}"
            parameters:
            - name: "cols_to_double"
              value: "time,hour,pm2,pm10,so2,co,no2"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies:
          - "data_source"
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      volumes: []
    `, _default.Id, defaultInteger.Result),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform_example";
        var @default = AliCloud.GetAccount.Invoke();
    
        var defaultInteger = new Random.Index.Integer("default", new()
        {
            Min = 10000,
            Max = 99999,
        });
    
        var defaultWjQD1e = new AliCloud.Pai.WorkspaceWorkspace("defaultWjQD1e", new()
        {
            Description = name,
            DisplayName = name,
            WorkspaceName = name,
            EnvTypes = new[]
            {
                "dev",
            },
        });
    
        var defaultFlowPipeline = new AliCloud.Pai.FlowPipeline("default", new()
        {
            WorkspaceId = defaultWjQD1e.Id,
            Manifest = @default.Apply(@default => @$"apiVersion: ""core/v1""
    metadata:
      provider: ""{@default.Apply(getAccountResult => getAccountResult.Id)}""
      version: ""v1""
      identifier: ""my_pipeline""
      name: ""source-transform""
      uuid: ""terraformuuid{defaultInteger.Result}""
      annotations: {{}}
      labels: {{}}
    spec:
      inputs:
        artifacts: []
        parameters:
        - name: ""execution_maxcompute""
          type: ""Map""
          value:
            spec:
              endpoint: ""http://service.cn.maxcompute.aliyun-inc.com/api""
              odpsProject: ""test_i****""
      outputs:
        artifacts: []
        parameters: []
      arguments:
        artifacts: []
        parameters: []
      dependencies: []
      initContainers: []
      sideCarContainers: []
      pipelines:
      - apiVersion: ""core/v1""
        metadata:
          provider: ""pai""
          version: ""v1""
          identifier: ""data_source""
          name: ""data-source""
          uuid: ""2ftahdnzcod2rt6u9q""
          displayName: ""读数据表-1""
          annotations: {{}}
          labels: {{}}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts: []
            parameters:
            - name: ""inputTableName""
              value: ""pai_online_project.wumai_data""
            - name: ""execution""
              from: ""{{{{inputs.parameters.execution_maxcompute}}}}""
          dependencies: []
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      - apiVersion: ""core/v1""
        metadata:
          provider: ""pai""
          version: ""v1""
          identifier: ""type_transform""
          name: ""type-transform""
          uuid: ""gacnnnl4ksvbabfh6l""
          displayName: ""类型转换-1""
          annotations: {{}}
          labels: {{}}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts:
            - name: ""inputTable""
              from: ""{{{{pipelines.data_source.outputs.artifacts.outputTable}}}}""
            parameters:
            - name: ""cols_to_double""
              value: ""time,hour,pm2,pm10,so2,co,no2""
            - name: ""execution""
              from: ""{{{{inputs.parameters.execution_maxcompute}}}}""
          dependencies:
          - ""data_source""
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      volumes: []
    "),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.random.integer;
    import com.pulumi.random.integerArgs;
    import com.pulumi.alicloud.pai.WorkspaceWorkspace;
    import com.pulumi.alicloud.pai.WorkspaceWorkspaceArgs;
    import com.pulumi.alicloud.pai.FlowPipeline;
    import com.pulumi.alicloud.pai.FlowPipelineArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform_example");
            final var default = AlicloudFunctions.getAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
                .min(10000)
                .max(99999)
                .build());
    
            var defaultWjQD1e = new WorkspaceWorkspace("defaultWjQD1e", WorkspaceWorkspaceArgs.builder()
                .description(name)
                .displayName(name)
                .workspaceName(name)
                .envTypes("dev")
                .build());
    
            var defaultFlowPipeline = new FlowPipeline("defaultFlowPipeline", FlowPipelineArgs.builder()
                .workspaceId(defaultWjQD1e.id())
                .manifest("""
    apiVersion: "core/v1"
    metadata:
      provider: "%s"
      version: "v1"
      identifier: "my_pipeline"
      name: "source-transform"
      uuid: "terraformuuid%s"
      annotations: {}
      labels: {}
    spec:
      inputs:
        artifacts: []
        parameters:
        - name: "execution_maxcompute"
          type: "Map"
          value:
            spec:
              endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
              odpsProject: "test_i****"
      outputs:
        artifacts: []
        parameters: []
      arguments:
        artifacts: []
        parameters: []
      dependencies: []
      initContainers: []
      sideCarContainers: []
      pipelines:
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "data_source"
          name: "data-source"
          uuid: "2ftahdnzcod2rt6u9q"
          displayName: "读数据表-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts: []
            parameters:
            - name: "inputTableName"
              value: "pai_online_project.wumai_data"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies: []
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      - apiVersion: "core/v1"
        metadata:
          provider: "pai"
          version: "v1"
          identifier: "type_transform"
          name: "type-transform"
          uuid: "gacnnnl4ksvbabfh6l"
          displayName: "类型转换-1"
          annotations: {}
          labels: {}
        spec:
          inputs:
            artifacts: []
            parameters: []
          outputs:
            artifacts: []
            parameters: []
          arguments:
            artifacts:
            - name: "inputTable"
              from: "{{pipelines.data_source.outputs.artifacts.outputTable}}"
            parameters:
            - name: "cols_to_double"
              value: "time,hour,pm2,pm10,so2,co,no2"
            - name: "execution"
              from: "{{inputs.parameters.execution_maxcompute}}"
          dependencies:
          - "data_source"
          initContainers: []
          sideCarContainers: []
          pipelines: []
          volumes: []
      volumes: []
    ", default_.id(),defaultInteger.result()))
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform_example
    resources:
      defaultInteger:
        type: random:integer
        name: default
        properties:
          min: 10000
          max: 99999
      defaultWjQD1e:
        type: alicloud:pai:WorkspaceWorkspace
        properties:
          description: ${name}
          displayName: ${name}
          workspaceName: ${name}
          envTypes:
            - dev
      defaultFlowPipeline:
        type: alicloud:pai:FlowPipeline
        name: default
        properties:
          workspaceId: ${defaultWjQD1e.id}
          manifest: |
            apiVersion: "core/v1"
            metadata:
              provider: "${default.id}"
              version: "v1"
              identifier: "my_pipeline"
              name: "source-transform"
              uuid: "terraformuuid${defaultInteger.result}"
              annotations: {}
              labels: {}
            spec:
              inputs:
                artifacts: []
                parameters:
                - name: "execution_maxcompute"
                  type: "Map"
                  value:
                    spec:
                      endpoint: "http://service.cn.maxcompute.aliyun-inc.com/api"
                      odpsProject: "test_i****"
              outputs:
                artifacts: []
                parameters: []
              arguments:
                artifacts: []
                parameters: []
              dependencies: []
              initContainers: []
              sideCarContainers: []
              pipelines:
              - apiVersion: "core/v1"
                metadata:
                  provider: "pai"
                  version: "v1"
                  identifier: "data_source"
                  name: "data-source"
                  uuid: "2ftahdnzcod2rt6u9q"
                  displayName: "读数据表-1"
                  annotations: {}
                  labels: {}
                spec:
                  inputs:
                    artifacts: []
                    parameters: []
                  outputs:
                    artifacts: []
                    parameters: []
                  arguments:
                    artifacts: []
                    parameters:
                    - name: "inputTableName"
                      value: "pai_online_project.wumai_data"
                    - name: "execution"
                      from: "{{inputs.parameters.execution_maxcompute}}"
                  dependencies: []
                  initContainers: []
                  sideCarContainers: []
                  pipelines: []
                  volumes: []
              - apiVersion: "core/v1"
                metadata:
                  provider: "pai"
                  version: "v1"
                  identifier: "type_transform"
                  name: "type-transform"
                  uuid: "gacnnnl4ksvbabfh6l"
                  displayName: "类型转换-1"
                  annotations: {}
                  labels: {}
                spec:
                  inputs:
                    artifacts: []
                    parameters: []
                  outputs:
                    artifacts: []
                    parameters: []
                  arguments:
                    artifacts:
                    - name: "inputTable"
                      from: "{{pipelines.data_source.outputs.artifacts.outputTable}}"
                    parameters:
                    - name: "cols_to_double"
                      value: "time,hour,pm2,pm10,so2,co,no2"
                    - name: "execution"
                      from: "{{inputs.parameters.execution_maxcompute}}"
                  dependencies:
                  - "data_source"
                  initContainers: []
                  sideCarContainers: []
                  pipelines: []
                  volumes: []
              volumes: []        
    variables:
      default:
        fn::invoke:
          function: alicloud:getAccount
          arguments: {}
    

    Create FlowPipeline Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FlowPipeline(name: string, args: FlowPipelineArgs, opts?: CustomResourceOptions);
    @overload
    def FlowPipeline(resource_name: str,
                     args: FlowPipelineArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlowPipeline(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     manifest: Optional[str] = None,
                     workspace_id: Optional[str] = None)
    func NewFlowPipeline(ctx *Context, name string, args FlowPipelineArgs, opts ...ResourceOption) (*FlowPipeline, error)
    public FlowPipeline(string name, FlowPipelineArgs args, CustomResourceOptions? opts = null)
    public FlowPipeline(String name, FlowPipelineArgs args)
    public FlowPipeline(String name, FlowPipelineArgs args, CustomResourceOptions options)
    
    type: alicloud:pai:FlowPipeline
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FlowPipelineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FlowPipelineArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FlowPipelineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlowPipelineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlowPipelineArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var flowPipelineResource = new AliCloud.Pai.FlowPipeline("flowPipelineResource", new()
    {
        Manifest = "string",
        WorkspaceId = "string",
    });
    
    example, err := pai.NewFlowPipeline(ctx, "flowPipelineResource", &pai.FlowPipelineArgs{
    	Manifest:    pulumi.String("string"),
    	WorkspaceId: pulumi.String("string"),
    })
    
    var flowPipelineResource = new FlowPipeline("flowPipelineResource", FlowPipelineArgs.builder()
        .manifest("string")
        .workspaceId("string")
        .build());
    
    flow_pipeline_resource = alicloud.pai.FlowPipeline("flowPipelineResource",
        manifest="string",
        workspace_id="string")
    
    const flowPipelineResource = new alicloud.pai.FlowPipeline("flowPipelineResource", {
        manifest: "string",
        workspaceId: "string",
    });
    
    type: alicloud:pai:FlowPipeline
    properties:
        manifest: string
        workspaceId: string
    

    FlowPipeline Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FlowPipeline resource accepts the following input properties:

    Manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    WorkspaceId string
    The ID of the workspace.
    Manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    WorkspaceId string
    The ID of the workspace.
    manifest String
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId String
    The ID of the workspace.
    manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId string
    The ID of the workspace.
    manifest str
    The pipeline definition. For more information, see the sample pipeline definition).
    workspace_id str
    The ID of the workspace.
    manifest String
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId String
    The ID of the workspace.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FlowPipeline resource produces the following output properties:

    CreateTime string
    The creation time of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    The creation time of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    The creation time of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime string
    The creation time of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    create_time str
    The creation time of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    createTime String
    The creation time of the resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FlowPipeline Resource

    Get an existing FlowPipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FlowPipelineState, opts?: CustomResourceOptions): FlowPipeline
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            manifest: Optional[str] = None,
            workspace_id: Optional[str] = None) -> FlowPipeline
    func GetFlowPipeline(ctx *Context, name string, id IDInput, state *FlowPipelineState, opts ...ResourceOption) (*FlowPipeline, error)
    public static FlowPipeline Get(string name, Input<string> id, FlowPipelineState? state, CustomResourceOptions? opts = null)
    public static FlowPipeline get(String name, Output<String> id, FlowPipelineState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:pai:FlowPipeline    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The creation time of the resource.
    Manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    WorkspaceId string
    The ID of the workspace.
    CreateTime string
    The creation time of the resource.
    Manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    WorkspaceId string
    The ID of the workspace.
    createTime String
    The creation time of the resource.
    manifest String
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId String
    The ID of the workspace.
    createTime string
    The creation time of the resource.
    manifest string
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId string
    The ID of the workspace.
    create_time str
    The creation time of the resource.
    manifest str
    The pipeline definition. For more information, see the sample pipeline definition).
    workspace_id str
    The ID of the workspace.
    createTime String
    The creation time of the resource.
    manifest String
    The pipeline definition. For more information, see the sample pipeline definition).
    workspaceId String
    The ID of the workspace.

    Import

    Pai Flow Pipeline can be imported using the id, e.g.

    $ pulumi import alicloud:pai/flowPipeline:FlowPipeline example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.77.0 published on Friday, May 2, 2025 by Pulumi