DATASOURCE::CloudPhone::Images は、利用可能なイメージに関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::CloudPhone::Images",
"Properties": {
"ImageName": String,
"ImageCategory": String,
"ImageId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
ImageName | String | いいえ | はい | イメージ名。 | 名前は 2 ~ 128 文字の長さでなければなりません。文字で始まり、 |
ImageCategory | String | いいえ | はい | イメージソース。 | 有効な値:
|
ImageId | String | いいえ | はい | イメージ ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースの更新ポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
ImageIds: イメージの ID。
Images: イメージの詳細。
プロパティ | タイプ | 説明 | 制約 |
ImageIds | List | イメージの ID。 | なし。 |
Images | List | イメージの詳細。 | なし。 |
Status | String | イメージの状態。 | なし。 |
Description | String | イメージの説明。 | なし。 |
Usage | String | イメージがクラウドフォンで使用されているかどうかを示します。 | なし。 |
Platform | String | OS のディストリビューション。 | なし。 |
OsNameEn | String | 英語での OS の表示名。 | なし。 |
RegionId | String | リージョン ID。 | なし。 |
OsName | String | 中国語での OS の表示名。 | なし。 |
ImageId | String | イメージ ID。 | なし。 |
IsSelfShared | String | イメージが他の Alibaba Cloud アカウントと共有されているかどうかを示します。 | なし。 |
ImageName | String | イメージ名。 | なし。 |
OsType | String | OS タイプ。 | なし。 |
Progress | String | イメージ作成の進捗状況。 | なし。 |
CreateTime | String | イメージが作成された時刻。 | なし。 |
ImageCategory | String | イメージタイプ。 | なし。 |
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ImageName:
Description: ミラーイメージの名前。 # Japanese translation of the comment
Type: String
Resources:
ExtensionDataSource:
Properties:
ImageName:
Ref: ImageName
Type: DATASOURCE::CloudPhone::Images
Outputs:
ImageIds:
Description: イメージ ID のリスト。 # Japanese translation of the comment
Value:
Fn::GetAtt:
- ExtensionDataSource
- ImageIds
Images:
Description: イメージのリスト。 # Japanese translation of the comment
Value:
Fn::GetAtt:
- ExtensionDataSource
- ImagesJSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ImageName": {
"Type": "String",
"Description": "ミラーイメージの名前。" // Japanese translation of the comment
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CloudPhone::Images",
"Properties": {
"ImageName": {
"Ref": "ImageName"
}
}
}
},
"Outputs": {
"ImageIds": {
"Description": "イメージ ID のリスト。", // Japanese translation of the comment
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ImageIds"
]
}
},
"Images": {
"Description": "イメージのリスト。", // Japanese translation of the comment
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Images"
]
}
}
}
}