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.
ADP: Introduce api version 2021-11-01-preview (Azure#16526)
* - Copy version 2021-11-01 from 2021-02-01 - Add new version to readme.md * Update api version references to 2021-11-01 * Add api changes * Fix validation * Fix the rest of the validations and other readme's * Prettier fix * Fix python sdk generation * Use multiapiscript instead of multiapi * Try using only multiapi * Fix python * Align readmes * Align python with sample * Change to create mode * Revert mode * Update readme.python.md * New data pool * Add Access URI and use KeyVaultProperties for encryption * Revert New data pool * Remove the deduplication flag Co-authored-by: Lior Abadi <[email protected]> Co-authored-by: Eli Arbel <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
- Loading branch information
1 parent
0d04177
commit b81af69
Showing
20 changed files
with
1,638 additions
and
73 deletions.
There are no files selected for viewing
1,235 changes: 1,235 additions & 0 deletions
1,235
...ource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/adp.json
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...elopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountCheckNameAvailability.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": "2021-11-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"name": "adp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...t.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountDelete.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": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...soft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountGet.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,22 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"location": "Global", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"tags": {}, | ||
"properties": { | ||
"accountId": "id" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountPatch.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,33 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"location": "Global", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"tags": {}, | ||
"properties": {} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"location": "Global", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"tags": {}, | ||
"properties": {} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...soft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountPut.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,34 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location": "Global", | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"location": "Global", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"tags": {}, | ||
"properties": {} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"location": "Global", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"tags": {}, | ||
"properties": {} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountsList.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": { | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"location": "Global", | ||
"tags": {}, | ||
"properties": { | ||
"accountId": "id" | ||
} | ||
} | ||
], | ||
"nextLink": "link" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...velopmentPlatform/preview/2021-11-01-preview/examples/AdpAccountsListByResourceGroup.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-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "adpClient" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1", | ||
"name": "adp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts", | ||
"location": "Global", | ||
"tags": {}, | ||
"properties": { | ||
"accountId": "id" | ||
} | ||
} | ||
], | ||
"nextLink": "link" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
....AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpDataPoolDelete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"dataPoolName": "sampledp", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...oft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpDataPoolGet.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": { | ||
"accountName": "sampleacct", | ||
"dataPoolName": "sampledp", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"dataPoolId": "id", | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...t.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpDataPoolPatch.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,48 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"dataPoolName": "sampledp", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...oft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpDataPoolPut.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,54 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"dataPoolName": "sampledp", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus", | ||
"encryption": { | ||
"keyVaultUri": "https://vaulturi", | ||
"keyName": "key1", | ||
"keyVersion": "123", | ||
"userAssignedIdentity": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...t.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpDataPoolsList.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,30 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "adpClient", | ||
"api-version": "2021-11-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1", | ||
"name": "dp1", | ||
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools", | ||
"properties": { | ||
"dataPoolId": "id", | ||
"locations": [ | ||
{ | ||
"name": "westus" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "link" | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
....AutonomousDevelopmentPlatform/preview/2021-11-01-preview/examples/AdpOperationsList.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": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.AutonomousDevelopmentPlatform/accounts/read", | ||
"display": { | ||
"provider": "Microsoft Autonomous Development Platform", | ||
"resource": "Account", | ||
"operation": "Read accounts", | ||
"description": "Read accounts" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.AutonomousDevelopmentPlatform/accounts/write", | ||
"display": { | ||
"provider": "Microsoft Autonomous Development Platform", | ||
"resource": "Account", | ||
"operation": "Update accounts", | ||
"description": "Update accounts" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.AutonomousDevelopmentPlatform/accounts/delete", | ||
"display": { | ||
"provider": "Microsoft Autonomous Development Platform", | ||
"resource": "Account", | ||
"operation": "Delete accounts", | ||
"description": "Delete accounts" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.