Skip to content
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

Add Stack HCI CLI settings #18563

Merged
merged 1 commit into from
May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions specification/azurestackhci/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# AZ

These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: stack-hci
namespace: azure.mgmt.azurestackhci
package-name: azure-mgmt-azurestackhci
az-output-folder: $(azure-cli-extension-folder)/src/stack-hci
python-sdk-output-folder: "$(az-output-folder)/azext_stack_hci/vendored_sdks/azurestackhci"

# add additional configuration here specific for Azure CLI
# refer to the faq.md for more details
cli:
cli-directive:
# add alias to long parameters
- where:
group: ArcSettings
op: Create
parameter: arcInstanceResourceGroup
alias:
- instance_rg
- where:
group: Clusters
op: Create
parameter: cloudManagementEndpoint
alias:
- endpoint
- where:
group: Clusters
op: Update
parameter: cloudManagementEndpoint
alias:
- endpoint
- where:
group: Extensions
op: Create
parameter: autoUpgradeMinorVersion
alias:
- auto_upgrade
- where:
group: Extensions
op: Update
parameter: autoUpgradeMinorVersion
alias:
- auto_upgrade
- where:
group: Extensions
op: Create
parameter: type
alias:
- type
- where:
group: Extensions
op: Update
parameter: type
alias:
- type
```