Skip to content

AppProps

Properties for defining a App.

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

Initializer

import ros_cdk_sag
ros_cdk_sag.AppProps(
  auto_pay: typing.Union[bool, IResolvable],
  data_plan: typing.Union[typing.Union[int, float], IResolvable],
  period: typing.Union[typing.Union[int, float], IResolvable],
  user_count: typing.Union[typing.Union[int, float], IResolvable],
  charge_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
auto_pay typing.Union[bool, ros_cdk_core.IResolvable] Property autoPay: Specifies whether to automatically pay the bills of SAG APP instances.
data_plan typing.Union[typing.Union[int, float], 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 typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The subscription period of the SAG APP instance.
user_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property userCount: The quota of client accounts for the SAG APP instance.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The billing method of the SAG APP instance.

auto_payRequired

auto_pay: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, 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.


data_planRequired

data_plan: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


periodRequired

period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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

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


user_countRequired

user_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


charge_typeOptional

charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.