ALIYUN::BrainIndustrial::PidOrganization类型用于配置项目架构。

语法

{
  "Type": "ALIYUN::BrainIndustrial::PidOrganization",
  "Properties": {
    "PidOrganizationName": String,
    "ParentPidOrganizationId": String
  }
}

属性

属性名称 类型 必须 允许更新 描述 约束
PidOrganizationName String

PID(Proportional Integral Derivative)组织名称。

关于PID的更多信息,请参见概述
ParentPidOrganizationId String 父PID组织ID。

返回值

Fn::GetAtt

  • PidOrganizationName:PID组织名称。
  • PidOrganizationLevel:PID组织级别。
  • ParentPidOrganizationId:父PID组织ID。
  • PidOrganizationId:PID组织ID。

示例

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "PidOrganizationName": {
      "Type": "String",
      "Description": "PidOrganizationName"
    },
    "ParentPidOrganizationId": {
      "Type": "String",
      "Description": "ParentPidOrganizationId"
    }
  },
  "Resources": {
    "BrainIndustrialPidOrganization": {
      "Type": "ALIYUN::BrainIndustrial::PidOrganization",
      "Properties": {
        "PidOrganizationName": {
          "Ref": "PidOrganizationName"
        },
        "ParentPidOrganizationId": {
          "Ref": "ParentPidOrganizationId"
        }
      }
    }
  },
  "Outputs": {
    "PidOrganizationName": {
      "Description": "PidOrganizationName",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidOrganization",
          "PidOrganizationName"
        ]
      }
    },
    "PidOrganizationLevel": {
      "Description": "PidOrganizationLevel",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidOrganization",
          "PidOrganizationLevel"
        ]
      }
    },
    "ParentPidOrganizationId": {
      "Description": "ParentPidOrganizationId",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidOrganization",
          "ParentPidOrganizationId"
        ]
      }
    },
    "PidOrganizationId": {
      "Description": "PidOrganizationId",
      "Value": {
        "Fn::GetAtt": [
          "BrainIndustrialPidOrganization",
          "PidOrganizationId"
        ]
      }
    }
  }
}

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ParentPidOrganizationId:
    Description: ParentPidOrganizationId
    Type: String
  PidOrganizationName:
    Description: PidOrganizationName
    Type: String
Resources:
  BrainIndustrialPidOrganization:
    Properties:
      ParentPidOrganizationId:
        Ref: ParentPidOrganizationId
      PidOrganizationName:
        Ref: PidOrganizationName
    Type: ALIYUN::BrainIndustrial::PidOrganization
Outputs:
  ParentPidOrganizationId:
    Description: ParentPidOrganizationId
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidOrganization
      - ParentPidOrganizationId
  PidOrganizationId:
    Description: PidOrganizationId
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidOrganization
      - PidOrganizationId
  PidOrganizationLevel:
    Description: PidOrganizationLevel
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidOrganization
      - PidOrganizationLevel
  PidOrganizationName:
    Description: PidOrganizationName
    Value:
      Fn::GetAtt:
      - BrainIndustrialPidOrganization
      - PidOrganizationName