From 88a6e18d0fa09fe6fb6e6bc52934d2b966cc268b Mon Sep 17 00:00:00 2001 From: Kerwin Date: Wed, 19 Feb 2020 10:12:44 +0800 Subject: [PATCH] add cli.md for maps, and fix a name in x-ms-examples (#8415) --- .../2020-02-01-preview/maps-management.json | 2 +- .../maps/resource-manager/readme.cli.md | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 specification/maps/resource-manager/readme.cli.md diff --git a/specification/maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/maps-management.json b/specification/maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/maps-management.json index 2d89b29476a7..97ee2bdf9b10 100644 --- a/specification/maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/maps-management.json +++ b/specification/maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/maps-management.json @@ -444,7 +444,7 @@ "description": "Create or update a Private Atlas resource. Private Atlas resource will enable the usage of Azure resources to build a custom set of mapping data. It requires an account to exist before it can be created.", "operationId": "PrivateAtlases_CreateOrUpdate", "x-ms-examples": { - "CreateAccount": { + "CreatePrivateAtlas": { "$ref": "./examples/CreatePrivateAtlas.json" } }, diff --git a/specification/maps/resource-manager/readme.cli.md b/specification/maps/resource-manager/readme.cli.md new file mode 100644 index 000000000000..7460e4ff02f5 --- /dev/null +++ b/specification/maps/resource-manager/readme.cli.md @@ -0,0 +1,21 @@ +## CLI + +These settings apply only when `--cli` is specified on the command line. +current tag-package=2018-05 +``` yaml $(cli) +cli: + cli-name: maps + package-name: azure-mgmt-maps + namespace: azure.mgmt.maps + test-scenario: + - name: CreateAccount + - name: GetAccount + - name: ListAccountsByResourceGroup + - name: ListAccountsBySubscription + - name: GetOperations + - name: RegenerateKey + - name: ListKeys + - name: UpdateAccount + - name: MoveAccounts + - name: DeleteAccount +``` \ No newline at end of file