すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::DEVOPS::Pipeline

最終更新日:Mar 17, 2025

ALIYUN::DEVOPS::Pipeline は、パイプラインを作成するために使用されます。YAML ベースのパイプラインがサポートされています。

構文

{
  "Type": "ALIYUN::DEVOPS::Pipeline",
  "Properties": {
    "Content": String,
    "OrganizationId": String,
    "Name": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Content

String

はい

はい

YAML ベースのパイプラインの説明。

なし。

OrganizationId

String

はい

いいえ

企業 ID。

企業 ID は String 型です。Apsara DevOps エンドポイントにアクセスすることで、企業 ID を取得できます。例:

https://devops.aliyun.com/organization/[OrganizationId]

Name

String

はい

はい

パイプライン名。

なし。

戻り値

Fn::GetAtt

PipelineId: パイプライン ID

  • YAML フォーマット

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      Content:
        Description:
          en: Pipeline description in YAML format.
        Type: String
      Name:
        Description:
          en: Pipeline name.
        Type: String
      OrganizationId:
        Description:
          en: Corporate identity, also known as enterprise id, can obtain in cloud effect
            access links.
        Type: String
    Resources:
      Pipeline:
        Properties:
          Content:
            Ref: Content
          Name:
            Ref: Name
          OrganizationId:
            Ref: OrganizationId
        Type: ALIYUN::DEVOPS::Pipeline
    Outputs:
      PipelineId:
        Description: Pipeline id.
        Value:
          Fn::GetAtt:
          - Pipeline
          - PipelineId
                            
  • JSON フォーマット

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "Content": {
          "Type": "String",
          "Description": {
            "en": "Pipeline description in YAML format."
          }
        },
        "OrganizationId": {
          "Type": "String",
          "Description": {
            "en": "Corporate identity, also known as enterprise id, can obtain in cloud effect access links."
          }
        },
        "Name": {
          "Type": "String",
          "Description": {
            "en": "Pipeline name."
          }
        }
      },
      "Resources": {
        "Pipeline": {
          "Type": "ALIYUN::DEVOPS::Pipeline",
          "Properties": {
            "Content": {
              "Ref": "Content"
            },
            "OrganizationId": {
              "Ref": "OrganizationId"
            },
            "Name": {
              "Ref": "Name"
            }
          }
        }
      },
      "Outputs": {
        "PipelineId": {
          "Description": "Pipeline id.",
          "Value": {
            "Fn::GetAtt": [
              "Pipeline",
              "PipelineId"
            ]
          }
        }
      }
    }