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

Resource Orchestration Service:ALIYUN::ECD::バンドル

最終更新日:Mar 20, 2025

ALIYUN::ECD::Bundle は、カスタムクラウドコンピュータテンプレートを作成するために使用されます。

構文

{
  "Type": "ALIYUN::ECD::Bundle",
  "Properties": {
    "Description": String, // 説明
    "RootDiskSizeGib": Integer, // ルートディスクサイズ (GiB)
    "Language": String, // 言語
    "RootDiskPerformanceLevel": String, // ルートディスクのパフォーマンスレベル
    "DesktopType": String, // デスクトップタイプ
    "BundleName": String, // バンドル名
    "ImageId": String, // イメージ ID
    "UserDiskPerformanceLevel": String, // ユーザーディスクのパフォーマンスレベル
    "UserDiskSizeGib": List // ユーザーディスクサイズ (GiB)
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Description

String

いいえ

はい

クラウドコンピュータテンプレートの説明。

なし。

RootDiskSizeGib

Integer

はい

いいえ

システムディスクのサイズ。

単位:GiB。

このプロパティの値は、クラウドコンピュータタイプでサポートされているシステムディスクサイズと一致している必要があります。詳細については、「クラウドコンピュータタイプ」をご参照ください。

Language

String

いいえ

はい

オペレーティングシステムの言語。

このプロパティは、システムイメージのみをサポートします。

有効な値:

  • zh-CN:簡体字中国語。

  • zh-HK:繁体字中国語。

  • en-US:英語。

  • ja-JP:日本語。

RootDiskPerformanceLevel

String

いいえ

いいえ

システムディスクのパフォーマンスレベル (PL)。

クラウドコンピュータタイプがグラフィックスまたは高周波数の場合、このプロパティを指定できます。

有効な値:

  • PL0

  • PL1

  • PL2

  • PL3

異なる PL のディスク間の違いについては、「ESSD」をご参照ください。

DesktopType

String

はい

いいえ

クラウドコンピュータタイプ。

DescribeBundles 操作を呼び出してクラウドコンピュータテンプレートをクエリし、DesktopType パラメーターの値を確認して、サポートされているクラウドコンピュータタイプを取得できます。

説明

GPU アクセラレーションイメージを使用する場合にのみ、GPU アクセラレーションクラウドコンピュータタイプを選択できます。

BundleName

String

いいえ

はい

クラウドコンピュータテンプレートの名前。

なし。

ImageId

String

はい

はい

イメージの ID。

なし。

UserDiskPerformanceLevel

String

いいえ

いいえ

データディスクの PL。

クラウドコンピュータタイプがグラフィックスまたは高周波数の場合、このプロパティを指定できます。

有効な値:

  • PL0

  • PL1

  • PL2

  • PL3

異なる PL のディスク間の違いについては、「ESSD」をご参照ください。

UserDiskSizeGib

List

はい

いいえ

データディスクのサイズ。

1 つのデータディスクのみ構成できます。単位:GiB。

このプロパティの値は、クラウドコンピュータタイプでサポートされているデータディスクサイズと一致している必要があります。詳細については、「クラウドコンピュータタイプ」をご参照ください。

説明

テンプレートで指定されたデータディスクサイズは、イメージに含まれるデータディスクサイズよりも大きくなければなりません。

戻り値

Fn::GetAtt

BundleId:クラウドコンピュータテンプレートの ID。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RootDiskSizeGib:
    Type: Number
    Description: The root disk size gib.  // ルートディスクサイズ (GiB)
    Default: 40
  DesktopType:
    Type: String
    Description: |-
      Desktop specifications.You can call Describundles to query the desktop bundle and get the currently supported desktop specification from the returned desktopType. // デスクトップの仕様。 Describundles を呼び出してデスクトップバンドルをクエリし、返された desktopType から現在サポートされているデスクトップの仕様を取得できます。
      Explain that ordinary mirrors cannot choose the GPU specifications, and the GPU type mirror can only choose the GPU specification. // 通常のミラーは GPU の仕様を選択できず、GPU タイプのミラーのみが GPU の仕様を選択できることを説明します。
    Default: eds.enterprise_office.8c8g
  ImageId:
    Type: String
    Description: The ID of the image. // イメージの ID
    Default: desktopimage-windows-server-2019-64-ch-asp
  UserDiskSizeGib:
    Type: Json
    Description: |-
      The size of the data disk. Currently, only one data disk can be set. Unit: GiB. // データディスクのサイズ。現在、設定できるデータディスクは 1 つだけです。単位:GiB。
      - The size of the data disk that supports the setting corresponds to the specification. // 設定をサポートするデータディスクのサイズは、仕様に対応しています。
      - The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror. // テンプレートに設定されているデータディスクサイズ (user_disk_size_gib) は、ミラー内のデータディスクサイズ (data_disk_size) よりも大きくなければなりません。
    MaxLength: 1
    Default:
      - 40
Resources:
  Bundle:
    Type: ALIYUN::ECD::Bundle
    Properties:
      RootDiskSizeGib:
        Ref: RootDiskSizeGib
      DesktopType:
        Ref: DesktopType
      ImageId:
        Ref: ImageId
      UserDiskSizeGib:
        Ref: UserDiskSizeGib
Outputs:
  BundleId:
    Description: Desktop bundle ID. // デスクトップバンドル ID
    Value:
      Fn::GetAtt:
        - Bundle
        - BundleId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RootDiskSizeGib": {
      "Type": "Number",
      "Description": "The root disk size gib.", // ルートディスクサイズ (GiB)
      "Default": 40
    },
    "DesktopType": {
      "Type": "String",
      "Description": "Desktop specifications.You can call Describundles to query the desktop bundle and get the currently supported desktop specification from the returned desktopType.\nExplain that ordinary mirrors cannot choose the GPU specifications, and the GPU type mirror can only choose the GPU specification.", // デスクトップの仕様。 Describundles を呼び出してデスクトップバンドルをクエリし、返された desktopType から現在サポートされているデスクトップの仕様を取得できます。\n通常のミラーは GPU の仕様を選択できず、GPU タイプのミラーのみが GPU の仕様を選択できることを説明します。
      "Default": "eds.enterprise_office.8c8g"
    },
    "ImageId": {
      "Type": "String",
      "Description": "The ID of the image.", // イメージの ID
      "Default": "desktopimage-windows-server-2019-64-ch-asp"
    },
    "UserDiskSizeGib": {
      "Type": "Json",
      "Description": "The size of the data disk. Currently, only one data disk can be set. Unit: GiB.\n- The size of the data disk that supports the setting corresponds to the specification.\n- The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.", // データディスクのサイズ。現在、設定できるデータディスクは 1 つだけです。単位:GiB。\n- 設定をサポートするデータディスクのサイズは、仕様に対応しています。\n- テンプレートに設定されているデータディスクサイズ (user_disk_size_gib) は、ミラー内のデータディスクサイズ (data_disk_size) よりも大きくなければなりません。
      "MaxLength": 1,
      "Default": [40]
    }
  },
  "Resources": {
    "Bundle": {
      "Type": "ALIYUN::ECD::Bundle",
      "Properties": {
        "RootDiskSizeGib": {
          "Ref": "RootDiskSizeGib"
        },
        "DesktopType": {
          "Ref": "DesktopType"
        },
        "ImageId": {
          "Ref": "ImageId"
        },
        "UserDiskSizeGib": {
          "Ref": "UserDiskSizeGib"
        }
      }
    }
  },
  "Outputs": {
    "BundleId": {
      "Description": "Desktop bundle ID.", // デスクトップバンドル ID
      "Value": {
        "Fn::GetAtt": [
          "Bundle",
          "BundleId"
        ]
      }
    }
  }
}