Skip to content

Commit ac3515b

Browse files
berndverstBernd VerstCopilot
authored
DurableTask: refactor main.tsp into per-resource files and add 2026-05-01-preview API version (#43673)
Adds transparentDataEncryptions resource type, capabilities on TaskHubs, and managed identity support on Schedulers (plus a restart action). Existing API versions and model names are preserved as-is. Co-authored-by: Bernd Verst <beverst@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0f5256f commit ac3515b

63 files changed

Lines changed: 5297 additions & 284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"title": "Operations_List",
3+
"operationId": "Operations_List",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"display": {
13+
"description": "Create or Update Durable Task Scheduler",
14+
"operation": "Create or Update Durable Task Scheduler",
15+
"provider": "Durable Task Scheduler",
16+
"resource": "Scheduler"
17+
},
18+
"isDataAction": false,
19+
"name": "Microsoft.DurableTask/schedulers/write"
20+
},
21+
{
22+
"display": {
23+
"description": "Delete Durable Task Scheduler",
24+
"operation": "Delete Durable Task Scheduler",
25+
"provider": "Durable Task Scheduler",
26+
"resource": "Scheduler"
27+
},
28+
"isDataAction": false,
29+
"name": "Microsoft.DurableTask/schedulers/delete"
30+
}
31+
],
32+
"nextLink": "https://microsoft.com/akpblld"
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"title": "PrivateEndpointConnections_Create_MaximumSet",
3+
"operationId": "Schedulers_CreateOrUpdatePrivateEndpointConnection",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler",
9+
"privateEndpointConnectionName": "spzckqrbhfnabu",
10+
"resource": {
11+
"properties": {
12+
"privateEndpoint": {},
13+
"privateLinkServiceConnectionState": {
14+
"status": "Pending",
15+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
16+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
17+
}
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"properties": {
25+
"privateEndpoint": {
26+
"id": "vjjxatyilmgjaervqztrmlpfodvbo"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Pending",
30+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
31+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
32+
},
33+
"groupIds": [
34+
"xnnrzmowptxnijdojrntrbm"
35+
],
36+
"provisioningState": "Succeeded"
37+
},
38+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateEndpointConnections/spzckqrbhfnabu",
39+
"name": "spzckqrbhfnabu",
40+
"type": "Microsoft.DurableTask/schedulers/privateEndpointConnections",
41+
"systemData": {
42+
"createdBy": "tenmbevaunjzikxowqexrsx",
43+
"createdByType": "User",
44+
"createdAt": "2024-04-17T15:34:17.365Z",
45+
"lastModifiedBy": "xfvdcegtj",
46+
"lastModifiedByType": "User",
47+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
48+
}
49+
}
50+
},
51+
"201": {
52+
"headers": {
53+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
54+
},
55+
"body": {
56+
"properties": {
57+
"privateEndpoint": {
58+
"id": "vjjxatyilmgjaervqztrmlpfodvbo"
59+
},
60+
"privateLinkServiceConnectionState": {
61+
"status": "Pending",
62+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
63+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
64+
},
65+
"groupIds": [
66+
"xnnrzmowptxnijdojrntrbm"
67+
],
68+
"provisioningState": "Succeeded"
69+
},
70+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateEndpointConnections/spzckqrbhfnabu",
71+
"name": "spzckqrbhfnabu",
72+
"type": "Microsoft.DurableTask/schedulers/privateEndpointConnections",
73+
"systemData": {
74+
"createdBy": "tenmbevaunjzikxowqexrsx",
75+
"createdByType": "User",
76+
"createdAt": "2024-04-17T15:34:17.365Z",
77+
"lastModifiedBy": "xfvdcegtj",
78+
"lastModifiedByType": "User",
79+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
80+
}
81+
}
82+
}
83+
}
84+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"title": "PrivateEndpointConnections_Delete_MaximumSet",
3+
"operationId": "Schedulers_DeletePrivateEndpointConnection",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler",
9+
"privateEndpointConnectionName": "spzckqrbhfnabu"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"location": "https://contoso.com/operationstatus"
15+
}
16+
},
17+
"204": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"title": "PrivateEndpointConnections_Get_MaximumSet",
3+
"operationId": "Schedulers_GetPrivateEndpointConnection",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler",
9+
"privateEndpointConnectionName": "spzckqrbhfnabu"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"properties": {
15+
"privateEndpoint": {
16+
"id": "vjjxatyilmgjaervqztrmlpfodvbo"
17+
},
18+
"privateLinkServiceConnectionState": {
19+
"status": "Pending",
20+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
21+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
22+
},
23+
"groupIds": [
24+
"xnnrzmowptxnijdojrntrbm"
25+
],
26+
"provisioningState": "Succeeded"
27+
},
28+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateEndpointConnections/spzckqrbhfnabu",
29+
"name": "spzckqrbhfnabu",
30+
"type": "Microsoft.DurableTask/schedulers/privateEndpointConnections",
31+
"systemData": {
32+
"createdBy": "tenmbevaunjzikxowqexrsx",
33+
"createdByType": "User",
34+
"createdAt": "2024-04-17T15:34:17.365Z",
35+
"lastModifiedBy": "xfvdcegtj",
36+
"lastModifiedByType": "User",
37+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"title": "PrivateEndpointConnections_List_MaximumSet",
3+
"operationId": "Schedulers_ListPrivateEndpointConnections",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"properties": {
16+
"privateEndpoint": {
17+
"id": "vjjxatyilmgjaervqztrmlpfodvbo"
18+
},
19+
"privateLinkServiceConnectionState": {
20+
"status": "Pending",
21+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
22+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
23+
},
24+
"groupIds": [
25+
"xnnrzmowptxnijdojrntrbm"
26+
],
27+
"provisioningState": "Succeeded"
28+
},
29+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateEndpointConnections/spzckqrbhfnabu",
30+
"name": "spzckqrbhfnabu",
31+
"type": "Microsoft.DurableTask/schedulers/privateEndpointConnections",
32+
"systemData": {
33+
"createdBy": "tenmbevaunjzikxowqexrsx",
34+
"createdByType": "User",
35+
"createdAt": "2024-04-17T15:34:17.365Z",
36+
"lastModifiedBy": "xfvdcegtj",
37+
"lastModifiedByType": "User",
38+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
39+
}
40+
}
41+
],
42+
"nextLink": "https://microsoft.com/anend"
43+
}
44+
}
45+
}
46+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"title": "PrivateEndpointConnections_Update",
3+
"operationId": "Schedulers_UpdatePrivateEndpointConnection",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler",
9+
"privateEndpointConnectionName": "spzckqrbhfnabu",
10+
"properties": {
11+
"properties": {
12+
"privateLinkServiceConnectionState": {
13+
"status": "Approved"
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"properties": {
22+
"privateEndpoint": {
23+
"id": "vjjxatyilmgjaervqztrmlpfodvbo"
24+
},
25+
"privateLinkServiceConnectionState": {
26+
"status": "Approved",
27+
"actionsRequired": "mxymqfbbmpwjxsroldlsd",
28+
"description": "ujdcsoyxljivwsgfkexhotaxcmzq"
29+
},
30+
"groupIds": [
31+
"xnnrzmowptxnijdojrntrbm"
32+
],
33+
"provisioningState": "Succeeded"
34+
},
35+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateEndpointConnections/spzckqrbhfnabu",
36+
"name": "spzckqrbhfnabu",
37+
"type": "Microsoft.DurableTask/schedulers/privateEndpointConnections",
38+
"systemData": {
39+
"createdBy": "tenmbevaunjzikxowqexrsx",
40+
"createdByType": "User",
41+
"createdAt": "2024-04-17T15:34:17.365Z",
42+
"lastModifiedBy": "xfvdcegtj",
43+
"lastModifiedByType": "User",
44+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
45+
}
46+
}
47+
},
48+
"202": {
49+
"headers": {
50+
"location": "https://contoso.com/operationstatus"
51+
}
52+
}
53+
}
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"title": "PrivateLinkResources_Get_MaximumSet",
3+
"operationId": "Schedulers_GetPrivateLink",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler",
9+
"privateLinkResourceName": "ulbdiqhrmwnkejje"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"properties": {
15+
"groupId": "mexetpneryldlrtmuxzxhwezfjkcvr",
16+
"requiredMembers": [
17+
"ftzshharzmwhcemnbdwlmyhtxkpa"
18+
],
19+
"requiredZoneNames": [
20+
"lkwwgycaduib"
21+
]
22+
},
23+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateLinkResources/ulbdiqhrmwnkejje",
24+
"name": "ulbdiqhrmwnkejje",
25+
"type": "Microsoft.DurableTask/schedulers/privateLinkResources",
26+
"systemData": {
27+
"createdBy": "tenmbevaunjzikxowqexrsx",
28+
"createdByType": "User",
29+
"createdAt": "2024-04-17T15:34:17.365Z",
30+
"lastModifiedBy": "xfvdcegtj",
31+
"lastModifiedByType": "User",
32+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
33+
}
34+
}
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"title": "PrivateLinkResources_List_MaximumSet",
3+
"operationId": "Schedulers_ListPrivateLinks",
4+
"parameters": {
5+
"api-version": "2026-05-01-preview",
6+
"subscriptionId": "851A7597-D699-45CC-899B-7487A5B3B775",
7+
"resourceGroupName": "rgdurabletask",
8+
"schedulerName": "testscheduler"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"properties": {
16+
"groupId": "mexetpneryldlrtmuxzxhwezfjkcvr",
17+
"requiredMembers": [
18+
"ftzshharzmwhcemnbdwlmyhtxkpa"
19+
],
20+
"requiredZoneNames": [
21+
"lkwwgycaduib"
22+
]
23+
},
24+
"id": "/subscriptions/851A7597-D699-45CC-899B-7487A5B3B775/resourceGroups/rgdurabletask/providers/Microsoft.DurableTask/schedulers/testscheduler/privateLinkResources/ulbdiqhrmwnkejje",
25+
"name": "ulbdiqhrmwnkejje",
26+
"type": "Microsoft.DurableTask/schedulers/privateLinkResources",
27+
"systemData": {
28+
"createdBy": "tenmbevaunjzikxowqexrsx",
29+
"createdByType": "User",
30+
"createdAt": "2024-04-17T15:34:17.365Z",
31+
"lastModifiedBy": "xfvdcegtj",
32+
"lastModifiedByType": "User",
33+
"lastModifiedAt": "2024-04-17T15:34:17.366Z"
34+
}
35+
}
36+
],
37+
"nextLink": "https://microsoft.com/a"
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)