Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Maps to add version prev…
Browse files Browse the repository at this point in the history
…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
Show file tree
Hide file tree
Showing 17 changed files with 1,536 additions and 9 deletions.
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"
}
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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."
}
}
]
}
}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit a20b17f

Please sign in to comment.