Class Order
Inherited Members
Namespace: Pulumi.AliCloud.MarketPlace
Assembly: Pulumi.AliCloud.dll
Syntax
public class Order : CustomResource
Constructors
View SourceOrder(String, OrderArgs, CustomResourceOptions)
Create a Order resource with the given unique name, arguments, and options.
Declaration
public Order(string name, OrderArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OrderArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceComponents
Service providers customize additional components.
Declaration
public Output<ImmutableDictionary<string, object>> Components { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
CouponId
The coupon id of the market product.
Declaration
public Output<string> CouponId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Duration
The number of purchase cycles.
Declaration
public Output<int?> Duration { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
PackageVersion
The package version of the market product.
Declaration
public Output<string> PackageVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PayType
Valid values are PrePaid, PostPaid,System default to PostPaid.
Declaration
public Output<string> PayType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PricingCycle
The purchase cycle of the product, valid values are Day, Month and Year.
Declaration
public Output<string> PricingCycle { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProductCode
The product_code of market place product.
Declaration
public Output<string> ProductCode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Quantity
The quantity of the market product will be purchased.
Declaration
public Output<int?> Quantity { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Methods
View SourceGet(String, Input<String>, OrderState, CustomResourceOptions)
Get an existing Order resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Order Get(string name, Input<string> id, OrderState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| OrderState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Order |