ALIYUN::MSE::NacosService は、Nacos サービスを作成するために使用されます。
構文
{
"Type": "ALIYUN::MSE::NacosService",
"Properties": {
"GroupName": String,
"InstanceId": String,
"ServiceName": String,
"ProtectThreshold": String,
"Ephemeral": Boolean,
"NamespaceId": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| GroupName | String | いいえ | いいえ | グループの名前。 | なし。 |
| InstanceId | String | はい | いいえ | インスタンスの ID。 | なし。 |
| ServiceName | String | はい | いいえ | サービスの名前。 | なし。 |
| ProtectThreshold | String | いいえ | いいえ | 保護しきい値。 | なし。 |
| Ephemeral | Boolean | いいえ | いいえ | インスタンスを一時ノードとしてマークするかどうかを指定します。 | 有効な値:
|
| NamespaceId | String | いいえ | いいえ | 名前空間の ID。 | なし。 |
戻り値
Fn::GetAtt
なし。
例
JSON形式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "InstanceId": { "Type": "String", "Description": "The ID of the instance." }, "ServiceName": { "Type": "String", "Description": "The name of the service." } }, "Resources": { "NacosService": { "Type": "ALIYUN::MSE::NacosService", "Properties": { "InstanceId": { "Ref": "InstanceId" }, "ServiceName": { "Ref": "ServiceName" }, "Ephemeral": false } } } }