Order

Create a Order Resource

new Order(name: string, args: OrderArgs, opts?: CustomResourceOptions);
def Order(resource_name, opts=None, components=None, coupon_id=None, duration=None, package_version=None, pay_type=None, pricing_cycle=None, product_code=None, quantity=None, __props__=None);
func NewOrder(ctx *Context, name string, args OrderArgs, opts ...ResourceOption) (*Order, error)
public Order(string name, OrderArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args OrderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args OrderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OrderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Order Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Order resource accepts the following input properties:

PackageVersion string

The package version of the market product.

PricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

ProductCode string

The product_code of market place product.

Components Dictionary<string, object>

Service providers customize additional components.

CouponId string

The coupon id of the market product.

Duration int

The number of purchase cycles.

PayType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

Quantity int

The quantity of the market product will be purchased.

PackageVersion string

The package version of the market product.

PricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

ProductCode string

The product_code of market place product.

Components map[string]interface{}

Service providers customize additional components.

CouponId string

The coupon id of the market product.

Duration int

The number of purchase cycles.

PayType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

Quantity int

The quantity of the market product will be purchased.

packageVersion string

The package version of the market product.

pricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

productCode string

The product_code of market place product.

components {[key: string]: any}

Service providers customize additional components.

couponId string

The coupon id of the market product.

duration number

The number of purchase cycles.

payType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

quantity number

The quantity of the market product will be purchased.

package_version str

The package version of the market product.

pricing_cycle str

The purchase cycle of the product, valid values are Day, Month and Year.

product_code str

The product_code of market place product.

components Dict[str, Any]

Service providers customize additional components.

coupon_id str

The coupon id of the market product.

duration float

The number of purchase cycles.

pay_type str

Valid values are PrePaid, PostPaid,System default to PostPaid.

quantity float

The quantity of the market product will be purchased.

Outputs

All input properties are implicitly available as output properties. Additionally, the Order resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Order Resource

Get an existing Order resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OrderState, opts?: CustomResourceOptions): Order
static get(resource_name, id, opts=None, components=None, coupon_id=None, duration=None, package_version=None, pay_type=None, pricing_cycle=None, product_code=None, quantity=None, __props__=None);
func GetOrder(ctx *Context, name string, id IDInput, state *OrderState, opts ...ResourceOption) (*Order, error)
public static Order Get(string name, Input<string> id, OrderState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Components Dictionary<string, object>

Service providers customize additional components.

CouponId string

The coupon id of the market product.

Duration int

The number of purchase cycles.

PackageVersion string

The package version of the market product.

PayType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

PricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

ProductCode string

The product_code of market place product.

Quantity int

The quantity of the market product will be purchased.

Components map[string]interface{}

Service providers customize additional components.

CouponId string

The coupon id of the market product.

Duration int

The number of purchase cycles.

PackageVersion string

The package version of the market product.

PayType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

PricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

ProductCode string

The product_code of market place product.

Quantity int

The quantity of the market product will be purchased.

components {[key: string]: any}

Service providers customize additional components.

couponId string

The coupon id of the market product.

duration number

The number of purchase cycles.

packageVersion string

The package version of the market product.

payType string

Valid values are PrePaid, PostPaid,System default to PostPaid.

pricingCycle string

The purchase cycle of the product, valid values are Day, Month and Year.

productCode string

The product_code of market place product.

quantity number

The quantity of the market product will be purchased.

components Dict[str, Any]

Service providers customize additional components.

coupon_id str

The coupon id of the market product.

duration float

The number of purchase cycles.

package_version str

The package version of the market product.

pay_type str

Valid values are PrePaid, PostPaid,System default to PostPaid.

pricing_cycle str

The purchase cycle of the product, valid values are Day, Month and Year.

product_code str

The product_code of market place product.

quantity float

The quantity of the market product will be purchased.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.