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

Resource Orchestration Service:ALIYUN::FOAS::Project

最終更新日:Jan 16, 2025

ALIYUN::FOAS::Project は、Realtime Compute クラスタにプロジェクトを作成するために使用されます。

構文

{
  "Type": "ALIYUN::FOAS::Project",
  "Properties": {
    "OrderId": String,
    "DeployType": String,
    "Description": String,
    "ManagerIds": String,
    "ClusterId": String,
    "Name": String
  }
}

プロパティ

名前 タイプ 必須 編集可能 説明 有効性
OrderId String いいえ いいえ 共有モードインスタンスの ID です。 このパラメータは、ユーザーが共有モードクラスタにプロジェクトを作成する場合にのみ必要です。
DeployType String はい いいえ クラスタのタイプです。 有効な値:
  • cell: 専用モードクラスタ。
  • public: 共有モードクラスタ。
Description String いいえ いいえ プロジェクトの説明です。 なし。
ManagerIds String はい いいえ 管理者のアカウント ID です。複数のアカウント ID はカンマ (,) で区切ります。 なし。
ClusterId String いいえ いいえ クラスタの ID です。 なし。
Name String はい いいえ プロジェクトの名前です。 名前は 3 ~ 64 文字で、小文字、数字、アンダースコア (_) を使用できます。文字で始める必要があります。

レスポンスパラメータ

Fn::GetAtt

State: プロジェクトの状態。

JSON 形式
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "Project": {
      "Type": "ALIYUN::FOAS::Project",
      "Properties": {
        "OrderId": {
          "Ref": "OrderId"
        },
        "DeployType": {
          "Ref": "DeployType"
        },
        "Description": {
          "Ref": "Description"
        },
        "ManagerIds": {
          "Ref": "ManagerIds"
        },
        "ClusterId": {
          "Ref": "ClusterId"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Parameters": {
    "OrderId": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Order Id of Shared cluster." // 共有クラスタの注文 ID。
    },
    "DeployType": {
      "Type": "String",
      "Description": "Cluster type: Exclusive cluster: cell. Shared cluster: public", // クラスタタイプ:専用クラスタ:cell。共有クラスタ:public
      "AllowedValues": [
        "cell",
        "public"
      ]
    },
    "Description": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Project description." // プロジェクトの説明。
    },
    "ManagerIds": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Comma delimited account Id list of managers." // 管理者のカンマ区切りアカウント ID リスト。
    },
    "ClusterId": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Cluster ID." // クラスタ ID。
    },
    "Name": {
      "AllowedPattern": "[a-z][a-z0-9_]{2,63}",
      "Type": "String",
      "Description": "Project name. It begins with a letter, and contains only lowercase English letters, numbers, underscores (_), and is limited to 3-64 characters." // プロジェクト名。文字で始まり、小文字の英字、数字、アンダースコア (_) のみを含み、3 ~ 64 文字に制限されています。
    }
  },
  "Outputs": {
    "State": {
      "Description": "Project state.", // プロジェクトの状態。
      "Value": {
        "Fn::GetAtt": [
          "Project",
          "State"
        ]
      }
    }
  }
}
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Resources:
  Project:
    Type: ALIYUN::FOAS::Project
    Properties:
      OrderId:
        Ref: OrderId
      DeployType:
        Ref: DeployType
      Description:
        Ref: Description
      ManagerIds:
        Ref: ManagerIds
      ClusterId:
        Ref: ClusterId
      Name:
        Ref: Name
Parameters:
  OrderId:
    MinLength: 1
    Type: String
    Description: Order Id of Shared cluster. # 共有クラスタの注文 ID。
  DeployType:
    Type: String
    Description: 'Cluster type: Exclusive cluster: cell. Shared cluster: public' # クラスタタイプ:専用クラスタ:cell。共有クラスタ:public
    AllowedValues:
    - cell
    - public
  Description:
    MinLength: 1
    Type: String
    Description: Project description. # プロジェクトの説明。
  ManagerIds:
    MinLength: 1
    Type: String
    Description: Comma delimited account Id list of managers. # 管理者のカンマ区切りアカウント ID リスト。
  ClusterId:
    MinLength: 1
    Type: String
    Description: Cluster ID. # クラスタ ID。
  Name:
    AllowedPattern: "[a-z][a-z0-9_]{2,63}"
    Type: String
    Description: Project name. It begins with a letter, and contains only lowercase
      English letters, numbers, underscores (_), and is limited to 3-64 characters. # プロジェクト名。文字で始まり、小文字の英字、数字、アンダースコア (_) のみを含み、3 ~ 64 文字に制限されています。
Outputs:
  State:
    Description: Project state. # プロジェクトの状態。
    Value:
      Fn::GetAtt:
      - Project
      - State