forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
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/2021-02-01 (Azure#13733) * Adds base for updating Microsoft.Maps from version preview/2020-02-01-preview to version 2020-02-01 * Updates for 2021-02-01 api version swagger * creator swagger fixes * fix model examples * nextLink, uniqueId * build fixes * fixing listkeys * fix long running operations * fixing spelling * fixing async behavior and examples * updating arm region * reset package-lock
- Loading branch information
Daniel Stack
authored
Apr 23, 2021
1 parent
77df950
commit 5e6a575
Showing
19 changed files
with
1,870 additions
and
2 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
...cation/maps/resource-manager/Microsoft.Maps/stable/2021-02-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,81 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"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-02-01T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-02-01T01: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-02-01T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-02-01T01:01:01.1075056Z" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": false | ||
} | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...on/maps/resource-manager/Microsoft.Maps/stable/2021-02-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,81 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"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-02-01T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-02-01T01: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-02-01T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-02-01T01:01:01.1075056Z" | ||
}, | ||
"sku": { | ||
"name": "G2", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"uniqueId": "b2e763e6-d6f3-4858-9e2b-7cf8df85c593", | ||
"provisioningState": "Succeeded", | ||
"disableLocalAuth": true | ||
} | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...on/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/examples/CreateMapsCreator.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,50 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...cation/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/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": "2021-02-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...on/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/examples/DeleteMapsCreator.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": "2021-02-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"creatorName": "myCreator" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...ification/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"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", | ||
"kind": "Gen1", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2021-02-01T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2021-02-01T01:01:01.1075056Z" | ||
}, | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"uniqueId": "string", | ||
"disableLocalAuth": false, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ation/maps/resource-manager/Microsoft.Maps/stable/2021-02-01/examples/GetMapsCreator.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01", | ||
"subscriptionId": "21a9967a-e8a9-4656-a70b-96ff1c4d05a0", | ||
"resourceGroupName": "myResourceGroup", | ||
"accountName": "myMapsAccount", | ||
"creatorName": "myCreator" | ||
}, | ||
"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": "unitedstates", | ||
"tags": { | ||
"test": "true" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"storageUnits": 5 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.