forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
order.yml
41 lines (41 loc) · 1.04 KB
/
order.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建MarketPlace资源订单,指定产品代码、SKU、计费周期与时长,输出订单ID。
en: Create a Marketplace resource order, specifying the product code, SKU, billing
cycle, and duration, to generate the order ID.
Parameters:
ProductCode:
Type: String
Description: Product code for the resource.
Default: cmjz000325
SkuCode:
Type: String
Description: Sku code for the resource.
Default: jichuban
PricingCycle:
Type: String
Description: Price cycle of the resource.
Default: Year
Duration:
Type: String
Description: Duration of the resource.
Default: 1
Resources:
OrderMarket:
Type: ALIYUN::MarketPlace::Order
Properties:
ProductCode:
Ref: ProductCode
SkuCode:
Ref: SkuCode
PricingCycle:
Ref: PricingCycle
Duration:
Ref: Duration
Outputs:
OrderId:
Description: Order ID of created instance.
Value:
Fn::GetAtt:
- OrderMarket
- OrderId