-
Notifications
You must be signed in to change notification settings - Fork 5.8k
add readme.cli.md for marketplaceordering #12484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
863b8ae
add readme.cli.md for marketplaceordering
yungezz 38996ef
rename command group
qiaozha 7f154c6
hide operations
qiaozha d7a3e40
update readme to rename command show
yungezz 52e4298
fix readme
yungezz 84b3276
Merge branch 'master' into yungez-mo
yungezz b1ab989
Merge branch 'master' into yungez-mo
yungezz 7e45507
customize command and params
yungezz 2ed3b79
update
yungezz 69e1714
interface tuning
yungezz 3a9f6c7
rename offer to product to align with psh
yungezz f1d554d
merge from master
yungezz 145078a
revert change in readme.md
yungezz d5def32
remove useless config
yungezz 1fab4ce
update readme.cli.md
yungezz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
specification/marketplaceordering/resource-manager/readme.az.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| ## AZ | ||
|
|
||
| These settings apply only when `--az` is specified on the command line. | ||
|
|
||
| For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. | ||
|
|
||
| This is for command modules that already in azure cli main repo. | ||
| ``` yaml $(az) && $(target-mode) == 'core' | ||
| az: | ||
| extensions: marketplaceordering | ||
| namespace: azure.mgmt.marketplaceordering | ||
| package-name: azure-mgmt-marketplaceordering | ||
| az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/marketplaceordering | ||
| python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/marketplaceordering" | ||
|
|
||
| ``` | ||
|
|
||
| ``` yaml | ||
| directive: | ||
| - where: | ||
| group: marketplaceordering marketplace-agreement | ||
| set: | ||
| group: term | ||
| - where: | ||
| command: term create | ||
| set: | ||
| command: term accept | ||
| - where: | ||
| command: term accept | ||
| set: | ||
| command-description: Accept marketplace terms. | ||
| - where: | ||
| parameter-name: publisher-id | ||
| set: | ||
| parameter-name: publisher | ||
| - where: | ||
| parameter-name: offer-id | ||
| set: | ||
| parameter-name: product | ||
| - where: | ||
| parameter-name: plan-id | ||
| set: | ||
| parameter-name: plan | ||
|
|
||
| cli: | ||
| cli-directive: | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: GetAgreement | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Sign | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Cancel | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: List | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| set: | ||
| extensionMode: preview | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| parameter: offerType | ||
| default-value: virtualmachine | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: licenseTextLink | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: privacyPolicyLink | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: marketplaceTermsLink | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: retrieveDatetime | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: signature | ||
| hidden: true | ||
| - where: | ||
| group: MarketplaceAgreements | ||
| op: Create | ||
| param: accepted | ||
| hidden: true | ||
| ``` |
5 changes: 5 additions & 0 deletions
5
specification/marketplaceordering/resource-manager/readme.cli.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // in readme.cli.md file | ||
|
|
||
| ``` yaml | ||
| # add any configuration here for all CLI languages | ||
| # refer to the faq.md for more details | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.