ALIYUN::SAG::App は、Smart Access Gateway (SAG) アプリインスタンスを作成するために使用されます。
構文
{
"Type": "ALIYUN::SAG::App",
"Properties": {
"ChargeType": String,
"UserCount": Integer,
"DataPlan": Integer,
"Period": Integer,
"AutoPay": Boolean
}
}プロパティ
| Property | Type | Required | Editable | Description | Constraint |
| ChargeType | String | No | No | 作成する SAG アプリインスタンスの課金方法。 | 値を PREPAY に設定します。 この値は、SAG アプリインスタンスがサブスクリプションインスタンスであることを示します。 |
| UserCount | Integer | Yes | No | SAG アプリインスタンスのクライアントアカウントのクォータ。 | クォータは 5 の正の倍数である必要があります。たとえば、このプロパティを 5、10、または 15 に設定できます。 |
| DataPlan | Integer | Yes | No | システムが各クライアントアカウントに毎月無料で使用することを許可するデータ転送プランのクォータ。 | 単位:GB。値を 5 に設定します。 説明 システムは、各クライアントアカウントが毎月 5 GB のデータ転送プランを無料で使用できるようにします。 |
| Period | Integer | Yes | No | SAG アプリインスタンスのサブスクリプション期間。 | 単位:月。 有効な値:1、2、3、4、5、6、7、8、9、12、24、および 36。 |
| AutoPay | Boolean | Yes | No | SAG アプリインスタンスの請求書を自動的に支払うかどうかを指定します。 | 有効な値:
このプロパティを false に設定した場合、Alibaba Cloud 管理コンソール にログインし、[注文] ページに移動して、この操作を呼び出した後に支払いを完了する必要があります。このようにして、インスタンスが作成されます。 |
レスポンスパラメータ
Fn::GetAtt
- OrderId:SAG アプリインスタンスの注文 ID。
- SmartAGId:SAG アプリインスタンスの ID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"UserCount": {
"Type": "Number",
// SAG APPインスタンスのクライアントアカウントのクォータ。
// 注:クォータは5の正の倍数である必要があります。たとえば、5、10、15などです。
"Description": "The quota of client accounts for the SAG APP instance.\nNote The quota must be a positive multiple of 5, for example, 5, 10, and 15."
},
"DataPlan": {
"Type": "Number",
// システムが各クライアントアカウントに毎月無料で使用することを許可するトラフィックプランのクォータ。単位:GB。値を5に設定します。
// 注:システムは、各クライアントアカウントが5 GBのトラフィックプランを無料で使用できるようにします。
"Description": "The quota of the traffic plan that the system allows each client account to use for\nfree each month. Unit: GB. Set the value to 5.\nNote The system allows each client account to use 5 GB traffic plan for free."
},
"Period": {
"Type": "Number",
// SAG APPインスタンスのサブスクリプション期間。単位:月。
// 有効な値:1〜9、12、24、および36。
"Description": "The subscription period of the SAG APP instance. Unit: months.\nValid values: 1~9, 12, 24, and 36."
},
"AutoPay": {
"Type": "Boolean",
// SAG APPインスタンスの請求書を自動的に支払うかどうかを指定します。デフォルト値:false。有効な値:
// true:SAG APPインスタンスの請求書を自動的に支払います。
// false:SAG APPインスタンスの請求書を自動的に支払いません。
// パラメータをfalseに設定した場合、この操作を呼び出した後、SAGコンソールの[請求管理]に移動して支払いを完了すると、インスタンスが作成されます。
"Description": "Specifies whether to automatically pay the bills of SAG APP instances. Default value:\nfalse. Valid values:\ntrue: automatically pays the bills of SAG APP instances.\nfalse: does not automatically pay the bills of SAG APP instances.\nIf you set the parameter to false, after you call this operation, go to Billing Management\nof the SAG console to complete the payment, the instance can be created.",
"AllowedValues": [
"True",
"true",
"False",
"false"
]
}
},
"Resources": {
"App": {
"Type": "ALIYUN::SAG::App",
"Properties": {
"UserCount": {
"Ref": "UserCount"
},
"DataPlan": {
"Ref": "DataPlan"
},
"Period": {
"Ref": "Period"
},
"AutoPay": {
"Ref": "AutoPay"
}
}
}
},
"Outputs": {
"OrderId": {
// SAG APPインスタンスをサブスクライブするために配置した注文のID。
"Description": "The ID of the order that you placed to subscribe to the SAG APP instance.",
"Value": {
"Fn::GetAtt": [
"App",
"OrderId"
]
}
},
"SmartAGId": {
// SAG APPインスタンスのID。
"Description": "The ID of the SAG APP instance.",
"Value": {
"Fn::GetAtt": [
"App",
"SmartAGId"
]
}
}
}
}