ALIYUN::BrainIndustrial::PidProject类型用于新增项目。

语法

{
  "Type": "ALIYUN::BrainIndustrial::PidProject",
  "Properties": {
    "PidProjectDesc": String,
    "PidProjectName": String,
    "PidOrganizationId": String
  }
}

属性

属性名称 类型 必须 允许更新 描述 约束
PidProjectDesc String PID(Proportional Integral Derivative)项目描述。

关于PID的更多信息,请参见概述

PidProjectName String PID项目名称。
PidOrganizationId String PID组织ID。

返回值

Fn::GetAtt

  • PidProjectDesc:PID项目描述。
  • PidProjectId:PID项目ID。
  • PidProjectName:PID项目名称。
  • PidOrganizationId:PID组织ID。

示例

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "PidProjectDesc": {
      "Type": "String",
      "Description": "PidProjectDesc"
    },
    "PidProjectName": {
      "Type": "String",
      "Description": "PidProjectName"
    },
    "PidOrganizationId": {
      "Type": "String",
      "Description": "PidOrganizationId"
    }
  },
  "Resources": {
    "BrainIndustrialPidProject": {
      "Type": "ALIYUN::BrainIndustrial::PidProject",
      "Properties": {
        "PidProjectDesc": {
          "Ref": "PidProjectDesc"
        },
        "PidProjectName": {
          "Ref": "PidProjectName"
        },
        "PidOrganizationId": {
          "Ref": "PidOrganizationId"
        }
      }
    }
  },
  "Outputs": {
    "PidProjectDesc": {
      "Description": "PidProjectDesc",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidProject",
          "PidProjectDesc"
        ]
      }
    },
    "PidProjectId": {
      "Description": "PidProjectId",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidProject",
          "PidProjectId"
        ]
      }
    },
    "PidProjectName": {
      "Description": "PidProjectName",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidProject",
          "PidProjectName"
        ]
      }
    },
    "PidOrganizationId": {
      "Description": "PidOrganizationId",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidProject",
          "PidOrganizationId"
        ]
      }
    }
  }
}

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  PidOrganizationId:
    Description: PidOrganizationId
    Type: String
  PidProjectDesc:
    Description: PidProjectDesc
    Type: String
  PidProjectName:
    Description: PidProjectName
    Type: String
Resources:
  BrainIndustrialPidProject:
    Properties:
      PidOrganizationId:
        Ref: PidOrganizationId
      PidProjectDesc:
        Ref: PidProjectDesc
      PidProjectName:
        Ref: PidProjectName
    Type: ALIYUN::BrainIndustrial::PidProject
Outputs:
  PidOrganizationId:
    Description: PidOrganizationId
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidProject
      - PidOrganizationId
  PidProjectDesc:
    Description: PidProjectDesc
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidProject
      - PidProjectDesc
  PidProjectId:
    Description: PidProjectId
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidProject
      - PidProjectId
  PidProjectName:
    Description: PidProjectName
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidProject
      - PidProjectName