Skip to content

Commit

Permalink
Update ResourceMover readme.az.md for CLI code generation (#13231)
Browse files Browse the repository at this point in the history
* update readme.md for CLI code generation

* remove useless codes
  • Loading branch information
houk-ms authored Mar 9, 2021
1 parent 9f537d8 commit 8c6d9ca
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions specification/resourcemover/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,35 @@ These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: resourcemover
extensions: resource-mover
package-name: azure-mgmt-resourcemover
namespace: azure.mgmt.resourcemover
az-output-folder: $(azure-cli-extension-folder)/src/resourcemover
python-sdk-output-folder: "$(az-output-folder)/azext_resourcemover/vendored_sdks/resourcemover"
az-output-folder: $(azure-cli-extension-folder)/src/resource-mover
python-sdk-output-folder: "$(az-output-folder)/azext_resource_mover/vendored_sdks/resourcemover"
directive:
- where:
group: resource-mover unresolved-dependency
set:
group: resource-mover move-collection
cli:
cli-directive:
- where:
group: 'OperationsDiscovery'
hidden: true
- where:
group: 'MoveCollections'
op: 'ListMoveCollectionsByResourceGroup'
hidden: true
- where:
group: 'MoveCollections'
op: 'ListMoveCollectionsBySubscription'
name: List
- where:
group: 'UnresolvedDependencies'
op: 'Get'
name: List_Unresolved_Dependencies
- where:
group: 'MoveResources'
op: 'Create'
name: Add
```

0 comments on commit 8c6d9ca

Please sign in to comment.