Skip to content

AppProps

Properties for defining a App.

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

Initializer

import { AppProps } from '@alicloud/ros-cdk-sag'
const appProps: AppProps = { ... }

Properties

Name Type Description
autoPay boolean | @alicloud/ros-cdk-core.IResolvable Property autoPay: Specifies whether to automatically pay the bills of SAG APP instances.
dataPlan number | @alicloud/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 number | @alicloud/ros-cdk-core.IResolvable Property period: The subscription period of the SAG APP instance.
userCount number | @alicloud/ros-cdk-core.IResolvable Property userCount: The quota of client accounts for the SAG APP instance.
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The billing method of the SAG APP instance.

autoPayRequired

public readonly autoPay: boolean | IResolvable;
  • Type: boolean | @alicloud/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.


dataPlanRequired

public readonly dataPlan: number | IResolvable;
  • Type: number | @alicloud/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

public readonly period: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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

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


userCountRequired

public readonly userCount: number | IResolvable;
  • Type: number | @alicloud/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.


chargeTypeOptional

public readonly chargeType: string | IResolvable;
  • Type: string | @alicloud/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.