AppProps
Properties for defining a App
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-app
Initializer
import com.aliyun.ros.cdk.sag.AppProps;
AppProps.builder()
.autoPay(java.lang.Boolean)
.autoPay(IResolvable)
.dataPlan(java.lang.Number)
.dataPlan(IResolvable)
.period(java.lang.Number)
.period(IResolvable)
.userCount(java.lang.Number)
.userCount(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
autoPay |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoPay: Specifies whether to automatically pay the bills of SAG APP instances. |
dataPlan |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property dataPlan: The quota of the traffic plan that the system allows each client account to use for free each month. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The subscription period of the SAG APP instance. |
userCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property userCount: The quota of client accounts for the SAG APP instance. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: The billing method of the SAG APP instance. |
autoPay
Required
public java.lang.Object getAutoPay();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoPay: Specifies whether to automatically pay the bills of SAG APP instances.
Default value: false. Valid values: true: automatically pays the bills of SAG APP instances. false: does not automatically pay the bills of SAG APP instances. If you set the parameter to false, after you call this operation, go to Billing Management of the SAG console to complete the payment, the instance can be created.
dataPlan
Required
public java.lang.Object getDataPlan();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property dataPlan: The quota of the traffic plan that the system allows each client account to use for free each month.
Unit: GB. Set the value to 5. Note The system allows each client account to use 5 GB traffic plan for free.
period
Required
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The subscription period of the SAG APP instance.
Unit: months. Valid values: 1~9, 12, 24, and 36.
userCount
Required
public java.lang.Object getUserCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property userCount: The quota of client accounts for the SAG APP instance.
Note The quota must be a positive multiple of 5, for example, 5, 10, and 15.
chargeType
Optional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: The billing method of the SAG APP instance.
Set the value to PREPAY. This value indicates that the SAG APP instance is a subscription resource.