Skip to content

Commit c601d34

Browse files
authored
add readme.cli.md for marketplaceordering (#12484)
1 parent 51c11d5 commit c601d34

File tree

2 files changed

+107
-0
lines changed

2 files changed

+107
-0
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
## AZ
2+
3+
These settings apply only when `--az` is specified on the command line.
4+
5+
For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.
6+
7+
This is for command modules that already in azure cli main repo.
8+
``` yaml $(az) && $(target-mode) == 'core'
9+
az:
10+
extensions: marketplaceordering
11+
namespace: azure.mgmt.marketplaceordering
12+
package-name: azure-mgmt-marketplaceordering
13+
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/marketplaceordering
14+
python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/marketplaceordering"
15+
16+
```
17+
18+
``` yaml
19+
directive:
20+
- where:
21+
group: marketplaceordering marketplace-agreement
22+
set:
23+
group: term
24+
- where:
25+
command: term create
26+
set:
27+
command: term accept
28+
- where:
29+
command: term accept
30+
set:
31+
command-description: Accept marketplace terms.
32+
- where:
33+
parameter-name: publisher-id
34+
set:
35+
parameter-name: publisher
36+
- where:
37+
parameter-name: offer-id
38+
set:
39+
parameter-name: product
40+
- where:
41+
parameter-name: plan-id
42+
set:
43+
parameter-name: plan
44+
45+
cli:
46+
cli-directive:
47+
- where:
48+
group: MarketplaceAgreements
49+
op: GetAgreement
50+
hidden: true
51+
- where:
52+
group: MarketplaceAgreements
53+
op: Sign
54+
hidden: true
55+
- where:
56+
group: MarketplaceAgreements
57+
op: Cancel
58+
hidden: true
59+
- where:
60+
group: MarketplaceAgreements
61+
op: List
62+
hidden: true
63+
- where:
64+
group: MarketplaceAgreements
65+
set:
66+
extensionMode: preview
67+
- where:
68+
group: MarketplaceAgreements
69+
parameter: offerType
70+
default-value: virtualmachine
71+
- where:
72+
group: MarketplaceAgreements
73+
op: Create
74+
param: licenseTextLink
75+
hidden: true
76+
- where:
77+
group: MarketplaceAgreements
78+
op: Create
79+
param: privacyPolicyLink
80+
hidden: true
81+
- where:
82+
group: MarketplaceAgreements
83+
op: Create
84+
param: marketplaceTermsLink
85+
hidden: true
86+
- where:
87+
group: MarketplaceAgreements
88+
op: Create
89+
param: retrieveDatetime
90+
hidden: true
91+
- where:
92+
group: MarketplaceAgreements
93+
op: Create
94+
param: signature
95+
hidden: true
96+
- where:
97+
group: MarketplaceAgreements
98+
op: Create
99+
param: accepted
100+
hidden: true
101+
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## CLI
2+
3+
These settings apply only when `--cli` is specified on the command line.
4+
5+
``` yaml $(cli)
6+
```

0 commit comments

Comments
 (0)