ALIYUN::TSDB::HiTSDBInstance は、時系列データベース (TSDB) インスタンスを作成するために使用されます。
構文
{
"Type": "ALIYUN::TSDB::HiTSDBInstance",
"Properties": {
"InstanceStorage": Integer,
"ZoneId": String,
"VPCId": String,
"InstanceAlias": String,
"PricingCycle": String,
"SecurityIpList": List,
"VSwitchId": String,
"InstanceClass": String,
"Duration": Integer,
"PayType": String,
"DiskCategory": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| ZoneId | String | はい | いいえ | ゾーンのID。 | N/A |
| VPCId | String | はい | いいえ | 仮想プライベートクラウド (VPC) のID。 | N/A |
| InstanceAlias | String | いいえ | はい | インスタンスのエイリアス。 | N/A |
| SecurityIpList | List | いいえ | はい | インスタンスのIPアドレスホワイトリスト。 | N/A |
| VSwitchId | String | はい | いいえ | vSwitch のID。 | N/A |
| InstanceClass | String | はい | いいえ | インスタンスタイプ。 | 有効な値:
|
| InstanceStorage | Integer | はい | いいえ | インスタンスのストレージ容量。 | 有効な値:
|
| PayType | String | いいえ | いいえ | インスタンスの課金方法。 | 有効な値:
|
| PricingCycle | String | いいえ | いいえ | サブスクリプションインスタンスの課金サイクルの単位。 | このプロパティは、PayType プロパティが PREPAY に設定されている場合にのみ有効です。有効な値:
|
| Duration | Integer | いいえ | いいえ | サブスクリプション期間。 | 有効な値:
|
| DiskCategory | String | いいえ | いいえ | InfluxDB®️ 用 TSDB のディスクタイプ。 | 有効な値:
|
レスポンスパラメータ
Fn::GetAtt
- InstanceId: インスタンスのID。
- ReverseVpcPort: インスタンスのリバース VPC エンドポイント。
- ReverseVpcIp: VPC からのインスタンスのリバース IP アドレス。
- PublicConnectionString: インスタンスのパブリック接続文字列。
- EngineType: データベースエンジンのタイプ。
- OrderId: 注文のID。
- ConnectionString: データベースの接続文字列。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceStorage": {
"Type": "Number",
// インスタンスのストレージ容量。単位: GB。たとえば、値 50 は 50 GB を示します。
"Description": "The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.",
"MinValue": 40,
"MaxValue": 6000,
"Default": 50
},
"ZoneId": {
"Type": "String",
// インスタンスのゾーン ID。
"Description": "The zone ID of the instance.",
"Default": "cn-hangzhou-i"
},
"VPCId": {
"Type": "String",
// インスタンスに接続されている仮想プライベートクラウド (VPC) の ID。
"Description": "The ID of the virtual private cloud (VPC) that is connected to the instance.",
"Default": "vpc-wz9ydz3vg93s1ozsd****"
},
"VSwitchId": {
"Type": "String",
// 指定された VPC 内の VSwitch の ID。
"Description": "The ID of the VSwitch in the specified VPC.",
"Default": "vsw-wz9kv78f9cp47yadu****"
},
"InstanceClass": {
"Type": "String",
// インスタンスタイプ。詳細については、インスタンスタイプを参照してください:
// tsdb.1x.basic: ベーシック版 I
// tsdb.3x.basic: ベーシック版 II
// tsdb.4x.basic: ベーシック版 III
// tsdb.12x.standard: スタンダード版 I
// tsdb.24x.standard: スタンダード版 II
// tsdb.48x.large: アルティメット版 I
// tsdb.96x.large: アルティメット版 II など。
"Description": "The type of the instance. For more information, see Instance types:\ntsdb.1x.basic: Basic Edition I\ntsdb.3x.basic: Basic Edition II\ntsdb.4x.basic: Basic Edition III\ntsdb.12x.standard: Standard Edition I\ntsdb.24x.standard: Standard Edition II\ntsdb.48x.large: Ultimate Edition I\ntsdb.96x.large: Ultimate Edition II and so on.",
"Default": "tsdb.1x.basic"
}
},
"Resources": {
"HiTSDBInstance": {
"Type": "ALIYUN::TSDB::HiTSDBInstance",
"Properties": {
"InstanceStorage": {
"Ref": "InstanceStorage"
},
"ZoneId": {
"Ref": "ZoneId"
},
"VPCId": {
"Ref": "VPCId"
},
"VSwitchId": {
"Ref": "VSwitchId"
},
"InstanceClass": {
"Ref": "InstanceClass"
}
}
}
},
"Outputs": {
"InstanceId": {
// インスタンスの ID。
"Description": "The ID of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"InstanceId"
]
}
},
"ReverseVpcPort": {
// インスタンスのリバース vpc ポート。
"Description": "Reverse vpc port of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"ReverseVpcPort"
]
}
},
"ReverseVpcIp": {
// インスタンスのリバース vpc ip。
"Description": "Reverse vpc ip of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"ReverseVpcIp"
]
}
},
"PublicConnectionString": {
// インスタンスのパブリック接続文字列。
"Description": "Public connection string of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"PublicConnectionString"
]
}
},
"EngineType": {
// インスタンスのエンジンの種類。
"Description": "Engine type of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"EngineType"
]
}
},
"OrderId": {
// 作成されたインスタンスの注文 ID。
"Description": "Order id of created instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"OrderId"
]
}
},
"ConnectionString": {
// インスタンスの接続文字列。
"Description": "Connection string of the instance.",
"Value": {
"Fn::GetAtt": [
"HiTSDBInstance",
"ConnectionString"
]
}
}
}
}