Skip to content

ResourcePackageProps

Properties for defining a ResourcePackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bss-resourcepackage

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkbss"
&alicloudroscdkbss.ResourcePackageProps {
    Duration: interface{},
    PackageType: interface{},
    ProductCode: interface{},
    Specification: interface{},
    EffectiveDate: interface{},
    PricingCycle: interface{},
}

Properties

Name Type Description
Duration interface{} Property duration: The validity of the specified resource package.
PackageType interface{} Property packageType: The type of the specified resource package.
ProductCode interface{} Property productCode: The code of the specified product.
Specification interface{} Property specification: The size of the specified resource package.
EffectiveDate interface{} Property effectiveDate: The effective date of the specified resource package.
PricingCycle interface{} Property pricingCycle: The validity of the specified resource package.

DurationRequired

Duration interface{}
  • Type: interface{}

Property duration: The validity of the specified resource package.

The value is the same as the Value of AvailableDuration returned by DescribeResourcePackageProduct.


PackageTypeRequired

PackageType interface{}
  • Type: interface{}

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

ProductCode interface{}
  • Type: interface{}

Property productCode: The code of the specified product.

The value is the same as the value of ProductType returned by QueryProductList.


SpecificationRequired

Specification interface{}
  • Type: interface{}

Property specification: The size of the specified resource package.

The value is the same as the Value of Specification returned by DescribeResourcePackageProduct.


EffectiveDateOptional

EffectiveDate interface{}
  • Type: interface{}

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

PricingCycle interface{}
  • Type: interface{}

Property pricingCycle: The validity of the specified resource package.

Default value: Month. Valid values: Month, Year