ResourcePackageProps
Properties for defining a ResourcePackage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage
Initializer
import { ResourcePackageProps } from '@alicloud/ros-cdk-bss'
const resourcePackageProps: ResourcePackageProps = { ... }
Properties
Name | Type | Description |
---|---|---|
duration |
number | @alicloud/ros-cdk-core.IResolvable |
Property duration: The validity of the specified resource package. |
packageType |
string | @alicloud/ros-cdk-core.IResolvable |
Property packageType: The type of the specified resource package. |
productCode |
string | @alicloud/ros-cdk-core.IResolvable |
Property productCode: The code of the specified product. |
specification |
string | @alicloud/ros-cdk-core.IResolvable |
Property specification: The size of the specified resource package. |
effectiveDate |
string | @alicloud/ros-cdk-core.IResolvable |
Property effectiveDate: The effective date of the specified resource package. |
pricingCycle |
string | @alicloud/ros-cdk-core.IResolvable |
Property pricingCycle: The validity of the specified resource package. |
duration
Required
public readonly duration: number | IResolvable;
- Type: number | @alicloud/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.
packageType
Required
public readonly packageType: string | IResolvable;
- Type: string | @alicloud/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.
productCode
Required
public readonly productCode: string | IResolvable;
- Type: string | @alicloud/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
public readonly specification: string | IResolvable;
- Type: string | @alicloud/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.
effectiveDate
Optional
public readonly effectiveDate: string | IResolvable;
- Type: string | @alicloud/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
pricingCycle
Optional
public readonly pricingCycle: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property pricingCycle: The validity of the specified resource package.
Default value: Month. Valid values: Month, Year