Skip to content

Commit 62c45e3

Browse files
liabadiLior Abadiaelijmsyyc
authored andcommitted
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 <liabadi@microsoft.com> Co-authored-by: Eli Arbel <elarbel@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
1 parent 002a8b7 commit 62c45e3

20 files changed

+1638
-73
lines changed

specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2021-11-01-preview/adp.json

Lines changed: 1235 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"subscriptionId": "subid",
5+
"parameters": {
6+
"name": "adp1",
7+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": true
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "adpClient",
5+
"api-version": "2021-11-01-preview",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "adpClient",
5+
"api-version": "2021-11-01-preview",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
12+
"name": "adp1",
13+
"location": "Global",
14+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
15+
"tags": {},
16+
"properties": {
17+
"accountId": "id"
18+
}
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "adpClient",
5+
"api-version": "2021-11-01-preview",
6+
"subscriptionId": "subid",
7+
"parameters": {
8+
"properties": {}
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
15+
"name": "adp1",
16+
"location": "Global",
17+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
18+
"tags": {},
19+
"properties": {}
20+
}
21+
},
22+
"201": {
23+
"body": {
24+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
25+
"name": "adp1",
26+
"location": "Global",
27+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
28+
"tags": {},
29+
"properties": {}
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "adpClient",
5+
"api-version": "2021-11-01-preview",
6+
"subscriptionId": "subid",
7+
"parameters": {
8+
"location": "Global",
9+
"properties": {}
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
16+
"name": "adp1",
17+
"location": "Global",
18+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
19+
"tags": {},
20+
"properties": {}
21+
}
22+
},
23+
"201": {
24+
"body": {
25+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
26+
"name": "adp1",
27+
"location": "Global",
28+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
29+
"tags": {},
30+
"properties": {}
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "adpClient",
4+
"api-version": "2021-11-01-preview",
5+
"subscriptionId": "subid"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
13+
"name": "adp1",
14+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
15+
"location": "Global",
16+
"tags": {},
17+
"properties": {
18+
"accountId": "id"
19+
}
20+
}
21+
],
22+
"nextLink": "link"
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-01-preview",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "adpClient"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1",
13+
"name": "adp1",
14+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts",
15+
"location": "Global",
16+
"tags": {},
17+
"properties": {
18+
"accountId": "id"
19+
}
20+
}
21+
],
22+
"nextLink": "link"
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"dataPoolName": "sampledp",
5+
"resourceGroupName": "adpClient",
6+
"api-version": "2021-11-01-preview",
7+
"subscriptionId": "subid"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"dataPoolName": "sampledp",
5+
"resourceGroupName": "adpClient",
6+
"api-version": "2021-11-01-preview",
7+
"subscriptionId": "subid"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1",
13+
"name": "dp1",
14+
"type": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools",
15+
"properties": {
16+
"dataPoolId": "id",
17+
"locations": [
18+
{
19+
"name": "westus"
20+
}
21+
]
22+
}
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)