-
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 stab…
…le/2023-06-01 (#23862) * Adds base for updating Microsoft.Maps from version preview/2021-12-01-preview to version 2023-06-01 * Updates readme * Updates API version in new specs and examples * updates to schema * move to v4 as managedidentity is broken in v5 * fixes from build * fix example * reuse trackedresource v2 * adding suppression for move * trying to suppress with from * attempt 3 for supression based on cogsearch
- Loading branch information
Daniel Stack
authored
Aug 2, 2023
1 parent
2eb9a4d
commit d8220a0
Showing
26 changed files
with
2,781 additions
and
2 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
...ation/maps/resource-manager/Microsoft.Maps/stable/2023-06-01/examples/AccountListSAS.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": "2023-06-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"MapsAccountSasParameters": { | ||
"signingKey": "primaryKey", | ||
"principalId": "e917f87b-324d-4728-98ed-e31d311a7d65", | ||
"regions": [ | ||
"eastus" | ||
], | ||
"maxRatePerSecond": 500, | ||
"start": "2017-05-24T10:42:03.1567373Z", | ||
"expiry": "2017-05-24T11:42:03.1567373Z" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"accountSasToken": "accountSasToken" | ||
} | ||
} | ||
} | ||
} |
111 changes: 111 additions & 0 deletions
111
...cation/maps/resource-manager/Microsoft.Maps/stable/2023-06-01/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,111 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"MapsAccount": { | ||
"location": "eastus", | ||
"sku": { | ||
"name": "S0" | ||
}, | ||
"kind": "Gen1", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"disableLocalAuth": false, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"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": "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": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": false, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"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": "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": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": false, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
127 changes: 127 additions & 0 deletions
127
...s/resource-manager/Microsoft.Maps/stable/2023-06-01/examples/CreateAccountEncryption.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,127 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"MapsAccount": { | ||
"location": "eastus", | ||
"sku": { | ||
"name": "G2" | ||
}, | ||
"kind": "Gen2", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName": {} | ||
} | ||
}, | ||
"properties": { | ||
"encryption": { | ||
"customerManagedKeyEncryption": { | ||
"keyEncryptionKeyIdentity": { | ||
"identityType": "userAssignedIdentity", | ||
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName" | ||
}, | ||
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"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": "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", | ||
"encryption": { | ||
"customerManagedKeyEncryption": { | ||
"keyEncryptionKeyIdentity": { | ||
"identityType": "userAssignedIdentity", | ||
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName" | ||
}, | ||
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"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", | ||
"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": "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": "Updating", | ||
"encryption": { | ||
"customerManagedKeyEncryption": { | ||
"keyEncryptionKeyIdentity": { | ||
"identityType": "userAssignedIdentity", | ||
"userAssignedIdentityResourceId": "/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName" | ||
}, | ||
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
111 changes: 111 additions & 0 deletions
111
...on/maps/resource-manager/Microsoft.Maps/stable/2023-06-01/examples/CreateAccountGen2.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,111 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"MapsAccount": { | ||
"location": "eastus", | ||
"sku": { | ||
"name": "G2" | ||
}, | ||
"kind": "Gen2", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"disableLocalAuth": true, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": true, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": true, | ||
"cors": { | ||
"corsRules": [ | ||
{ | ||
"allowedOrigins": [ | ||
"http://www.contoso.com", | ||
"http://www.fabrikam.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.