Skip to content

Commit 94b4a3e

Browse files
JohnHKohjohnkoh-msftArcturusZhang
authored
Review request for Private.Flows to add version preview/2021-10-01-privatepreview (#5350)
* New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * New Azure AZ Readme Config File * New Azure CLI Readme Config File * New Go Language Readme Config File * New Python Language Readme Config File * New Typescript Language Readme Config File * New C# Language Readme Config File * Add new Private.Flows resource manager for telportal service * Fix CI issues with linter and prettier * Add async response validation * Add provisioning state for flows * Fix typos * Add provisioning state to properties bag * Add 'list operations' operation * Removed unused 'result' definition * Use common type of operation list result * Use common types instead of recreating definitions and parameters * Change async PATCH response status to 202 * Support async pattern for flow update * Fix wording from installations to flows * Add flow name parameter description * Fix validation errors for async and add tracked resource * Use enums for flow properties * Fix typos * Change PUT response to 201 * Add array types where appropriate * Add x-ms-pageable to list operations * Remove systemdata * Fix casing for Flows operation id's * Fix operations list path * Change parameter locastion from client to method * Remove unused parameters * Remove unused parameters * Add Azure-AsyncOperation to patchFlow * Update specification/teleportal/resource-manager/Private.Flows/preview/2021-10-01-privatepreview/teleportal.json Co-authored-by: John Koh <johnkoh@microsoft.com> Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
1 parent 04dbaa1 commit 94b4a3e

File tree

16 files changed

+960
-0
lines changed

16 files changed

+960
-0
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,7 @@ taskcompletion
13831383
taskcounts
13841384
taskfailure
13851385
tasksuccess
1386+
teleportal
13861387
templated
13871388
templatelink
13881389
templeton
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"flowName": "testFlow",
4+
"resourceGroupName": "testRG",
5+
"api-version": "2021-10-01-privatepreview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"flow": {
8+
"properties": {
9+
"storageAccountName": "testsa",
10+
"storageContainerName": "testcontainer"
11+
},
12+
"location": "East US"
13+
}
14+
},
15+
"responses": {
16+
"201": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
19+
"type": "Private.Flows/flows",
20+
"location": "East US"
21+
}
22+
},
23+
"200": {
24+
"body": {
25+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
26+
"type": "Private.Flows/flows",
27+
"location": "East US"
28+
}
29+
}
30+
}
31+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"flowName": "testFlow",
4+
"resourceGroupName": "testRG",
5+
"api-version": "2021-10-01-privatepreview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"flowName": "testFlow",
4+
"resourceGroupName": "testRG",
5+
"api-version": "2021-10-01-privatepreview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
12+
"type": "Private.Flows/flows",
13+
"location": "East US"
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "testRG",
4+
"api-version": "2021-10-01-privatepreview",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"name": "testFlow",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
14+
"type": "Private.Flows/flow",
15+
"location": "East US",
16+
"properties": {
17+
"storageAccountName": "testsa",
18+
"storageContainerName": "testcontainer"
19+
}
20+
},
21+
{
22+
"name": "testInstallation2",
23+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
24+
"type": "Private.Flows/flow",
25+
"location": "East US",
26+
"properties": {
27+
"storageAccountName": "testsa",
28+
"storageContainerName": "testcontainer"
29+
}
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01-privatepreview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "testFlow",
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
13+
"type": "Microsoft.Flow/flows",
14+
"location": "East US",
15+
"properties": {
16+
"storageAccountName": "testsa",
17+
"storageContainerName": "testcontainer"
18+
}
19+
},
20+
{
21+
"name": "testInstallation2",
22+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
23+
"type": "Microsoft.Flow/flows",
24+
"location": "East US",
25+
"properties": {
26+
"storageAccountName": "testsa",
27+
"storageContainerName": "testcontainer"
28+
}
29+
}
30+
]
31+
}
32+
}
33+
}
34+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "teleportalClient",
5+
"api-version": "2021-10-01-privatepreview",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "Private.Flows/read",
14+
"display": {
15+
"provider": "CTS Experience",
16+
"resource": "Flow",
17+
"operation": "Read flows",
18+
"description": "Read flows"
19+
}
20+
},
21+
{
22+
"name": "Private.Flows/write",
23+
"display": {
24+
"provider": "CTS Experience",
25+
"resource": "Flow",
26+
"operation": "Update flows",
27+
"description": "Update flows"
28+
}
29+
},
30+
{
31+
"name": "Private.Flows/delete",
32+
"display": {
33+
"provider": "CTS Experience",
34+
"resource": "Flow",
35+
"operation": "Delete flows",
36+
"description": "Delete flows"
37+
}
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"flowName": "testFlow",
4+
"resourceGroupName": "testRG",
5+
"api-version": "2021-10-01-privatepreview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"flow": {},
8+
"tags": {
9+
"tag": "value"
10+
}
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"Azure-AsyncOperation": "http://management.azure.com/subscriptions/12345/providers/Private.SpoolService/operations/67890?api-version=2021-10-01-privatepreview"
16+
},
17+
"body": {
18+
"tags": {
19+
"tag": "value"
20+
},
21+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
22+
"type": "Microsoft.Contoso/flows",
23+
"location": "East US",
24+
"properties": {
25+
"storageAccountName": "testsa",
26+
"storageContainerName": "testcontainer"
27+
}
28+
}
29+
},
30+
"200": {
31+
"body": {
32+
"tags": {
33+
"tag": "value"
34+
},
35+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Private.Flows/flows/testFlow",
36+
"type": "Microsoft.Contoso/flows",
37+
"location": "East US",
38+
"properties": {
39+
"storageAccountName": "testsa",
40+
"storageContainerName": "testcontainer"
41+
}
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)