ResourcePackageProps
Properties for defining a ResourcePackage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage
Initializer
using AlibabaCloud.SDK.ROS.CDK.Bss;
new ResourcePackageProps {
object Duration,
object PackageType,
object ProductCode,
object Specification,
object EffectiveDate = null,
object PricingCycle = null
};
Properties
Name | Type | Description |
---|---|---|
Duration |
object |
Property duration: The validity of the specified resource package. |
PackageType |
object |
Property packageType: The type of the specified resource package. |
ProductCode |
object |
Property productCode: The code of the specified product. |
Specification |
object |
Property specification: The size of the specified resource package. |
EffectiveDate |
object |
Property effectiveDate: The effective date of the specified resource package. |
PricingCycle |
object |
Property pricingCycle: The validity of the specified resource package. |
Duration
Required
public object Duration { get; set; }
- Type: object
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 object PackageType { get; set; }
- Type: object
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 object ProductCode { get; set; }
- Type: object
Property productCode: The code of the specified product.
The value is the same as the value of ProductType returned by QueryProductList.
Specification
Required
public object Specification { get; set; }
- Type: object
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 object EffectiveDate { get; set; }
- Type: object
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 object PricingCycle { get; set; }
- Type: object
Property pricingCycle: The validity of the specified resource package.
Default value: Month. Valid values: Month, Year