From e145f8518973de263c5c45ba7a1f2920cb3a2286 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 10:20:56 -0700 Subject: [PATCH 01/17] Add sdk related files to resolve CI --- .../FileShares.Management/client.tsp | 14 +++++ .../fileshares/resource-manager/readme.az.md | 28 +++++++++ .../fileshares/resource-manager/readme.cli.md | 1 + .../resource-manager/readme.csharp.md | 15 +++++ .../fileshares/resource-manager/readme.go.md | 11 ++++ .../resource-manager/readme.java.md | 8 +++ .../fileshares/resource-manager/readme.md | 60 +++++++++++++++++++ .../resource-manager/readme.python.md | 19 ++++++ .../resource-manager/readme.typescript.md | 14 +++++ 9 files changed, 170 insertions(+) create mode 100644 specification/fileshares/FileShares.Management/client.tsp create mode 100644 specification/fileshares/resource-manager/readme.az.md create mode 100644 specification/fileshares/resource-manager/readme.cli.md create mode 100644 specification/fileshares/resource-manager/readme.csharp.md create mode 100644 specification/fileshares/resource-manager/readme.go.md create mode 100644 specification/fileshares/resource-manager/readme.java.md create mode 100644 specification/fileshares/resource-manager/readme.md create mode 100644 specification/fileshares/resource-manager/readme.python.md create mode 100644 specification/fileshares/resource-manager/readme.typescript.md diff --git a/specification/fileshares/FileShares.Management/client.tsp b/specification/fileshares/FileShares.Management/client.tsp new file mode 100644 index 000000000000..1206e96e5689 --- /dev/null +++ b/specification/fileshares/FileShares.Management/client.tsp @@ -0,0 +1,14 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Azure.ResourceManager.Foundations; + +@@clientName(Microsoft.FileShares, "FileSharesManagementClient", "java"); + +@@clientName(CheckNameAvailabilityResponse, + "CheckNameAvailabilityResult", + "csharp" +); + +@@clientName(Azure.ResourceManager.CommonTypes.Operation, "Info", "csharp"); diff --git a/specification/fileshares/resource-manager/readme.az.md b/specification/fileshares/resource-manager/readme.az.md new file mode 100644 index 000000000000..7a3469a9cd97 --- /dev/null +++ b/specification/fileshares/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: fileshares + namespace: azure.mgmt.fileshares + package-name: azure-mgmt-fileshares +az-output-folder: $(azure-cli-extension-folder)/src/fileshares +python-sdk-output-folder: "$(az-output-folder)/azext_fileshares/vendored_sdks/fileshares" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: fileshares + namespace: azure.mgmt.fileshares + package-name: azure-mgmt-fileshares +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/fileshares +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/fileshares" +``` \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.cli.md b/specification/fileshares/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/fileshares/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.csharp.md b/specification/fileshares/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..b959ca754e05 --- /dev/null +++ b/specification/fileshares/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.FileShares + output-folder: $(csharp-sdks-folder)/fileshares/management/Microsoft.FileShares/GeneratedProtocol +``` diff --git a/specification/fileshares/resource-manager/readme.go.md b/specification/fileshares/resource-manager/readme.go.md new file mode 100644 index 000000000000..d2cff10d6a8b --- /dev/null +++ b/specification/fileshares/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/fileshares/armfileshares +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/fileshares/resource-manager/readme.java.md b/specification/fileshares/resource-manager/readme.java.md new file mode 100644 index 000000000000..2d52ba747239 --- /dev/null +++ b/specification/fileshares/resource-manager/readme.java.md @@ -0,0 +1,8 @@ +## Java + +These settings apply only when `--java` is specified on the command line. + +```yaml $(java) +service-name: FileShares +client-flattened-annotation-target: disabled +``` diff --git a/specification/fileshares/resource-manager/readme.md b/specification/fileshares/resource-manager/readme.md new file mode 100644 index 000000000000..f343681da24f --- /dev/null +++ b/specification/fileshares/resource-manager/readme.md @@ -0,0 +1,60 @@ +# Azure API Center + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Azure API Center. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Azure API Center. + +``` yaml +openapi-type: arm +openapi-subtype: providerHub +tag: package-2025-01-01-preview +``` + +### Tag: package-2025-01-01-preview + +These settings apply only when `--tag=package-2025-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2025-01-01-preview' +input-file: + - Microsoft.FileShares/preview/2025-01-01-preview/fileshares.json +``` + +### Suppression + +``` yaml +directive: + - suppress: PreviewVersionOverOneYear + reason: We are still due to go public preview in next quarter. + - suppress: AvoidAdditionalProperties + reason: 1. These are created as part of Record and properties constructs. + - suppress: OperationIdNounVerb + reason: FileShare is both in parent and child resource. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots"].get.operationId + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}"].put.operationId + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}"].get.operationId + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}"].delete.operationId + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}"].patch.operationId +``` + +--- diff --git a/specification/fileshares/resource-manager/readme.python.md b/specification/fileshares/resource-manager/readme.python.md new file mode 100644 index 000000000000..063657ca6d72 --- /dev/null +++ b/specification/fileshares/resource-manager/readme.python.md @@ -0,0 +1,19 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +title: FileSharesMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-fileshares +namespace: azure.mgmt.fileshares +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares +``` diff --git a/specification/fileshares/resource-manager/readme.typescript.md b/specification/fileshares/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..feb5ab6fb62f --- /dev/null +++ b/specification/fileshares/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-fileshares" + output-folder: "$(typescript-sdks-folder)/sdk/fileshares/arm-fileshares" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` From 2cdc8515e83bf145312be14b002f56e15c08ce59 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 10:40:22 -0700 Subject: [PATCH 02/17] PrivateEndpointID Resource correction in examples --- .../FileShares_CreateOrUpdate_MaximumSet_Gen.json | 4 ++-- .../2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json | 2 +- .../FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../FileShares_ListBySubscription_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json index 0f3d0ab03371..a6ebe51f9e78 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -65,7 +65,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -141,7 +141,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json index ecffc332bded..13ae57677a38 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json @@ -41,7 +41,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json index d7a0845f7e99..37120e8c9620 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json @@ -42,7 +42,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json index a1153809b236..c0f720994fb8 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json @@ -41,7 +41,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json index 1d330dee1f61..9c73d6c15e62 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json @@ -60,7 +60,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", From 948d1619f3cf5823a69fd0495a129a39d2be2073 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 10:47:50 -0700 Subject: [PATCH 03/17] TspConfig yaml changes --- specification/fileshares/FileShares.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/fileshares/FileShares.Management/tspconfig.yaml b/specification/fileshares/FileShares.Management/tspconfig.yaml index 174ae60fa19f..5f196f7c003c 100644 --- a/specification/fileshares/FileShares.Management/tspconfig.yaml +++ b/specification/fileshares/FileShares.Management/tspconfig.yaml @@ -24,7 +24,7 @@ options: "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-fileshares" namespace: "com.azure.resourcemanager.fileshares" - service-name: "fileshares" + service-name: "File Shares" flavor: azure "@azure-tools/typespec-ts": package-dir: "arm-fileshares" From 2cb104e180d5ded23476313cd52236ea7b360839 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 11:58:39 -0700 Subject: [PATCH 04/17] prettier --- .../FileShares_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json | 2 +- .../FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../FileShares_ListBySubscription_MaximumSet_Gen.json | 8 ++++---- .../FileShares_Update_MaximumSet_Gen.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json index a6ebe51f9e78..59bbbb314ddd 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -182,4 +182,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json index 13ae57677a38..80fd75c10a90 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json index 37120e8c9620..6f1a5b61d124 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json index c0f720994fb8..f7c083c7e18c 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MaximumSet_Gen.json @@ -50,9 +50,9 @@ }, "provisioningState": "Succeeded" }, - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName", - "name": "kjavgkroj", - "type": "fstofkkxhkztjruqrkhoneowfapqf", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName", + "name": "kjavgkroj", + "type": "fstofkkxhkztjruqrkhoneowfapqf", "systemData": { "createdBy": "moat", "createdByType": "User", @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json index 9c73d6c15e62..6cf61cc8a306 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} From 07d008ba1a3c986bd3dbb1b41bec19780a499c66 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 12:33:59 -0700 Subject: [PATCH 05/17] commands npm ci npx tsp format specification\fileshares\FileShares.Management\*.tsp npx tsv specification\fileshares\FileShares.Management npx tsp compile specification\fileshares\FileShares.Management\main.tsp --- ...eShares_CreateOrUpdate_MaximumSet_Gen.json | 6 +- .../FileShares_Get_MaximumSet_Gen.json | 4 +- ...ileShares_ListByParent_MaximumSet_Gen.json | 4 +- ...res_ListBySubscription_MaximumSet_Gen.json | 10 +- .../FileShares_Update_MaximumSet_Gen.json | 4 +- .../2025-06-01-preview/fileshares.json | 128 +++++++++--------- 6 files changed, 78 insertions(+), 78 deletions(-) diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json index 0f3d0ab03371..59bbbb314ddd 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -65,7 +65,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -141,7 +141,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -182,4 +182,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json index ecffc332bded..80fd75c10a90 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json @@ -41,7 +41,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json index d7a0845f7e99..6f1a5b61d124 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json @@ -42,7 +42,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MaximumSet_Gen.json index a1153809b236..f7c083c7e18c 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MaximumSet_Gen.json @@ -41,7 +41,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -50,9 +50,9 @@ }, "provisioningState": "Succeeded" }, - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName", - "name": "kjavgkroj", - "type": "fstofkkxhkztjruqrkhoneowfapqf", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName", + "name": "kjavgkroj", + "type": "fstofkkxhkztjruqrkhoneowfapqf", "systemData": { "createdBy": "moat", "createdByType": "User", @@ -85,4 +85,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json index 1d330dee1f61..6cf61cc8a306 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json @@ -60,7 +60,7 @@ "ndoii" ], "privateEndpoint": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.FileShares/fileShares/testresourcename/privateEndpointConnections/privateEndpointConnectionName" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Network/privateEndpoints/testresourcename" }, "privateLinkServiceConnectionState": { "status": "Pending", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json index a1b117cd3313..1a6c0b1cd2b8 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json @@ -79,16 +79,16 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { + "Operations_List_MaximumSet": { "$ref": "./examples/Operations_List_MaximumSet_Gen.json" }, - "Operations_List_MinimumSet_Gen": { + "Operations_List_MinimumSet": { "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -121,13 +121,13 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "FileShares_ListBySubscription_MaximumSet_Gen": { + "FileShares_ListBySubscription_MaximumSet": { "$ref": "./examples/FileShares_ListBySubscription_MaximumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -173,10 +173,10 @@ } }, "x-ms-examples": { - "FileShares_CheckNameAvailability_MaximumSet_Gen": { + "FileShares_CheckNameAvailability_MaximumSet": { "$ref": "./examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json" }, - "FileShares_CheckNameAvailability_MinimumSet_Gen": { + "FileShares_CheckNameAvailability_MinimumSet": { "$ref": "./examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json" } } @@ -215,10 +215,10 @@ } }, "x-ms-examples": { - "FileShare_GetLimits_MaximumSet_Gen": { + "FileShare_GetLimits_MaximumSet": { "$ref": "./examples/FileShare_GetLimits_MaximumSet_Gen.json" }, - "FileShare_GetLimits_MinimumSet_Gen": { + "FileShare_GetLimits_MinimumSet": { "$ref": "./examples/FileShare_GetLimits_MinimumSet_Gen.json" } } @@ -266,10 +266,10 @@ } }, "x-ms-examples": { - "FileShare_GetProvisioningRecommendation_MaximumSet_Gen": { + "FileShare_GetProvisioningRecommendation_MaximumSet": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json" }, - "FileShare_GetProvisioningRecommendation_MinimumSet_Gen": { + "FileShare_GetProvisioningRecommendation_MinimumSet": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json" } } @@ -308,10 +308,10 @@ } }, "x-ms-examples": { - "FileShare_GetUsageData_MaximumSet_Gen": { + "FileShare_GetUsageData_MaximumSet": { "$ref": "./examples/FileShare_GetUsageData_MaximumSet_Gen.json" }, - "FileShare_GetUsageData_MinimumSet_Gen": { + "FileShare_GetUsageData_MinimumSet": { "$ref": "./examples/FileShare_GetUsageData_MinimumSet_Gen.json" } } @@ -349,13 +349,13 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "FileShares_ListByParent_MaximumSet_Gen": { + "FileShares_ListByParent_MaximumSet": { "$ref": "./examples/FileShares_ListByParent_MaximumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -400,7 +400,7 @@ } }, "x-ms-examples": { - "FileShares_Get_MaximumSet_Gen": { + "FileShares_Get_MaximumSet": { "$ref": "./examples/FileShares_Get_MaximumSet_Gen.json" } } @@ -470,15 +470,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShares_CreateOrUpdate_MaximumSet_Gen": { + "FileShares_CreateOrUpdate_MaximumSet": { "$ref": "./examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "patch": { "operationId": "FileShares_Update", @@ -542,15 +542,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShares_Update_MaximumSet_Gen": { + "FileShares_Update_MaximumSet": { "$ref": "./examples/FileShares_Update_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "FileShares_Delete", @@ -602,15 +602,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShares_Delete_MaximumSet_Gen": { + "FileShares_Delete_MaximumSet": { "$ref": "./examples/FileShares_Delete_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots": { @@ -653,13 +653,13 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "FileShareSnapshot_List_MaximumSet_Gen": { + "FileShareSnapshot_List_MaximumSet": { "$ref": "./examples/FileShareSnapshot_List_MaximumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -712,7 +712,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Get_MaximumSet_Gen": { + "FileShareSnapshot_Get_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Get_MaximumSet_Gen.json" } } @@ -785,15 +785,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen": { + "FileShareSnapshot_CreateOrUpdate_MaximumSet": { "$ref": "./examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "patch": { "operationId": "FileShareSnapshot_Update", @@ -863,15 +863,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShareSnapshot_Update_MaximumSet_Gen": { + "FileShareSnapshot_Update_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Update_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "FileShareSnapshot_Delete", @@ -931,15 +931,15 @@ } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "FileShareSnapshot_Delete_MaximumSet_Gen": { + "FileShareSnapshot_Delete_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Delete_MaximumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } } }, @@ -1750,4 +1750,4 @@ } }, "parameters": {} -} \ No newline at end of file +} From 0773d9a0a0b81f36a98aa36580e559d791e0fd15 Mon Sep 17 00:00:00 2001 From: Ankush Date: Thu, 24 Jul 2025 12:38:54 -0700 Subject: [PATCH 06/17] Prettier command npx prettier --write "specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/**/*.json" --- .../FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Delete_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Get_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_List_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Update_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetLimits_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetLimits_MinimumSet_Gen.json | 2 +- .../FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json | 2 +- .../FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json | 2 +- .../examples/FileShare_GetUsageData_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetUsageData_MinimumSet_Gen.json | 2 +- .../FileShares_CheckNameAvailability_MaximumSet_Gen.json | 2 +- .../FileShares_CheckNameAvailability_MinimumSet_Gen.json | 2 +- .../examples/FileShares_Delete_MaximumSet_Gen.json | 2 +- .../examples/Operations_List_MaximumSet_Gen.json | 2 +- .../examples/Operations_List_MinimumSet_Gen.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json index 0012f4c81b91..73ea22765a03 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json index 6b4890b117a0..9a6d378e2e79 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json @@ -16,4 +16,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json index 7c47bbd467e6..f3c225a9893f 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json index c63b092ae9a4..8b5da1fd1c6c 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json index dbccdf249bb2..46ed064ea497 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json index 514bec47a96a..2b2daba95125 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json index 660b663005bf..2bd1e1796a2b 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json index 3b1229b9b130..50e0e099b3c1 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json index 1d0107caa9a5..a3883982e936 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json index 76b7094d9a4c..65a8980adc5f 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json index fbeab3d762c3..8938897598a0 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json index 3cc021c30643..1601ae347087 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json index f66410b31625..0911ca88acdf 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json index 3c6f4347dda4..93298055ce52 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json index dd6f9c140e50..130ea8739c83 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json index 4eff7d003fc7..5eb0c1a3c7ad 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} From 41bf828adca1204b5b4d7edca71ceb388ed51293 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 03:16:44 -0700 Subject: [PATCH 07/17] revert examples --- .../FileShares_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json | 2 +- .../FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json | 2 +- .../FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Delete_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Get_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_List_MaximumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_Update_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetLimits_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetLimits_MinimumSet_Gen.json | 2 +- .../FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json | 2 +- .../FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json | 2 +- .../examples/FileShare_GetUsageData_MaximumSet_Gen.json | 2 +- .../examples/FileShare_GetUsageData_MinimumSet_Gen.json | 2 +- .../FileShares_CheckNameAvailability_MaximumSet_Gen.json | 2 +- .../FileShares_CheckNameAvailability_MinimumSet_Gen.json | 2 +- .../examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/FileShares_Delete_MaximumSet_Gen.json | 2 +- .../examples/FileShares_Get_MaximumSet_Gen.json | 2 +- .../examples/FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../examples/FileShares_Update_MaximumSet_Gen.json | 2 +- .../examples/Operations_List_MaximumSet_Gen.json | 2 +- .../examples/Operations_List_MinimumSet_Gen.json | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json index 59bbbb314ddd..a6ebe51f9e78 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -182,4 +182,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json index 80fd75c10a90..13ae57677a38 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json @@ -82,4 +82,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json index 6f1a5b61d124..37120e8c9620 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json @@ -86,4 +86,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json index 6cf61cc8a306..9c73d6c15e62 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json index 73ea22765a03..0012f4c81b91 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json @@ -22,4 +22,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json index 9a6d378e2e79..6b4890b117a0 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Delete_MaximumSet_Gen.json @@ -16,4 +16,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json index f3c225a9893f..7c47bbd467e6 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Get_MaximumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json index 8b5da1fd1c6c..c63b092ae9a4 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MaximumSet_Gen.json @@ -36,4 +36,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json index 46ed064ea497..dbccdf249bb2 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_Update_MaximumSet_Gen.json @@ -22,4 +22,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json index 2b2daba95125..514bec47a96a 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MaximumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json index 2bd1e1796a2b..660b663005bf 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetLimits_MinimumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json index 50e0e099b3c1..3b1229b9b130 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json @@ -24,4 +24,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json index a3883982e936..1d0107caa9a5 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json @@ -24,4 +24,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json index 65a8980adc5f..76b7094d9a4c 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MaximumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json index 8938897598a0..fbeab3d762c3 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShare_GetUsageData_MinimumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json index 1601ae347087..3cc021c30643 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json @@ -19,4 +19,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json index 0911ca88acdf..f66410b31625 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json index 59bbbb314ddd..a6ebe51f9e78 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -182,4 +182,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json index 93298055ce52..3c6f4347dda4 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Delete_MaximumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json index 80fd75c10a90..13ae57677a38 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json @@ -82,4 +82,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json index 6f1a5b61d124..37120e8c9620 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json @@ -86,4 +86,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json index 6cf61cc8a306..9c73d6c15e62 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json index 130ea8739c83..dd6f9c140e50 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -25,4 +25,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json index 5eb0c1a3c7ad..4eff7d003fc7 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} +} \ No newline at end of file From fc88f476e339094685fbf45530e6ef90fe0bd3c7 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 03:26:17 -0700 Subject: [PATCH 08/17] sdk generation errors --- .../fileshares/FileShares.Management/client.tsp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/specification/fileshares/FileShares.Management/client.tsp b/specification/fileshares/FileShares.Management/client.tsp index 1206e96e5689..353fe75565ff 100644 --- a/specification/fileshares/FileShares.Management/client.tsp +++ b/specification/fileshares/FileShares.Management/client.tsp @@ -11,4 +11,19 @@ using Azure.ResourceManager.Foundations; "csharp" ); +@@clientName(FileShareLimitsResponse, + "FileShareLimitsResult", + "csharp" +); + +@@clientName(FileShareProvisioningRecommendationResponse, + "FileShareProvisioningRecommendationResult", + "csharp" +); + +@@clientName(FileShareUsageDataResponse, + "FileShareUsageDataResult", + "csharp" +); + @@clientName(Azure.ResourceManager.CommonTypes.Operation, "Info", "csharp"); From ee93b2b3a93dce482f6f5a55445ecd37feb41388 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 03:32:55 -0700 Subject: [PATCH 09/17] Prettier check on Swagger examples npx prettier --write specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json npx prettier --write specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json npx prettier --write specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json npx prettier --write specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json npx prettier --write specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json npx prettier --write specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json npx prettier --write specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json npx prettier --write specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json --- .../FileShares_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json | 2 +- .../FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json | 2 +- .../examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/FileShares_Get_MaximumSet_Gen.json | 2 +- .../examples/FileShares_ListByParent_MaximumSet_Gen.json | 2 +- .../examples/FileShares_Update_MaximumSet_Gen.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json index a6ebe51f9e78..59bbbb314ddd 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -182,4 +182,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json index 13ae57677a38..80fd75c10a90 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Get_MaximumSet_Gen.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json index 37120e8c9620..6f1a5b61d124 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MaximumSet_Gen.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json index 9c73d6c15e62..6cf61cc8a306 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json index a6ebe51f9e78..59bbbb314ddd 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json @@ -182,4 +182,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json index 13ae57677a38..80fd75c10a90 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Get_MaximumSet_Gen.json @@ -82,4 +82,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json index 37120e8c9620..6f1a5b61d124 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MaximumSet_Gen.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json index 9c73d6c15e62..6cf61cc8a306 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} From fca8cb1e6069c45d03c1f31236d6149ac019d951 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 03:42:51 -0700 Subject: [PATCH 10/17] Update client.tsp --- specification/fileshares/FileShares.Management/client.tsp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/fileshares/FileShares.Management/client.tsp b/specification/fileshares/FileShares.Management/client.tsp index 353fe75565ff..692d93a7fefb 100644 --- a/specification/fileshares/FileShares.Management/client.tsp +++ b/specification/fileshares/FileShares.Management/client.tsp @@ -4,6 +4,7 @@ import "@azure-tools/typespec-client-generator-core"; using Azure.ClientGenerator.Core; using Azure.ResourceManager.Foundations; + @@clientName(Microsoft.FileShares, "FileSharesManagementClient", "java"); @@clientName(CheckNameAvailabilityResponse, @@ -11,17 +12,17 @@ using Azure.ResourceManager.Foundations; "csharp" ); -@@clientName(FileShareLimitsResponse, +@@clientName(Microsoft.FileShares.FileShareLimitsResponse, "FileShareLimitsResult", "csharp" ); -@@clientName(FileShareProvisioningRecommendationResponse, +@@clientName(Microsoft.FileShares.FileShareProvisioningRecommendationResponse, "FileShareProvisioningRecommendationResult", "csharp" ); -@@clientName(FileShareUsageDataResponse, +@@clientName(Microsoft.FileShares.FileShareUsageDataResponse, "FileShareUsageDataResult", "csharp" ); From bbcb72d8afccbf2dc5538e2d5578ca85cffcf7b4 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 03:49:26 -0700 Subject: [PATCH 11/17] Update client.tsp --- specification/fileshares/FileShares.Management/client.tsp | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/fileshares/FileShares.Management/client.tsp b/specification/fileshares/FileShares.Management/client.tsp index 692d93a7fefb..dfaa6bcceffa 100644 --- a/specification/fileshares/FileShares.Management/client.tsp +++ b/specification/fileshares/FileShares.Management/client.tsp @@ -4,7 +4,6 @@ import "@azure-tools/typespec-client-generator-core"; using Azure.ClientGenerator.Core; using Azure.ResourceManager.Foundations; - @@clientName(Microsoft.FileShares, "FileSharesManagementClient", "java"); @@clientName(CheckNameAvailabilityResponse, From 50ae86a4b88f506e23f766b9d4083ed3fe4c6a30 Mon Sep 17 00:00:00 2001 From: Ankush Date: Fri, 25 Jul 2025 04:03:08 -0700 Subject: [PATCH 12/17] Update readme.md --- specification/fileshares/resource-manager/readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/fileshares/resource-manager/readme.md b/specification/fileshares/resource-manager/readme.md index f343681da24f..0200ca8ae29c 100644 --- a/specification/fileshares/resource-manager/readme.md +++ b/specification/fileshares/resource-manager/readme.md @@ -27,16 +27,16 @@ These are the global settings for the Azure API Center. ``` yaml openapi-type: arm openapi-subtype: providerHub -tag: package-2025-01-01-preview +tag: package-2025-06-01-preview ``` -### Tag: package-2025-01-01-preview +### Tag: package-2025-06-01-preview -These settings apply only when `--tag=package-2025-01-01-preview` is specified on the command line. +These settings apply only when `--tag=package-2025-06-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2025-01-01-preview' +```yaml $(tag) == 'package-2025-06-01-preview' input-file: - - Microsoft.FileShares/preview/2025-01-01-preview/fileshares.json + - Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json ``` ### Suppression From 3123a6ca10fe851990719a061166f4e9b9b6777b Mon Sep 17 00:00:00 2001 From: Ankush Date: Tue, 29 Jul 2025 09:52:52 -0700 Subject: [PATCH 13/17] Add examples --- ...FileShareSnapshot_List_MinimumSet_Gen.json | 17 ++++++ ...ileShares_ListByParent_MinimumSet_Gen.json | 16 ++++++ ...res_ListBySubscription_MinimumSet_Gen.json | 15 ++++++ .../2025-06-01-preview/fileshares.json | 53 +++++++++++-------- 4 files changed, 79 insertions(+), 22 deletions(-) create mode 100644 specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json create mode 100644 specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json create mode 100644 specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..5852ed4aa893 --- /dev/null +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "title": "FileShareSnapshot_List_MinimumSet - generated by [MinimumSet] rule", + "operationId": "FileShareSnapshot_List", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", + "resourceGroupName": "rgfileshares", + "resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json new file mode 100644 index 000000000000..e2b7baceacec --- /dev/null +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "FileShares_ListByParent_MaximumSet - generated by [MinimumSet] rule", + "operationId": "FileShares_ListByParent", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", + "resourceGroupName": "rgfileshares" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..a70fd5615fb7 --- /dev/null +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "FileShares_ListBySubscription_MaximumSet - generated by [MinimumSet] rule", + "operationId": "FileShares_ListBySubscription", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json index f021d32b7ca6..9f7ddcc28089 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json @@ -80,10 +80,10 @@ } }, "x-ms-examples": { - "Operations_List_MaximumSet": { + "Operations_List_MaximumSet_Gen": { "$ref": "./examples/Operations_List_MaximumSet_Gen.json" }, - "Operations_List_MinimumSet": { + "Operations_List_MinimumSet_Gen": { "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } }, @@ -122,8 +122,11 @@ } }, "x-ms-examples": { - "FileShares_ListBySubscription_MaximumSet": { + "FileShares_ListBySubscription_MaximumSet_Gen": { "$ref": "./examples/FileShares_ListBySubscription_MaximumSet_Gen.json" + }, + "FileShares_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/FileShares_ListBySubscription_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -173,10 +176,10 @@ } }, "x-ms-examples": { - "FileShares_CheckNameAvailability_MaximumSet": { + "FileShares_CheckNameAvailability_MaximumSet_Gen": { "$ref": "./examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json" }, - "FileShares_CheckNameAvailability_MinimumSet": { + "FileShares_CheckNameAvailability_MinimumSet_Gen": { "$ref": "./examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json" } } @@ -215,10 +218,10 @@ } }, "x-ms-examples": { - "FileShare_GetLimits_MaximumSet": { + "FileShare_GetLimits_MaximumSet_Gen": { "$ref": "./examples/FileShare_GetLimits_MaximumSet_Gen.json" }, - "FileShare_GetLimits_MinimumSet": { + "FileShare_GetLimits_MinimumSet_Gen": { "$ref": "./examples/FileShare_GetLimits_MinimumSet_Gen.json" } } @@ -266,10 +269,10 @@ } }, "x-ms-examples": { - "FileShare_GetProvisioningRecommendation_MaximumSet": { + "FileShare_GetProvisioningRecommendation_MaximumSet_Gen": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json" }, - "FileShare_GetProvisioningRecommendation_MinimumSet": { + "FileShare_GetProvisioningRecommendation_MinimumSet_Gen": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json" } } @@ -308,10 +311,10 @@ } }, "x-ms-examples": { - "FileShare_GetUsageData_MaximumSet": { + "FileShare_GetUsageData_MaximumSet_Gen": { "$ref": "./examples/FileShare_GetUsageData_MaximumSet_Gen.json" }, - "FileShare_GetUsageData_MinimumSet": { + "FileShare_GetUsageData_MinimumSet_Gen": { "$ref": "./examples/FileShare_GetUsageData_MinimumSet_Gen.json" } } @@ -350,8 +353,11 @@ } }, "x-ms-examples": { - "FileShares_ListByParent_MaximumSet": { + "FileShares_ListByParent_MaximumSet_Gen": { "$ref": "./examples/FileShares_ListByParent_MaximumSet_Gen.json" + }, + "FileShares_ListByParent_MinimumSet_Gen": { + "$ref": "./examples/FileShares_ListByParent_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -400,7 +406,7 @@ } }, "x-ms-examples": { - "FileShares_Get_MaximumSet": { + "FileShares_Get_MaximumSet_Gen": { "$ref": "./examples/FileShares_Get_MaximumSet_Gen.json" } } @@ -471,7 +477,7 @@ } }, "x-ms-examples": { - "FileShares_CreateOrUpdate_MaximumSet": { + "FileShares_CreateOrUpdate_MaximumSet_Gen": { "$ref": "./examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json" } }, @@ -543,7 +549,7 @@ } }, "x-ms-examples": { - "FileShares_Update_MaximumSet": { + "FileShares_Update_MaximumSet_Gen": { "$ref": "./examples/FileShares_Update_MaximumSet_Gen.json" } }, @@ -603,7 +609,7 @@ } }, "x-ms-examples": { - "FileShares_Delete_MaximumSet": { + "FileShares_Delete_MaximumSet_Gen": { "$ref": "./examples/FileShares_Delete_MaximumSet_Gen.json" } }, @@ -654,8 +660,11 @@ } }, "x-ms-examples": { - "FileShareSnapshot_List_MaximumSet": { + "FileShareSnapshot_List_MaximumSet_Gen": { "$ref": "./examples/FileShareSnapshot_List_MaximumSet_Gen.json" + }, + "FileShareSnapshot_List_MinimumSet_Gen": { + "$ref": "./examples/FileShareSnapshot_List_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -712,7 +721,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Get_MaximumSet": { + "FileShareSnapshot_Get_MaximumSet_Gen": { "$ref": "./examples/FileShareSnapshot_Get_MaximumSet_Gen.json" } } @@ -786,7 +795,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_CreateOrUpdate_MaximumSet": { + "FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen": { "$ref": "./examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json" } }, @@ -870,7 +879,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Update_MaximumSet": { + "FileShareSnapshot_Update_MaximumSet_Gen": { "$ref": "./examples/FileShareSnapshot_Update_MaximumSet_Gen.json" } }, @@ -938,7 +947,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Delete_MaximumSet": { + "FileShareSnapshot_Delete_MaximumSet_Gen": { "$ref": "./examples/FileShareSnapshot_Delete_MaximumSet_Gen.json" } }, @@ -1756,4 +1765,4 @@ } }, "parameters": {} -} +} \ No newline at end of file From c073769c6a8a89fd9a1f7d55fff89c375371c752 Mon Sep 17 00:00:00 2001 From: Ankush Date: Tue, 29 Jul 2025 10:22:08 -0700 Subject: [PATCH 14/17] Fix examples --- ...FileShareSnapshot_List_MinimumSet_Gen.json | 17 +++++++ ...ileShares_ListByParent_MinimumSet_Gen.json | 16 +++++++ ...res_ListBySubscription_MinimumSet_Gen.json | 15 ++++++ ...FileShareSnapshot_List_MinimumSet_Gen.json | 2 +- ...ileShares_ListByParent_MinimumSet_Gen.json | 2 +- ...res_ListBySubscription_MinimumSet_Gen.json | 2 +- .../2025-06-01-preview/fileshares.json | 48 +++++++++---------- 7 files changed, 75 insertions(+), 27 deletions(-) create mode 100644 specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json create mode 100644 specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MinimumSet_Gen.json create mode 100644 specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MinimumSet_Gen.json diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..a953ade2fa7b --- /dev/null +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "title": "FileShareSnapshot_List_MinimumSet", + "operationId": "FileShareSnapshot_List", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", + "resourceGroupName": "rgfileshares", + "resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MinimumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MinimumSet_Gen.json new file mode 100644 index 000000000000..068bbed4824b --- /dev/null +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListByParent_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "FileShares_ListByParent_MinimumSet", + "operationId": "FileShares_ListByParent", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", + "resourceGroupName": "rgfileshares" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MinimumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..086db92834a6 --- /dev/null +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShares_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "FileShares_ListBySubscription_MinimumSet", + "operationId": "FileShares_ListBySubscription", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json index 5852ed4aa893..a953ade2fa7b 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json @@ -1,5 +1,5 @@ { - "title": "FileShareSnapshot_List_MinimumSet - generated by [MinimumSet] rule", + "title": "FileShareSnapshot_List_MinimumSet", "operationId": "FileShareSnapshot_List", "parameters": { "api-version": "2025-06-01-preview", diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json index e2b7baceacec..068bbed4824b 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListByParent_MinimumSet_Gen.json @@ -1,5 +1,5 @@ { - "title": "FileShares_ListByParent_MaximumSet - generated by [MinimumSet] rule", + "title": "FileShares_ListByParent_MinimumSet", "operationId": "FileShares_ListByParent", "parameters": { "api-version": "2025-06-01-preview", diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json index a70fd5615fb7..086db92834a6 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShares_ListBySubscription_MinimumSet_Gen.json @@ -1,5 +1,5 @@ { - "title": "FileShares_ListBySubscription_MaximumSet - generated by [MinimumSet] rule", + "title": "FileShares_ListBySubscription_MinimumSet", "operationId": "FileShares_ListBySubscription", "parameters": { "api-version": "2025-06-01-preview", diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json index 9f7ddcc28089..b2f6513ebb2b 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json @@ -80,10 +80,10 @@ } }, "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { + "Operations_List_MaximumSet": { "$ref": "./examples/Operations_List_MaximumSet_Gen.json" }, - "Operations_List_MinimumSet_Gen": { + "Operations_List_MinimumSet": { "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } }, @@ -122,10 +122,10 @@ } }, "x-ms-examples": { - "FileShares_ListBySubscription_MaximumSet_Gen": { + "FileShares_ListBySubscription_MaximumSet": { "$ref": "./examples/FileShares_ListBySubscription_MaximumSet_Gen.json" }, - "FileShares_ListBySubscription_MinimumSet_Gen": { + "FileShares_ListBySubscription_MinimumSet": { "$ref": "./examples/FileShares_ListBySubscription_MinimumSet_Gen.json" } }, @@ -176,10 +176,10 @@ } }, "x-ms-examples": { - "FileShares_CheckNameAvailability_MaximumSet_Gen": { + "FileShares_CheckNameAvailability_MaximumSet": { "$ref": "./examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json" }, - "FileShares_CheckNameAvailability_MinimumSet_Gen": { + "FileShares_CheckNameAvailability_MinimumSet": { "$ref": "./examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json" } } @@ -218,10 +218,10 @@ } }, "x-ms-examples": { - "FileShare_GetLimits_MaximumSet_Gen": { + "FileShare_GetLimits_MaximumSet": { "$ref": "./examples/FileShare_GetLimits_MaximumSet_Gen.json" }, - "FileShare_GetLimits_MinimumSet_Gen": { + "FileShare_GetLimits_MinimumSet": { "$ref": "./examples/FileShare_GetLimits_MinimumSet_Gen.json" } } @@ -269,10 +269,10 @@ } }, "x-ms-examples": { - "FileShare_GetProvisioningRecommendation_MaximumSet_Gen": { + "FileShare_GetProvisioningRecommendation_MaximumSet": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json" }, - "FileShare_GetProvisioningRecommendation_MinimumSet_Gen": { + "FileShare_GetProvisioningRecommendation_MinimumSet": { "$ref": "./examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json" } } @@ -311,10 +311,10 @@ } }, "x-ms-examples": { - "FileShare_GetUsageData_MaximumSet_Gen": { + "FileShare_GetUsageData_MaximumSet": { "$ref": "./examples/FileShare_GetUsageData_MaximumSet_Gen.json" }, - "FileShare_GetUsageData_MinimumSet_Gen": { + "FileShare_GetUsageData_MinimumSet": { "$ref": "./examples/FileShare_GetUsageData_MinimumSet_Gen.json" } } @@ -353,10 +353,10 @@ } }, "x-ms-examples": { - "FileShares_ListByParent_MaximumSet_Gen": { + "FileShares_ListByParent_MaximumSet": { "$ref": "./examples/FileShares_ListByParent_MaximumSet_Gen.json" }, - "FileShares_ListByParent_MinimumSet_Gen": { + "FileShares_ListByParent_MinimumSet": { "$ref": "./examples/FileShares_ListByParent_MinimumSet_Gen.json" } }, @@ -406,7 +406,7 @@ } }, "x-ms-examples": { - "FileShares_Get_MaximumSet_Gen": { + "FileShares_Get_MaximumSet": { "$ref": "./examples/FileShares_Get_MaximumSet_Gen.json" } } @@ -477,7 +477,7 @@ } }, "x-ms-examples": { - "FileShares_CreateOrUpdate_MaximumSet_Gen": { + "FileShares_CreateOrUpdate_MaximumSet": { "$ref": "./examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json" } }, @@ -549,7 +549,7 @@ } }, "x-ms-examples": { - "FileShares_Update_MaximumSet_Gen": { + "FileShares_Update_MaximumSet": { "$ref": "./examples/FileShares_Update_MaximumSet_Gen.json" } }, @@ -609,7 +609,7 @@ } }, "x-ms-examples": { - "FileShares_Delete_MaximumSet_Gen": { + "FileShares_Delete_MaximumSet": { "$ref": "./examples/FileShares_Delete_MaximumSet_Gen.json" } }, @@ -660,10 +660,10 @@ } }, "x-ms-examples": { - "FileShareSnapshot_List_MaximumSet_Gen": { + "FileShareSnapshot_List_MaximumSet": { "$ref": "./examples/FileShareSnapshot_List_MaximumSet_Gen.json" }, - "FileShareSnapshot_List_MinimumSet_Gen": { + "FileShareSnapshot_List_MinimumSet": { "$ref": "./examples/FileShareSnapshot_List_MinimumSet_Gen.json" } }, @@ -721,7 +721,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Get_MaximumSet_Gen": { + "FileShareSnapshot_Get_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Get_MaximumSet_Gen.json" } } @@ -795,7 +795,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen": { + "FileShareSnapshot_CreateOrUpdate_MaximumSet": { "$ref": "./examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json" } }, @@ -879,7 +879,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Update_MaximumSet_Gen": { + "FileShareSnapshot_Update_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Update_MaximumSet_Gen.json" } }, @@ -947,7 +947,7 @@ } }, "x-ms-examples": { - "FileShareSnapshot_Delete_MaximumSet_Gen": { + "FileShareSnapshot_Delete_MaximumSet": { "$ref": "./examples/FileShareSnapshot_Delete_MaximumSet_Gen.json" } }, From 7726756e77e642ebb1b55d8d7110a429bf945551 Mon Sep 17 00:00:00 2001 From: Ankush Date: Tue, 29 Jul 2025 10:31:49 -0700 Subject: [PATCH 15/17] revert --- specification/fileshares/FileShares.Management/tspconfig.yaml | 2 +- specification/fileshares/resource-manager/readme.csharp.md | 2 +- specification/fileshares/resource-manager/readme.go.md | 2 +- specification/fileshares/resource-manager/readme.java.md | 2 +- specification/fileshares/resource-manager/readme.md | 2 +- specification/fileshares/resource-manager/readme.python.md | 2 +- specification/fileshares/resource-manager/readme.typescript.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/fileshares/FileShares.Management/tspconfig.yaml b/specification/fileshares/FileShares.Management/tspconfig.yaml index 5f196f7c003c..174ae60fa19f 100644 --- a/specification/fileshares/FileShares.Management/tspconfig.yaml +++ b/specification/fileshares/FileShares.Management/tspconfig.yaml @@ -24,7 +24,7 @@ options: "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-fileshares" namespace: "com.azure.resourcemanager.fileshares" - service-name: "File Shares" + service-name: "fileshares" flavor: azure "@azure-tools/typespec-ts": package-dir: "arm-fileshares" diff --git a/specification/fileshares/resource-manager/readme.csharp.md b/specification/fileshares/resource-manager/readme.csharp.md index b959ca754e05..adb69222ff4a 100644 --- a/specification/fileshares/resource-manager/readme.csharp.md +++ b/specification/fileshares/resource-manager/readme.csharp.md @@ -12,4 +12,4 @@ csharp: client-side-validation: false namespace: Microsoft.FileShares output-folder: $(csharp-sdks-folder)/fileshares/management/Microsoft.FileShares/GeneratedProtocol -``` +``` \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.go.md b/specification/fileshares/resource-manager/readme.go.md index d2cff10d6a8b..f57a43bc94d9 100644 --- a/specification/fileshares/resource-manager/readme.go.md +++ b/specification/fileshares/resource-manager/readme.go.md @@ -8,4 +8,4 @@ license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/fileshares/armfileshares module: github.com/Azure/azure-sdk-for-go/$(module-name) output-folder: $(go-sdk-folder)/$(module-name) -``` +``` \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.java.md b/specification/fileshares/resource-manager/readme.java.md index 2d52ba747239..08ea3eb39a21 100644 --- a/specification/fileshares/resource-manager/readme.java.md +++ b/specification/fileshares/resource-manager/readme.java.md @@ -5,4 +5,4 @@ These settings apply only when `--java` is specified on the command line. ```yaml $(java) service-name: FileShares client-flattened-annotation-target: disabled -``` +``` \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.md b/specification/fileshares/resource-manager/readme.md index d3d1de7674eb..abd02244a645 100644 --- a/specification/fileshares/resource-manager/readme.md +++ b/specification/fileshares/resource-manager/readme.md @@ -162,4 +162,4 @@ directive: ---- +--- \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.python.md b/specification/fileshares/resource-manager/readme.python.md index 063657ca6d72..db31c434519a 100644 --- a/specification/fileshares/resource-manager/readme.python.md +++ b/specification/fileshares/resource-manager/readme.python.md @@ -16,4 +16,4 @@ clear-output-folder: true ``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares -``` +``` \ No newline at end of file diff --git a/specification/fileshares/resource-manager/readme.typescript.md b/specification/fileshares/resource-manager/readme.typescript.md index feb5ab6fb62f..7cc49e901552 100644 --- a/specification/fileshares/resource-manager/readme.typescript.md +++ b/specification/fileshares/resource-manager/readme.typescript.md @@ -11,4 +11,4 @@ typescript: payload-flattening-threshold: 1 clear-output-folder: true generate-metadata: true -``` +``` \ No newline at end of file From 8525d724d27c0eb825a73d4e81ed56772d607d9d Mon Sep 17 00:00:00 2001 From: Ankush Date: Tue, 29 Jul 2025 10:35:13 -0700 Subject: [PATCH 16/17] Update readme.python.md --- specification/fileshares/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/fileshares/resource-manager/readme.python.md b/specification/fileshares/resource-manager/readme.python.md index db31c434519a..e6457f94cbf0 100644 --- a/specification/fileshares/resource-manager/readme.python.md +++ b/specification/fileshares/resource-manager/readme.python.md @@ -12,7 +12,6 @@ namespace: azure.mgmt.fileshares package-version: 1.0.0b1 clear-output-folder: true ``` - ``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares From 3a3fa7ef25cbcf013437c00d34ba991a274a070b Mon Sep 17 00:00:00 2001 From: Ankush Date: Tue, 29 Jul 2025 10:48:10 -0700 Subject: [PATCH 17/17] update --- .../FileShareSnapshot_List_MinimumSet_Gen.json | 2 +- .../examples/FileShareSnapshot_List_MinimumSet_Gen.json | 2 +- .../preview/2025-06-01-preview/fileshares.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json index a953ade2fa7b..613d853c1c6b 100644 --- a/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json +++ b/specification/fileshares/FileShares.Management/examples/2025-06-01-preview/FileShareSnapshot_List_MinimumSet_Gen.json @@ -5,7 +5,7 @@ "api-version": "2025-06-01-preview", "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", "resourceGroupName": "rgfileshares", - "resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$" + "resourceName": "testfileshare" }, "responses": { "200": { diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json index a953ade2fa7b..613d853c1c6b 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json @@ -5,7 +5,7 @@ "api-version": "2025-06-01-preview", "subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2", "resourceGroupName": "rgfileshares", - "resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$" + "resourceName": "testfileshare" }, "responses": { "200": { diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json index b2f6513ebb2b..f24720ab6cc9 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json @@ -1765,4 +1765,4 @@ } }, "parameters": {} -} \ No newline at end of file +}