Skip to content

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 AutoRenew = null,
    object AutoRenewPeriod = null,
    object AutoRenewPeriodUnit = null,
    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.
AutoRenew object Property autoRenew: Whether to automatically renew the resource package.
AutoRenewPeriod object Property autoRenewPeriod: Duration of resource packs renewals.
AutoRenewPeriodUnit object Property autoRenewPeriodUnit: Unit of resource pack renewals.
EffectiveDate object Property effectiveDate: The effective date of the specified resource package.
PricingCycle object Property pricingCycle: The validity of the specified resource package.

DurationRequired

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.


PackageTypeRequired

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.


ProductCodeRequired

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.


SpecificationRequired

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.


AutoRenewOptional

public object AutoRenew { get; set; }
  • Type: object

Property autoRenew: Whether to automatically renew the resource package.

The value is true or false. Default value: false.


AutoRenewPeriodOptional

public object AutoRenewPeriod { get; set; }
  • Type: object

Property autoRenewPeriod: Duration of resource packs renewals.

Valid values:

  • When AutoRenewPeriodUnit is Year: 1, 2, 3.
  • When AutoRenewPeriodUnit is Month: 1, 2, 3, 6. Default is 1.

AutoRenewPeriodUnitOptional

public object AutoRenewPeriodUnit { get; set; }
  • Type: object

Property autoRenewPeriodUnit: Unit of resource pack renewals.

Valid values: Month, Year. Default is Month.


EffectiveDateOptional

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


PricingCycleOptional

public object PricingCycle { get; set; }
  • Type: object

Property pricingCycle: The validity of the specified resource package.

Default value: Month. Valid values: Month, Year