Skip to content

AppProps

Properties for defining a App.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-app

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.AppProps {
    AutoPay: interface{},
    DataPlan: interface{},
    Period: interface{},
    UserCount: interface{},
    ChargeType: interface{},
}

Properties

Name Type Description
AutoPay interface{} Property autoPay: Specifies whether to automatically pay the bills of SAG APP instances.
DataPlan interface{} Property dataPlan: The quota of the traffic plan that the system allows each client account to use for free each month.
Period interface{} Property period: The subscription period of the SAG APP instance.
UserCount interface{} Property userCount: The quota of client accounts for the SAG APP instance.
ChargeType interface{} Property chargeType: The billing method of the SAG APP instance.

AutoPayRequired

AutoPay interface{}
  • Type: interface{}

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.


DataPlanRequired

DataPlan interface{}
  • Type: interface{}

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.


PeriodRequired

Period interface{}
  • Type: interface{}

Property period: The subscription period of the SAG APP instance.

Unit: months. Valid values: 1~9, 12, 24, and 36.


UserCountRequired

UserCount interface{}
  • Type: interface{}

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.


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

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.