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/2021-07-01-preview (Azure#14316)

* Adds base for updating Microsoft.Maps from version stable/2021-02-01 to version 2021-07-01-preview

* Updates readme

* Updates API version in new specs and examples

* managed identities

* updates based on design review

* fixes for examples

* adding description

* updated example request responses
  • Loading branch information
Daniel Stack authored and mkarmark committed Jul 20, 2021
1 parent 0103e7e commit fbea754
Show file tree
Hide file tree
Showing 21 changed files with 2,204 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parameters": {
"api-version": "2021-07-01-preview",
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
"resourceGroupName": "myResourceGroup",
"accountName": "myMapsAccount",
"MapsAccount": {
"location": "global",
"sku": {
"name": "S0"
},
"kind": "Gen1",
"tags": {
"test": "true"
},
"properties": {
"disableLocalAuth": false
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen1",
"location": "global",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "S0",
"tier": "Standard"
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": false
}
}
},
"201": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen1",
"location": "global",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "S0",
"tier": "Standard"
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": false
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parameters": {
"api-version": "2021-07-01-preview",
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
"resourceGroupName": "myResourceGroup",
"accountName": "myMapsAccount",
"MapsAccount": {
"location": "global",
"sku": {
"name": "G2"
},
"kind": "Gen2",
"tags": {
"test": "true"
},
"properties": {
"disableLocalAuth": true
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen2",
"location": "global",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "G2",
"tier": "Standard"
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": true
}
}
},
"201": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen2",
"location": "global",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "G2",
"tier": "Standard"
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": true
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"parameters": {
"api-version": "2021-07-01-preview",
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
"resourceGroupName": "myResourceGroup",
"accountName": "myMapsAccount",
"MapsAccount": {
"location": "eastus",
"sku": {
"name": "G2"
},
"kind": "Gen2",
"tags": {
"test": "true"
},
"identity": {
"type": "SystemAssigned, UserAssigned",
"userAssignedIdentities": {
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {}
}
},
"properties": {
"disableLocalAuth": false,
"linkedResources": [
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBatchStorageAccount"
},
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBlobDataSource"
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen2",
"location": "eastus",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "G2",
"tier": "Standard"
},
"identity": {
"type": "SystemAssigned, UserAssigned",
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
"userAssignedIdentities": {
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
}
}
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": true,
"linkedResources": [
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBatchStorageAccount"
},
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBlobDataSource"
}
]
}
}
},
"201": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount",
"name": "myMapsAccount",
"type": "Microsoft.Maps/accounts",
"kind": "Gen2",
"location": "eastus",
"tags": {
"test": "true"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-07-02T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-07-02T01:01:01.1075056Z"
},
"sku": {
"name": "G2",
"tier": "Standard"
},
"identity": {
"type": "SystemAssigned, UserAssigned",
"principalId": "77f72dac-e0aa-484e-9acd-e5e7075310ef",
"tenantId": "06006684-60c1-4954-a20c-ffd8fbea7276",
"userAssignedIdentities": {
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {
"clientId": "b602d315-01b5-4265-af23-859edc4f2431",
"principalId": "ac287332-364a-41d9-a567-9ad86b9fc299"
}
}
},
"properties": {
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593",
"provisioningState": "Succeeded",
"disableLocalAuth": true,
"linkedResources": [
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBatchStorageAccount"
},
{
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc",
"uniqueName": "myBlobDataSource"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"api-version": "2021-07-01-preview",
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
"resourceGroupName": "myResourceGroup",
"accountName": "myMapsAccount",
"creatorName": "myCreator",
"CreatorResource": {
"location": "eastus2",
"tags": {
"test": "true"
},
"properties": {
"storageUnits": 5
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/creators/myCreator",
"name": "myCreator",
"type": "Microsoft.Maps/accounts/creators",
"location": "eastus2",
"tags": {
"test": "true"
},
"properties": {
"provisioningState": "Created",
"storageUnits": 5
}
}
},
"201": {
"body": {
"id": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount/creators/myCreator",
"name": "myCreator",
"type": "Microsoft.Maps/accounts/creators",
"location": "eastus2",
"tags": {
"test": "true"
},
"properties": {
"provisioningState": "Created",
"storageUnits": 5
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-07-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": "2021-07-01-preview",
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0",
"resourceGroupName": "myResourceGroup",
"accountName": "myMapsAccount",
"creatorName": "myCreator"
},
"responses": {
"200": {},
"204": {}
}
}
Loading

0 comments on commit fbea754

Please sign in to comment.