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

Resource Orchestration Service:ALIYUN::CloudStorageGateway::StorageBundle

最終更新日:Mar 17, 2025

ALIYUN::CloudStorageGateway::StorageBundle は、ゲートウェイ クラスタを作成するために使用されます。

構文

{
  "Type": "ALIYUN::CloudStorageGateway::StorageBundle",
  "Properties": {
    "Description": String,
    "StorageBundleName": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

StorageBundleName

String

はい

はい

ゲートウェイ クラスタの名前。

名前は 1 ~ 60 文字で、英字、数字、ピリオド(.)、アンダースコア(_)、ハイフン(-) を使用できます。また、先頭は英字である必要があります。

Description

String

いいえ

はい

ゲートウェイ クラスタの説明。

説明は最大 128 文字です。

戻り値

Fn::GetAtt

  • Description: ゲートウェイ クラスタの説明。

  • CreateTime: ゲートウェイ クラスタが作成された時刻。

  • StorageBundleId: ゲートウェイ クラスタの ID。

  • StorageBundleName: ゲートウェイ クラスタの名前。

YAML フォーマット

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Description:
    AssociationProperty: TextArea
    Description:
      en: The description of the gateway cluster. The description must be 0 to 128
        characters in length.
    Required: false
    Type: String
  StorageBundleName:
    Description:
      en: The name of the gateway cluster. The name must be 1 to 60 characters in
        length and can contain letters, digits, periods (.), underscores (_), and
        hyphens (-). It must start with a letter.
    Required: true
    Type: String
Resources:
  ExtensionResource:
    Properties:
      Description:
        Ref: Description
      StorageBundleName:
        Ref: StorageBundleName
    Type: ALIYUN::CloudStorageGateway::StorageBundle
Outputs:
  CreateTime:
    Description: ゲートウェイ クラスタ タイムスタンプを作成します。
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - CreateTime
  Description:
    Description: ゲートウェイ クラスタの説明。
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - Description
  StorageBundleId:
    Description: ゲートウェイ クラスタの ID。
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - StorageBundleId
  StorageBundleName:
    Description: ゲートウェイ クラスタ名。
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - StorageBundleName
                        

JSON フォーマット

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Description": {
      "AssociationProperty": "TextArea",
      "Type": "String",
      "Description": {
        "en": "The description of the gateway cluster. The description must be 0 to 128 characters in length."
      },
      "Required": false
    },
    "StorageBundleName": {
      "Type": "String",
      "Description": {
        "en": "The name of the gateway cluster. The name must be 1 to 60 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::CloudStorageGateway::StorageBundle",
      "Properties": {
        "Description": {
          "Ref": "Description"
        },
        "StorageBundleName": {
          "Ref": "StorageBundleName"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "ゲートウェイ クラスタの説明。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "ゲートウェイ クラスタ タイムスタンプを作成します。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "StorageBundleId": {
      "Description": "ゲートウェイ クラスタの ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "StorageBundleId"
        ]
      }
    },
    "StorageBundleName": {
      "Description": "ゲートウェイ クラスタ名。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "StorageBundleName"
        ]
      }
    }
  }
}