ALIYUN::SAG::QoS は、Smart Access Gateway(SAG)インスタンスのサービス品質(QoS)ポリシーを作成するために使用されます。
構文
{
"Type": "ALIYUN::SAG::Qos",
"Properties": {
"QosName": String,
"QosDescription": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| QosName | String | はい | はい | QoS ポリシーの名前。 | 名前は 2 ~ 100 文字で、英字、数字、ピリオド(.)、アンダースコア(_)、ハイフン(-)を含めることができます。名前は英字で始まる必要があります。 |
| QosDescription | String | いいえ | はい | QoS ポリシーの説明。 | 説明は 1 ~ 512 文字で、英字、数字、アンダースコア(_)、ハイフン(-)を含めることができます。説明は英字で始まる必要があります。 |
戻り値
Fn::GetAtt
QosId: QoS ポリシーの ID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"QosName": {
"Type": "String",
"Description": "QoS ポリシーの名前です。\n名前は2~100文字で、英字、数字、ピリオド(.)、アンダースコア(_)、ハイフン(-)を含めることができます。英字で始まる必要があります。" // The name of the QoS policy.\nThe name must be 2 to 100 characters in length and can contain letters, digits, periods\n(.), underscores (_), and hyphens (-). It must start with a letter.
},
"QosDescription": {
"Type": "String",
"Description": "QoS ポリシーの説明です。\n説明は1~512文字で、英字、数字、アンダースコア(_)、ハイフン(-)を含めることができます。英字で始まる必要があります。" // The description of the QoS policy.\nThe description must be 1 to 512 characters in length and can contain letters, digits,\nunderscores (_), and hyphens (-). It must start with a letter.
}
},
"Resources": {
"Qos": {
"Type": "ALIYUN::SAG::Qos",
"Properties": {
"QosName": {
"Ref": "QosName"
},
"QosDescription": {
"Ref": "QosDescription"
}
}
}
},
"Outputs": {
"QosId": {
"Description": "QoS ポリシーの ID です。", // The ID of the QoS policy.
"Value": {
"Fn::GetAtt": [
"Qos",
"QosId"
]
}
}
}
}