alicloud_market_order

Provides a market order resource.

Example Usage

Basic Usage

resource "alicloud_market_order" "order" {
  product_code    = "cmapi033136"
  pay_type        = "prepay"
  quantity        = 1
  duration        = 1
  pricing_cycle   = "Month"
  package_version = "yuncode2713600001"
  coupon_id       = ""
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Market order can be imported using the id, e.g.

$ terraform import alicloud_market_order.order your-order-id