ResourcePackageProps
Properties for defining a ResourcePackage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage
Initializer
import ros_cdk_bss
ros_cdk_bss.ResourcePackageProps(
duration: typing.Union[typing.Union[int, float], IResolvable],
package_type: typing.Union[str, IResolvable],
product_code: typing.Union[str, IResolvable],
specification: typing.Union[str, IResolvable],
effective_date: typing.Union[str, IResolvable] = None,
pricing_cycle: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
duration |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property duration: The validity of the specified resource package. |
package_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property packageType: The type of the specified resource package. |
product_code |
typing.Union[str, ros_cdk_core.IResolvable] |
Property productCode: The code of the specified product. |
specification |
typing.Union[str, ros_cdk_core.IResolvable] |
Property specification: The size of the specified resource package. |
effective_date |
typing.Union[str, ros_cdk_core.IResolvable] |
Property effectiveDate: The effective date of the specified resource package. |
pricing_cycle |
typing.Union[str, ros_cdk_core.IResolvable] |
Property pricingCycle: The validity of the specified resource package. |
duration
Required
duration: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property duration: The validity of the specified resource package.
The value is the same as the Value of AvailableDuration returned by DescribeResourcePackageProduct.
package_type
Required
package_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property packageType: The type of the specified resource package.
The value is the same as the value of the Code value of the ResourcePackage object returned by DescribeResourcePackageProduct.
product_code
Required
product_code: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property productCode: The code of the specified product.
The value is the same as the value of ProductType returned by QueryProductList.
specification
Required
specification: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property specification: The size of the specified resource package.
The value is the same as the Value of Specification returned by DescribeResourcePackageProduct.
effective_date
Optional
effective_date: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property effectiveDate: The effective date of the specified resource package.
The resource package will take effect immediately if the effective date is unspecified. The date format follows the ISO8601 standard and uses UTC time. Format: yyyy-MM-ddTHH:mm:ssZ
pricing_cycle
Optional
pricing_cycle: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property pricingCycle: The validity of the specified resource package.
Default value: Month. Valid values: Month, Year