Skip to content

Commit ab0f9d5

Browse files
brpanaskCopilot
andcommitted
Sync from ADO internal review, fix example body param key
- Sync TypeSpec models from merged ADO PR (dirsMigrated, totalSkipped, RollingBack) - Fix rebalanceJobs_Update example: body param key 'properties' (native TypeSpec) - RebalanceJob is TypeSpec-native, no back-compatible.tsp entries needed - Regenerated openapi.json and output examples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a4783d5 commit ab0f9d5

138 files changed

Lines changed: 391 additions & 333 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.

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import "@azure-tools/typespec-azure-core";
22
import "@azure-tools/typespec-azure-resource-manager";
3-
import "@typespec/openapi";
43
import "@typespec/rest";
54
import "@typespec/versioning";
65
import "./models.tsp";
@@ -10,7 +9,6 @@ using TypeSpec.Rest;
109
using TypeSpec.Versioning;
1110
using Azure.ResourceManager;
1211
using TypeSpec.Http;
13-
using TypeSpec.OpenAPI;
1412

1513
namespace Microsoft.StorageCache;
1614

@@ -36,14 +34,12 @@ interface RebalanceJobs {
3634
/**
3735
* Returns a rebalance job.
3836
*/
39-
@operationId("rebalanceJobs_Get")
4037
@tag("rebalanceJobs")
4138
get is ArmResourceRead<RebalanceJob, Error = CloudError>;
4239

4340
/**
4441
* Update a rebalance job instance.
4542
*/
46-
@operationId("rebalanceJobs_Update")
4743
@tag("rebalanceJobs")
4844
@patch(#{ implicitOptionality: false })
4945
@Azure.Core.useFinalStateVia("azure-async-operation")
@@ -58,7 +54,6 @@ interface RebalanceJobs {
5854
/**
5955
* Schedules a rebalance job for deletion.
6056
*/
61-
@operationId("rebalanceJobs_Delete")
6257
@tag("rebalanceJobs")
6358
delete is ArmResourceDeleteWithoutOkAsync<
6459
RebalanceJob,
@@ -72,7 +67,6 @@ interface RebalanceJobs {
7267
/**
7368
* Returns all the rebalance jobs the user has access to under an AML File System.
7469
*/
75-
@operationId("rebalanceJobs_ListByAmlFilesystem")
7670
@tag("rebalanceJobs")
7771
listByAmlFilesystem is ArmResourceListByParent<
7872
RebalanceJob,

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"operationId": "testoperationid",
4-
"api-version": "2026-01-01",
4+
"api-version": "2026-08-01",
55
"location": "westus",
66
"subscriptionId": "00000000-0000-0000-0000-000000000000"
77
},

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"location": "eastus",
55
"subscriptionId": "00000000-0000-0000-0000-000000000000"
66
},

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cache": {
55
"identity": {
66
"type": "UserAssigned",

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cache": {
55
"location": "westus",
66
"properties": {

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cacheName": "sc",
55
"resourceGroupName": "scgroup",
66
"subscriptionId": "00000000-0000-0000-0000-000000000000"
@@ -9,8 +9,8 @@
99
"200": {},
1010
"202": {
1111
"headers": {
12-
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01",
13-
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01"
12+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01",
13+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01"
1414
}
1515
},
1616
"204": {}

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cacheName": "sc",
55
"resourceGroupName": "scgroup",
66
"subscriptionId": "00000000-0000-0000-0000-000000000000"
@@ -9,8 +9,8 @@
99
"200": {},
1010
"202": {
1111
"headers": {
12-
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01",
13-
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01"
12+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01",
13+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01"
1414
}
1515
},
1616
"204": {}

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cacheName": "sc",
55
"resourceGroupName": "scgroup",
66
"subscriptionId": "00000000-0000-0000-0000-000000000000"
@@ -9,8 +9,8 @@
99
"200": {},
1010
"202": {
1111
"headers": {
12-
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01",
13-
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01"
12+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01",
13+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01"
1414
}
1515
},
1616
"204": {}

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"cacheName": "sc1",
55
"resourceGroupName": "scgroup",
66
"subscriptionId": "00000000-0000-0000-0000-000000000000"

specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2026-01-01",
3+
"api-version": "2026-08-01",
44
"subscriptionId": "00000000-0000-0000-0000-000000000000"
55
},
66
"responses": {

0 commit comments

Comments
 (0)