-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Maps to add version prev…
…iew/2020-02-01-preview (#8287) * Adds base for updating Microsoft.Maps from version stable/2018-05-01 to version 2020-04-01-preview * Updates readme * Updates API version in new specs and examples * add private atlas resource and examples * fixing invalid format * fixing build validation errors * fixing style * removing 202 from review feedback * api version, inheritance, and feedback * removing 404 from examples and fixing version * fixing readme and remaining 404s * fixing typo * trying to fix missing input file * fixing output directory * adding tags to support docs preview * fixing List Operations name and sample * adding supressions and fix for operations * fixing the schema * removing isDataAction to fix * supress nested tracked, and remove move
- Loading branch information
Daniel Stack
authored
Feb 6, 2020
1 parent
53adb6a
commit a20b17f
Showing
17 changed files
with
1,536 additions
and
9 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
...ps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/CreateAccount.json
This file contains 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,55 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"MapsAccountCreateParameters": { | ||
"location": "global", | ||
"sku": { | ||
"name": "S0" | ||
}, | ||
"tags": { | ||
"test": "true" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"name": "myMapsAccount", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"x-ms-client-id": "string" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"name": "myMapsAccount", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"x-ms-client-id": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...source-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/CreatePrivateAtlas.json
This file contains 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,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"privateAtlasName": "myPrivateAtlas", | ||
"PrivateAtlasCreateParameters": { | ||
"location": "unitedstates", | ||
"tags": { | ||
"test": "true" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/privateAtlases/myPrivateAtlas", | ||
"name": "myPrivateAtlas", | ||
"type": "Microsoft.Maps/accounts/privateAtlases", | ||
"location": "unitedstates", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/privateAtlases/myPrivateAtlas", | ||
"name": "myPrivateAtlas", | ||
"type": "Microsoft.Maps/accounts/privateAtlases", | ||
"location": "unitedstates", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/DeleteAccount.json
This file contains 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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...source-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/DeletePrivateAtlas.json
This file contains 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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"privateAtlasName": "myPrivateAtlas" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
.../maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/GetAccount.json
This file contains 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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"name": "myMapsAccount", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"x-ms-client-id": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
94 changes: 94 additions & 0 deletions
94
...ps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/GetOperations.json
This file contains 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,94 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Maps/register/action", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "Register the provider", | ||
"description": "Register the provider" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/write", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "Create or update a Maps Account.", | ||
"description": "Create or update a Maps Account." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/read", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "Get a Maps Account.", | ||
"description": "Get a Maps Account." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/delete", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "Delete a Maps Account.", | ||
"description": "Delete a Maps Account." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/listKeys/action", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "List keys", | ||
"description": "List Maps Account keys" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/regenerateKey/action", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Maps Account", | ||
"operation": "Generate new primary or secondary key", | ||
"description": "Generate new Maps Account primary or secondary key" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/privateAtlases/write", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Private Atlas", | ||
"operation": "Create or update a Private Atlas.", | ||
"description": "Create or update a Private Atlas." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/privateAtlases/read", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Private Atlas", | ||
"operation": "Get a Private Atlas.", | ||
"description": "Get a Private Atlas." | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Maps/accounts/privateAtlases/delete", | ||
"display": { | ||
"provider": "Microsoft Maps", | ||
"resource": "Private Atlas", | ||
"operation": "Delete a Private Atlas.", | ||
"description": "Delete a Private Atlas." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
.../resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/GetPrivateAtlas.json
This file contains 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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"privateAtlasName": "myPrivateAtlas" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/privateAtlases/myPrivateAtlas", | ||
"name": "myPrivateAtlas", | ||
"type": "Microsoft.Maps/accounts/privateAtlases", | ||
"location": "unitedstates", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...nager/Microsoft.Maps/preview/2020-02-01-preview/examples/ListAccountsByResourceGroup.json
This file contains 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,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount2", | ||
"name": "myMapsAccount2", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"name": "myMapsAccount", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...anager/Microsoft.Maps/preview/2020-02-01-preview/examples/ListAccountsBySubscription.json
This file contains 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,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount2", | ||
"name": "myMapsAccount2", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"name": "myMapsAccount", | ||
"type": "Microsoft.Maps/accounts", | ||
"location": "global", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...on/maps/resource-manager/Microsoft.Maps/preview/2020-02-01-preview/examples/ListKeys.json
This file contains 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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-02-01-preview", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount", | ||
"primaryKey": "ZiBllKWCwXXLTO13S2TaoHoK8kPFYaoyYlAcnCcE4PQ", | ||
"secondaryKey": "cJHpmUGNaGGO8H59p6NKGhfff9VjD278-2bi5wo0_mU" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.