diff --git a/common/changes/@autorest/openapi-to-typespec/main_2024-12-09-06-41.json b/common/changes/@autorest/openapi-to-typespec/main_2024-12-09-06-41.json new file mode 100644 index 0000000000..01ed3d31b3 --- /dev/null +++ b/common/changes/@autorest/openapi-to-typespec/main_2024-12-09-06-41.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@autorest/openapi-to-typespec", + "comment": "Fix sample path issue", + "type": "patch" + } + ], + "packageName": "@autorest/openapi-to-typespec" +} \ No newline at end of file diff --git a/eng/scripts/helpers.js b/eng/scripts/helpers.js index 70111ecd2f..a9a0d763b7 100644 --- a/eng/scripts/helpers.js +++ b/eng/scripts/helpers.js @@ -16,6 +16,7 @@ function run(command, args, options) { stdio: "inherit", sync: true, throwOnNonZeroExit: true, + shell: process.platform === "win32", ...options, }; diff --git a/packages/extensions/openapi-to-typespec/README.md b/packages/extensions/openapi-to-typespec/README.md index cdb1ddd62d..135d049520 100644 --- a/packages/extensions/openapi-to-typespec/README.md +++ b/packages/extensions/openapi-to-typespec/README.md @@ -27,6 +27,8 @@ version: 3.10.1 use-extension: "@autorest/modelerfour": "^4.27.0" +include-x-ms-examples-original-file: true + modelerfour: # this runs a pre-namer step to clean up names prenamer: false diff --git a/packages/extensions/openapi-to-typespec/src/emiters/emit-arm-resources.ts b/packages/extensions/openapi-to-typespec/src/emiters/emit-arm-resources.ts index 9beaca211d..86718a2ed5 100644 --- a/packages/extensions/openapi-to-typespec/src/emiters/emit-arm-resources.ts +++ b/packages/extensions/openapi-to-typespec/src/emiters/emit-arm-resources.ts @@ -28,11 +28,11 @@ export async function emitArmResources(program: TypespecProgram, metadata: Metad for (const [filename, content] of Object.entries(examples)) { if (serviceInformation.versions) { session.writeFile({ - filename: join(basePath, "examples", serviceInformation.versions[0], `${filename}.json`), + filename: join(basePath, "examples", serviceInformation.versions[0], filename), content, }); } else { - session.writeFile({ filename: join(basePath, "examples", "unknown", `${filename}.json`), content }); + session.writeFile({ filename: join(basePath, "examples", "unknown", filename), content }); } } } diff --git a/packages/extensions/openapi-to-typespec/src/generate/generate-arm-resource.ts b/packages/extensions/openapi-to-typespec/src/generate/generate-arm-resource.ts index 25688b08e0..99a4607f69 100644 --- a/packages/extensions/openapi-to-typespec/src/generate/generate-arm-resource.ts +++ b/packages/extensions/openapi-to-typespec/src/generate/generate-arm-resource.ts @@ -9,6 +9,9 @@ import { generateDocs } from "../utils/docs"; import { getModelPropertiesDeclarations } from "../utils/model-generation"; import { generateSuppressions } from "../utils/suppressions"; import { generateOperation } from "./generate-operations"; +import { getLogger } from "../utils/logger"; + +const logger = () => getLogger("generate-arm-resource"); export function generateArmResource(resource: TspArmResource): string { const definitions: string[] = []; @@ -157,7 +160,23 @@ function generateExamples( for (const [title, example] of _.entries(examples)) { example.operationId = operationId; example.title = title; - let filename = operationId; + + let filename = undefined; + const originalFile = example["x-ms-original-file"] as string; + if (originalFile) { + const exampleIndex = originalFile.lastIndexOf("/examples/"); + if (exampleIndex !== -1) { + filename = originalFile.substring(exampleIndex + "/examples/".length); + delete example["x-ms-original-file"]; + generatedExamples[filename] = JSON.stringify(example, null, 2); + continue; + } + } + + logger().info( + `Cannot find the example original path or the path isn't in the examples folder for operation ${operationId}`, + ); + filename = operationId; if (count > 1) { if (title.startsWith(filename)) { filename = title; diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Adds_An_Action_Group_To_All_Alerts_In_A_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_add_action_group_all_alerts_in_subscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Adds_An_Action_Group_To_All_Alerts_In_A_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_add_action_group_all_alerts_in_subscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Adds_Two_Action_Groups_To_All_Sev0_And_Sev1_Alerts_In_Two_Resource_Groups.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_add_two_action_groups_all_Sev0_Sev1_two_resource_groups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Adds_Two_Action_Groups_To_All_Sev0_And_Sev1_Alerts_In_Two_Resource_Groups.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_add_two_action_groups_all_Sev0_Sev1_two_resource_groups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_All_Alerts_In_A_Subscription_Coming_From_A_Specific_Alert_Rule.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_from_specific_alert_rule.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_All_Alerts_In_A_Subscription_Coming_From_A_Specific_Alert_Rule.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_from_specific_alert_rule.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_Outside_Business_Hours_Mon_Fri_09_00_17_00_Eastern_Standard_Time.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_outside_business_hours.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_Outside_Business_Hours_Mon_Fri_09_00_17_00_Eastern_Standard_Time.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_outside_business_hours.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_All_Alerts_On_Any_Vm_In_Two_Resource_Groups_During_A_Recurring_Maintenance_Window_2200_0400_Every_Sat_And_Sun_India_Standard_Time.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_recurring_maintenance_window.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_All_Alerts_On_Any_Vm_In_Two_Resource_Groups_During_A_Recurring_Maintenance_Window_2200_0400_Every_Sat_And_Sun_India_Standard_Time.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_recurring_maintenance_window.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_Alerts_On_A_Specific_Vm_During_A_One_Off_Maintenance_Window_1800_2000_At_A_Specific_Date_Pacific_Standard_Time.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_specific_VM_one-off_maintenance_window.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_CreateOrUpdate_Create_Or_Update_A_Rule_That_Removes_All_Action_Groups_From_Alerts_On_A_Specific_Vm_During_A_One_Off_Maintenance_Window_1800_2000_At_A_Specific_Date_Pacific_Standard_Time.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Create_or_update_remove_all_action_groups_specific_VM_one-off_maintenance_window.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_GetByName.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_GetById.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_GetByName.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_GetById.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_List_ResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_List_ResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_List_Subscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_List_Subscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Update.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Patch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/AlertProcessingRules_Patch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_GetHistory.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_History.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_GetHistory.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_History.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_GetAll.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_GetAll.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/Alerts_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_GetHistory.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_History.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_GetHistory.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_History.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_GetAll.json b/packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_GetAll.json rename to packages/extensions/openapi-to-typespec/test/arm-alertsmanagement/tsp-output/examples/2021-08-08/SmartGroups_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Create.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/createServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/createServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/deleteServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/deleteServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_DissociateGateway.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/dissociateGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_DissociateGateway.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/dissociateGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_GetDetails.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/getServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_GetDetails.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/getServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListGatewayStatus.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listGatewayStatus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListGatewayStatus.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listGatewayStatus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_List.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listServers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listServers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listServersInResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listServersInResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListSkusForExisting.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listSkusForExisting.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_ListSkusForExisting.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/listSkusForExisting.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Resume.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/resumeServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Resume.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/resumeServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Suspend.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/suspendServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Suspend.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/suspendServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Update.json b/packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/updateServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/Servers_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-analysisservices/tsp-output/examples/2017-08-01/updateServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_ApplyNetworkConfigurationUpdates.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementApplyNetworkConfigurationUpdates.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_ApplyNetworkConfigurationUpdates.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementApplyNetworkConfigurationUpdates.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementApproveOrRejectPrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementApproveOrRejectPrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementAuthorizationServerListSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementAuthorizationServerListSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Reconnect.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackendReconnect.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Reconnect.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackendReconnect.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_Access_Key.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithAccessKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_Access_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithAccessKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_System_Managed_Identity.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithSystemManagedIdentity.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_System_Managed_Identity.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithSystemManagedIdentity.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_User_Assigned_Managed_Identity.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithUserAssignedManagedIdentity.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Backup_Api_Management_Backup_With_User_Assigned_Managed_Identity.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementBackupWithUserAssignedManagedIdentity.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_CreateOrUpdate_Api_Management_Create_Ai_Logger.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateAILogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_CreateOrUpdate_Api_Management_Create_Ai_Logger.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateAILogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Clone.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiClone.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Clone.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiClone.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiDiagnostic.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiDiagnostic.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssueAttachment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssueAttachment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssueComment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiIssueComment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_New_Version_Using_Existing_Api.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiNewVersionUsingExistingApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_New_Version_Using_Existing_Api.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiNewVersionUsingExistingApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_AssignToOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperationTag.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_AssignToOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiOperationTag.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiRelease.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiRelease.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Revision_From_Existing_Api.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiRevisionFromExistingApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Revision_From_Existing_Api.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiRevisionFromExistingApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiTagDescription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiTagDescription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Import_Override_Service_Url.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingImportOverrideServiceUrl.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Import_Override_Service_Url.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingImportOverrideServiceUrl.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Oai3_Import.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingOai3Import.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Oai3_Import.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingOai3Import.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Swagger_Import.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingSwaggerImport.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Swagger_Import.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingSwaggerImport.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Wadl_Import.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingWadlImport.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_Using_Wadl_Import.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiUsingWadlImport.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiVersionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiVersionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_With_Open_Id_Connect.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiWithOpenIdConnect.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Api_With_Open_Id_Connect.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateApiWithOpenIdConnect.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateAuthorizationServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateAuthorizationServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_CreateOrUpdate_Api_Management_Create_Backend_Proxy_Backend.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateBackendProxyBackend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_CreateOrUpdate_Api_Management_Create_Backend_Proxy_Backend.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateBackendProxyBackend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_CreateOrUpdate_Api_Management_Create_Backend_Service_Fabric.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateBackendServiceFabric.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_CreateOrUpdate_Api_Management_Create_Backend_Service_Fabric.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateBackendServiceFabric.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCache.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCache.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_CreateOrUpdate_Api_Management_Create_Certificate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_CreateOrUpdate_Api_Management_Create_Certificate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_CreateOrUpdate_Api_Management_Create_Certificate_With_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCertificateWithKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_CreateOrUpdate_Api_Management_Create_Certificate_With_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateCertificateWithKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateContentType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateContentType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateContentTypeContentItem.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateContentTypeContentItem.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_CreateOrUpdate_Api_Management_Create_Eh_Logger.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateEHLogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_CreateOrUpdate_Api_Management_Create_Eh_Logger.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateEHLogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayCertificateAuthority.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayCertificateAuthority.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayHostnameConfiguration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGatewayHostnameConfiguration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_CreateOrUpdate_Api_Management_Create_Schema1.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGlobalSchema1.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_CreateOrUpdate_Api_Management_Create_Schema1.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGlobalSchema1.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_CreateOrUpdate_Api_Management_Create_Schema2.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGlobalSchema2.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_CreateOrUpdate_Api_Management_Create_Schema2.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGlobalSchema2.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Graph_Ql_Api.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGraphQLApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Graph_Ql_Api.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGraphQLApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_CreateOrUpdate_Api_Management_Create_Group.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_CreateOrUpdate_Api_Management_Create_Group.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_CreateOrUpdate_Api_Management_Create_Group_External.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroupExternal.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_CreateOrUpdate_Api_Management_Create_Group_External.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroupExternal.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_Create.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroupUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateGroupUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateIdentityProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateIdentityProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Multi_Region_Service_With_Custom_Hostname.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateMultiRegionServiceWithCustomHostname.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Multi_Region_Service_With_Custom_Hostname.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateMultiRegionServiceWithCustomHostname.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_CreateOrUpdate_Api_Management_Create_Named_Value.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_CreateOrUpdate_Api_Management_Create_Named_Value.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_CreateOrUpdate_Api_Management_Create_Named_Value_With_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNamedValueWithKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_CreateOrUpdate_Api_Management_Create_Named_Value_With_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNamedValueWithKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotification.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotification.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotificationRecipientEmail.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotificationRecipientEmail.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotificationRecipientUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateNotificationRecipientUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateOpenIdConnectProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateOpenIdConnectProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreatePortalRevision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreatePortalRevision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProductApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProductApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProductGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateProductGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_Having_Msi.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceHavingMsi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_Having_Msi.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceHavingMsi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_In_Vnet_With_Public_Ip.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceInVnetWithPublicIP.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_In_Vnet_With_Public_Ip.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceInVnetWithPublicIP.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_In_Zones.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceInZones.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_In_Zones.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceInZones.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_Custom_Hostname_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithCustomHostnameKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_Custom_Hostname_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithCustomHostnameKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_System_Certificates.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithSystemCertificates.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_System_Certificates.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithSystemCertificates.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_User_Assigned_Identity.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithUserAssignedIdentity.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Create_Service_With_User_Assigned_Identity.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateServiceWithUserAssignedIdentity.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Soap_Pass_Through_Api_Using_Wsdl_Import.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Soap_Pass_Through_Api_Using_Wsdl_Import.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Soap_To_Rest_Api_Using_Wsdl_Import.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSoapToRestApiUsingWsdlImport.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Soap_To_Rest_Api_Using_Wsdl_Import.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSoapToRestApiUsingWsdlImport.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateTemplate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateTemplate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Create.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Web_Socket_Api.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateWebsocketApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_CreateOrUpdate_Api_Management_Create_Web_Socket_Api.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementCreateWebsocketApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiDiagnostic.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiDiagnostic.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssueAttachment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssueAttachment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssueComment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiIssueComment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_DetachFromOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperationTag.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_DetachFromOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiOperationTag.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiRelease.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiRelease.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiTagDescription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiTagDescription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiVersionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteApiVersionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteAuthorizationServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteAuthorizationServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteBackend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteBackend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteCache.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteCache.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteContentType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteContentType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteContentTypeContentItem.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteContentTypeContentItem.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayCertificateAuthority.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayCertificateAuthority.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayHostnameConfiguration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGatewayHostnameConfiguration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGlobalSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGlobalSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGroupUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteGroupUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteIdentityProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteIdentityProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteLogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteLogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNotificationRecipientEmail.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNotificationRecipientEmail.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNotificationRecipientUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteNotificationRecipientUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteOpenIdConnectProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteOpenIdConnectProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeletePrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeletePrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProductApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProductApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProductGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteProductGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteTemplate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteTemplate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeleteUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DeletedServices_Purge.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeletedServicesPurge.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DeletedServices_Purge.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementDeletedServicesPurge.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_GenerateToken.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayGenerateToken.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_GenerateToken.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayGenerateToken.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayListKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayListKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_RegenerateKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayRegenerateKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_RegenerateKey.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGatewayRegenerateKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Get_Api_Management_Get_Api_Contract.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiContract.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Get_Api_Management_Get_Api_Contract.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiContract.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiDiagnostic.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiDiagnostic.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssueAttachment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssueAttachment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssueComment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiIssueComment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Get_Api_Management_Get_Api_Operation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Get_Api_Management_Get_Api_Operation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Get_Api_Management_Get_Api_Operation_Pet_Store.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationPetStore.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Get_Api_Management_Get_Api_Operation_Pet_Store.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationPetStore.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_GetByOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationTag.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_GetByOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiOperationTag.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiRelease.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiRelease.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Get_Api_Management_Get_Api_Revision_Contract.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiRevision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Get_Api_Management_Get_Api_Revision_Contract.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiRevision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiTagDescription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiTagDescription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiVersionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetApiVersionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetAuthorizationServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetAuthorizationServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetBackend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetBackend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCache.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCache.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Get_Api_Management_Get_Certificate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Get_Api_Management_Get_Certificate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Get_Api_Management_Get_Certificate_With_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCertificateWithKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_Get_Api_Management_Get_Certificate_With_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetCertificateWithKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetContentType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetContentType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetContentTypeContentItem.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetContentTypeContentItem.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DeletedServices_GetByName.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetDeletedServiceByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DeletedServices_GetByName.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetDeletedServiceByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGatewayCertificateAuthority.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGatewayCertificateAuthority.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGatewayHostnameConfiguration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGatewayHostnameConfiguration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Get_Api_Management_Get_Schema1.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGlobalSchema1.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Get_Api_Management_Get_Schema1.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGlobalSchema1.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Get_Api_Management_Get_Schema2.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGlobalSchema2.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_Get_Api_Management_Get_Schema2.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGlobalSchema2.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetIdentityProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetIdentityProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetLogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetLogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Get_Api_Management_Get_Named_Value.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Get_Api_Management_Get_Named_Value.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Get_Api_Management_Get_Named_Value_With_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNamedValueWithKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Get_Api_Management_Get_Named_Value_With_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNamedValueWithKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNotification.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetNotification.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetOpenIdConnectProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetOpenIdConnectProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPortalRevision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPortalRevision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_GetByName.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_GetByName.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_GetPrivateLinkResource.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPrivateLinkGroupResource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_GetPrivateLinkResource.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetPrivateLinkGroupResource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByCounterKeys_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetQuotaCounterKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByCounterKeys_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetQuotaCounterKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByPeriodKeys_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByPeriodKeys_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByApi.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByApi.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByGeo.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByGeo.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByGeo.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByGeo.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByProduct.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByProduct.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByRequest.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByRequest.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByRequest.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByRequest.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByTime.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByTime.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByTime.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByTime.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByUser.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Reports_ListByUser.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetReportsByUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTemplate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTemplate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Get_Api_Management_Get_Tenant_Access.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Get_Api_Management_Get_Tenant_Access.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Get_Api_Management_Get_Tenant_Git_Access.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantGitAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Get_Api_Management_Get_Tenant_Git_Access.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantGitAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantSettings_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantSettings_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetTenantSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementGetUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiDiagnostic.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiDiagnostic.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssueAttachment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssueAttachment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssueComment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiIssueComment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_GetEntityStateByOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperationTag.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_GetEntityStateByOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiOperationTag.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiRelease.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiRelease.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiTagDescription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiTagDescription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiVersionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadApiVersionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadAuthorizationServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadAuthorizationServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadBackend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadBackend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadCache.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadCache.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadContentTypeContentItem.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadContentTypeContentItem.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadDelegationSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadDelegationSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadEmailTemplate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadEmailTemplate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayCertificateAuthority.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayCertificateAuthority.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayHostnameConfiguration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGatewayHostnameConfiguration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGlobalSchema.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGlobalSchema.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_CheckEntityExists.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGroupUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_CheckEntityExists.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadGroupUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadIdentityProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadIdentityProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadLogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadLogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_CheckEntityExists.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNotificationRecipientEmail.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_CheckEntityExists.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNotificationRecipientEmail.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_CheckEntityExists.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNotificationRecipientUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_CheckEntityExists.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadNotificationRecipientUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadOpenIdConnectProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadOpenIdConnectProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadPortalRevision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadPortalRevision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_CheckEntityExists.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProductApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_CheckEntityExists.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProductApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_CheckEntityExists.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProductGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_CheckEntityExists.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadProductGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSignInSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSignInSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSignUpSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSignUpSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GetEntityTag.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GetEntityTag.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementHeadUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementIdentityProviderListSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementIdentityProviderListSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiDiagnostics.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiDiagnostics.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssueAttachments.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueAttachment_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssueAttachments.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssueComments.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssueComment_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssueComments.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssues.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiIssues.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_ListByOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationPolicies.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperationPolicy_ListByOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationPolicies.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_ListByOperation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationTags.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Tag_ListByOperation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationTags.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_ListByApi.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperations.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_ListByApi.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperations.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Operation_ListByTags.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationsByTags.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Operation_ListByTags.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiOperationsByTags.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiProduct_ListByApis.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiProducts.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiProduct_ListByApis.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiProducts.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiReleases.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiReleases.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRevision_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiRevisions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRevision_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiRevisions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_ListByApi.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiSchemas.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiSchema_ListByApi.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiSchemas.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiTagDescriptions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiTagDescription_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiTagDescriptions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiVersionSets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApiVersionSets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApis.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApis.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_ListByTags.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApisByTags.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_ListByTags.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListApisByTags.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListAuthorizationServers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListAuthorizationServers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListBackends.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListBackends.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListCaches.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListCaches.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListCertificates.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListCertificates.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListContentTypeContentItems.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentItem_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListContentTypeContentItems.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListContentTypes.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ContentType_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListContentTypes.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayApis.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayApi_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayApis.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayCertificateAuthorities.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayCertificateAuthority_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayCertificateAuthorities.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayHostnameConfigurations.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GatewayHostnameConfiguration_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGatewayHostnameConfigurations.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGateways.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGateways.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGlobalSchemas.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GlobalSchema_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGlobalSchemas.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGroupUsers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/GroupUser_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGroupUsers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListIdentityProviders.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListIdentityProviders.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListLoggers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListLoggers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNamedValues.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNamedValues.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_ListByNotification.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotificationRecipientEmails.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientEmail_ListByNotification.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotificationRecipientEmails.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_ListByNotification.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotificationRecipientUsers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NotificationRecipientUser_ListByNotification.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotificationRecipientUsers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotifications.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Notification_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListNotifications.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListOpenIdConnectProviders.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListOpenIdConnectProviders.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PolicyDescription_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPolicyDescriptions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PolicyDescription_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPolicyDescriptions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPortalRevisions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPortalRevisions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalSettings_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPortalSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalSettings_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPortalSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPrivateEndpointConnections.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPrivateEndpointConnections.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_ListPrivateLinkResources.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPrivateLinkGroupResources.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PrivateEndpointConnection_ListPrivateLinkResources.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListPrivateLinkGroupResources.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_ListByProduct.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductApis.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductApi_ListByProduct.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductApis.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_ListByProduct.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductGroup_ListByProduct.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductSubscriptions_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductSubscriptions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ProductSubscriptions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductSubscriptions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProducts.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProducts.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_ListByTags.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductsByTags.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_ListByTags.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListProductsByTags.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Region_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListRegions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Region_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListRegions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceSkus_ListAvailableServiceSkus_Api_Management_List_Sk_Us_Consumption.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSKUs-Consumption.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceSkus_ListAvailableServiceSkus_Api_Management_List_Sk_Us_Consumption.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSKUs-Consumption.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceSkus_ListAvailableServiceSkus_Api_Management_List_Sk_Us_Dedicated.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSKUs-Dedicated.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceSkus_ListAvailableServiceSkus_Api_Management_List_Sk_Us_Dedicated.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSKUs-Dedicated.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSecretsPortalSettingsValidationKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSecretsPortalSettingsValidationKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSecretsTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSecretsTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListServiceBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListServiceBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListServiceBySubscriptionAndResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListServiceBySubscriptionAndResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSubscriptions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListSubscriptions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TagResource_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTagResources.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TagResource_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTagResources.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTemplates.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTemplates.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantSettings_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTenantSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantSettings_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListTenantSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserGroup_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUserGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserGroup_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUserGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserIdentities_List.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUserIdentities.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserIdentities_List.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUserIdentities.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUsers.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementListUsers.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_ListValue.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementNamedValueListValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_ListValue.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementNamedValueListValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementOpenidConnectProviderListSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementOpenidConnectProviderListSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PerformConnectivityCheckAsync_Tcp_Connectivity_Check.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPerformConnectivityCheck.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PerformConnectivityCheckAsync_Tcp_Connectivity_Check.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPerformConnectivityCheck.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PerformConnectivityCheckAsync_Http_Connectivity_Check.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPerformConnectivityCheckHttpConnect.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PerformConnectivityCheckAsync_Http_Connectivity_Check.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPerformConnectivityCheckHttpConnect.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetDelegation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetDelegation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetSignIn.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetSignIn.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_Get.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetSignUp.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsGetSignUp.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutDelegation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutDelegation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutSignIn.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutSignIn.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutSignUp.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsPutSignUp.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateDelegation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/DelegationSettings_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateDelegation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateSignIn.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignInSettings_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateSignIn.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateSignUp.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/SignUpSettings_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementPortalSettingsUpdateSignUp.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_RefreshSecret.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRefreshCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Certificate_RefreshSecret.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRefreshCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_RefreshSecret.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRefreshNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_RefreshSecret.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRefreshNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Restore.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRestoreWithAccessKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Restore.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementRestoreWithAccessKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceDeleteService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceDeleteService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Multi_Region_Internal_Vnet.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetMultiRegionInternalVnet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Multi_Region_Internal_Vnet.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetMultiRegionInternalVnet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NetworkStatus_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetNetworkStatus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NetworkStatus_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetNetworkStatus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NetworkStatus_ListByLocation.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetNetworkStatusByLocation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NetworkStatus_ListByLocation.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetNetworkStatusByLocation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OutboundNetworkDependenciesEndpoints_ListByService.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetOutboundNetworkDependenciesEndpoints.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OutboundNetworkDependenciesEndpoints_ListByService.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetOutboundNetworkDependenciesEndpoints.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Service.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Service.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Service_Having_Msi.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetServiceHavingMsi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Get_Api_Management_Service_Get_Service_Having_Msi.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetServiceHavingMsi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_GetSsoToken.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetSsoToken.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_GetSsoToken.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementServiceGetSsoToken.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionListSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionListSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_RegeneratePrimaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionRegeneratePrimaryKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_RegeneratePrimaryKey.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionRegeneratePrimaryKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_RegenerateSecondaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionRegenerateSecondaryKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_RegenerateSecondaryKey.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementSubscriptionRegenerateSecondaryKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccessGit_RegenerateSecondaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantAccessRegenerateKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccessGit_RegenerateSecondaryKey.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantAccessRegenerateKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_GetSyncState.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantAccessSyncState.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_GetSyncState.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantAccessSyncState.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Deploy.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationDeploy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Deploy.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationDeploy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Save.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationSave.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Save.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationSave.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Validate.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationValidate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantConfiguration_Validate.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementTenantConfigurationValidate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Undelete.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUndelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_CreateOrUpdate_Api_Management_Undelete.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUndelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApi.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Api_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApi.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiDiagnostic.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiDiagnostic_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiDiagnostic.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiIssue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiIssue_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiIssue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiOperation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiOperation_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiOperation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiRelease.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiRelease_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiRelease.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiVersionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiVersionSet_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateApiVersionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateAuthorizationServer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/AuthorizationServer_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateAuthorizationServer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateBackend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Backend_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateBackend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateCache.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Cache_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateCache.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Gateway_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Group_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateIdentityProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/IdentityProvider_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateIdentityProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateLogger.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Logger_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateLogger.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateNamedValue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/NamedValue_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateNamedValue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateOpenIdConnectProvider.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/OpenIdConnectProvider_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateOpenIdConnectProvider.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdatePortalRevision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/PortalRevision_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdatePortalRevision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Product_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByCounterKeys_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateQuotaCounterKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByCounterKeys_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateQuotaCounterKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByPeriodKeys_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/QuotaByPeriodKeys_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_Disable_Tls10.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServiceDisableTls10.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_Disable_Tls10.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServiceDisableTls10.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_Publisher_Details.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServicePublisherDetails.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_Publisher_Details.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServicePublisherDetails.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_To_New_Vnet_And_Availability_Zones.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServiceToNewVnetAndAZs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementService_Update_Api_Management_Update_Service_To_New_Vnet_And_Availability_Zones.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateServiceToNewVnetAndAZs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/Subscription_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateTemplate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/EmailTemplate_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateTemplate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateTenantAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateTenantAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Update.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateUser.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUpdateUser.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserConfirmationPassword_Send.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserConfirmationPasswordSend.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/UserConfirmationPassword_Send.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserConfirmationPasswordSend.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GenerateSsoUrl.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserGenerateSsoUrl.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GenerateSsoUrl.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserGenerateSsoUrl.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GetSharedAccessToken.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserToken.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/User_GetSharedAccessToken.json rename to packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/ApiManagementUserToken.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccessGit_RegeneratePrimaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccessGit_RegeneratePrimaryKey.json deleted file mode 100644 index 51ea9475c3..0000000000 --- a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccessGit_RegeneratePrimaryKey.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "accessName": "access", - "api-version": "2021-08-01", - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "subscriptionId": "subid" - }, - "responses": { - "204": {} - }, - "operationId": "TenantAccessGit_RegeneratePrimaryKey", - "title": "ApiManagementTenantAccessRegenerateKey" -} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegeneratePrimaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegeneratePrimaryKey.json deleted file mode 100644 index fe4ba4bb0c..0000000000 --- a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegeneratePrimaryKey.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "accessName": "access", - "api-version": "2021-08-01", - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "subscriptionId": "subid" - }, - "responses": { - "204": {} - }, - "operationId": "TenantAccess_RegeneratePrimaryKey", - "title": "ApiManagementTenantAccessRegenerateKey" -} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegenerateSecondaryKey.json b/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegenerateSecondaryKey.json deleted file mode 100644 index ecb23922a9..0000000000 --- a/packages/extensions/openapi-to-typespec/test/arm-apimanagement/tsp-output/examples/2021-08-01/TenantAccess_RegenerateSecondaryKey.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "accessName": "access", - "api-version": "2021-08-01", - "resourceGroupName": "rg1", - "serviceName": "apimService1", - "subscriptionId": "subid" - }, - "responses": { - "204": {} - }, - "operationId": "TenantAccess_RegenerateSecondaryKey", - "title": "ApiManagementTenantAccessRegenerateKey" -} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Cancel.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/CancelRoleAssignmentScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Cancel.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/CancelRoleAssignmentScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Cancel.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/CancelRoleEligibilityScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Cancel.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/CancelRoleEligibilityScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DeleteRoleDefinition.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DeleteRoleDefinition.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ProviderOperationsMetadata_List.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetAllProviderOperations.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ProviderOperationsMetadata_List.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetAllProviderOperations.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DenyAssignments_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetDenyAssignmentByNameId.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DenyAssignments_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetDenyAssignmentByNameId.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DenyAssignments_ListForResource.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetDenyAssignmentsForResource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/DenyAssignments_ListForResource.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetDenyAssignmentsForResource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ProviderOperationsMetadata_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetProviderOperationsRP.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ProviderOperationsMetadata_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetProviderOperationsRP.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentSchedules_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentSchedules_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleInstances_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleInstanceByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleInstances_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleInstanceByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleInstances_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleInstancesByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleInstances_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleInstancesByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleRequestByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentScheduleRequestByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentSchedules_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentSchedulesByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentSchedules_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleAssignmentSchedulesByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_List.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleDefinitionAtScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleDefinitionAtScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleDefinitionByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleDefinitionByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilitySchedules_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilitySchedules_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleInstances_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleInstanceByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleInstances_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleInstanceByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleInstances_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleInstancesByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleInstances_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleInstancesByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleRequestByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilityScheduleRequestByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilitySchedules_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilitySchedulesByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilitySchedules_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleEligibilitySchedulesByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyAssignmentByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyAssignmentByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyAssignmentByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyAssignmentByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Get.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_ListForScope.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyByScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_ListForScope.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/GetRoleManagementPolicyByScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Update_Patch_Partial_Role_Management_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PatchPartialRoleManagementPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Update_Patch_Partial_Role_Management_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PatchPartialRoleManagementPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Update_Patch_Role_Management_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PatchRoleManagementPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicies_Update_Patch_Role_Management_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PatchRoleManagementPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Create.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleAssignmentScheduleRequest.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleAssignmentScheduleRequest.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleDefinition.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleDefinitions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleDefinition.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Create.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleEligibilityScheduleRequest.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleEligibilityScheduleRequest.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_Create.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleManagementPolicyAssignment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleManagementPolicyAssignments_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/PutRoleManagementPolicyAssignment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForResource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForResource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Resource_Group.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Resource_Group.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_Create_Create_Role_Assignment_For_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignments_CreateForSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Validate.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ValidateRoleAssignmentScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleAssignmentScheduleRequests_Validate.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ValidateRoleAssignmentScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Validate.json b/packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ValidateRoleEligibilityScheduleRequestByName.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/RoleEligibilityScheduleRequests_Validate.json rename to packages/extensions/openapi-to-typespec/test/arm-authorization/tsp-output/examples/2015-07-01/ValidateRoleEligibilityScheduleRequestByName.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_ListOSFamilies.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSFamilies_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_ListOSFamilies.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSFamilies_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_GetOSFamily.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSFamily_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_GetOSFamily.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSFamily_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_GetOSVersion.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSVersion_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_GetOSVersion.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSVersion_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_ListOSVersions.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSVersion_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOperatingSystems_ListOSVersions.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceOSVersion_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_DeleteInstances.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Delete_ByCloudService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_DeleteInstances.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Delete_ByCloudService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_GetInstanceView.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get_InstanceView.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_GetInstanceView.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get_InstanceView.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_GetRemoteDesktopFile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get_RemoteDesktopFile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_GetRemoteDesktopFile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Get_RemoteDesktopFile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Rebuild.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Rebuild.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Rebuild.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Rebuild.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Rebuild.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Rebuild_ByCloudService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Rebuild.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Rebuild_ByCloudService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Reimage.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Reimage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Reimage.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Reimage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Reimage.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Reimage_ByCloudService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Reimage.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Reimage_ByCloudService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Restart.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Restart.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_Restart.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Restart.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Restart.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Restart_ByCloudService.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Restart.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstance_Restart_ByCloudService.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoles_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRole_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoles_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRole_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoles_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRole_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoles_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRole_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRolesInstance_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRoleInstances_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceRolesInstance_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_GetUpdateDomain.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_GetUpdateDomain.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_ListUpdateDomains.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_ListUpdateDomains.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_WalkUpdateDomain.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServicesUpdateDomain_WalkUpdateDomain.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServiceUpdateDomain_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Multiple_Roles.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithMultiRole.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Multiple_Roles.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithMultiRole.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Multiple_Roles_In_A_Specific_Availability_Zone.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithMultiRole_WithZones.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Multiple_Roles_In_A_Specific_Availability_Zone.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithMultiRole_WithZones.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRole.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRole.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role_And_Certificate_From_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRoleAndCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role_And_Certificate_From_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRoleAndCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role_And_Rdp_Extension.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRoleAndRDP.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_CreateOrUpdate_Create_New_Cloud_Service_With_Single_Role_And_Rdp_Extension.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Create_WithSingleRoleAndRDP.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_GetInstanceView.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Get_InstanceViewWithMultiRole.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_GetInstanceView.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Get_InstanceViewWithMultiRole.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Get_WithMultiRoleAndRDP.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Get_WithMultiRoleAndRDP.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_List_ByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_List_ByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_ListAll.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_List_BySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_ListAll.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_List_BySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_PowerOff.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_PowerOff.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_PowerOff.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_PowerOff.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Start.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Start.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Start.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Start.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Update_ToIncludeTags.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudServices_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CloudService_Update_ToIncludeTags.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Mix_Of_Disks_And_Snapshots_As_A_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Mix_Of_Disks_And_Snapshots_As_A_Source.json deleted file mode 100644 index c7cc577b7b..0000000000 --- a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Mix_Of_Disks_And_Snapshots_As_A_Source.json +++ /dev/null @@ -1,313 +0,0 @@ -{ - "parameters": { - "api-version": "2022-03-03", - "galleryImageName": "myGalleryImageName", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 1 - }, - { - "name": "East US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "safetyProfile": { - "allowDeletionOfReplicatedLocations": false - }, - "storageProfile": { - "dataDiskImages": [ - { - "hostCaching": "None", - "lun": 1, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } - ], - "osDiskImage": { - "hostCaching": "ReadOnly", - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } - }, - "galleryImageVersionName": "1.0.0", - "galleryName": "myGalleryName", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "{subscription-id}" - }, - "responses": { - "200": { - "body": { - "name": "1.0.0", - "location": "West US", - "properties": { - "provisioningState": "Updating", - "publishingProfile": { - "publishedDate": "2018-01-01T00:00:00Z", - "replicaCount": 1, - "storageAccountType": "Standard_LRS", - "targetRegions": [ - { - "name": "West US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - }, - { - "name": "East US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "safetyProfile": { - "allowDeletionOfReplicatedLocations": false, - "policyViolations": [ - { - "category": "ImageFlaggedUnsafe", - "details": "This is the policy violation details." - } - ], - "reportedForPolicyViolation": true - }, - "storageProfile": { - "dataDiskImages": [ - { - "hostCaching": "None", - "lun": 1, - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } - ], - "osDiskImage": { - "hostCaching": "ReadOnly", - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } - } - }, - "201": { - "body": { - "name": "1.0.0", - "location": "West US", - "properties": { - "provisioningState": "Creating", - "publishingProfile": { - "publishedDate": "2018-01-01T00:00:00Z", - "replicaCount": 1, - "storageAccountType": "Standard_LRS", - "targetRegions": [ - { - "name": "West US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - }, - { - "name": "East US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "safetyProfile": { - "allowDeletionOfReplicatedLocations": false, - "policyViolations": [ - { - "category": "ImageFlaggedUnsafe", - "details": "This is the policy violation details." - } - ], - "reportedForPolicyViolation": true - }, - "storageProfile": { - "dataDiskImages": [ - { - "hostCaching": "None", - "lun": 1, - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } - ], - "osDiskImage": { - "hostCaching": "ReadOnly", - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } - } - }, - "202": { - "body": { - "name": "1.0.0", - "location": "West US", - "properties": { - "provisioningState": "Updating", - "publishingProfile": { - "publishedDate": "2018-01-01T00:00:00Z", - "replicaCount": 1, - "storageAccountType": "Standard_LRS", - "targetRegions": [ - { - "name": "West US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - }, - { - "name": "East US", - "encryption": { - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet", - "lun": 1 - } - ], - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - }, - "excludeFromLatest": false, - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "safetyProfile": { - "allowDeletionOfReplicatedLocations": false, - "policyViolations": [ - { - "category": "ImageFlaggedUnsafe", - "details": "This is the policy violation details." - } - ], - "reportedForPolicyViolation": true - }, - "storageProfile": { - "dataDiskImages": [ - { - "hostCaching": "None", - "lun": 1, - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - } - } - ], - "osDiskImage": { - "hostCaching": "ReadOnly", - "sizeInGB": 10, - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - } - } - } - } - } - } - }, - "operationId": "GalleryImageVersions_CreateOrUpdate", - "title": "Create or update a simple Gallery Image Version using mix of disks and snapshots as a source." -} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Delete_Availability_Set_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Delete_Availability_Set_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Delete_Availability_Set_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Delete_Availability_Set_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Get_Availability_Set_Get_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Get_Availability_Set_Get_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Get_Availability_Set_Get_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Get_Availability_Set_Get_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListAvailableSizes_Availability_Set_List_Available_Sizes_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListAvailableSizes_Availability_Set_List_Available_Sizes_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListAvailableSizes_Availability_Set_List_Available_Sizes_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListAvailableSizes_Availability_Set_List_Available_Sizes_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_List_Availability_Set_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_List_Availability_Set_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_List_Availability_Set_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_List_Availability_Set_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Update_Availability_Set_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Update_Availability_Set_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Update_Availability_Set_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/AvailabilitySets_Update_Availability_Set_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Delete_Capacity_Reservation_Group_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Delete_Capacity_Reservation_Group_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Delete_Capacity_Reservation_Group_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Delete_Capacity_Reservation_Group_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Update_Capacity_Reservation_Group_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Update_Capacity_Reservation_Group_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Update_Capacity_Reservation_Group_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservationGroups_Update_Capacity_Reservation_Group_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Delete_Capacity_Reservation_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Delete_Capacity_Reservation_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Delete_Capacity_Reservation_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Delete_Capacity_Reservation_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_ListByCapacityReservationGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_ListByCapacityReservationGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Update_Capacity_Reservation_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Update_Capacity_Reservation_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Update_Capacity_Reservation_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CapacityReservations_Update_Capacity_Reservation_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImageVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImageVersion_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImageVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImageVersion_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImageVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImageVersion_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImageVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImageVersion_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImages_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImage_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImages_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImage_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImages_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImage_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleryImages_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGalleryImage_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleries_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGallery_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/CommunityGalleries_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/communityGalleryExamples/CommunityGallery_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_CreateOrUpdate_Create_Or_Update_A_Dedicated_Host_Group.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_CreateOrUpdate_Create_Or_Update_A_Dedicated_Host_Group.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_CreateOrUpdate_Create_Or_Update_A_Dedicated_Host_Group_With_Ultra_Ssd_Support.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_CreateOrUpdate_Create_Or_Update_A_Dedicated_Host_Group_With_Ultra_Ssd_Support.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Delete_Dedicated_Host_Group_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Delete_Dedicated_Host_Group_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Delete_Dedicated_Host_Group_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Delete_Dedicated_Host_Group_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Get_Create_A_Dedicated_Host_Group.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Get_Create_A_Dedicated_Host_Group.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Get_Create_An_Ultra_Ssd_Enabled_Dedicated_Host_Group.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Get_Create_An_Ultra_Ssd_Enabled_Dedicated_Host_Group.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListByResourceGroup_Dedicated_Host_Group_List_By_Resource_Group_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListByResourceGroup_Dedicated_Host_Group_List_By_Resource_Group_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListByResourceGroup_Dedicated_Host_Group_List_By_Resource_Group_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListByResourceGroup_Dedicated_Host_Group_List_By_Resource_Group_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListBySubscription_Dedicated_Host_Group_List_By_Subscription_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListBySubscription_Dedicated_Host_Group_List_By_Subscription_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListBySubscription_Dedicated_Host_Group_List_By_Subscription_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_ListBySubscription_Dedicated_Host_Group_List_By_Subscription_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Update_Dedicated_Host_Group_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Update_Dedicated_Host_Group_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Update_Dedicated_Host_Group_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHostGroups_Update_Dedicated_Host_Group_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Delete_Dedicated_Host_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Delete_Dedicated_Host_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Delete_Dedicated_Host_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Delete_Dedicated_Host_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListAvailableSizes.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListAvailableSizes.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListByHostGroup_Dedicated_Host_List_By_Host_Group_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListByHostGroup_Dedicated_Host_List_By_Host_Group_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListByHostGroup_Dedicated_Host_List_By_Host_Group_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_ListByHostGroup_Dedicated_Host_List_By_Host_Group_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Restart.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Restart.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Restart.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Restart.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Resize.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_Resize.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DedicatedHosts_Update_Dedicated_Host_Update_Resize.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/dedicatedHostExamples/DedicatedHost_Update_Resize.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_UpdateAPrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_UpdateAPrivateEndpointConnection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_DeleteAPrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_DeleteAPrivateEndpointConnection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_GetAPrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_GetAPrivateEndpointConnection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_ListPrivateEndpointConnections.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_ListPrivateEndpointConnections.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_GetPrivateLinkResources.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_GetPrivateLinkResources.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Get_Get_Information_About_A_Disk_Access_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Get_Get_Information_About_A_Disk_Access_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Get_Get_Information_About_A_Disk_Access_Resource_With_Private_Endpoints.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Get_Get_Information_About_A_Disk_Access_Resource_With_Private_Endpoints.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskAccesses_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskAccessExamples/DiskAccess_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set_With_Key_Vault_From_A_Different_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set_With_Key_Vault_From_A_Different_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set_With_Key_Vault_From_A_Different_Tenant.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_CreateOrUpdate_Create_A_Disk_Encryption_Set_With_Key_Vault_From_A_Different_Tenant.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Get_Get_Information_About_A_Disk_Encryption_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Get_Get_Information_About_A_Disk_Encryption_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Get_Get_Information_About_A_Disk_Encryption_Set_When_Auto_Key_Rotation_Failed.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Get_Get_Information_About_A_Disk_Encryption_Set_When_Auto_Key_Rotation_Failed.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_ListAssociatedResources.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_ListAssociatedResources.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set_With_Rotation_To_Latest_Key_Version_Enabled_Set_To_True_Succeeded.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set_With_Rotation_To_Latest_Key_Version_Enabled_Set_To_True_Succeeded.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set_With_Rotation_To_Latest_Key_Version_Enabled_Set_To_True_Updating.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskEncryptionSets_Update_Update_A_Disk_Encryption_Set_With_Rotation_To_Latest_Key_Version_Enabled_Set_To_True_Updating.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_GrantAccess_Get_A_Sas_On_A_Managed_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_BeginGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_GrantAccess_Get_A_Sas_On_A_Managed_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_BeginGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_GrantAccess_Get_Sas_On_Managed_Disk_And_Vm_Guest_State.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_GrantAccess_Get_Sas_On_Managed_Disk_And_Vm_Guest_State.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Create_Or_Update_A_Bursting_Enabled_Managed_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Create_Or_Update_A_Bursting_Enabled_Managed_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Copying_A_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByCopyingASnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Copying_A_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByCopyingASnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Importing_An_Unmanaged_Blob_From_A_Different_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Importing_An_Unmanaged_Blob_From_A_Different_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Importing_An_Unmanaged_Blob_From_The_Same_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_By_Importing_An_Unmanaged_Blob_From_The_Same_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Confidential_Vm_Supported_Disk_Encrypted_With_Customer_Managed_Key.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Confidential_Vm_Supported_Disk_Encrypted_With_Customer_Managed_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Empty_Managed_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_Empty.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Empty_Managed_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_Empty.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_A_Platform_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAPlatformImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_A_Platform_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAPlatformImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Community_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Community_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Direct_Shared_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Direct_Shared_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Azure_Compute_Gallery_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Elastic_San_Volume_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnElasticSanVolumeSnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Elastic_San_Volume_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnElasticSanVolumeSnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Existing_Managed_Disk_In_The_Same_Or_Different_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnExistingManagedDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_An_Existing_Managed_Disk_In_The_Same_Or_Different_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromAnExistingManagedDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Import_Secure_Create_Option.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromImportSecure.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Import_Secure_Create_Option.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromImportSecure.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Upload_Prepared_Secure_Create_Option.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromUploadPreparedSecure.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_From_Upload_Prepared_Secure_Create_Option.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_FromUploadPreparedSecure.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Empty_Managed_Disk_In_Extended_Location.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_InExtendedLocation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Empty_Managed_Disk_In_Extended_Location.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_InExtendedLocation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Performance_Plus.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_PerformancePlus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Performance_Plus.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_PerformancePlus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Upload_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_UploadDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Upload_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_UploadDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Data_Access_Auth_Mode.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDataAccessAuthMode.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Data_Access_Auth_Mode.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDataAccessAuthMode.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_And_Associate_With_Disk_Access_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDiskAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_And_Associate_With_Disk_Access_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDiskAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_And_Associate_With_Disk_Encryption_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDiskEncryptionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_And_Associate_With_Disk_Encryption_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithDiskEncryptionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Ultra_Managed_Disk_With_Logical_Sector_Size_512_E.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithLogicalSectorSize.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_An_Ultra_Managed_Disk_With_Logical_Sector_Size_512_E.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithLogicalSectorSize.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Optimized_For_Frequent_Attach.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithOptimizedForFrequentAttach.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Optimized_For_Frequent_Attach.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithOptimizedForFrequentAttach.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Premium_V2_Account_Type.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Premium_V2_Account_Type.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Ssd_Zrs_Account_Type.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithSSDZRSAccountType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Ssd_Zrs_Account_Type.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithSSDZRSAccountType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Security_Profile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithSecurityProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Security_Profile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithSecurityProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Ultra_Account_Type_With_Read_Only_Property_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_CreateOrUpdate_Create_A_Managed_Disk_With_Ultra_Account_Type_With_Read_Only_Property_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_RevokeAccess.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_EndGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_RevokeAccess.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_EndGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Accelerated_Networking.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddAcceleratedNetworking.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Accelerated_Networking.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddAcceleratedNetworking.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_With_Disk_Controller_Types.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddDiskControllerTypes.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_With_Disk_Controller_Types.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddDiskControllerTypes.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Purchase_Plan.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddPurchasePlan.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Purchase_Plan.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddPurchasePlan.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Supports_Hibernation.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddSupportsHibernation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Supports_Hibernation.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_AddSupportsHibernation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Change_Tier.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_ChangeTier.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Change_Tier.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_ChangeTier.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Disable_Bursting.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_DisableBursting.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Disable_Bursting.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_DisableBursting.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Disable_Optimized_For_Frequent_Attach.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_DisableOptimizedForFrequentAttach.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Disable_Optimized_For_Frequent_Attach.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_DisableOptimizedForFrequentAttach.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_Managed_Disk_To_Remove_Disk_Access_Resource_Association.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_RemoveDiskAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_Managed_Disk_To_Remove_Disk_Access_Resource_Association.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_RemoveDiskAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Architecture.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_ToAddArchitecture.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Disks_Update_Update_A_Managed_Disk_To_Add_Architecture.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskExamples/Disk_Update_ToAddArchitecture.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_GrantAccess.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_GrantAccess.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_RevokeAccess.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_RevokeAccess.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_Get_Get_An_Incremental_Disk_Restore_Point_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_Get_Get_An_Incremental_Disk_Restore_Point_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_Get_Get_An_Incremental_Disk_Restore_Point_When_Source_Resource_Is_From_A_Different_Region.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_Get_Get_An_Incremental_Disk_Restore_Point_When_Source_Resource_Is_From_A_Different_Region.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_ListByRestorePoint.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/DiskRestorePoint_ListByRestorePoint.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_A_Community_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/CommunityGallery_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_A_Community_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/CommunityGallery_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Community_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/CommunityGallery_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Community_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/CommunityGallery_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Get_Get_A_Gallery_Application_Version.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Get_Get_A_Gallery_Application_Version.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Get_Get_A_Gallery_Application_Version_With_Replication_Status.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Get_Get_A_Gallery_Application_Version_With_Replication_Status.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_ListByGalleryApplication.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_ListByGalleryApplication.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplicationVersions_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplicationVersion_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_ListByGallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_ListByGallery.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_ListByGallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_ListByGallery.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryApplications_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryApplication_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Managed_Image_As_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Managed_Image_As_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Community_Gallery_Image_As_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithCommunityImageVersionAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Community_Gallery_Image_As_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithCommunityImageVersionAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Shared_Image_As_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Shared_Image_As_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Shallow_Replication_Mode.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Shallow_Replication_Mode.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Snapshots_As_A_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Snapshots_As_A_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_With_Target_Extended_Locations_Specified.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_With_Target_Extended_Locations_Specified.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Vhd_As_A_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithVHD.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Vhd_As_A_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithVHD.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Vm_As_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_Image_Version_Using_Vm_As_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Replication_Status.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Replication_Status.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Snapshots_As_A_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Snapshots_As_A_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Vhd_As_A_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Get_Get_A_Gallery_Image_Version_With_Vhd_As_A_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_ListByGalleryImage.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_ListByGalleryImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_ListByGalleryImage.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_ListByGalleryImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Update_Update_A_Simple_Gallery_Image_Version_Managed_Image_As_Source.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Update_Update_A_Simple_Gallery_Image_Version_Managed_Image_As_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Update_Update_A_Simple_Gallery_Image_Version_Without_Source_Id.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImageVersions_Update_Update_A_Simple_Gallery_Image_Version_Without_Source_Id.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_ListByGallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_ListByGallery.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_ListByGallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_ListByGallery.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GalleryImages_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/GalleryImage_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Add_Sharing_Id_To_The_Sharing_Profile_Of_A_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_AddToSharingProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Add_Sharing_Id_To_The_Sharing_Profile_Of_A_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_AddToSharingProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_With_Soft_Deletion_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create_SoftDeletionEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_With_Soft_Deletion_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create_SoftDeletionEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_With_Sharing_Profile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create_WithSharingProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_CreateOrUpdate_Create_Or_Update_A_Simple_Gallery_With_Sharing_Profile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Create_WithSharingProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Share_A_Gallery_To_Community.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_EnableCommunityGallery.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Share_A_Gallery_To_Community.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_EnableCommunityGallery.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery_With_Expand_Sharing_Profile_Groups.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery_With_Expand_Sharing_Profile_Groups.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery_With_Select_Permissions.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get_WithSelectPermissions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Get_Get_A_Gallery_With_Select_Permissions.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Get_WithSelectPermissions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Reset_Sharing_Profile_Of_A_Gallery.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ResetSharingProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/GallerySharingProfile_Update_Reset_Sharing_Profile_Of_A_Gallery.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_ResetSharingProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Galleries_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/galleryExamples/Gallery_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Blob.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromABlob.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Blob.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromABlob.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Blob_With_Disk_Encryption_Set_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Blob_With_Disk_Encryption_Set_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Managed_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAManagedDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Managed_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAManagedDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Managed_Disk_With_Disk_Encryption_Set_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Managed_Disk_With_Disk_Encryption_Set_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromASnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromASnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Snapshot_With_Disk_Encryption_Set_Resource.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_A_Snapshot_With_Disk_Encryption_Set_Resource.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_An_Existing_Virtual_Machine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAVM.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_From_An_Existing_Virtual_Machine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_CreateFromAVM.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Blob.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromABlobIncluded.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Blob.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromABlobIncluded.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Managed_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Managed_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_CreateOrUpdate_Create_A_Virtual_Machine_Image_That_Includes_A_Data_Disk_From_A_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Image_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Delete_Image_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Images_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Delete_Image_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Images_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Delete_Image_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Images_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Images_Delete_Image_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/imageExamples/Images_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/ProximityPlacementGroups_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_CreateOrUpdate_Create_Or_Update_A_Restore_Point_Collection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_CreateOrUpdate_Create_Or_Update_A_Restore_Point_Collection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_CreateOrUpdate_Create_Or_Update_A_Restore_Point_Collection_For_Cross_Region_Copy.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_CreateOrUpdate_Create_Or_Update_A_Restore_Point_Collection_For_Cross_Region_Copy.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Delete_Restore_Point_Collection_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Delete_Restore_Point_Collection_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Delete_Restore_Point_Collection_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Delete_Restore_Point_Collection_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Get_Get_A_Restore_Point_Collection_But_Not_The_Restore_Points_Contained_In_The_Restore_Point_Collection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Get_Get_A_Restore_Point_Collection_But_Not_The_Restore_Points_Contained_In_The_Restore_Point_Collection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Get_Get_A_Restore_Point_Collection_Including_The_Restore_Points_Contained_In_The_Restore_Point_Collection.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Get_Get_A_Restore_Point_Collection_Including_The_Restore_Points_Contained_In_The_Restore_Point_Collection.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_ListAll.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_ListAll.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Update_Restore_Point_Collection_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Update_Restore_Point_Collection_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Update_Restore_Point_Collection_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePointCollections_Update_Restore_Point_Collection_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Create_Copy_A_Restore_Point_To_A_Different_Region.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Copy_BetweenRegions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Create_Copy_A_Restore_Point_To_A_Different_Region.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Copy_BetweenRegions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Create_Create_A_Restore_Point.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Create_Create_A_Restore_Point.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Delete_Restore_Point_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Delete_Restore_Point_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Delete_Restore_Point_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Delete_Restore_Point_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Get_Get_A_Restore_Point.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Get_Get_A_Restore_Point.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Get_Get_Restore_Point_With_Instance_View.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Get_WithInstanceView.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/RestorePoints_Get_Get_Restore_Point_With_Instance_View.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/restorePointExamples/RestorePoint_Get_WithInstanceView.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_RunCommand.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_RunCommand.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_GetByVirtualMachine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_GetByVirtualMachine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_ListByVirtualMachine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_ListByVirtualMachine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineRunCommands_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineRunCommand_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_RunCommand.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_RunCommand.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImageVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImageVersion_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImageVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImageVersion_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImageVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImageVersions_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImageVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImageVersions_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImages_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImage_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImages_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImage_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImages_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImages_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleryImages_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGalleryImages_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleries_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGallery_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleries_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGallery_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleries_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGallery_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SharedGalleries_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sharedGalleryExamples/SharedGallery_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_GrantAccess.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_BeginGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_GrantAccess.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_BeginGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_By_Importing_An_Unmanaged_Blob_From_A_Different_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_By_Importing_An_Unmanaged_Blob_From_A_Different_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_By_Importing_An_Unmanaged_Blob_From_The_Same_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_By_Importing_An_Unmanaged_Blob_From_The_Same_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Elastic_San_Volume_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnElasticSanVolumeSnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Elastic_San_Volume_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnElasticSanVolumeSnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Existing_Snapshot_In_The_Same_Or_A_Different_Subscription.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Existing_Snapshot_In_The_Same_Or_A_Different_Subscription.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Existing_Snapshot_In_The_Same_Or_A_Different_Subscription_In_A_Different_Region.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_CreateOrUpdate_Create_A_Snapshot_From_An_Existing_Snapshot_In_The_Same_Or_A_Different_Subscription_In_A_Different_Region.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_RevokeAccess.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_EndGetAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_RevokeAccess.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_EndGetAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Get_Get_Information_About_A_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Get_Get_Information_About_A_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Get_Get_Information_About_An_Incremental_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_GetIncrementalSnapshot.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Get_Get_Information_About_An_Incremental_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_GetIncrementalSnapshot.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_ListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_ListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_ListBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_ListBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Update_Update_A_Snapshot.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Update_Update_A_Snapshot.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Update_Update_A_Snapshot_With_Accelerated_Networking.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/Snapshots_Update_Update_A_Snapshot_With_Accelerated_Networking.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Create.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Delete_Ssh_Public_Key_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Delete_Ssh_Public_Key_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Delete_Ssh_Public_Key_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Delete_Ssh_Public_Key_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_GenerateKeyPair.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_GenerateKeyPair.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListByResourceGroup_Ssh_Public_Key_List_By_Resource_Group_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListByResourceGroup_Ssh_Public_Key_List_By_Resource_Group_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListByResourceGroup_Ssh_Public_Key_List_By_Resource_Group_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListByResourceGroup_Ssh_Public_Key_List_By_Resource_Group_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListBySubscription_Ssh_Public_Key_List_By_Subscription_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListBySubscription_Ssh_Public_Key_List_By_Subscription_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListBySubscription_Ssh_Public_Key_List_By_Subscription_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_ListBySubscription_Ssh_Public_Key_List_By_Subscription_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Update_Ssh_Public_Key_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Update_Ssh_Public_Key_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Update_Ssh_Public_Key_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/SshPublicKeys_Update_Ssh_Public_Key_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_CreateOrUpdate_Virtual_Machine_Extension_Create_Or_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_CreateOrUpdate_Virtual_Machine_Extension_Create_Or_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_CreateOrUpdate_Virtual_Machine_Extension_Create_Or_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_CreateOrUpdate_Virtual_Machine_Extension_Create_Or_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Delete_Virtual_Machine_Extension_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Delete_Virtual_Machine_Extension_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Delete_Virtual_Machine_Extension_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Delete_Virtual_Machine_Extension_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Get_Virtual_Machine_Extension_Get_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Get_Virtual_Machine_Extension_Get_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Get_Virtual_Machine_Extension_Get_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Get_Virtual_Machine_Extension_Get_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_List_Virtual_Machine_Extension_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_List_Virtual_Machine_Extension_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_List_Virtual_Machine_Extension_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_List_Virtual_Machine_Extension_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensions_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachineExtension_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_AssessPatches.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_AssessPatches.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_AssessPatches.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_AssessPatches.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Capture_Virtual_Machine_Capture_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Capture_Virtual_Machine_Capture_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Capture_Virtual_Machine_Capture_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Capture_Virtual_Machine_Capture_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ConvertToManagedDisks_Virtual_Machine_Convert_To_Managed_Disks_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ConvertToManagedDisks_Virtual_Machine_Convert_To_Managed_Disks_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ConvertToManagedDisks_Virtual_Machine_Convert_To_Managed_Disks_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ConvertToManagedDisks_Virtual_Machine_Convert_To_Managed_Disks_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Custom_Image_Vm_From_An_Unmanaged_Generalized_Os_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Custom_Image_Vm_From_An_Unmanaged_Generalized_Os_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Community_Gallery_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Community_Gallery_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Custom_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Custom_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Generalized_Shared_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Generalized_Shared_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Shared_Gallery_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Shared_Gallery_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Specialized_Shared_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_From_A_Specialized_Shared_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_In_A_Virtual_Machine_Scale_Set_With_Customer_Assigned_Platform_Fault_Domain.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_In_A_Virtual_Machine_Scale_Set_With_Customer_Assigned_Platform_Fault_Domain.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_In_An_Availability_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_In_An_Availability_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Automatic_By_Platform_Settings.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Automatic_By_Platform_Settings.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Assessment_Mode_Of_Image_Default.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Assessment_Mode_Of_Image_Default.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Patch_Mode_Of_Image_Default.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Setting_Patch_Mode_Of_Image_Default.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Settings_Patch_Mode_And_Assessment_Mode_Set_To_Automatic_By_Platform.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Linux_Vm_With_A_Patch_Settings_Patch_Mode_And_Assessment_Mode_Set_To_Automatic_By_Platform.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Platform_Image_Vm_With_Unmanaged_Os_And_Data_Disks.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Platform_Image_Vm_With_Unmanaged_Os_And_Data_Disks.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Automatic_By_Platform_Settings.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Automatic_By_Platform_Settings.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Assessment_Mode_Of_Image_Default.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Assessment_Mode_Of_Image_Default.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Os.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Os.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Enable_Hotpatching_Set_To_True.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Automatic_By_Platform_And_Enable_Hotpatching_Set_To_True.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Manual.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_A_Patch_Setting_Patch_Mode_Of_Manual.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_Patch_Settings_Patch_Mode_And_Assessment_Mode_Set_To_Automatic_By_Platform.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Windows_Vm_With_Patch_Settings_Patch_Mode_And_Assessment_Mode_Set_To_Automatic_By_Platform.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk_Provisioning_In_Cache_Disk_Using_Placement_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk_Provisioning_In_Cache_Disk_Using_Placement_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk_Provisioning_In_Resource_Disk_Using_Placement_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ephemeral_Os_Disk_Provisioning_In_Resource_Disk_Using_Placement_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_A_Marketplace_Image_Plan.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_A_Marketplace_Image_Plan.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Application_Profile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Application_Profile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Boot_Diagnostics.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Boot_Diagnostics.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_Or_Update_A_Vm_With_Capacity_Reservation.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_Or_Update_A_Vm_With_Capacity_Reservation.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Disk_Controller_Type.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Disk_Controller_Type.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Disk_Encryption_Set_Resource_Id_In_The_Os_Disk_And_Data_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Disk_Encryption_Set_Resource_Id_In_The_Os_Disk_And_Data_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Empty_Data_Disks.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Empty_Data_Disks.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Host_Encryption_Using_Encryption_At_Host_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Host_Encryption_Using_Encryption_At_Host_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_An_Extensions_Time_Budget.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_An_Extensions_Time_Budget.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Hibernation_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Hibernation_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Managed_Boot_Diagnostics.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Managed_Boot_Diagnostics.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Network_Interface_Configuration.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Network_Interface_Configuration.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Network_Interface_Configuration_With_Public_Ip_Address_Dns_Settings.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Network_Interface_Configuration_With_Public_Ip_Address_Dns_Settings.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Password_Authentication.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Password_Authentication.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Premium_Storage.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Premium_Storage.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Scheduled_Events_Profile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Scheduled_Events_Profile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Security_Type_Confidential_Vm_With_Platform_Managed_Keys.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Security_Type_Confidential_Vm_With_Platform_Managed_Keys.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Security_Type_Confidential_Vm_With_Customer_Managed_Keys.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Security_Type_Confidential_Vm_With_Customer_Managed_Keys.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ssh_Authentication.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Ssh_Authentication.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Uefi_Settings_Of_Secure_Boot_And_V_Tpm.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Uefi_Settings_Of_Secure_Boot_And_V_Tpm.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_User_Data.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithUserData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_User_Data.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithUserData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Vm_Size_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_CreateOrUpdate_Create_A_Vm_With_Vm_Size_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Deallocate_Virtual_Machine_Deallocate_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Deallocate_Virtual_Machine_Deallocate_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Deallocate_Virtual_Machine_Deallocate_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Deallocate_Virtual_Machine_Deallocate_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Delete_Force.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Delete_Force.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Generalize.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Generalize.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Generalize.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Generalize.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstanceView_Get_Virtual_Machine_Instance_View.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_InstanceView.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstanceView_Get_Virtual_Machine_Instance_View.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_InstanceView.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstanceView_Get_Instance_View_Of_A_Virtual_Machine_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstanceView_Get_Instance_View_Of_A_Virtual_Machine_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_With_Disk_Controller_Type_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_With_Disk_Controller_Type_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_With_Vm_Size_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Get_Get_A_Virtual_Machine_With_Vm_Size_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstallPatches.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_InstallPatches.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_InstallPatches.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_InstallPatches.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAll_Virtual_Machine_List_All_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAll_Virtual_Machine_List_All_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAll_Virtual_Machine_List_All_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAll_Virtual_Machine_List_All_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAvailableSizes.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_ListAvailableSizes.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_List_Virtual_Machine_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_List_Virtual_Machine_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_List_Virtual_Machine_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_List_Virtual_Machine_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PerformMaintenance_Virtual_Machine_Perform_Maintenance_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PerformMaintenance_Virtual_Machine_Perform_Maintenance_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PerformMaintenance_Virtual_Machine_Perform_Maintenance_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PerformMaintenance_Virtual_Machine_Perform_Maintenance_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PowerOff_Virtual_Machine_Power_Off_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PowerOff_Virtual_Machine_Power_Off_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PowerOff_Virtual_Machine_Power_Off_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_PowerOff_Virtual_Machine_Power_Off_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reapply.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reapply.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reapply.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reapply.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Redeploy_Virtual_Machine_Redeploy_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Redeploy_Virtual_Machine_Redeploy_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Redeploy_Virtual_Machine_Redeploy_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Redeploy_Virtual_Machine_Redeploy_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reimage_Reimage_A_Virtual_Machine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reimage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reimage_Reimage_A_Virtual_Machine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reimage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reimage_Reimage_A_Non_Ephemeral_Virtual_Machine.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Reimage_Reimage_A_Non_Ephemeral_Virtual_Machine.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Restart_Virtual_Machine_Restart_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Restart_Virtual_Machine_Restart_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Restart_Virtual_Machine_Restart_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Restart_Virtual_Machine_Restart_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_RetrieveBootDiagnosticsData.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_RetrieveBootDiagnosticsData.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_SimulateEviction.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_SimulateEviction.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_SimulateEviction.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_SimulateEviction.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Start_Virtual_Machine_Start_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Start_Virtual_Machine_Start_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Start_Virtual_Machine_Start_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Start_Virtual_Machine_Start_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Update_Update_A_Vm_By_Detaching_Data_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Update_Update_A_Vm_By_Detaching_Data_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Update_Update_A_Vm_By_Force_Detaching_Data_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachines_Update_Update_A_Vm_By_Force_Detaching_Data_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_Get_Virtual_Machine_Extension_Image_Get_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_Get_Virtual_Machine_Extension_Image_Get_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_Get_Virtual_Machine_Extension_Image_Get_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_Get_Virtual_Machine_Extension_Image_Get_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_ListTypes_Virtual_Machine_Extension_Image_List_Types_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_ListTypes_Virtual_Machine_Extension_Image_List_Types_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_ListTypes_Virtual_Machine_Extension_Image_List_Types_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineExtensionImages_ListTypes_Virtual_Machine_Extension_Image_List_Types_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_CreateOrUpdate_Virtual_Machine_Scale_Set_Extension_Create_Or_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_CreateOrUpdate_Virtual_Machine_Scale_Set_Extension_Create_Or_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_CreateOrUpdate_Virtual_Machine_Scale_Set_Extension_Create_Or_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_CreateOrUpdate_Virtual_Machine_Scale_Set_Extension_Create_Or_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Delete_Virtual_Machine_Scale_Set_Extension_Delete_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Delete_Virtual_Machine_Scale_Set_Extension_Delete_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Delete_Virtual_Machine_Scale_Set_Extension_Delete_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Delete_Virtual_Machine_Scale_Set_Extension_Delete_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Get_Virtual_Machine_Scale_Set_Extension_Get_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Get_Virtual_Machine_Scale_Set_Extension_Get_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Get_Virtual_Machine_Scale_Set_Extension_Get_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Get_Virtual_Machine_Scale_Set_Extension_Get_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_List_Virtual_Machine_Scale_Set_Extension_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_List_Virtual_Machine_Scale_Set_Extension_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_List_Virtual_Machine_Scale_Set_Extension_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_List_Virtual_Machine_Scale_Set_Extension_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartExtensionUpgrade.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartExtensionUpgrade.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Update_Virtual_Machine_Scale_Set_Extension_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Update_Virtual_Machine_Scale_Set_Extension_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Update_Virtual_Machine_Scale_Set_Extension_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetExtensions_Update_Virtual_Machine_Scale_Set_Extension_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_Cancel_Virtual_Machine_Scale_Set_Rolling_Upgrade_Cancel_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_Cancel_Virtual_Machine_Scale_Set_Rolling_Upgrade_Cancel_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_Cancel_Virtual_Machine_Scale_Set_Rolling_Upgrade_Cancel_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_Cancel_Virtual_Machine_Scale_Set_Rolling_Upgrade_Cancel_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_GetLatest_Virtual_Machine_Scale_Set_Rolling_Upgrade_Get_Latest_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_GetLatest_Virtual_Machine_Scale_Set_Rolling_Upgrade_Get_Latest_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_GetLatest_Virtual_Machine_Scale_Set_Rolling_Upgrade_Get_Latest_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_GetLatest_Virtual_Machine_Scale_Set_Rolling_Upgrade_Get_Latest_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_Virtual_Machine_Scale_Set_Rolling_Upgrade_Start_Os_Upgrade_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_Virtual_Machine_Scale_Set_Rolling_Upgrade_Start_Os_Upgrade_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_Virtual_Machine_Scale_Set_Rolling_Upgrade_Start_Os_Upgrade_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_Virtual_Machine_Scale_Set_Rolling_Upgrade_Start_Os_Upgrade_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_List.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Update.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMExtensions_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Deallocate_Virtual_Machine_Scale_Set_Vm_Deallocate_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Deallocate_Virtual_Machine_Scale_Set_Vm_Deallocate_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Deallocate_Virtual_Machine_Scale_Set_Vm_Deallocate_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Deallocate_Virtual_Machine_Scale_Set_Vm_Deallocate_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_GetInstanceView.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_GetInstanceView.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Get_Get_Vm_Scale_Set_Vm_With_User_Data.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Get_Get_Vm_Scale_Set_Vm_With_User_Data.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Get_Get_Vm_Scale_Set_Vm_With_Vm_Size_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Get_Get_Vm_Scale_Set_Vm_With_Vm_Size_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_List_Virtual_Machine_Scale_Set_Vm_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_List_Virtual_Machine_Scale_Set_Vm_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_List_Virtual_Machine_Scale_Set_Vm_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_List_Virtual_Machine_Scale_Set_Vm_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PerformMaintenance_Virtual_Machine_Scale_Set_Vm_Perform_Maintenance_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PerformMaintenance_Virtual_Machine_Scale_Set_Vm_Perform_Maintenance_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PerformMaintenance_Virtual_Machine_Scale_Set_Vm_Perform_Maintenance_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PerformMaintenance_Virtual_Machine_Scale_Set_Vm_Perform_Maintenance_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PowerOff_Virtual_Machine_Scale_Set_Vm_Power_Off_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PowerOff_Virtual_Machine_Scale_Set_Vm_Power_Off_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PowerOff_Virtual_Machine_Scale_Set_Vm_Power_Off_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_PowerOff_Virtual_Machine_Scale_Set_Vm_Power_Off_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Redeploy_Virtual_Machine_Scale_Set_Vm_Redeploy_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Redeploy_Virtual_Machine_Scale_Set_Vm_Redeploy_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Redeploy_Virtual_Machine_Scale_Set_Vm_Redeploy_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Redeploy_Virtual_Machine_Scale_Set_Vm_Redeploy_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_ReimageAll_Virtual_Machine_Scale_Set_Vm_Reimage_All_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_ReimageAll_Virtual_Machine_Scale_Set_Vm_Reimage_All_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_ReimageAll_Virtual_Machine_Scale_Set_Vm_Reimage_All_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_ReimageAll_Virtual_Machine_Scale_Set_Vm_Reimage_All_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Reimage_Virtual_Machine_Scale_Set_Vm_Reimage_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Reimage_Virtual_Machine_Scale_Set_Vm_Reimage_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Reimage_Virtual_Machine_Scale_Set_Vm_Reimage_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Reimage_Virtual_Machine_Scale_Set_Vm_Reimage_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Restart_Virtual_Machine_Scale_Set_Vm_Restart_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Restart_Virtual_Machine_Scale_Set_Vm_Restart_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Restart_Virtual_Machine_Scale_Set_Vm_Restart_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Restart_Virtual_Machine_Scale_Set_Vm_Restart_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_RetrieveBootDiagnosticsData.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_RetrieveBootDiagnosticsData.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_SimulateEviction.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_SimulateEviction.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Start_Virtual_Machine_Scale_Set_Vm_Start_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Start_Virtual_Machine_Scale_Set_Vm_Start_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Start_Virtual_Machine_Scale_Set_Vm_Start_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Start_Virtual_Machine_Scale_Set_Vm_Start_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Update_Virtual_Machine_Scale_Set_Vm_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Update_Virtual_Machine_Scale_Set_Vm_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Update_Virtual_Machine_Scale_Set_Vm_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSetVMs_Update_Virtual_Machine_Scale_Set_Vm_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_Virtual_Machine_Scale_Set_Convert_To_Single_Placement_Group_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_Virtual_Machine_Scale_Set_Convert_To_Single_Placement_Group_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_Virtual_Machine_Scale_Set_Convert_To_Single_Placement_Group_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_Virtual_Machine_Scale_Set_Convert_To_Single_Placement_Group_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ephemeral_Os_Disks_Using_Placement_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ephemeral_Os_Disks_Using_Placement_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Custom_Image_Scale_Set_From_An_Unmanaged_Generalized_Os_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Custom_Image_Scale_Set_From_An_Unmanaged_Generalized_Os_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Custom_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Custom_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Generalized_Shared_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Generalized_Shared_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Specialized_Shared_Image.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_From_A_Specialized_Shared_Image.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_Where_Nic_Config_Has_Disable_Tcp_State_Tracking_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_Where_Nic_Config_Has_Disable_Tcp_State_Tracking_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Fpga_Network_Interfaces.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Fpga_Network_Interfaces.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Network_Interfaces_With_Public_Ip_Address_Dns_Settings.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Network_Interfaces_With_Public_Ip_Address_Dns_Settings.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Platform_Image_Scale_Set_With_Unmanaged_Os_Disks.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Platform_Image_Scale_Set_With_Unmanaged_Os_Disks.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_A_Marketplace_Image_Plan.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_A_Marketplace_Image_Plan.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Application_Profile.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Application_Profile.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Automatic_Repairs_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Automatic_Repairs_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_An_Azure_Application_Gateway.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_An_Azure_Application_Gateway.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_An_Azure_Load_Balancer.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_An_Azure_Load_Balancer.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Boot_Diagnostics.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Boot_Diagnostics.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_Or_Update_A_Scale_Set_With_Capacity_Reservation.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_Or_Update_A_Scale_Set_With_Capacity_Reservation.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ephemeral_Os_Disks.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ephemeral_Os_Disks.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Disk_Controller_Type.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Disk_Controller_Type.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Disk_Encryption_Set_Resource_In_Os_Disk_And_Data_Disk.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Disk_Encryption_Set_Resource_In_Os_Disk_And_Data_Disk.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Empty_Data_Disks_On_Each_Vm.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Empty_Data_Disks_On_Each_Vm.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Host_Encryption_Using_Encryption_At_Host_Property.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Host_Encryption_Using_Encryption_At_Host_Property.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Vmss_With_An_Extension_That_Has_Suppress_Failures_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Vmss_With_An_Extension_That_Has_Suppress_Failures_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Extension_Time_Budget.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Extension_Time_Budget.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Managed_Boot_Diagnostics.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Managed_Boot_Diagnostics.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Os_Image_Scheduled_Events_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Os_Image_Scheduled_Events_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Password_Authentication.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Password_Authentication.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Premium_Storage.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Premium_Storage.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Priority_Mix_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Priority_Mix_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Vmss_With_An_Extension_With_Protected_Settings_From_Key_Vault.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Vmss_With_An_Extension_With_Protected_Settings_From_Key_Vault.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Scale_In_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Scale_In_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Security_Posture_Reference.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Security_Posture_Reference.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Security_Type_As_Confidential_Vm.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Security_Type_As_Confidential_Vm.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Service_Artifact_Reference.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Service_Artifact_Reference.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Spot_Restore_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Spot_Restore_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ssh_Authentication.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Ssh_Authentication.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Terminate_Scheduled_Events_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Terminate_Scheduled_Events_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Uefi_Settings_Of_Secure_Boot_And_V_Tpm.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Uefi_Settings_Of_Secure_Boot_And_V_Tpm.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_User_Data.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_User_Data.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Vm_Size_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Vm_Size_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Virtual_Machines_In_Different_Zones.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_CreateOrUpdate_Create_A_Scale_Set_With_Virtual_Machines_In_Different_Zones.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Deallocate_Virtual_Machine_Scale_Set_Deallocate_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Deallocate_Virtual_Machine_Scale_Set_Deallocate_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Deallocate_Virtual_Machine_Scale_Set_Deallocate_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Deallocate_Virtual_Machine_Scale_Set_Deallocate_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_DeleteInstances_Virtual_Machine_Scale_Set_Delete_Instances_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_DeleteInstances_Virtual_Machine_Scale_Set_Delete_Instances_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_DeleteInstances_Virtual_Machine_Scale_Set_Delete_Instances_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_DeleteInstances_Virtual_Machine_Scale_Set_Delete_Instances_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_Virtual_Machine_Scale_Set_Force_Recovery_Service_Fabric_Platform_Update_Domain_Walk_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_Virtual_Machine_Scale_Set_Force_Recovery_Service_Fabric_Platform_Update_Domain_Walk_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_Virtual_Machine_Scale_Set_Force_Recovery_Service_Fabric_Platform_Update_Domain_Walk_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_Virtual_Machine_Scale_Set_Force_Recovery_Service_Fabric_Platform_Update_Domain_Walk_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetInstanceView_Virtual_Machine_Scale_Set_Get_Instance_View_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetInstanceView_Virtual_Machine_Scale_Set_Get_Instance_View_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetInstanceView_Virtual_Machine_Scale_Set_Get_Instance_View_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetInstanceView_Virtual_Machine_Scale_Set_Get_Instance_View_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetOSUpgradeHistory_Virtual_Machine_Scale_Set_Get_Os_Upgrade_History_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetOSUpgradeHistory_Virtual_Machine_Scale_Set_Get_Os_Upgrade_History_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetOSUpgradeHistory_Virtual_Machine_Scale_Set_Get_Os_Upgrade_History_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_GetOSUpgradeHistory_Virtual_Machine_Scale_Set_Get_Os_Upgrade_History_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set_Placed_On_A_Dedicated_Host_Group_Through_Automatic_Placement.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_Vm_Scale_Set_Vm_With_Disk_Controller_Type.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_Vm_Scale_Set_Vm_With_Disk_Controller_Type.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set_With_User_Data.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Get_Get_A_Virtual_Machine_Scale_Set_With_User_Data.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListAll_Virtual_Machine_Scale_Set_List_All_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListAll_Virtual_Machine_Scale_Set_List_All_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListAll_Virtual_Machine_Scale_Set_List_All_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListAll_Virtual_Machine_Scale_Set_List_All_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListSkus_Virtual_Machine_Scale_Set_List_Skus_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListSkus_Virtual_Machine_Scale_Set_List_Skus_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListSkus_Virtual_Machine_Scale_Set_List_Skus_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ListSkus_Virtual_Machine_Scale_Set_List_Skus_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_List_Virtual_Machine_Scale_Set_List_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_List_Virtual_Machine_Scale_Set_List_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_List_Virtual_Machine_Scale_Set_List_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_List_Virtual_Machine_Scale_Set_List_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PerformMaintenance_Virtual_Machine_Scale_Set_Perform_Maintenance_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PerformMaintenance_Virtual_Machine_Scale_Set_Perform_Maintenance_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PerformMaintenance_Virtual_Machine_Scale_Set_Perform_Maintenance_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PerformMaintenance_Virtual_Machine_Scale_Set_Perform_Maintenance_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PowerOff_Virtual_Machine_Scale_Set_Power_Off_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PowerOff_Virtual_Machine_Scale_Set_Power_Off_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PowerOff_Virtual_Machine_Scale_Set_Power_Off_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_PowerOff_Virtual_Machine_Scale_Set_Power_Off_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reapply_MaximumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reapply_MaximumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reapply_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reapply_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Redeploy_Virtual_Machine_Scale_Set_Redeploy_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Redeploy_Virtual_Machine_Scale_Set_Redeploy_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Redeploy_Virtual_Machine_Scale_Set_Redeploy_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Redeploy_Virtual_Machine_Scale_Set_Redeploy_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ReimageAll_Virtual_Machine_Scale_Set_Reimage_All_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ReimageAll_Virtual_Machine_Scale_Set_Reimage_All_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ReimageAll_Virtual_Machine_Scale_Set_Reimage_All_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_ReimageAll_Virtual_Machine_Scale_Set_Reimage_All_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reimage_Virtual_Machine_Scale_Set_Reimage_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reimage_Virtual_Machine_Scale_Set_Reimage_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reimage_Virtual_Machine_Scale_Set_Reimage_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Reimage_Virtual_Machine_Scale_Set_Reimage_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Restart_Virtual_Machine_Scale_Set_Restart_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Restart_Virtual_Machine_Scale_Set_Restart_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Restart_Virtual_Machine_Scale_Set_Restart_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Restart_Virtual_Machine_Scale_Set_Restart_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_SetOrchestrationServiceState_Virtual_Machine_Scale_Set_Set_Orchestration_Service_State_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_SetOrchestrationServiceState_Virtual_Machine_Scale_Set_Set_Orchestration_Service_State_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_SetOrchestrationServiceState_Virtual_Machine_Scale_Set_Set_Orchestration_Service_State_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_SetOrchestrationServiceState_Virtual_Machine_Scale_Set_Set_Orchestration_Service_State_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Start_Virtual_Machine_Scale_Set_Start_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Start_Virtual_Machine_Scale_Set_Start_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Start_Virtual_Machine_Scale_Set_Start_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Start_Virtual_Machine_Scale_Set_Start_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_UpdateInstances_Virtual_Machine_Scale_Set_Update_Instances_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_UpdateInstances_Virtual_Machine_Scale_Set_Update_Instances_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_UpdateInstances_Virtual_Machine_Scale_Set_Update_Instances_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_UpdateInstances_Virtual_Machine_Scale_Set_Update_Instances_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Update_Virtual_Machine_Scale_Set_Update_Maximum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Update_Virtual_Machine_Scale_Set_Update_Maximum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Update_Virtual_Machine_Scale_Set_Update_Minimum_Set_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/VirtualMachineScaleSets_Update_Virtual_Machine_Scale_Set_Update_Minimum_Set_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-compute/tsp-output/examples/2023-07-01/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Update_An_Aks_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/AKSCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Update_An_Aks_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/AKSCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Update_A_Aml_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/AmlCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Update_A_Aml_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/AmlCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Aks_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicAKSCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Aks_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicAKSCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_A_Aml_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicAmlCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_A_Aml_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicAmlCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_A_Data_Factory_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicDataFactoryCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_A_Data_Factory_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/BasicDataFactoryCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstance.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstance.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute_With_Minimal_Inputs.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstanceMinimal.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute_With_Minimal_Inputs.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstanceMinimal.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute_With_Schedules.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstanceWithSchedules.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Create_An_Compute_Instance_Compute_With_Schedules.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/ComputeInstanceWithSchedules.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Attach_A_Kubernetes_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/KubernetesCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_CreateOrUpdate_Attach_A_Kubernetes_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/createOrUpdate/KubernetesCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Aks_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/AKSCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Aks_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/AKSCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Aml_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/AmlCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Aml_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/AmlCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_An_Compute_Instance.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/ComputeInstance.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_An_Compute_Instance.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/ComputeInstance.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Kubernetes_Compute.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/KubernetesCompute.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Get_Get_A_Kubernetes_Compute.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/get/KubernetesCompute.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/listKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/listKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_ListNodes.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/listNodes.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_ListNodes.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/listNodes.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/patch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/patch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Restart.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/restart.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Restart.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/restart.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Start.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/start.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Start.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/start.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Stop.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/stop.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_Stop.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/stop.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_UpdateCustomServices.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/updateCustomServices.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_UpdateCustomServices.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/updateCustomServices.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_UpdateIdleShutdownSetting.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/updateIdleShutdownSetting.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute_UpdateIdleShutdownSetting.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Compute/updateIdleShutdownSetting.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Blob_W_Account_Key.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureBlobWAccountKey/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Blob_W_Account_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureBlobWAccountKey/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Data_Lake_Gen1_W_Service_Principal.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Data_Lake_Gen1_W_Service_Principal.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Data_Lake_Gen2_W_Service_Principal.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_Data_Lake_Gen2_W_Service_Principal.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_File_Store_W_Account_Key.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureFileWAccountKey/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_CreateOrUpdate_Create_Or_Update_Datastore_Azure_File_Store_W_Account_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/AzureFileWAccountKey/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/listSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastores_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Datastore/listSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListOutboundNetworkDependenciesEndpoints.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ExternalFQDN/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListOutboundNetworkDependenciesEndpoints.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ExternalFQDN/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Features_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Feature/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Features_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Feature/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Features_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Feature/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Features_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Feature/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Auto_Ml_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Auto_Ml_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Auto_Ml_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Auto_Ml_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Auto_Ml_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Auto_Ml_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/AutoMLJob/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Command_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Command_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Command_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Command_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Command_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Command_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/CommandJob/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Pipeline_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Pipeline_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Pipeline_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Pipeline_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Pipeline_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Pipeline_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/PipelineJob/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Sweep_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_CreateOrUpdate_Create_Or_Update_Sweep_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Sweep_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Get_Get_Sweep_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Sweep_Job.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_List_List_Sweep_Job.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/SweepJob/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Cancel.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/cancel.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Cancel.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/cancel.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Jobs_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Job/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_ExportLabels.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/exportLabels.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_ExportLabels.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/exportLabels.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Pause.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/pause.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Pause.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/pause.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Resume.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/resume.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJobs_Resume.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/LabelingJob/resume.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/createOrUpdateRule.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/createOrUpdateRule.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/deleteRule.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/deleteRule.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/getRule.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/getRule.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/listRule.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkSettingsRule_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/listRule.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkProvisions_ProvisionManagedNetwork.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/provision.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetworkProvisions_ProvisionManagedNetwork.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/ManagedNetwork/provision.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListNotebookKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Notebook/listKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListNotebookKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Notebook/listKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_PrepareNotebook.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Notebook/prepare.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_PrepareNotebook.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Notebook/prepare.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_CreateOrUpdate_Create_Or_Update_Kubernetes_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_CreateOrUpdate_Create_Or_Update_Kubernetes_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Get_Get_Kubernetes_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Get_Get_Kubernetes_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_ListSkus_List_Kubernetes_Online_Deployment_Skus.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_ListSkus_List_Kubernetes_Online_Deployment_Skus.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Update_Update_Kubernetes_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Update_Update_Kubernetes_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/KubernetesOnlineDeployment/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_CreateOrUpdate_Create_Or_Update_Managed_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_CreateOrUpdate_Create_Or_Update_Managed_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Get_Get_Managed_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Get_Get_Managed_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_ListSkus_List_Managed_Online_Deployment_Skus.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/listSkus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_ListSkus_List_Managed_Online_Deployment_Skus.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/listSkus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Update_Update_Managed_Online_Deployment.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Update_Update_Managed_Online_Deployment.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/ManagedOnlineDeployment/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_GetLogs.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/getLogs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_GetLogs.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/getLogs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployment/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnections_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateEndpointConnection/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateLinkResources_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateLinkResource/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateLinkResources_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/PrivateLinkResource/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/listBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/listBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_RemoveRegions.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/removeRegions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_RemoveRegions.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/removeRegions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registries/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_CreateOrGetStartPendingUpload.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/createOrGetStartPendingUpload.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_CreateOrGetStartPendingUpload.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/createOrGetStartPendingUpload.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryCodeVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/CodeVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryComponentVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ComponentVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/registryList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataContainer/registryList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_CreateOrGetStartPendingUpload.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/createOrGetStartPendingUpload.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_CreateOrGetStartPendingUpload.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/createOrGetStartPendingUpload.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/registryList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryDataVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/DataVersionBase/registryList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryEnvironmentVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/EnvironmentVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_CreateOrGetStartPendingUpload.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/createOrGetStartPendingUpload.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_CreateOrGetStartPendingUpload.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/createOrGetStartPendingUpload.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Package.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/package.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/RegistryModelVersions_Package.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Registry/ModelVersion/package.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedules_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Schedule/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchDeployments_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchDeployment/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/listKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/listKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/BatchEndpoints_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/BatchEndpoint/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_GetEntity.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/getEntity.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_GetEntity.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/getEntity.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Backfill.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/backfill.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Backfill.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/backfill.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_ListMaterializationJobs.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/listMaterializationJobs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturesetVersions_ListMaterializationJobs.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturesetVersion/listMaterializationJobs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_GetEntity.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/getEntity.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_GetEntity.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/getEntity.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityContainers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityContainer/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/FeaturestoreEntityVersions_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/FeaturestoreEntityVersion/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineDeployment/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineDeployments_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineDeployment/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/createOrUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/createOrUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_GetToken.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/getToken.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_GetToken.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/getToken.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/listKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/listKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_RegenerateKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/regenerateKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_RegenerateKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/regenerateKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/OnlineEndpoints_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/OnlineEndpoint/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Diagnose.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/diagnose.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Diagnose.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/diagnose.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listBySubscription.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listBySubscription.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListNotebookAccessToken.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listNotebookAccessToken.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListNotebookAccessToken.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listNotebookAccessToken.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListStorageAccountKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listStorageAccountKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ListStorageAccountKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/listStorageAccountKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ResyncKeys.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/resyncKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_ResyncKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/resyncKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspaces_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/Workspace/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Create.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/create.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/create.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/delete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/delete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Get.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/get.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/get.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_ListSecrets.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/listSecrets.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_ListSecrets.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/listSecrets.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Update.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/update.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnections_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceConnection/update.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceFeatures_List.json b/packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceFeature/list.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceFeatures_List.json rename to packages/extensions/openapi-to-typespec/test/arm-machinelearningservices/tsp-output/examples/2023-06-01-preview/WorkspaceFeature/list.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_AddUserRole_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_AddUserRole_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Create_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Create_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_RotateKey_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_RotateKey_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataProducts_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Create_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Create_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Delete_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Delete_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Get_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Get_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Update_MinimumSet_Gen.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json rename to packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/examples/DataTypes_Update_MinimumSet_Gen.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/swagger.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/swagger.json index 2e929c02fd..2b99d8a2cb 100644 --- a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/swagger.json +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/swagger-output/swagger.json @@ -119,7 +119,7 @@ "$ref": "./examples/DataProducts_ListBySubscription_MaximumSet_Gen.json" }, "DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_ListBySubscription_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -206,7 +206,7 @@ "$ref": "./examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json" }, "DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -261,7 +261,7 @@ "$ref": "./examples/DataProducts_Get_MaximumSet_Gen.json" }, "DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_Get_MinimumSet_Gen.json" } } }, @@ -337,7 +337,7 @@ "$ref": "./examples/DataProducts_Create_MaximumSet_Gen.json" }, "DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_Create_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -414,7 +414,7 @@ "$ref": "./examples/DataProducts_Update_MaximumSet_Gen.json" }, "DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -479,7 +479,7 @@ "$ref": "./examples/DataProducts_Delete_MaximumSet_Gen.json" }, "DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -544,7 +544,7 @@ "$ref": "./examples/DataProducts_AddUserRole_MaximumSet_Gen.json" }, "DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_AddUserRole_MinimumSet_Gen.json" } } } @@ -596,7 +596,7 @@ "$ref": "./examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json" }, "DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -661,7 +661,7 @@ "$ref": "./examples/DataTypes_Get_MaximumSet_Gen.json" }, "DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_Get_MinimumSet_Gen.json" } } }, @@ -747,7 +747,7 @@ "$ref": "./examples/DataTypes_Create_MaximumSet_Gen.json" }, "DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_Create_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -834,7 +834,7 @@ "$ref": "./examples/DataTypes_Update_MaximumSet_Gen.json" }, "DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -909,7 +909,7 @@ "$ref": "./examples/DataTypes_Delete_MaximumSet_Gen.json" }, "DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -1068,7 +1068,7 @@ "$ref": "./examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json" }, "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json" } } } @@ -1129,7 +1129,7 @@ "$ref": "./examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json" }, "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json" } } } @@ -1191,7 +1191,7 @@ "$ref": "./examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json" }, "DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json" } } } @@ -1249,7 +1249,7 @@ "$ref": "./examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json" }, "DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json" } } } @@ -1307,7 +1307,7 @@ "$ref": "./examples/DataProducts_RotateKey_MaximumSet_Gen.json" }, "DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProducts_RotateKey_MinimumSet_Gen.json" } } } @@ -1394,7 +1394,7 @@ "$ref": "./examples/DataProductsCatalogs_Get_MaximumSet_Gen.json" }, "DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { - "$ref": "./examples/DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen.json" + "$ref": "./examples/DataProductsCatalogs_Get_MinimumSet_Gen.json" } } } diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json new file mode 100644 index 0000000000..7ecf733626 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "operationId": "DataProductsCatalogs_Get", + "parameters": { + "api-version": "2023-11-15", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json new file mode 100644 index 0000000000..32984a0046 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "operationId": "DataProducts_AddUserRole", + "parameters": { + "api-version": "2023-11-15", + "body": { + "dataTypeScope": [ + "scope" + ], + "principalId": "00000000-0000-0000-0000-00000000000", + "principalType": "User", + "role": "Reader", + "roleId": "00000000-0000-0000-0000-00000000000", + "userName": "userName" + }, + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "dataTypeScope": [ + "scope" + ], + "principalId": "00000000-0000-0000-0000-00000000000", + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000", + "roleId": "00000000-0000-0000-0000-00000000000", + "userName": "userName" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json new file mode 100644 index 0000000000..2ea69e94ab --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "operationId": "DataProducts_Create", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "resource": { + "location": "eastus", + "properties": { + "majorVersion": "1.0.0", + "product": "MCC", + "publisher": "Microsoft" + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + } + }, + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + }, + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json new file mode 100644 index 0000000000..4248e15d2d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "DataProducts_Delete", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json new file mode 100644 index 0000000000..39abd7936a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "parameters": { + "api-version": "2023-11-15", + "body": { + "expiryTimeStamp": "2023-08-24T05:35:17.051Z", + "ipAddress": "1.1.1.1", + "startTimeStamp": "2023-08-24T05:35:17.051Z" + }, + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "storageAccountSasToken": "storageAccountSasToken" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json new file mode 100644 index 0000000000..1a0370845c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "DataProducts_Get", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 0000000000..f6c75a1f84 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "DataProducts_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 0000000000..789767c921 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "DataProducts_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json new file mode 100644 index 0000000000..5f896b0f01 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "DataProducts_ListRolesAssignments", + "parameters": { + "api-version": "2023-11-15", + "body": {}, + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "count": 1, + "roleAssignmentResponse": [ + { + "dataTypeScope": [ + "scope" + ], + "principalId": "00000000-0000-0000-0000-00000000000", + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000", + "roleId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json new file mode 100644 index 0000000000..ec8a03137c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "DataProducts_RemoveUserRole", + "parameters": { + "api-version": "2023-11-15", + "body": { + "dataTypeScope": [ + "scope" + ], + "principalId": "00000000-0000-0000-0000-00000000000", + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000", + "roleId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName" + }, + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "204": {} + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json new file mode 100644 index 0000000000..cc85062d1d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "operationId": "DataProducts_RotateKey", + "parameters": { + "api-version": "2023-11-15", + "body": { + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "204": {} + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json new file mode 100644 index 0000000000..ef1715d60f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "operationId": "DataProducts_Update", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "properties": {}, + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "location": "jwlerdaudgxff" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json new file mode 100644 index 0000000000..dc1ffed225 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "operationId": "DataTypes_Create", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resource": {}, + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {}, + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json new file mode 100644 index 0000000000..aa28902546 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "DataTypes_Delete", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json new file mode 100644 index 0000000000..05800b2f8b --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "parameters": { + "api-version": "2023-11-15", + "body": { + "expiryTimeStamp": "2023-08-24T05:35:16.887Z", + "ipAddress": "1.1.1.1", + "startTimeStamp": "2023-08-24T05:35:16.887Z" + }, + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "storageContainerSasToken": "storageContainerSasToken" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json new file mode 100644 index 0000000000..92f277bda0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "DataTypes_Get", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json new file mode 100644 index 0000000000..2ead5d9ce9 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "DataTypes_ListByDataProduct", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json new file mode 100644 index 0000000000..868a1de1ce --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-networkanalytics/tsp-output/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "DataTypes_Update", + "parameters": { + "api-version": "2023-11-15", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "properties": {}, + "resourceGroupName": "aoiresourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "title": "DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Get.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Update.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_ListByTrafficController.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsInterface_ListByTrafficController.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/AssociationsGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Get.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Update.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_ListByTrafficController.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsInterface_ListByTrafficController.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/FrontendsGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Get.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Update.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllersGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllersGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllersGetList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllerInterface_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-servicenetworking/tsp-output/examples/2023-11-01/TrafficControllersGetList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDeployment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDeployment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDevice.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDevice.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDeviceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteDeviceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/DeleteProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalogsRG.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalogsRG.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListBySubscription.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalogsSub.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListBySubscription.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCatalogsSub.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCertificate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCertificate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_ListByCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCertificates.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_ListByCatalog.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetCertificates.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeployment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeployment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_ListByDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeployments.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_ListByDeviceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeployments.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDevice.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDevice.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeviceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeviceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_ListByProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeviceGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_ListByProduct.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDeviceGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_ListByDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDevices.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_ListByDeviceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetDevices.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_ListByCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetImages.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_ListByCatalog.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetImages.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Get.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_ListByCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetProducts.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_ListByCatalog.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/GetProducts.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Update.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Update.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchDevice.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchDevice.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Update.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchDeviceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchDeviceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Update.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PatchProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_ClaimDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostClaimDevices.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_ClaimDevices.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostClaimDevices.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_CountDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_CountDevices.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_CountDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesDeviceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_CountDevices.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesDeviceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_CountDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_CountDevices.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostCountDevicesProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_GenerateDefaultDeviceGroups.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostGenerateDefaultDeviceGroups.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_GenerateDefaultDeviceGroups.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostGenerateDefaultDeviceGroups.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_GenerateCapabilityImage.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostGenerateDeviceCapabilityImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_GenerateCapabilityImage.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostGenerateDeviceCapabilityImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeployments.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeploymentsByCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeployments.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeploymentsByCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeviceGroups.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeviceGroupsCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeviceGroups.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeviceGroupsCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeviceInsights.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeviceInsightsCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDeviceInsights.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDeviceInsightsCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDevicesByCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_ListDevices.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostListDevicesByCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_RetrieveCertChain.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostRetrieveCatalogCertChain.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_RetrieveCertChain.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostRetrieveCatalogCertChain.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_RetrieveProofOfPossessionNonce.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostRetrieveProofOfPossessionNonce.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Certificates_RetrieveProofOfPossessionNonce.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PostRetrieveProofOfPossessionNonce.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutCatalog.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Catalogs_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutCatalog.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDeployment.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Deployments_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDeployment.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDevice.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Devices_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDevice.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDeviceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeviceGroups_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutDeviceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutImage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Images_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutImage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_CreateOrUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutProduct.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/Products_CreateOrUpdate.json rename to packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/examples/PutProduct.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/swagger.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/swagger.json index 450f8ac6c7..f5e165891c 100644 --- a/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/swagger.json +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/swagger-output/swagger.json @@ -94,7 +94,7 @@ }, "x-ms-examples": { "Catalogs_ListBySubscription": { - "$ref": "./examples/Catalogs_ListBySubscription.json" + "$ref": "./examples/GetCatalogsSub.json" } }, "x-ms-pageable": { @@ -136,7 +136,7 @@ }, "x-ms-examples": { "Catalogs_ListByResourceGroup": { - "$ref": "./examples/Catalogs_ListByResourceGroup.json" + "$ref": "./examples/GetCatalogsRG.json" } }, "x-ms-pageable": { @@ -186,7 +186,7 @@ }, "x-ms-examples": { "Catalogs_Get": { - "$ref": "./examples/Catalogs_Get.json" + "$ref": "./examples/GetCatalog.json" } } }, @@ -257,7 +257,7 @@ }, "x-ms-examples": { "Catalogs_CreateOrUpdate": { - "$ref": "./examples/Catalogs_CreateOrUpdate.json" + "$ref": "./examples/PutCatalog.json" } }, "x-ms-long-running-operation-options": { @@ -315,7 +315,7 @@ }, "x-ms-examples": { "Catalogs_Update": { - "$ref": "./examples/Catalogs_Update.json" + "$ref": "./examples/PatchCatalog.json" } } }, @@ -374,7 +374,7 @@ }, "x-ms-examples": { "Catalogs_Delete": { - "$ref": "./examples/Catalogs_Delete.json" + "$ref": "./examples/DeleteCatalog.json" } }, "x-ms-long-running-operation-options": { @@ -460,7 +460,7 @@ }, "x-ms-examples": { "Certificates_ListByCatalog": { - "$ref": "./examples/Certificates_ListByCatalog.json" + "$ref": "./examples/GetCertificates.json" } }, "x-ms-pageable": { @@ -517,7 +517,7 @@ }, "x-ms-examples": { "Certificates_Get": { - "$ref": "./examples/Certificates_Get.json" + "$ref": "./examples/GetCertificate.json" } } } @@ -571,7 +571,7 @@ }, "x-ms-examples": { "Certificates_RetrieveCertChain": { - "$ref": "./examples/Certificates_RetrieveCertChain.json" + "$ref": "./examples/PostRetrieveCatalogCertChain.json" } } } @@ -634,7 +634,7 @@ }, "x-ms-examples": { "Certificates_RetrieveProofOfPossessionNonce": { - "$ref": "./examples/Certificates_RetrieveProofOfPossessionNonce.json" + "$ref": "./examples/PostRetrieveProofOfPossessionNonce.json" } } } @@ -681,7 +681,7 @@ }, "x-ms-examples": { "Catalogs_CountDevices": { - "$ref": "./examples/Catalogs_CountDevices.json" + "$ref": "./examples/PostCountDevicesCatalog.json" } } } @@ -763,7 +763,7 @@ }, "x-ms-examples": { "Images_ListByCatalog": { - "$ref": "./examples/Images_ListByCatalog.json" + "$ref": "./examples/GetImages.json" } }, "x-ms-pageable": { @@ -820,7 +820,7 @@ }, "x-ms-examples": { "Images_Get": { - "$ref": "./examples/Images_Get.json" + "$ref": "./examples/GetImage.json" } } }, @@ -898,7 +898,7 @@ }, "x-ms-examples": { "Image_CreateOrUpdate": { - "$ref": "./examples/Images_CreateOrUpdate.json" + "$ref": "./examples/PutImage.json" } }, "x-ms-long-running-operation-options": { @@ -968,7 +968,7 @@ }, "x-ms-examples": { "Images_Delete": { - "$ref": "./examples/Images_Delete.json" + "$ref": "./examples/DeleteImage.json" } }, "x-ms-long-running-operation-options": { @@ -1054,7 +1054,7 @@ }, "x-ms-examples": { "Catalogs_ListDeployments": { - "$ref": "./examples/Catalogs_ListDeployments.json" + "$ref": "./examples/PostListDeploymentsByCatalog.json" } }, "x-ms-pageable": { @@ -1148,7 +1148,7 @@ }, "x-ms-examples": { "Catalogs_ListDeviceGroups": { - "$ref": "./examples/Catalogs_ListDeviceGroups.json" + "$ref": "./examples/PostListDeviceGroupsCatalog.json" } }, "x-ms-pageable": { @@ -1233,7 +1233,7 @@ }, "x-ms-examples": { "Catalogs_ListDeviceInsights": { - "$ref": "./examples/Catalogs_ListDeviceInsights.json" + "$ref": "./examples/PostListDeviceInsightsCatalog.json" } }, "x-ms-pageable": { @@ -1318,7 +1318,7 @@ }, "x-ms-examples": { "Catalogs_ListDevices": { - "$ref": "./examples/Catalogs_ListDevices.json" + "$ref": "./examples/PostListDevicesByCatalog.json" } }, "x-ms-pageable": { @@ -1368,7 +1368,7 @@ }, "x-ms-examples": { "Products_ListByCatalog": { - "$ref": "./examples/Products_ListByCatalog.json" + "$ref": "./examples/GetProducts.json" } }, "x-ms-pageable": { @@ -1426,7 +1426,7 @@ }, "x-ms-examples": { "Products_Get": { - "$ref": "./examples/Products_Get.json" + "$ref": "./examples/GetProduct.json" } } }, @@ -1505,7 +1505,7 @@ }, "x-ms-examples": { "Products_CreateOrUpdate": { - "$ref": "./examples/Products_CreateOrUpdate.json" + "$ref": "./examples/PutProduct.json" } }, "x-ms-long-running-operation-options": { @@ -1585,7 +1585,7 @@ }, "x-ms-examples": { "Products_Update": { - "$ref": "./examples/Products_Update.json" + "$ref": "./examples/PatchProduct.json" } }, "x-ms-long-running-operation-options": { @@ -1656,7 +1656,7 @@ }, "x-ms-examples": { "Products_Delete": { - "$ref": "./examples/Products_Delete.json" + "$ref": "./examples/DeleteProduct.json" } }, "x-ms-long-running-operation-options": { @@ -1715,7 +1715,7 @@ }, "x-ms-examples": { "Products_CountDevices": { - "$ref": "./examples/Products_CountDevices.json" + "$ref": "./examples/PostCountDevicesProduct.json" } } } @@ -1805,7 +1805,7 @@ }, "x-ms-examples": { "DeviceGroups_ListByProduct": { - "$ref": "./examples/DeviceGroups_ListByProduct.json" + "$ref": "./examples/GetDeviceGroups.json" } }, "x-ms-pageable": { @@ -1871,7 +1871,7 @@ }, "x-ms-examples": { "DeviceGroups_Get": { - "$ref": "./examples/DeviceGroups_Get.json" + "$ref": "./examples/GetDeviceGroup.json" } } }, @@ -1958,7 +1958,7 @@ }, "x-ms-examples": { "DeviceGroups_CreateOrUpdate": { - "$ref": "./examples/DeviceGroups_CreateOrUpdate.json" + "$ref": "./examples/PutDeviceGroup.json" } }, "x-ms-long-running-operation-options": { @@ -2046,7 +2046,7 @@ }, "x-ms-examples": { "DeviceGroups_Update": { - "$ref": "./examples/DeviceGroups_Update.json" + "$ref": "./examples/PatchDeviceGroup.json" } }, "x-ms-long-running-operation-options": { @@ -2125,7 +2125,7 @@ }, "x-ms-examples": { "DeviceGroups_Delete": { - "$ref": "./examples/DeviceGroups_Delete.json" + "$ref": "./examples/DeleteDeviceGroup.json" } }, "x-ms-long-running-operation-options": { @@ -2209,7 +2209,7 @@ }, "x-ms-examples": { "DeviceGroups_ClaimDevices": { - "$ref": "./examples/DeviceGroups_ClaimDevices.json" + "$ref": "./examples/PostClaimDevices.json" } }, "x-ms-long-running-operation-options": { @@ -2276,7 +2276,7 @@ }, "x-ms-examples": { "DeviceGroups_CountDevices": { - "$ref": "./examples/DeviceGroups_CountDevices.json" + "$ref": "./examples/PostCountDevicesDeviceGroup.json" } } } @@ -2374,7 +2374,7 @@ }, "x-ms-examples": { "Deployments_ListByDeviceGroup": { - "$ref": "./examples/Deployments_ListByDeviceGroup.json" + "$ref": "./examples/GetDeployments.json" } }, "x-ms-pageable": { @@ -2447,7 +2447,7 @@ }, "x-ms-examples": { "Deployments_Get": { - "$ref": "./examples/Deployments_Get.json" + "$ref": "./examples/GetDeployment.json" } } }, @@ -2541,7 +2541,7 @@ }, "x-ms-examples": { "Deployments_CreateOrUpdate": { - "$ref": "./examples/Deployments_CreateOrUpdate.json" + "$ref": "./examples/PutDeployment.json" } }, "x-ms-long-running-operation-options": { @@ -2627,7 +2627,7 @@ }, "x-ms-examples": { "Deployments_Delete": { - "$ref": "./examples/Deployments_Delete.json" + "$ref": "./examples/DeleteDeployment.json" } }, "x-ms-long-running-operation-options": { @@ -2694,7 +2694,7 @@ }, "x-ms-examples": { "Devices_ListByDeviceGroup": { - "$ref": "./examples/Devices_ListByDeviceGroup.json" + "$ref": "./examples/GetDevices.json" } }, "x-ms-pageable": { @@ -2768,7 +2768,7 @@ }, "x-ms-examples": { "Devices_Get": { - "$ref": "./examples/Devices_Get.json" + "$ref": "./examples/GetDevice.json" } } }, @@ -2863,7 +2863,7 @@ }, "x-ms-examples": { "Devices_CreateOrUpdate": { - "$ref": "./examples/Devices_CreateOrUpdate.json" + "$ref": "./examples/PutDevice.json" } }, "x-ms-long-running-operation-options": { @@ -2959,7 +2959,7 @@ }, "x-ms-examples": { "Devices_Update": { - "$ref": "./examples/Devices_Update.json" + "$ref": "./examples/PatchDevice.json" } }, "x-ms-long-running-operation-options": { @@ -3046,7 +3046,7 @@ }, "x-ms-examples": { "Devices_Delete": { - "$ref": "./examples/Devices_Delete.json" + "$ref": "./examples/DeleteDevice.json" } }, "x-ms-long-running-operation-options": { @@ -3144,7 +3144,7 @@ }, "x-ms-examples": { "Devices_GenerateCapabilityImage": { - "$ref": "./examples/Devices_GenerateCapabilityImage.json" + "$ref": "./examples/PostGenerateDeviceCapabilityImage.json" } }, "x-ms-long-running-operation-options": { @@ -3203,7 +3203,7 @@ }, "x-ms-examples": { "Products_GenerateDefaultDeviceGroups": { - "$ref": "./examples/Products_GenerateDefaultDeviceGroups.json" + "$ref": "./examples/PostGenerateDefaultDeviceGroups.json" } }, "x-ms-pageable": { diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteCatalog.json new file mode 100644 index 0000000000..9cf48d1b3a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteCatalog.json @@ -0,0 +1,24 @@ +{ + "operationId": "Catalogs_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeployment.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeployment.json new file mode 100644 index 0000000000..85f53cd0d5 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeployment.json @@ -0,0 +1,27 @@ +{ + "operationId": "Deployments_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deploymentName": "MyDeploymentName1", + "deviceGroupName": "DeviceGroupName1", + "productName": "MyProductName1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Deployments_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDevice.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDevice.json new file mode 100644 index 0000000000..a1f3969be5 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDevice.json @@ -0,0 +1,27 @@ +{ + "operationId": "Devices_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "DeviceGroupName1", + "deviceName": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "productName": "MyProductName1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeviceGroup.json new file mode 100644 index 0000000000..1c42b931ca --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteDeviceGroup.json @@ -0,0 +1,26 @@ +{ + "operationId": "DeviceGroups_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteImage.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteImage.json new file mode 100644 index 0000000000..8457e3ba33 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteImage.json @@ -0,0 +1,25 @@ +{ + "operationId": "Images_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "imageName": "imageID", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Images_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteProduct.json new file mode 100644 index 0000000000..ce45bfdb5a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/DeleteProduct.json @@ -0,0 +1,25 @@ +{ + "operationId": "Products_Delete", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProductName1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_Delete", + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": { + "description": "Resource deleted successfully." + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalog.json new file mode 100644 index 0000000000..ffff8db7cc --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalog.json @@ -0,0 +1,21 @@ +{ + "operationId": "Catalogs_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsRG.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsRG.json new file mode 100644 index 0000000000..f52192cbc0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsRG.json @@ -0,0 +1,30 @@ +{ + "operationId": "Catalogs_ListByResourceGroup", + "parameters": { + "api-version": "2022-09-01-preview", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListByResourceGroup", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + }, + { + "name": "MyCatalog2", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog2", + "location": "global" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsSub.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsSub.json new file mode 100644 index 0000000000..2b1412903d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCatalogsSub.json @@ -0,0 +1,29 @@ +{ + "operationId": "Catalogs_ListBySubscription", + "parameters": { + "api-version": "2022-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListBySubscription", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + }, + { + "name": "MyCatalog2", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup2/providers/Microsoft.AzureSphere/catalogs/MyCatalog2", + "location": "global" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificate.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificate.json new file mode 100644 index 0000000000..05e8533ac8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificate.json @@ -0,0 +1,17 @@ +{ + "operationId": "Certificates_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "serialNumber": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Certificates_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": {} + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificates.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificates.json new file mode 100644 index 0000000000..ba01741148 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetCertificates.json @@ -0,0 +1,18 @@ +{ + "operationId": "Certificates_ListByCatalog", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Certificates_ListByCatalog", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployment.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployment.json new file mode 100644 index 0000000000..63a1b85466 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployment.json @@ -0,0 +1,38 @@ +{ + "operationId": "Deployments_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deploymentName": "MyDeployment1", + "deviceGroupName": "myDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Deployments_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyDeployment1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/deviceGroups/MyDeviceGroup1/deployments/MyDeployment1", + "properties": { + "deployedImages": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images/MyImage1", + "properties": { + "description": "description", + "componentId": "componentId", + "image": "dGVzdGltYWdl", + "imageType": "ImageType", + "provisioningState": "Succeeded", + "regionalDataBoundary": "None", + "uri": "imageUri" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployments.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployments.json new file mode 100644 index 0000000000..ad770c94f6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeployments.json @@ -0,0 +1,42 @@ +{ + "operationId": "Deployments_ListByDeviceGroup", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "myDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Deployments_ListByDeviceGroup", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyDeployment1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/deviceGroups/MyDeviceGroup1/deployments/MyDeployment1", + "properties": { + "deployedImages": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images/MyImage1", + "properties": { + "description": "description", + "componentId": "componentId", + "image": "dGVzdGltYWdl", + "imageType": "ImageType", + "provisioningState": "Succeeded", + "regionalDataBoundary": "None", + "uri": "imageUri" + } + } + ], + "deploymentDateUtc": "2022-09-30T21:51:39.2698729Z" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevice.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevice.json new file mode 100644 index 0000000000..a645c9e293 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevice.json @@ -0,0 +1,29 @@ +{ + "operationId": "Devices_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "myDeviceGroup1", + "deviceName": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/devices/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "properties": { + "chipSku": "MyChipSku1", + "lastAvailableOsVersion": "AvailableOsVersion1", + "lastInstalledOsVersion": "InstalledOsVersion1", + "lastOsUpdateUtc": "2022-09-30T23:54:21.96Z", + "lastUpdateRequestUtc": "2022-10-01T23:54:21.96Z" + } + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroup.json new file mode 100644 index 0000000000..9b867336b3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroup.json @@ -0,0 +1,26 @@ +{ + "operationId": "DeviceGroups_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", + "properties": { + "description": "The description of MyDeviceGroup1", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroups.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroups.json new file mode 100644 index 0000000000..dc7a9bc1c4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDeviceGroups.json @@ -0,0 +1,30 @@ +{ + "operationId": "DeviceGroups_ListByProduct", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_ListByProduct", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyDeviceGroup1", + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1" + }, + { + "name": "MyDeviceGroup2", + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/Products/MyProduct2/devicegroups/MyDeviceGroup2" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevices.json new file mode 100644 index 0000000000..fd2f8ca567 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetDevices.json @@ -0,0 +1,29 @@ +{ + "operationId": "Devices_ListByDeviceGroup", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "myDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_ListByDeviceGroup", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/devices/00000000-0000-0000-0000-000000000001", + "properties": {} + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/devices/00000000-0000-0000-0000-000000000002", + "properties": {} + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImage.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImage.json new file mode 100644 index 0000000000..e63b7d375c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImage.json @@ -0,0 +1,17 @@ +{ + "operationId": "Images_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "imageName": "myImageId", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Images_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": {} + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImages.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImages.json new file mode 100644 index 0000000000..c84863660c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetImages.json @@ -0,0 +1,27 @@ +{ + "operationId": "Images_ListByCatalog", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Images_ListByCatalog", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyImage1", + "id": "00000000-0000-0000-0000-000000000001" + }, + { + "name": "MyImage2", + "id": "00000000-0000-0000-0000-000000000002" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProduct.json new file mode 100644 index 0000000000..8acc34e547 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProduct.json @@ -0,0 +1,23 @@ +{ + "operationId": "Products_Get", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_Get", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "microsoft.azureSphere/catalogs/products", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1", + "properties": { + "description": "product description." + } + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProducts.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProducts.json new file mode 100644 index 0000000000..2bc3059d09 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/GetProducts.json @@ -0,0 +1,29 @@ +{ + "operationId": "Products_ListByCatalog", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_ListByCatalog", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyProduct1", + "type": "Microsoft.AzureSphere/catalogs/products", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1" + }, + { + "name": "MyProduct2", + "type": "Microsoft.AzureSphere/catalogs/products", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct2" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchCatalog.json new file mode 100644 index 0000000000..5ecd11ed68 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchCatalog.json @@ -0,0 +1,25 @@ +{ + "operationId": "Catalogs_Update", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "properties": {}, + "resource": { + "location": "global" + }, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_Update", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDevice.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDevice.json new file mode 100644 index 0000000000..309755fae6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDevice.json @@ -0,0 +1,36 @@ +{ + "operationId": "Devices_Update", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "deviceName": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "productName": "MyProduct1", + "properties": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_Update", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "Microsoft.AzureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1/device/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "properties": { + "chipSku": "MyChipSku1", + "lastAvailableOsVersion": "AvailableOsVersion1", + "lastInstalledOsVersion": "InstalledOsVersion1", + "lastOsUpdateUtc": "2022-10-30T23:54:21.96Z", + "lastUpdateRequestUtc": "2022-10-01T23:54:21.96Z" + } + } + }, + "202": { + "description": "The device update started successfully.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDeviceGroup.json new file mode 100644 index 0000000000..ae6b769484 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchDeviceGroup.json @@ -0,0 +1,33 @@ +{ + "operationId": "DeviceGroups_Update", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "properties": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_Update", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", + "properties": { + "description": "The description of MyDeviceGroup1", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchProduct.json new file mode 100644 index 0000000000..cd7ea772c3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PatchProduct.json @@ -0,0 +1,30 @@ +{ + "operationId": "Products_Update", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProduct1", + "properties": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_Update", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "microsoft.azureSphere/catalogs/products", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1", + "properties": { + "description": "Product description." + } + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostClaimDevices.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostClaimDevices.json new file mode 100644 index 0000000000..4b8d8dc27f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostClaimDevices.json @@ -0,0 +1,25 @@ +{ + "operationId": "DeviceGroups_ClaimDevices", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "claimDevicesRequest": { + "deviceIdentifiers": [ + "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_ClaimDevices", + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesCatalog.json new file mode 100644 index 0000000000..8e98c0b30a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesCatalog.json @@ -0,0 +1,18 @@ +{ + "operationId": "Catalogs_CountDevices", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_CountDevices", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": 3 + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesDeviceGroup.json new file mode 100644 index 0000000000..14b1a2758c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesDeviceGroup.json @@ -0,0 +1,20 @@ +{ + "operationId": "DeviceGroups_CountDevices", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_CountDevices", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": 3 + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesProduct.json new file mode 100644 index 0000000000..74b9469a62 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostCountDevicesProduct.json @@ -0,0 +1,21 @@ +{ + "operationId": "Products_CountDevices", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productGroupName": "MyProduct1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_CountDevices", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": 3 + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDefaultDeviceGroups.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDefaultDeviceGroups.json new file mode 100644 index 0000000000..6c834aff44 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDefaultDeviceGroups.json @@ -0,0 +1,40 @@ +{ + "operationId": "Products_GenerateDefaultDeviceGroups", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_GenerateDefaultDeviceGroups", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyDeviceGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", + "properties": { + "description": "Device group description 1", + "allowCrashDumpsCollection": "Enabled", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + }, + { + "name": "MyDeviceGroup2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup2", + "properties": { + "description": "Device group description 2", + "allowCrashDumpsCollection": "Enabled", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDeviceCapabilityImage.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDeviceCapabilityImage.json new file mode 100644 index 0000000000..c125e98e70 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostGenerateDeviceCapabilityImage.json @@ -0,0 +1,32 @@ +{ + "operationId": "Devices_GenerateCapabilityImage", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "myDeviceGroup1", + "deviceName": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "generateDeviceCapabilityRequest": { + "capabilities": [ + "ApplicationDevelopment" + ] + }, + "productName": "MyProduct1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_GenerateCapabilityImage", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "image": "TheDeviceCapabilityImage" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeploymentsByCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeploymentsByCatalog.json new file mode 100644 index 0000000000..d64d0282cb --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeploymentsByCatalog.json @@ -0,0 +1,27 @@ +{ + "operationId": "Catalogs_ListDeployments", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListDeployments", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "DeploymentName1111", + "properties": {} + }, + { + "name": "DeploymentName1121", + "properties": {} + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceGroupsCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceGroupsCatalog.json new file mode 100644 index 0000000000..2ab4b6b559 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceGroupsCatalog.json @@ -0,0 +1,32 @@ +{ + "operationId": "Catalogs_ListDeviceGroups", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "listDeviceGroupsRequest": { + "deviceGroupName": "MyDeviceGroup1" + }, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListDeviceGroups", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "MyDeviceGroup1", + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1" + }, + { + "name": "MyDeviceGroup2", + "type": "microsoft.azureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct2/devicegroups/MyDeviceGroup2" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceInsightsCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceInsightsCatalog.json new file mode 100644 index 0000000000..72fe42e06e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDeviceInsightsCatalog.json @@ -0,0 +1,40 @@ +{ + "operationId": "Catalogs_ListDeviceInsights", + "parameters": { + "$top": 10, + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListDeviceInsights", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "description": "eventDescription1", + "deviceId": "eventIdentifier1", + "endTimestampUtc": "2021-09-30T23:54:21.96Z", + "eventCategory": "eventCategory1", + "eventClass": "eventClass1", + "eventCount": 1, + "eventType": "eventType1", + "startTimestampUtc": "2021-09-30T21:51:39.26Z" + }, + { + "description": "eventDescription2", + "deviceId": "eventIdentifier2", + "endTimestampUtc": "2022-12-07T17:34:12.50Z", + "eventCategory": "eventCategory2", + "eventClass": "eventClass2", + "eventCount": 1, + "eventType": "eventType2", + "startTimestampUtc": "2022-12-06T12:41:39.26Z" + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDevicesByCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDevicesByCatalog.json new file mode 100644 index 0000000000..7f72d39e0c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostListDevicesByCatalog.json @@ -0,0 +1,27 @@ +{ + "operationId": "Catalogs_ListDevices", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_ListDevices", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": [ + { + "name": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "properties": {} + }, + { + "name": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "properties": {} + } + ] + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveCatalogCertChain.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveCatalogCertChain.json new file mode 100644 index 0000000000..07608e0fd6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveCatalogCertChain.json @@ -0,0 +1,19 @@ +{ + "operationId": "Certificates_RetrieveCertChain", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "resourceGroupName": "MyResourceGroup1", + "serialNumber": "active", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Certificates_RetrieveCertChain", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "certificateChain": "ABynaryRepresentationOfTheRequestedCatalogCertificateChain" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveProofOfPossessionNonce.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveProofOfPossessionNonce.json new file mode 100644 index 0000000000..d3a73c7b0f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PostRetrieveProofOfPossessionNonce.json @@ -0,0 +1,22 @@ +{ + "operationId": "Certificates_RetrieveProofOfPossessionNonce", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "proofOfPossessionNonceRequest": { + "proofOfPossessionNonce": "proofOfPossessionNonce" + }, + "resourceGroupName": "MyResourceGroup1", + "serialNumber": "active", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Certificates_RetrieveProofOfPossessionNonce", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "certificate": "bXliYXNlNjRzdHJpbmc=" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutCatalog.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutCatalog.json new file mode 100644 index 0000000000..12fbb285cf --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutCatalog.json @@ -0,0 +1,34 @@ +{ + "operationId": "Catalogs_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "location": "global", + "resource": { + "location": "global" + }, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Catalogs_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "MyCatalog1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", + "location": "global" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeployment.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeployment.json new file mode 100644 index 0000000000..ef3ca50bbc --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeployment.json @@ -0,0 +1,47 @@ +{ + "operationId": "Deployments_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deploymentName": "MyDeployment1", + "deviceGroupName": "myDeviceGroup1", + "productName": "MyProduct1", + "resource": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Deployments_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyDeployment1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/deviceGroups/MyDeviceGroup1/deployments/MyDeployment1", + "properties": { + "deployedImages": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images/MyImage1", + "properties": { + "image": "MyImage", + "imageId": "00000000-0000-0000-0000-000000000000", + "imageType": "InvalidImageType", + "provisioningState": "Succeeded", + "regionalDataBoundary": "None", + "uri": "imageUri" + } + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "MyDeployment1", + "type": "Microsoft.AzureSphere/catalogs/products/deviceGroups/deployments", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/deployments/MyDeployment1" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDevice.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDevice.json new file mode 100644 index 0000000000..0361bfdd14 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDevice.json @@ -0,0 +1,34 @@ +{ + "operationId": "Devices_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "myDeviceGroup1", + "deviceName": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "productName": "MyProduct1", + "resource": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Devices_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/devices/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "properties": { + "chipSku": "MyChipSku1" + } + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "Microsoft.AzureSphere/catalogs/products/deviceGroups/devices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1/devices/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeviceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeviceGroup.json new file mode 100644 index 0000000000..3244ad81aa --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutDeviceGroup.json @@ -0,0 +1,46 @@ +{ + "operationId": "DeviceGroups_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "deviceGroupName": "MyDeviceGroup1", + "productName": "MyProduct1", + "resource": { + "properties": { + "description": "Description for MyDeviceGroup1", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + }, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "DeviceGroups_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "type": "microsoft.AzureSphere/catalogs/products/devicegroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", + "properties": { + "description": "Description of MyDeviceGroup1", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "MyDeviceId1", + "type": "Microsoft.AzureSphere/catalogs/products/deviceGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1", + "properties": { + "description": "Description of MyDeviceGroup1", + "osFeedType": "Retail", + "updatePolicy": "UpdateAll" + } + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutImage.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutImage.json new file mode 100644 index 0000000000..4afa2137a1 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutImage.json @@ -0,0 +1,34 @@ +{ + "operationId": "Images_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "imageName": "default", + "resource": { + "properties": { + "image": "bXliYXNlNjRzdHJpbmc=" + } + }, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Image_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyProduct1", + "type": "Microsoft.AzureSphere/catalogs/images", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images/default" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "MyProduct1", + "type": "Microsoft.AzureSphere/catalogs/images", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images/default" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutProduct.json b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutProduct.json new file mode 100644 index 0000000000..cde11d3020 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-sphere/tsp-output/examples/2022-09-01-preview/PutProduct.json @@ -0,0 +1,30 @@ +{ + "operationId": "Products_CreateOrUpdate", + "parameters": { + "api-version": "2022-09-01-preview", + "catalogName": "MyCatalog1", + "productName": "MyProduct1", + "resource": {}, + "resourceGroupName": "MyResourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Products_CreateOrUpdate", + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "name": "MyProduct1", + "type": "Microsoft.AzureSphere/catalogs/products", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "body": { + "name": "MyProduct1", + "type": "Microsoft.AzureSphere/catalogs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1" + } + } + } +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ClearLegalHold.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersClearLegalHold.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ClearLegalHold.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersClearLegalHold.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_DeleteImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersDeleteImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_DeleteImmutabilityPolicy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersDeleteImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ExtendImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersExtendImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ExtendImmutabilityPolicy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersExtendImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Get_Get_Containers.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Get_Get_Containers.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_GetImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGetImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_GetImmutabilityPolicy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGetImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Get_Get_Blob_Containers_Get_With_Allow_Protected_Append_Writes_All.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Get_Get_Blob_Containers_Get_With_Allow_Protected_Append_Writes_All.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Lease_Acquire_A_Lease_On_A_Container.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLease_Acquire.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Lease_Acquire_A_Lease_On_A_Container.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLease_Acquire.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Lease_Break_A_Lease_On_A_Container.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLease_Break.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Lease_Break_A_Lease_On_A_Container.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLease_Break.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_List_List_Containers.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_List_List_Containers.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_LockImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLockImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_LockImmutabilityPolicy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersLockImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Update.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Containers.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Containers.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Container_With_Default_Encryption_Scope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutDefaultEncryptionScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Container_With_Default_Encryption_Scope.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutDefaultEncryptionScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy_With_Allow_Protected_Append_Writes_All.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy_With_Allow_Protected_Append_Writes_All.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Container_With_Object_Level_Worm.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutObjectLevelWorm.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_Create_Put_Container_With_Object_Level_Worm.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersPutObjectLevelWorm.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersSetLegalHold.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersSetLegalHold.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers_With_Allow_Protected_Append_Writes_All.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers_With_Allow_Protected_Append_Writes_All.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RestoreBlobRanges.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobRangesRestore.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RestoreBlobRanges.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobRangesRestore.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_GetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_GetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Put_Blob_Services.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Put_Blob_Services.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Blob_Services_Put_Allow_Permanent_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPutAllowPermanentDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Blob_Services_Put_Allow_Permanent_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPutAllowPermanentDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Blob_Services_Put_Last_Access_Time_Based_Tracking.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPutLastAccessTimeBasedTracking.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServices_SetServiceProperties_Blob_Services_Put_Last_Access_Time_Based_Tracking.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/BlobServicesPutLastAccessTimeBasedTracking.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedAccounts_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedAccountGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedAccounts_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedAccountGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_List_List_Deleted_Containers.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedBlobContainersList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_List_List_Deleted_Containers.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedBlobContainersList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Deleted_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedFileSharesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Deleted_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/DeletedFileSharesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_GetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_GetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services_Enable_Smb_Multichannel.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut_EnableSMBMultichannel.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services_Enable_Smb_Multichannel.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut_EnableSMBMultichannel.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services_Enable_Secure_Smb_Features.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut_EnableSecureSmbFeatures.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServices_SetServiceProperties_Put_File_Services_Enable_Secure_Smb_Features.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileServicesPut_EnableSecureSmbFeatures.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Update_Update_Share_Acls.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileShareAclsPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Update_Update_Share_Acls.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileShareAclsPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Share_Snapshots.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileShareSnapshotsList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Share_Snapshots.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileShareSnapshotsList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Get_Get_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Get_Get_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Get_Get_Share_Stats.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesGet_Stats.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Get_Get_Share_Stats.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesGet_Stats.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Lease_Acquire_A_Lease_On_A_Share.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesLease_Acquire.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Lease_Acquire_A_Lease_On_A_Share.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesLease_Acquire.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Lease_Break_A_Lease_On_A_Share.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesLease_Break.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Lease_Break_A_Lease_On_A_Share.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesLease_Break.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_List_List_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Update_Update_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Update_Update_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Put_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Put_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Put_Shares_With_Access_Tier.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut_AccessTier.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Put_Shares_With_Access_Tier.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut_AccessTier.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Create_Nfs_Shares.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut_NFS.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Create_Create_Nfs_Shares.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesPut_NFS.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Restore.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesRestore.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShares_Restore.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/FileSharesRestore.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_CreateOrUpdate_Create_Local_User.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserCreate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_CreateOrUpdate_Create_Local_User.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserCreate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserListKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserListKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_RegeneratePassword.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserRegeneratePassword.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_RegeneratePassword.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserRegeneratePassword.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_CreateOrUpdate_Update_Local_User.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_CreateOrUpdate_Update_Local_User.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUserUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUsersList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsers_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/LocalUsersList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Nfs_V3_Account_Create.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/NfsV3AccountCreate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Nfs_V3_Account_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/NfsV3AccountCreate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ObjectLevelWorm.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/ObjectLevelWormContainerMigration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainers_ObjectLevelWorm.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/ObjectLevelWormContainerMigration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Update.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Create_Queue_Operation_Put.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Create_Queue_Operation_Put.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Create_Queue_Operation_Put_With_Metadata.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPutWithMetadata.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Queue_Create_Queue_Operation_Put_With_Metadata.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueOperationPutWithMetadata.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_GetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_GetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_SetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServices_SetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/QueueServicesPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_AbortHierarchicalNamespaceMigration.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountAbortHierarchicalNamespaceMigration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_AbortHierarchicalNamespaceMigration.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountAbortHierarchicalNamespaceMigration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Aad.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateAllowedCopyScopeToAAD.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Aad.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateAllowedCopyScopeToAAD.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Private_Link.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Private_Link.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Disallow_Public_Network_Access.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDisallowPublicNetworkAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Disallow_Public_Network_Access.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDisallowPublicNetworkAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Azure_Dns_Zone.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Azure_Dns_Zone.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Standard.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDnsEndpointTypeToStandard.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Standard.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateDnsEndpointTypeToStandard.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Enable_Public_Network_Access.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateEnablePublicNetworkAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Enable_Public_Network_Access.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateEnablePublicNetworkAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Destination.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Destination.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Source.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Premium_Block_Blob_Storage.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreatePremiumBlockBlobStorage.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_Premium_Block_Blob_Storage.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreatePremiumBlockBlobStorage.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Encryption_Identity_With_Cmk.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Encryption_Identity_With_Cmk.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Identity_With_Federated_Identity_Client_Id.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Identity_With_Federated_Identity_Client_Id.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_With_Immutability_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateWithImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Create_Storage_Account_Create_With_Immutability_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountCreateWithImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteBlobInventoryPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteBlobInventoryPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteManagementPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteManagementPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteObjectReplicationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeleteObjectReplicationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeletePrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountDeletePrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Enable_Ad.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEnableAD.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Enable_Ad.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEnableAD.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Enable_Cmk.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEnableCMK.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Enable_Cmk.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEnableCMK.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEncryptionScopeList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountEncryptionScopeList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Failover_Storage_Account_Failover.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountFailover.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Failover_Storage_Account_Failover.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountFailover.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Failover_Storage_Account_Failover_Planned.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountFailoverPlanned.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Failover_Storage_Account_Failover_Planned.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountFailoverPlanned.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Async_Sku_Conversion_Status.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetAsyncSkuConversionStatus.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Async_Sku_Conversion_Status.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetAsyncSkuConversionStatus.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetBlobInventoryPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetBlobInventoryPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetEncryptionScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetEncryptionScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetManagementPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetManagementPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetObjectReplicationPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetObjectReplicationPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetProperties.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetProperties.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Enabled.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPropertiesCMKEnabled.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Enabled.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPropertiesCMKEnabled.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Version_Expiration_Time.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Version_Expiration_Time.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_HierarchicalNamespaceMigration.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountHierarchicalNamespaceMigration.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_HierarchicalNamespaceMigration.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountHierarchicalNamespaceMigration.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListAccountSAS.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListAccountSAS.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListAccountSAS.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListAccountSAS.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListBlobInventoryPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListBlobInventoryPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListByResourceGroup.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListByResourceGroup.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListByResourceGroup.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListObjectReplicationPolicies.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListObjectReplicationPolicies.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListPrivateEndpointConnections.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListPrivateEndpointConnections.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateLinkResources_ListByStorageAccount.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListPrivateLinkResources.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateLinkResources_ListByStorageAccount.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListPrivateLinkResources.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListServiceSAS.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListServiceSAS.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_ListServiceSAS.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountListServiceSAS.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Patch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPatchEncryptionScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Patch.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPatchEncryptionScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutEncryptionScope.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutEncryptionScope.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope_With_Infrastructure_Encryption.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope_With_Infrastructure_Encryption.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Put.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutPrivateEndpointConnection.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/PrivateEndpointConnections_Put.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountPutPrivateEndpointConnection.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Kerb_Key.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRegenerateKerbKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Kerb_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRegenerateKerbKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Key.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRegenerateKey.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Key.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRegenerateKey.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RevokeUserDelegationKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRevokeUserDelegationKeys.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_RevokeUserDelegationKeys.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountRevokeUserDelegationKeys.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Hns_Account.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Hns_Account.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Non_Hns_Account.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Non_Hns_Account.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policies.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policies.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Cold_Tier_Actions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyColdTierActions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Cold_Tier_Actions.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyColdTierActions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_For_Block_And_Append_Blobs.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_For_Block_And_Append_Blobs.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Hot_Tier_Actions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyHotTierActions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Hot_Tier_Actions.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyHotTierActions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_With_Snapshot_And_Version.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_With_Snapshot_And_Version.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Base_Blob_Days_After_Creation_Actions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Base_Blob_Days_After_Creation_Actions.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Access_Time_Based_Blob_Actions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Access_Time_Based_Blob_Actions.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Tier_Change_Time_Actions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Tier_Change_Time_Actions.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdate.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdate.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_Allowed_Copy_Scope_To_Aad.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_Allowed_Copy_Scope_To_Aad.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_Disable_Public_Network_Access.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateDisablePublicNetworkAccess.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_Disable_Public_Network_Access.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateDisablePublicNetworkAccess.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Destination.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Destination.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Source.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Source.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Encryption_Identity_With_Cmk.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Encryption_Identity_With_Cmk.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Identity_With_Federated_Identity_Client_Id.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Identity_With_Federated_Identity_Client_Id.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_With_Immutability_Policy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateWithImmutabilityPolicy.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccounts_Update_Storage_Account_Update_With_Immutability_Policy.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/StorageAccountUpdateWithImmutabilityPolicy.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Delete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationDelete.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Delete.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationDelete.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Get.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Get.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Update_Table_Operation_Patch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPatch.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Update_Table_Operation_Patch.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPatch.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Create_Table_Operation_Put.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Create_Table_Operation_Put.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Update_Table_Operation_Put_Or_Patch_Acls.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPutOrPatchAcls.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Update_Table_Operation_Put_Or_Patch_Acls.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableOperationPutOrPatchAcls.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_GetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesGet.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_GetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesGet.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_List.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesList.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_List.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesList.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_SetServiceProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesPut.json similarity index 100% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServices_SetServiceProperties.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/examples/TableServicesPut.json diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/swagger.json b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/swagger.json index d62d52a122..f6c6a687ed 100644 --- a/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/swagger.json +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/swagger-output/swagger.json @@ -288,7 +288,7 @@ }, "x-ms-examples": { "DeletedAccountGet": { - "$ref": "./examples/DeletedAccounts_Get.json" + "$ref": "./examples/DeletedAccountGet.json" } } } @@ -417,7 +417,7 @@ }, "x-ms-examples": { "StorageAccountList": { - "$ref": "./examples/StorageAccounts_List.json" + "$ref": "./examples/StorageAccountList.json" } }, "x-ms-pageable": { @@ -459,7 +459,7 @@ }, "x-ms-examples": { "StorageAccountListByResourceGroup": { - "$ref": "./examples/StorageAccounts_ListByResourceGroup.json" + "$ref": "./examples/StorageAccountListByResourceGroup.json" } }, "x-ms-pageable": { @@ -525,16 +525,16 @@ }, "x-ms-examples": { "StorageAccountGetAsyncSkuConversionStatus": { - "$ref": "./examples/StorageAccounts_GetProperties_Storage_Account_Get_Async_Sku_Conversion_Status.json" + "$ref": "./examples/StorageAccountGetAsyncSkuConversionStatus.json" }, "StorageAccountGetProperties": { - "$ref": "./examples/StorageAccounts_GetProperties_Storage_Account_Get_Properties.json" + "$ref": "./examples/StorageAccountGetProperties.json" }, "StorageAccountGetPropertiesCMKEnabled": { - "$ref": "./examples/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Enabled.json" + "$ref": "./examples/StorageAccountGetPropertiesCMKEnabled.json" }, "StorageAccountGetPropertiesCMKVersionExpirationTime": { - "$ref": "./examples/StorageAccounts_GetProperties_Storage_Account_Get_Properties_Cmk_Version_Expiration_Time.json" + "$ref": "./examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json" } } }, @@ -616,40 +616,40 @@ }, "x-ms-examples": { "NfsV3AccountCreate": { - "$ref": "./examples/StorageAccounts_Create_Nfs_V3_Account_Create.json" + "$ref": "./examples/NfsV3AccountCreate.json" }, "StorageAccountCreate": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create.json" + "$ref": "./examples/StorageAccountCreate.json" }, "StorageAccountCreateAllowedCopyScopeToAAD": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Aad.json" + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToAAD.json" }, "StorageAccountCreateAllowedCopyScopeToPrivateLink": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Allowed_Copy_Scope_To_Private_Link.json" + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json" }, "StorageAccountCreateDisallowPublicNetworkAccess": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Disallow_Public_Network_Access.json" + "$ref": "./examples/StorageAccountCreateDisallowPublicNetworkAccess.json" }, "StorageAccountCreateDnsEndpointTypeToAzureDnsZone": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Azure_Dns_Zone.json" + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json" }, "StorageAccountCreateDnsEndpointTypeToStandard": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Dns_Endpoint_Type_To_Standard.json" + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToStandard.json" }, "StorageAccountCreateEnablePublicNetworkAccess": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Enable_Public_Network_Access.json" + "$ref": "./examples/StorageAccountCreateEnablePublicNetworkAccess.json" }, "StorageAccountCreatePremiumBlockBlobStorage": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_Premium_Block_Blob_Storage.json" + "$ref": "./examples/StorageAccountCreatePremiumBlockBlobStorage.json" }, "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Encryption_Identity_With_Cmk.json" + "$ref": "./examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json" }, "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_User_Assigned_Identity_With_Federated_Identity_Client_Id.json" + "$ref": "./examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json" }, "StorageAccountCreateWithImmutabilityPolicy": { - "$ref": "./examples/StorageAccounts_Create_Storage_Account_Create_With_Immutability_Policy.json" + "$ref": "./examples/StorageAccountCreateWithImmutabilityPolicy.json" } } }, @@ -704,28 +704,28 @@ }, "x-ms-examples": { "StorageAccountEnableAD": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Enable_Ad.json" + "$ref": "./examples/StorageAccountEnableAD.json" }, "StorageAccountEnableCMK": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Enable_Cmk.json" + "$ref": "./examples/StorageAccountEnableCMK.json" }, "StorageAccountUpdate": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update.json" + "$ref": "./examples/StorageAccountUpdate.json" }, "StorageAccountUpdateAllowedCopyScopeToAAD": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update_Allowed_Copy_Scope_To_Aad.json" + "$ref": "./examples/StorageAccountUpdateAllowedCopyScopeToAAD.json" }, "StorageAccountUpdateDisablePublicNetworkAccess": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update_Disable_Public_Network_Access.json" + "$ref": "./examples/StorageAccountUpdateDisablePublicNetworkAccess.json" }, "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Encryption_Identity_With_Cmk.json" + "$ref": "./examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json" }, "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update_User_Assigned_Identity_With_Federated_Identity_Client_Id.json" + "$ref": "./examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json" }, "StorageAccountUpdateWithImmutabilityPolicy": { - "$ref": "./examples/StorageAccounts_Update_Storage_Account_Update_With_Immutability_Policy.json" + "$ref": "./examples/StorageAccountUpdateWithImmutabilityPolicy.json" } } }, @@ -771,7 +771,7 @@ }, "x-ms-examples": { "StorageAccountDelete": { - "$ref": "./examples/StorageAccounts_Delete.json" + "$ref": "./examples/StorageAccountDelete.json" } } } @@ -830,7 +830,7 @@ }, "x-ms-examples": { "StorageAccountAbortHierarchicalNamespaceMigration": { - "$ref": "./examples/StorageAccounts_AbortHierarchicalNamespaceMigration.json" + "$ref": "./examples/StorageAccountAbortHierarchicalNamespaceMigration.json" } }, "x-ms-long-running-operation-options": { @@ -882,7 +882,7 @@ }, "x-ms-examples": { "ListBlobServices": { - "$ref": "./examples/BlobServices_List.json" + "$ref": "./examples/BlobServicesList.json" } } } @@ -930,7 +930,7 @@ }, "x-ms-examples": { "GetBlobServices": { - "$ref": "./examples/BlobServices_GetServiceProperties.json" + "$ref": "./examples/BlobServicesGet.json" } } }, @@ -991,13 +991,13 @@ }, "x-ms-examples": { "BlobServicesPutAllowPermanentDelete": { - "$ref": "./examples/BlobServices_SetServiceProperties_Blob_Services_Put_Allow_Permanent_Delete.json" + "$ref": "./examples/BlobServicesPutAllowPermanentDelete.json" }, "BlobServicesPutLastAccessTimeBasedTracking": { - "$ref": "./examples/BlobServices_SetServiceProperties_Blob_Services_Put_Last_Access_Time_Based_Tracking.json" + "$ref": "./examples/BlobServicesPutLastAccessTimeBasedTracking.json" }, "PutBlobServices": { - "$ref": "./examples/BlobServices_SetServiceProperties_Put_Blob_Services.json" + "$ref": "./examples/BlobServicesPut.json" } } } @@ -1079,10 +1079,10 @@ }, "x-ms-examples": { "ListContainers": { - "$ref": "./examples/BlobContainers_List_List_Containers.json" + "$ref": "./examples/BlobContainersList.json" }, "ListDeletedContainers": { - "$ref": "./examples/BlobContainers_List_List_Deleted_Containers.json" + "$ref": "./examples/DeletedBlobContainersList.json" } }, "x-ms-pageable": { @@ -1142,10 +1142,10 @@ }, "x-ms-examples": { "GetBlobContainersGetWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainers_Get_Get_Blob_Containers_Get_With_Allow_Protected_Append_Writes_All.json" + "$ref": "./examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json" }, "GetContainers": { - "$ref": "./examples/BlobContainers_Get_Get_Containers.json" + "$ref": "./examples/BlobContainersGet.json" } } }, @@ -1215,13 +1215,13 @@ }, "x-ms-examples": { "PutContainerWithDefaultEncryptionScope": { - "$ref": "./examples/BlobContainers_Create_Put_Container_With_Default_Encryption_Scope.json" + "$ref": "./examples/BlobContainersPutDefaultEncryptionScope.json" }, "PutContainerWithObjectLevelWorm": { - "$ref": "./examples/BlobContainers_Create_Put_Container_With_Object_Level_Worm.json" + "$ref": "./examples/BlobContainersPutObjectLevelWorm.json" }, "PutContainers": { - "$ref": "./examples/BlobContainers_Create_Put_Containers.json" + "$ref": "./examples/BlobContainersPut.json" } } }, @@ -1285,7 +1285,7 @@ }, "x-ms-examples": { "UpdateContainers": { - "$ref": "./examples/BlobContainers_Update.json" + "$ref": "./examples/BlobContainersPatch.json" } } }, @@ -1340,7 +1340,7 @@ }, "x-ms-examples": { "DeleteContainers": { - "$ref": "./examples/BlobContainers_Delete.json" + "$ref": "./examples/BlobContainersDelete.json" } } } @@ -1406,7 +1406,7 @@ }, "x-ms-examples": { "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainers_ClearLegalHold.json" + "$ref": "./examples/BlobContainersClearLegalHold.json" } } } @@ -1471,7 +1471,7 @@ }, "x-ms-examples": { "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainers_GetImmutabilityPolicy.json" + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" } } }, @@ -1549,10 +1549,10 @@ }, "x-ms-examples": { "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy.json" + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" }, "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainers_CreateOrUpdateImmutabilityPolicy_Create_Or_Update_Immutability_Policy_With_Allow_Protected_Append_Writes_All.json" + "$ref": "./examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json" } } }, @@ -1615,7 +1615,7 @@ }, "x-ms-examples": { "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainers_DeleteImmutabilityPolicy.json" + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" } } } @@ -1689,7 +1689,7 @@ }, "x-ms-examples": { "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainers_ExtendImmutabilityPolicy.json" + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" } } } @@ -1754,7 +1754,7 @@ }, "x-ms-examples": { "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainers_LockImmutabilityPolicy.json" + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" } } } @@ -1820,10 +1820,10 @@ }, "x-ms-examples": { "Acquire a lease on a container": { - "$ref": "./examples/BlobContainers_Lease_Acquire_A_Lease_On_A_Container.json" + "$ref": "./examples/BlobContainersLease_Acquire.json" }, "Break a lease on a container": { - "$ref": "./examples/BlobContainers_Lease_Break_A_Lease_On_A_Container.json" + "$ref": "./examples/BlobContainersLease_Break.json" } } } @@ -1891,7 +1891,7 @@ }, "x-ms-examples": { "VersionLevelWormContainerMigration": { - "$ref": "./examples/BlobContainers_ObjectLevelWorm.json" + "$ref": "./examples/ObjectLevelWormContainerMigration.json" } }, "x-ms-long-running-operation-options": { @@ -1961,10 +1961,10 @@ }, "x-ms-examples": { "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers.json" + "$ref": "./examples/BlobContainersSetLegalHold.json" }, "SetLegalHoldContainersWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainers_SetLegalHold_Set_Legal_Hold_Containers_With_Allow_Protected_Append_Writes_All.json" + "$ref": "./examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json" } } } @@ -2059,7 +2059,7 @@ }, "x-ms-examples": { "StorageAccountEncryptionScopeList": { - "$ref": "./examples/EncryptionScopes_List.json" + "$ref": "./examples/StorageAccountEncryptionScopeList.json" } }, "x-ms-pageable": { @@ -2119,7 +2119,7 @@ }, "x-ms-examples": { "StorageAccountGetEncryptionScope": { - "$ref": "./examples/EncryptionScopes_Get.json" + "$ref": "./examples/StorageAccountGetEncryptionScope.json" } } }, @@ -2189,10 +2189,10 @@ }, "x-ms-examples": { "StorageAccountPutEncryptionScope": { - "$ref": "./examples/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope.json" + "$ref": "./examples/StorageAccountPutEncryptionScope.json" }, "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { - "$ref": "./examples/EncryptionScopes_Put_Storage_Account_Put_Encryption_Scope_With_Infrastructure_Encryption.json" + "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" } } }, @@ -2256,7 +2256,7 @@ }, "x-ms-examples": { "StorageAccountPatchEncryptionScope": { - "$ref": "./examples/EncryptionScopes_Patch.json" + "$ref": "./examples/StorageAccountPatchEncryptionScope.json" } } } @@ -2328,10 +2328,10 @@ }, "x-ms-examples": { "StorageAccountFailover": { - "$ref": "./examples/StorageAccounts_Failover_Storage_Account_Failover.json" + "$ref": "./examples/StorageAccountFailover.json" }, "StorageAccountFailoverPlanned": { - "$ref": "./examples/StorageAccounts_Failover_Storage_Account_Failover_Planned.json" + "$ref": "./examples/StorageAccountFailoverPlanned.json" } }, "x-ms-long-running-operation-options": { @@ -2383,7 +2383,7 @@ }, "x-ms-examples": { "ListFileServices": { - "$ref": "./examples/FileServices_List.json" + "$ref": "./examples/FileServicesList.json" } } } @@ -2431,7 +2431,7 @@ }, "x-ms-examples": { "GetFileServices": { - "$ref": "./examples/FileServices_GetServiceProperties.json" + "$ref": "./examples/FileServicesGet.json" } } }, @@ -2492,13 +2492,13 @@ }, "x-ms-examples": { "PutFileServices": { - "$ref": "./examples/FileServices_SetServiceProperties_Put_File_Services.json" + "$ref": "./examples/FileServicesPut.json" }, "PutFileServices_EnableSMBMultichannel": { - "$ref": "./examples/FileServices_SetServiceProperties_Put_File_Services_Enable_Smb_Multichannel.json" + "$ref": "./examples/FileServicesPut_EnableSMBMultichannel.json" }, "PutFileServices_EnableSecureSmbFeatures": { - "$ref": "./examples/FileServices_SetServiceProperties_Put_File_Services_Enable_Secure_Smb_Features.json" + "$ref": "./examples/FileServicesPut_EnableSecureSmbFeatures.json" } } } @@ -2567,13 +2567,13 @@ }, "x-ms-examples": { "ListDeletedShares": { - "$ref": "./examples/FileShares_List_List_Deleted_Shares.json" + "$ref": "./examples/DeletedFileSharesList.json" }, "ListShareSnapshots": { - "$ref": "./examples/FileShares_List_List_Share_Snapshots.json" + "$ref": "./examples/FileShareSnapshotsList.json" }, "ListShares": { - "$ref": "./examples/FileShares_List_List_Shares.json" + "$ref": "./examples/FileSharesList.json" } }, "x-ms-pageable": { @@ -2647,10 +2647,10 @@ }, "x-ms-examples": { "GetShareStats": { - "$ref": "./examples/FileShares_Get_Get_Share_Stats.json" + "$ref": "./examples/FileSharesGet_Stats.json" }, "GetShares": { - "$ref": "./examples/FileShares_Get_Get_Shares.json" + "$ref": "./examples/FileSharesGet.json" } } }, @@ -2727,13 +2727,13 @@ }, "x-ms-examples": { "Create NFS Shares": { - "$ref": "./examples/FileShares_Create_Create_Nfs_Shares.json" + "$ref": "./examples/FileSharesPut_NFS.json" }, "PutShares": { - "$ref": "./examples/FileShares_Create_Put_Shares.json" + "$ref": "./examples/FileSharesPut.json" }, "PutShares with Access Tier": { - "$ref": "./examples/FileShares_Create_Put_Shares_With_Access_Tier.json" + "$ref": "./examples/FileSharesPut_AccessTier.json" } } }, @@ -2797,10 +2797,10 @@ }, "x-ms-examples": { "UpdateShareAcls": { - "$ref": "./examples/FileShares_Update_Update_Share_Acls.json" + "$ref": "./examples/FileShareAclsPatch.json" }, "UpdateShares": { - "$ref": "./examples/FileShares_Update_Update_Shares.json" + "$ref": "./examples/FileSharesPatch.json" } } }, @@ -2869,7 +2869,7 @@ }, "x-ms-examples": { "DeleteShares": { - "$ref": "./examples/FileShares_Delete.json" + "$ref": "./examples/FileSharesDelete.json" } } } @@ -2942,10 +2942,10 @@ }, "x-ms-examples": { "Acquire a lease on a share": { - "$ref": "./examples/FileShares_Lease_Acquire_A_Lease_On_A_Share.json" + "$ref": "./examples/FileSharesLease_Acquire.json" }, "Break a lease on a share": { - "$ref": "./examples/FileShares_Lease_Break_A_Lease_On_A_Share.json" + "$ref": "./examples/FileSharesLease_Break.json" } } } @@ -3008,7 +3008,7 @@ }, "x-ms-examples": { "RestoreShares": { - "$ref": "./examples/FileShares_Restore.json" + "$ref": "./examples/FileSharesRestore.json" } } } @@ -3074,7 +3074,7 @@ }, "x-ms-examples": { "StorageAccountHierarchicalNamespaceMigration": { - "$ref": "./examples/StorageAccounts_HierarchicalNamespaceMigration.json" + "$ref": "./examples/StorageAccountHierarchicalNamespaceMigration.json" } }, "x-ms-long-running-operation-options": { @@ -3126,7 +3126,7 @@ }, "x-ms-examples": { "StorageAccountGetBlobInventoryPolicy": { - "$ref": "./examples/BlobInventoryPolicies_List.json" + "$ref": "./examples/StorageAccountListBlobInventoryPolicy.json" } } } @@ -3194,7 +3194,7 @@ }, "x-ms-examples": { "StorageAccountGetBlobInventoryPolicy": { - "$ref": "./examples/BlobInventoryPolicies_Get.json" + "$ref": "./examples/StorageAccountGetBlobInventoryPolicy.json" } } }, @@ -3275,13 +3275,13 @@ }, "x-ms-examples": { "StorageAccountSetBlobInventoryPolicy": { - "$ref": "./examples/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy.json" + "$ref": "./examples/StorageAccountSetBlobInventoryPolicy.json" }, "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount": { - "$ref": "./examples/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Hns_Account.json" + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json" }, "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount": { - "$ref": "./examples/BlobInventoryPolicies_CreateOrUpdate_Storage_Account_Set_Blob_Inventory_Policy_Include_Delete_And_New_Schema_For_Non_Hns_Account.json" + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json" } } }, @@ -3347,7 +3347,7 @@ }, "x-ms-examples": { "StorageAccountDeleteBlobInventoryPolicy": { - "$ref": "./examples/BlobInventoryPolicies_Delete.json" + "$ref": "./examples/StorageAccountDeleteBlobInventoryPolicy.json" } } } @@ -3404,7 +3404,7 @@ }, "x-ms-examples": { "StorageAccountListAccountSAS": { - "$ref": "./examples/StorageAccounts_ListAccountSAS.json" + "$ref": "./examples/StorageAccountListAccountSAS.json" } } } @@ -3452,7 +3452,7 @@ }, "x-ms-examples": { "StorageAccountListPrivateLinkResources": { - "$ref": "./examples/PrivateLinkResources_ListByStorageAccount.json" + "$ref": "./examples/StorageAccountListPrivateLinkResources.json" } } } @@ -3513,7 +3513,7 @@ }, "x-ms-examples": { "StorageAccountListKeys": { - "$ref": "./examples/StorageAccounts_ListKeys.json" + "$ref": "./examples/StorageAccountListKeys.json" } } } @@ -3570,7 +3570,7 @@ }, "x-ms-examples": { "StorageAccountListServiceSAS": { - "$ref": "./examples/StorageAccounts_ListServiceSAS.json" + "$ref": "./examples/StorageAccountListServiceSAS.json" } } } @@ -3618,7 +3618,7 @@ }, "x-ms-examples": { "ListLocalUsers": { - "$ref": "./examples/LocalUsers_List.json" + "$ref": "./examples/LocalUsersList.json" } } } @@ -3675,7 +3675,7 @@ }, "x-ms-examples": { "GetLocalUser": { - "$ref": "./examples/LocalUsers_Get.json" + "$ref": "./examples/LocalUserGet.json" } } }, @@ -3745,10 +3745,10 @@ }, "x-ms-examples": { "CreateLocalUser": { - "$ref": "./examples/LocalUsers_CreateOrUpdate_Create_Local_User.json" + "$ref": "./examples/LocalUserCreate.json" }, "UpdateLocalUser": { - "$ref": "./examples/LocalUsers_CreateOrUpdate_Update_Local_User.json" + "$ref": "./examples/LocalUserUpdate.json" } } }, @@ -3803,7 +3803,7 @@ }, "x-ms-examples": { "DeleteLocalUser": { - "$ref": "./examples/LocalUsers_Delete.json" + "$ref": "./examples/LocalUserDelete.json" } } } @@ -3860,7 +3860,7 @@ }, "x-ms-examples": { "ListLocalUserKeys": { - "$ref": "./examples/LocalUsers_ListKeys.json" + "$ref": "./examples/LocalUserListKeys.json" } } } @@ -3917,7 +3917,7 @@ }, "x-ms-examples": { "RegenerateLocalUserPassword": { - "$ref": "./examples/LocalUsers_RegeneratePassword.json" + "$ref": "./examples/LocalUserRegeneratePassword.json" } } } @@ -3985,7 +3985,7 @@ }, "x-ms-examples": { "StorageAccountGetManagementPolicies": { - "$ref": "./examples/ManagementPolicies_Get.json" + "$ref": "./examples/StorageAccountGetManagementPolicy.json" } } }, @@ -4066,28 +4066,28 @@ }, "x-ms-examples": { "StorageAccountSetManagementPolicies": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policies.json" + "$ref": "./examples/StorageAccountSetManagementPolicy.json" }, "StorageAccountSetManagementPolicyColdTierActions": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Cold_Tier_Actions.json" + "$ref": "./examples/StorageAccountSetManagementPolicyColdTierActions.json" }, "StorageAccountSetManagementPolicyForBlockAndAppendBlobs": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_For_Block_And_Append_Blobs.json" + "$ref": "./examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json" }, "StorageAccountSetManagementPolicyHotTierActions": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Hot_Tier_Actions.json" + "$ref": "./examples/StorageAccountSetManagementPolicyHotTierActions.json" }, "StorageAccountSetManagementPolicyWithSnapshotAndVersion": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_With_Snapshot_And_Version.json" + "$ref": "./examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json" }, "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Base_Blob_Days_After_Creation_Actions.json" + "$ref": "./examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json" }, "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Access_Time_Based_Blob_Actions.json" + "$ref": "./examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json" }, "StorageAccountSetManagementPolicy_LastTierChangeTimeActions": { - "$ref": "./examples/ManagementPolicies_CreateOrUpdate_Storage_Account_Set_Management_Policy_Last_Tier_Change_Time_Actions.json" + "$ref": "./examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json" } } }, @@ -4153,7 +4153,7 @@ }, "x-ms-examples": { "StorageAccountDeleteManagementPolicies": { - "$ref": "./examples/ManagementPolicies_Delete.json" + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" } } } @@ -4201,7 +4201,7 @@ }, "x-ms-examples": { "StorageAccountListObjectReplicationPolicies": { - "$ref": "./examples/ObjectReplicationPolicies_List.json" + "$ref": "./examples/StorageAccountListObjectReplicationPolicies.json" } } } @@ -4257,7 +4257,7 @@ }, "x-ms-examples": { "StorageAccountGetObjectReplicationPolicies": { - "$ref": "./examples/ObjectReplicationPolicies_Get.json" + "$ref": "./examples/StorageAccountGetObjectReplicationPolicy.json" } } }, @@ -4326,16 +4326,16 @@ }, "x-ms-examples": { "StorageAccountCreateObjectReplicationPolicyOnDestination": { - "$ref": "./examples/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Destination.json" + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json" }, "StorageAccountCreateObjectReplicationPolicyOnSource": { - "$ref": "./examples/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Create_Object_Replication_Policy_On_Source.json" + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnSource.json" }, "StorageAccountUpdateObjectReplicationPolicyOnDestination": { - "$ref": "./examples/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Destination.json" + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json" }, "StorageAccountUpdateObjectReplicationPolicyOnSource": { - "$ref": "./examples/ObjectReplicationPolicies_CreateOrUpdate_Storage_Account_Update_Object_Replication_Policy_On_Source.json" + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json" } } }, @@ -4389,7 +4389,7 @@ }, "x-ms-examples": { "StorageAccountDeleteObjectReplicationPolicies": { - "$ref": "./examples/ObjectReplicationPolicies_Delete.json" + "$ref": "./examples/StorageAccountDeleteObjectReplicationPolicy.json" } } } @@ -4437,7 +4437,7 @@ }, "x-ms-examples": { "StorageAccountListPrivateEndpointConnections": { - "$ref": "./examples/PrivateEndpointConnections_List.json" + "$ref": "./examples/StorageAccountListPrivateEndpointConnections.json" } } } @@ -4492,7 +4492,7 @@ }, "x-ms-examples": { "StorageAccountGetPrivateEndpointConnection": { - "$ref": "./examples/PrivateEndpointConnections_Get.json" + "$ref": "./examples/StorageAccountGetPrivateEndpointConnection.json" } } }, @@ -4560,7 +4560,7 @@ }, "x-ms-examples": { "StorageAccountPutPrivateEndpointConnection": { - "$ref": "./examples/PrivateEndpointConnections_Put.json" + "$ref": "./examples/StorageAccountPutPrivateEndpointConnection.json" } } }, @@ -4613,7 +4613,7 @@ }, "x-ms-examples": { "StorageAccountDeletePrivateEndpointConnection": { - "$ref": "./examples/PrivateEndpointConnections_Delete.json" + "$ref": "./examples/StorageAccountDeletePrivateEndpointConnection.json" } } } @@ -4661,7 +4661,7 @@ }, "x-ms-examples": { "QueueServicesList": { - "$ref": "./examples/QueueServices_List.json" + "$ref": "./examples/QueueServicesList.json" } } } @@ -4709,7 +4709,7 @@ }, "x-ms-examples": { "QueueServicesGet": { - "$ref": "./examples/QueueServices_GetServiceProperties.json" + "$ref": "./examples/QueueServicesGet.json" } } }, @@ -4770,7 +4770,7 @@ }, "x-ms-examples": { "QueueServicesPut": { - "$ref": "./examples/QueueServices_SetServiceProperties.json" + "$ref": "./examples/QueueServicesPut.json" } } } @@ -4832,7 +4832,7 @@ }, "x-ms-examples": { "QueueOperationList": { - "$ref": "./examples/Queue_List.json" + "$ref": "./examples/QueueOperationList.json" } }, "x-ms-pageable": { @@ -4893,7 +4893,7 @@ }, "x-ms-examples": { "QueueOperationGet": { - "$ref": "./examples/Queue_Get.json" + "$ref": "./examples/QueueOperationGet.json" } } }, @@ -4964,10 +4964,10 @@ }, "x-ms-examples": { "QueueOperationPut": { - "$ref": "./examples/Queue_Create_Queue_Operation_Put.json" + "$ref": "./examples/QueueOperationPut.json" }, "QueueOperationPutWithMetadata": { - "$ref": "./examples/Queue_Create_Queue_Operation_Put_With_Metadata.json" + "$ref": "./examples/QueueOperationPutWithMetadata.json" } } }, @@ -5032,7 +5032,7 @@ }, "x-ms-examples": { "QueueOperationPatch": { - "$ref": "./examples/Queue_Update.json" + "$ref": "./examples/QueueOperationPatch.json" } } }, @@ -5088,7 +5088,7 @@ }, "x-ms-examples": { "QueueOperationDelete": { - "$ref": "./examples/Queue_Delete.json" + "$ref": "./examples/QueueOperationDelete.json" } } } @@ -5145,10 +5145,10 @@ }, "x-ms-examples": { "StorageAccountRegenerateKerbKey": { - "$ref": "./examples/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Kerb_Key.json" + "$ref": "./examples/StorageAccountRegenerateKerbKey.json" }, "StorageAccountRegenerateKey": { - "$ref": "./examples/StorageAccounts_RegenerateKey_Storage_Account_Regenerate_Key.json" + "$ref": "./examples/StorageAccountRegenerateKey.json" } } } @@ -5219,7 +5219,7 @@ }, "x-ms-examples": { "BlobRangesRestore": { - "$ref": "./examples/StorageAccounts_RestoreBlobRanges.json" + "$ref": "./examples/BlobRangesRestore.json" } }, "x-ms-long-running-operation-options": { @@ -5268,7 +5268,7 @@ }, "x-ms-examples": { "StorageAccountRevokeUserDelegationKeys": { - "$ref": "./examples/StorageAccounts_RevokeUserDelegationKeys.json" + "$ref": "./examples/StorageAccountRevokeUserDelegationKeys.json" } } } @@ -5316,7 +5316,7 @@ }, "x-ms-examples": { "TableServicesList": { - "$ref": "./examples/TableServices_List.json" + "$ref": "./examples/TableServicesList.json" } } } @@ -5364,7 +5364,7 @@ }, "x-ms-examples": { "TableServicesGet": { - "$ref": "./examples/TableServices_GetServiceProperties.json" + "$ref": "./examples/TableServicesGet.json" } } }, @@ -5425,7 +5425,7 @@ }, "x-ms-examples": { "TableServicesPut": { - "$ref": "./examples/TableServices_SetServiceProperties.json" + "$ref": "./examples/TableServicesPut.json" } } } @@ -5473,7 +5473,7 @@ }, "x-ms-examples": { "TableOperationList": { - "$ref": "./examples/Table_List.json" + "$ref": "./examples/TableOperationList.json" } }, "x-ms-pageable": { @@ -5534,7 +5534,7 @@ }, "x-ms-examples": { "TableOperationGet": { - "$ref": "./examples/Table_Get.json" + "$ref": "./examples/TableOperationGet.json" } } }, @@ -5605,10 +5605,7 @@ }, "x-ms-examples": { "TableOperationPut": { - "$ref": "./examples/Table_Create_Table_Operation_Put.json" - }, - "TableOperationPutOrPatchAcls": { - "$ref": "./examples/Table_Create_Table_Operation_Put_Or_Patch_Acls.json" + "$ref": "./examples/TableOperationPut.json" } } }, @@ -5673,10 +5670,10 @@ }, "x-ms-examples": { "TableOperationPatch": { - "$ref": "./examples/Table_Update_Table_Operation_Patch.json" + "$ref": "./examples/TableOperationPatch.json" }, "TableOperationPutOrPatchAcls": { - "$ref": "./examples/Table_Update_Table_Operation_Put_Or_Patch_Acls.json" + "$ref": "./examples/TableOperationPutOrPatchAcls.json" } } }, @@ -5732,7 +5729,7 @@ }, "x-ms-examples": { "TableOperationDelete": { - "$ref": "./examples/Table_Delete.json" + "$ref": "./examples/TableOperationDelete.json" } } } diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersClearLegalHold.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersClearLegalHold.json new file mode 100644 index 0000000000..c638ce3ac6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersClearLegalHold.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2022-09-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": false, + "tags": [] + } + } + }, + "operationId": "BlobContainers_ClearLegalHold", + "title": "ClearLegalHoldContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDelete.json new file mode 100644 index 0000000000..0606f341a8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2022-09-01", + "containerName": "container9689", + "monitor": "true", + "resourceGroupName": "res4079", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobContainers_Delete", + "title": "DeleteContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDeleteImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDeleteImmutabilityPolicy.json new file mode 100644 index 0000000000..d19ff5f137 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersDeleteImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "If-Match": "\"8d59f81a7fa7be0\"", + "accountName": "sto9621", + "api-version": "2022-09-01", + "containerName": "container4910", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1581", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f81a87b40c0\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 0, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "title": "DeleteImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersExtendImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersExtendImmutabilityPolicy.json new file mode 100644 index 0000000000..f19de1db20 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersExtendImmutabilityPolicy.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "If-Match": "\"8d59f830d0c3bf9\"", + "accountName": "sto232", + "api-version": "2022-09-01", + "containerName": "container5023", + "monitor": "true", + "parameters": { + "properties": { + "immutabilityPeriodSinceCreationInDays": 100 + } + }, + "resourceGroupName": "res6238", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8b2ff50332\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "title": "ExtendImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGet.json new file mode 100644 index 0000000000..11f4fda9ba --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2022-09-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetImmutabilityPolicy.json new file mode 100644 index 0000000000..25315997db --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "sto9177", + "api-version": "2022-09-01", + "containerName": "container3489", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res5221", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f828e64b75c\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 5, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_GetImmutabilityPolicy", + "title": "GetImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..5536afa47e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2022-09-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "protectedAppendWritesHistory": { + "allowProtectedAppendWritesAll": true, + "timestamp": "2022-09-01T01:58:44.5044483Z" + }, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetBlobContainersGetWithAllowProtectedAppendWritesAll" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Acquire.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Acquire.json new file mode 100644 index 0000000000..3106c569b5 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Acquire a lease on a container" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Break.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Break.json new file mode 100644 index 0000000000..a0c851249b --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Break a lease on a container" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersList.json new file mode 100644 index 0000000000..63b8c941ee --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103", + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "None" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLockImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLockImmutabilityPolicy.json new file mode 100644 index 0000000000..93507534cf --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersLockImmutabilityPolicy.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "If-Match": "\"8d59f825b721dd3\"", + "accountName": "sto5009", + "api-version": "2022-09-01", + "containerName": "container1631", + "monitor": "true", + "resourceGroupName": "res2702", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8a5edb084a\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_LockImmutabilityPolicy", + "title": "LockImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPatch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPatch.json new file mode 100644 index 0000000000..1aa042f28e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPatch.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "blobContainer": { + "properties": { + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + } + } + }, + "operationId": "BlobContainers_Update", + "title": "UpdateContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPut.json new file mode 100644 index 0000000000..d2610bb08d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "blobContainer": {}, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutDefaultEncryptionScope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutDefaultEncryptionScope.json new file mode 100644 index 0000000000..a90643cf61 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutDefaultEncryptionScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "blobContainer": { + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithDefaultEncryptionScope" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicy.json new file mode 100644 index 0000000000..65599a78ab --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicy.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2022-09-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..a55b6a1ae9 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2022-09-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutObjectLevelWorm.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutObjectLevelWorm.json new file mode 100644 index 0000000000..d59b2625c1 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersPutObjectLevelWorm.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "blobContainer": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithObjectLevelWorm" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHold.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHold.json new file mode 100644 index 0000000000..384e5ab194 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHold.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2022-09-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..0c3cebc312 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "LegalHold": { + "allowProtectedAppendWritesAll": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2022-09-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "allowProtectedAppendWritesAll": true, + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainersWithAllowProtectedAppendWritesAll" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobRangesRestore.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobRangesRestore.json new file mode 100644 index 0000000000..1a114cdafd --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobRangesRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "Succeeded" + } + }, + "202": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "InProgress" + }, + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_RestoreBlobRanges", + "title": "BlobRangesRestore" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesGet.json new file mode 100644 index 0000000000..1bdaf78877 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesGet.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_GetServiceProperties", + "title": "GetBlobServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesList.json new file mode 100644 index 0000000000..cb61fc99a4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesList.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "BlobServices_List", + "title": "ListBlobServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPut.json new file mode 100644 index 0000000000..719ad7be35 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPut.json @@ -0,0 +1,173 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "PutBlobServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutAllowPermanentDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutAllowPermanentDelete.json new file mode 100644 index 0000000000..2ee78d0f22 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutAllowPermanentDelete.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutAllowPermanentDelete" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutLastAccessTimeBasedTracking.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 0000000000..7adcadf650 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutLastAccessTimeBasedTracking" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedAccountGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedAccountGet.json new file mode 100644 index 0000000000..1ad68565be --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedAccountGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2022-09-01", + "deletedAccountName": "sto1125", + "location": "eastus", + "monitor": "true", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + } + } + }, + "operationId": "DeletedAccounts_Get", + "title": "DeletedAccountGet" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedBlobContainersList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedBlobContainersList.json new file mode 100644 index 0000000000..b0a7775fb5 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedBlobContainersList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "$include": "deleted", + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Expired", + "leaseStatus": "Unlocked", + "publicAccess": "None", + "remainingRetentionDays": 30, + "version": "1234567890" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListDeletedContainers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedFileSharesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedFileSharesList.json new file mode 100644 index 0000000000..6a18e10c1a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/DeletedFileSharesList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$expand": "deleted", + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "lastModifiedTime": "2019-05-14T08:20:47Z", + "remainingRetentionDays": 30, + "shareQuota": 1024, + "version": "1234567890" + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListDeletedShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesGet.json new file mode 100644 index 0000000000..7a6ee80ee6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesGet.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_GetServiceProperties", + "title": "GetFileServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesList.json new file mode 100644 index 0000000000..b04a8e483c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "FileServices_List", + "title": "ListFileServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut.json new file mode 100644 index 0000000000..a2e6a26c4e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSMBMultichannel.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 0000000000..0476733999 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSMBMultichannel" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSecureSmbFeatures.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSecureSmbFeatures.json new file mode 100644 index 0000000000..c7325add77 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileServicesPut_EnableSecureSmbFeatures.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSecureSmbFeatures" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareAclsPatch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareAclsPatch.json new file mode 100644 index 0000000000..346853407b --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareAclsPatch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "fileShare": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareAcls" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareSnapshotsList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareSnapshotsList.json new file mode 100644 index 0000000000..2dfaa824a3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileShareSnapshotsList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "$expand": "snapshots", + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024, + "snapshotTime": "2020-10-26T05:48:07.0000000Z" + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShareSnapshots" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesDelete.json new file mode 100644 index 0000000000..d7a6ea2e0d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4079", + "shareName": "share9689", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FileShares_Delete", + "title": "DeleteShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet.json new file mode 100644 index 0000000000..ff7b406b63 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet_Stats.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet_Stats.json new file mode 100644 index 0000000000..e9e9e9779d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesGet_Stats.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "$expand": "stats", + "accountName": "sto6217", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024, + "shareUsageBytes": 652945 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareStats" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Acquire.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Acquire.json new file mode 100644 index 0000000000..c35eae0f42 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share124", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Acquire a lease on a share" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Break.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Break.json new file mode 100644 index 0000000000..4de3e7cb2c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share12", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Break a lease on a share" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesList.json new file mode 100644 index 0000000000..13f1f9ffe7 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPatch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPatch.json new file mode 100644 index 0000000000..534fe3b90d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "fileShare": { + "properties": { + "metadata": { + "type": "image" + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "metadata": { + "type": "image" + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut.json new file mode 100644 index 0000000000..bbafca0a7f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "fileShare": {}, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + }, + "201": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_AccessTier.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_AccessTier.json new file mode 100644 index 0000000000..53e6183cec --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_AccessTier.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2022-09-01", + "fileShare": { + "properties": { + "accessTier": "Hot" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Access Tier" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_NFS.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_NFS.json new file mode 100644 index 0000000000..b42600491d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesPut_NFS.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2022-09-01", + "fileShare": { + "properties": { + "enabledProtocols": "NFS" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "Create NFS Shares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesRestore.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesRestore.json new file mode 100644 index 0000000000..ed73b3b7d9 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/FileSharesRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "deletedShare": { + "deletedShareName": "share1249", + "deletedShareVersion": "1234567890" + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share1249", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {} + }, + "operationId": "FileShares_Restore", + "title": "RestoreShares" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserCreate.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserCreate.json new file mode 100644 index 0000000000..7ab6b80679 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserCreate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "properties": { + "properties": { + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ] + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ] + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateLocalUser" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserDelete.json new file mode 100644 index 0000000000..ebd417fa37 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "LocalUsers_Delete", + "title": "DeleteLocalUser" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserGet.json new file mode 100644 index 0000000000..a82bbd39bc --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000" + } + } + } + }, + "operationId": "LocalUsers_Get", + "title": "GetLocalUser" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserListKeys.json new file mode 100644 index 0000000000..8be916ca3e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserListKeys.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sharedKey": "", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykew=" + } + ] + } + } + }, + "operationId": "LocalUsers_ListKeys", + "title": "ListLocalUserKeys" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserRegeneratePassword.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserRegeneratePassword.json new file mode 100644 index 0000000000..910f3146fb --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserRegeneratePassword.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sshPassword": "" + } + } + }, + "operationId": "LocalUsers_RegeneratePassword", + "title": "RegenerateLocalUserPassword" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserUpdate.json new file mode 100644 index 0000000000..1ebeb4da39 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUserUpdate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "properties": { + "properties": { + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2" + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000" + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "UpdateLocalUser" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsersList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsersList.json new file mode 100644 index 0000000000..7eb0119d1a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/LocalUsersList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000" + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001" + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListLocalUsers" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/NfsV3AccountCreate.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/NfsV3AccountCreate.json new file mode 100644 index 0000000000..f628c9432c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/NfsV3AccountCreate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "NfsV3AccountCreate" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectLevelWormContainerMigration.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectLevelWormContainerMigration.json new file mode 100644 index 0000000000..39f5617c04 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/ObjectLevelWormContainerMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2022-09-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1782", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "BlobContainers_ObjectLevelWorm", + "title": "VersionLevelWormContainerMigration" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationDelete.json new file mode 100644 index 0000000000..cec8e4659a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "204": {} + }, + "operationId": "Queue_Delete", + "title": "QueueOperationDelete" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationGet.json new file mode 100644 index 0000000000..062d4a18d8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Get", + "title": "QueueOperationGet" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationList.json new file mode 100644 index 0000000000..6afa17ca58 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187", + "value": [ + { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + { + "name": "queue6186", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + ] + } + } + }, + "operationId": "Queue_List", + "title": "QueueOperationList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPatch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPatch.json new file mode 100644 index 0000000000..cccabeb7ec --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPatch.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Update", + "title": "QueueOperationPatch" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPut.json new file mode 100644 index 0000000000..5d116a0d30 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPut.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPut" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPutWithMetadata.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPutWithMetadata.json new file mode 100644 index 0000000000..62a7b99277 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueOperationPutWithMetadata.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "queue": { + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPutWithMetadata" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesGet.json new file mode 100644 index 0000000000..cee806bd5f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_GetServiceProperties", + "title": "QueueServicesGet" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesList.json new file mode 100644 index 0000000000..48b34d2dba --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "QueueServices_List", + "title": "QueueServicesList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesPut.json new file mode 100644 index 0000000000..f541b0a1ef --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/QueueServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_SetServiceProperties", + "title": "QueueServicesPut" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountAbortHierarchicalNamespaceMigration.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountAbortHierarchicalNamespaceMigration.json new file mode 100644 index 0000000000..c43fccbae3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2022-09-01", + "resourceGroupName": "res4228", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "title": "StorageAccountAbortHierarchicalNamespaceMigration" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreate.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreate.json new file mode 100644 index 0000000000..dc8fdee9f4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreate.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToAAD.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToAAD.json new file mode 100644 index 0000000000..3e187db0da --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToAAD" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json new file mode 100644 index 0000000000..aece4b54ff --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToPrivateLink" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDisallowPublicNetworkAccess.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDisallowPublicNetworkAccess.json new file mode 100644 index 0000000000..7c324e4acb --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDisallowPublicNetworkAccess" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json new file mode 100644 index 0000000000..465bea7dd6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.z24.blob.storage.azure.net/", + "dfs": "https://sto4445.z24.dfs.storage.azure.net/", + "file": "https://sto4445.z24.file.storage.azure.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/", + "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-microsoftrouting.z24.file.storage.azure.net/", + "queue": "https://sto4445-microsoftrouting.z24.queue.storage.azure.net/", + "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/", + "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/" + }, + "queue": "https://sto4445.z24.queue.storage.azure.net/", + "table": "https://sto4445.z24.table.storage.azure.net/", + "web": "https://sto4445.z24.web.storage.azure.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToAzureDnsZone" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToStandard.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToStandard.json new file mode 100644 index 0000000000..2d92360768 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToStandard" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateEnablePublicNetworkAccess.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateEnablePublicNetworkAccess.json new file mode 100644 index 0000000000..75b6f34dc2 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateEnablePublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateEnablePublicNetworkAccess" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json new file mode 100644 index 0000000000..37c965f6a5 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "default", + "properties": { + "properties": { + "destinationAccount": "dst112", + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnDestination" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnSource.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnSource.json new file mode 100644 index 0000000000..380b839ba6 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnSource" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreatePremiumBlockBlobStorage.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreatePremiumBlockBlobStorage.json new file mode 100644 index 0000000000..ebb3c0feac --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreatePremiumBlockBlobStorage.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "minimumTlsVersion": "TLS1_2" + }, + "sku": { + "name": "Premium_LRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "accessTier": "Premium", + "allowBlobPublicAccess": false, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreatePremiumBlockBlobStorage" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 0000000000..2ae8f04303 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 0000000000..359bc1b1b4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2022-09-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId." +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateWithImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateWithImmutabilityPolicy.json new file mode 100644 index 0000000000..4a69de864d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountCreateWithImmutabilityPolicy.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + } + }, + "sku": { + "name": "Standard_GRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:25:33.4863236Z", + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateWithImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDelete.json new file mode 100644 index 0000000000..73351c108d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteBlobInventoryPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteBlobInventoryPolicy.json new file mode 100644 index 0000000000..74b346b837 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteBlobInventoryPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobInventoryPolicies_Delete", + "title": "StorageAccountDeleteBlobInventoryPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteManagementPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteManagementPolicy.json new file mode 100644 index 0000000000..f25c2d4a53 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteManagementPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementPolicies_Delete", + "title": "StorageAccountDeleteManagementPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteObjectReplicationPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteObjectReplicationPolicy.json new file mode 100644 index 0000000000..b6a2b64493 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeleteObjectReplicationPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ObjectReplicationPolicies_Delete", + "title": "StorageAccountDeleteObjectReplicationPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeletePrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeletePrivateEndpointConnection.json new file mode 100644 index 0000000000..417d613056 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountDeletePrivateEndpointConnection.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "StorageAccountDeletePrivateEndpointConnection" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableAD.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableAD.json new file mode 100644 index 0000000000..6d2cf33b7d --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableAD.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableAD" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableCMK.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableCMK.json new file mode 100644 index 0000000000..714ba8e871 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEnableCMK.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableCMK" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEncryptionScopeList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEncryptionScopeList.json new file mode 100644 index 0000000000..5565cb3abf --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountEncryptionScopeList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "{storage-account-name}", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "scope-1", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/scope-1", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + }, + { + "name": "scope-2", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/scope-2", + "properties": { + "creationTime": "2018-10-16T04:32:14.3355306Z", + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + ] + } + } + }, + "operationId": "EncryptionScopes_List", + "title": "StorageAccountEncryptionScopeList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailover.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailover.json new file mode 100644 index 0000000000..497d33c22a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailover.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailover" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailoverPlanned.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailoverPlanned.json new file mode 100644 index 0000000000..6ed4911a71 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountFailoverPlanned.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2022-09-01", + "failoverType": "Planned", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailoverPlanned" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetAsyncSkuConversionStatus.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetAsyncSkuConversionStatus.json new file mode 100644 index 0000000000..f1b47fff92 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetAsyncSkuConversionStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "StorageV2", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "minimumTlsVersion": "TLS1_2", + "storageAccountSkuConversionStatus": { + "endTime": "2021-09-02T02:53:39.0932539Z", + "skuConversionStatus": "InProgress", + "startTime": "2022-09-01T02:53:39.0932539Z", + "targetSkuName": "Standard_GRS" + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetAsyncSkuConversionStatus" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetBlobInventoryPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetBlobInventoryPolicy.json new file mode 100644 index 0000000000..bfce403b0a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetBlobInventoryPolicy.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_Get", + "title": "StorageAccountGetBlobInventoryPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetEncryptionScope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetEncryptionScope.json new file mode 100644 index 0000000000..fe394c421f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetEncryptionScope.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "{storage-account-name}", + "api-version": "2022-09-01", + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{encyrption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Get", + "title": "StorageAccountGetEncryptionScope" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetManagementPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetManagementPolicy.json new file mode 100644 index 0000000000..2fe4aaea77 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetManagementPolicy.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T03:01:55.7168089Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_Get", + "title": "StorageAccountGetManagementPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetObjectReplicationPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetObjectReplicationPolicy.json new file mode 100644 index 0000000000..35b0049b21 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetObjectReplicationPolicy.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{objectReplicationPolicy-Id}", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", + "properties": { + "destinationAccount": "destAccount1", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "policyId": "{objectReplicationPolicy-Id}", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobC", + "blobD" + ] + }, + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "sto2527" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_Get", + "title": "StorageAccountGetObjectReplicationPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPrivateEndpointConnection.json new file mode 100644 index 0000000000..cbc22acab0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPrivateEndpointConnection.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "StorageAccountGetPrivateEndpointConnection" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetProperties.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetProperties.json new file mode 100644 index 0000000000..2e29a43255 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetProperties.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetProperties" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKEnabled.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKEnabled.json new file mode 100644 index 0000000000..3bfa4418e0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKEnabled.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKEnabled" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json new file mode 100644 index 0000000000..aa559a8fd9 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKVersionExpirationTime" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountHierarchicalNamespaceMigration.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountHierarchicalNamespaceMigration.json new file mode 100644 index 0000000000..986642b311 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountHierarchicalNamespaceMigration.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2022-09-01", + "requestType": "HnsOnValidationRequest", + "resourceGroupName": "res4228", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "title": "StorageAccountHierarchicalNamespaceMigration" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountList.json new file mode 100644 index 0000000000..b605faedcd --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountList.json @@ -0,0 +1,315 @@ +{ + "parameters": { + "api-version": "2022-09-01", + "monitor": "true", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:53.4540398Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto1125.blob.core.windows.net/", + "dfs": "https://sto1125.dfs.core.windows.net/", + "file": "https://sto1125.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto1125-internetrouting.blob.core.windows.net/", + "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", + "file": "https://sto1125-internetrouting.file.core.windows.net/", + "web": "https://sto1125-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto1125-microsoftrouting.file.core.windows.net/", + "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/", + "table": "https://sto1125-microsoftrouting.table.core.windows.net/", + "web": "https://sto1125-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto1125.queue.core.windows.net/", + "table": "https://sto1125.table.core.windows.net/", + "web": "https://sto1125.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto3699", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699", + "identity": { + "type": "SystemAssigned", + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:06:30.6093014Z", + "primaryEndpoints": { + "blob": "https://sto3699.blob.core.windows.net/", + "file": "https://sto3699.file.core.windows.net/", + "queue": "https://sto3699.queue.core.windows.net/", + "table": "https://sto3699.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto6637", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:09:39.5625175Z", + "primaryEndpoints": { + "blob": "https://sto6637.blob.core.windows.net/", + "file": "https://sto6637.file.core.windows.net/", + "queue": "https://sto6637.queue.core.windows.net/", + "table": "https://sto6637.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto834", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:20.8686541Z", + "primaryEndpoints": { + "blob": "https://sto834.blob.core.windows.net/", + "file": "https://sto834.file.core.windows.net/", + "queue": "https://sto834.queue.core.windows.net/", + "table": "https://sto834.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto9174", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174", + "identity": { + "type": "SystemAssigned", + "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T09:46:19.6556989Z", + "primaryEndpoints": { + "blob": "https://sto9174.blob.core.windows.net/", + "file": "https://sto9174.file.core.windows.net/", + "queue": "https://sto9174.queue.core.windows.net/", + "table": "https://sto9174.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_List", + "title": "StorageAccountList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListAccountSAS.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListAccountSAS.json new file mode 100644 index 0000000000..cd3c10ab68 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListAccountSAS.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto8588", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "keyToSign": "key1", + "signedExpiry": "2017-05-24T11:42:03.1567373Z", + "signedPermission": "r", + "signedProtocol": "https,http", + "signedResourceTypes": "s", + "signedServices": "b", + "signedStart": "2017-05-24T10:42:03.1567373Z" + }, + "resourceGroupName": "res7985", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D" + } + } + }, + "operationId": "StorageAccounts_ListAccountSAS", + "title": "StorageAccountListAccountSAS" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListBlobInventoryPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListBlobInventoryPolicy.json new file mode 100644 index 0000000000..f83ea442d0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListBlobInventoryPolicy.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + ] + } + } + }, + "operationId": "BlobInventoryPolicies_List", + "title": "StorageAccountGetBlobInventoryPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListByResourceGroup.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListByResourceGroup.json new file mode 100644 index 0000000000..ad31885e28 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2022-09-01", + "resourceGroupName": "res6117", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto4036", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:47.818801Z", + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto4036.blob.core.windows.net/", + "dfs": "https://sto4036.dfs.core.windows.net/", + "file": "https://sto4036.file.core.windows.net/", + "queue": "https://sto4036.queue.core.windows.net/", + "table": "https://sto4036.table.core.windows.net/", + "web": "https://sto4036.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto4452", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:15.7068366Z", + "primaryEndpoints": { + "blob": "https://sto4452.blob.core.windows.net/", + "file": "https://sto4452.file.core.windows.net/", + "queue": "https://sto4452.queue.core.windows.net/", + "table": "https://sto4452.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByResourceGroup", + "title": "StorageAccountListByResourceGroup" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListKeys.json new file mode 100644 index 0000000000..29533ec40c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListKeys.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto2220", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res418", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_ListKeys", + "title": "StorageAccountListKeys" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListObjectReplicationPolicies.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListObjectReplicationPolicies.json new file mode 100644 index 0000000000..318ef4e4af --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListObjectReplicationPolicies.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "properties": { + "destinationAccount": "destAccount1", + "sourceAccount": "sto2527" + } + }, + { + "name": "141d23dc-8958-4b48-b6e6-5a40bf1af116", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", + "properties": { + "destinationAccount": "destAccount2", + "sourceAccount": "sto2527" + } + } + ] + } + } + }, + "operationId": "ObjectReplicationPolicies_List", + "title": "StorageAccountListObjectReplicationPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateEndpointConnections.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateEndpointConnections.json new file mode 100644 index 0000000000..48c63c31c9 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateEndpointConnections.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "StorageAccountListPrivateEndpointConnections" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateLinkResources.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateLinkResources.json new file mode 100644 index 0000000000..8aaa066b45 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListPrivateLinkResources.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blob", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", + "properties": { + "groupId": "blob", + "requiredMembers": [ + "blob" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "blob_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", + "properties": { + "groupId": "blob_secondary", + "requiredMembers": [ + "blob_secondary" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "table", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", + "properties": { + "groupId": "table", + "requiredMembers": [ + "table" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "table_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", + "properties": { + "groupId": "table_secondary", + "requiredMembers": [ + "table_secondary" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "dfs", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", + "properties": { + "groupId": "dfs", + "requiredMembers": [ + "dfs" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + }, + { + "name": "dfs_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", + "properties": { + "groupId": "dfs_secondary", + "requiredMembers": [ + "dfs_secondary" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + } + ] + } + } + }, + "operationId": "PrivateLinkResources_ListByStorageAccount", + "title": "StorageAccountListPrivateLinkResources" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListServiceSAS.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListServiceSAS.json new file mode 100644 index 0000000000..07ea571eab --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountListServiceSAS.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto1299", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "canonicalizedResource": "/blob/sto1299/music", + "signedExpiry": "2017-05-24T11:32:48.8457197Z", + "signedPermission": "l", + "signedResource": "c" + }, + "resourceGroupName": "res7439", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D" + } + } + }, + "operationId": "StorageAccounts_ListServiceSAS", + "title": "StorageAccountListServiceSAS" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPatchEncryptionScope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPatchEncryptionScope.json new file mode 100644 index 0000000000..7fd74727ed --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPatchEncryptionScope.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "{storage-account-name}", + "api-version": "2022-09-01", + "encryptionScope": { + "properties": { + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "source": "Microsoft.KeyVault" + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "keyVaultProperties": { + "currentVersionedKeyIdentifier": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Patch", + "title": "StorageAccountPatchEncryptionScope" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScope.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScope.json new file mode 100644 index 0000000000..c874c7e8e4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScope.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "{storage-account-name}", + "api-version": "2022-09-01", + "encryptionScope": {}, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScope" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json new file mode 100644 index 0000000000..d116b0fae0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "{storage-account-name}", + "api-version": "2022-09-01", + "encryptionScope": { + "properties": { + "requireInfrastructureEncryption": true + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/{storage-account-name}/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScopeWithInfrastructureEncryption" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutPrivateEndpointConnection.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutPrivateEndpointConnection.json new file mode 100644 index 0000000000..c312f1ff28 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountPutPrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Put", + "title": "StorageAccountPutPrivateEndpointConnection" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKerbKey.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKerbKey.json new file mode 100644 index 0000000000..d91fd8d0d3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKerbKey.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2022-09-01", + "monitor": "true", + "regenerateKey": { + "keyName": "kerb1" + }, + "resourceGroupName": "res4167", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + }, + { + "keyName": "kerb1", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKerbKey" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKey.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKey.json new file mode 100644 index 0000000000..4e5eb91129 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRegenerateKey.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2022-09-01", + "monitor": "true", + "regenerateKey": { + "keyName": "key2" + }, + "resourceGroupName": "res4167", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKey" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRevokeUserDelegationKeys.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRevokeUserDelegationKeys.json new file mode 100644 index 0000000000..4193e580a3 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountRevokeUserDelegationKeys.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2022-09-01", + "resourceGroupName": "res4167", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": {} + }, + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "title": "StorageAccountRevokeUserDelegationKeys" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicy.json new file mode 100644 index 0000000000..b3f356898c --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicy.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json new file mode 100644 index 0000000000..1809e23c2e --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -0,0 +1,199 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json new file mode 100644 index 0000000000..ea3e4c1d20 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy.json new file mode 100644 index 0000000000..d9872d51bf --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicies" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyColdTierActions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyColdTierActions.json new file mode 100644 index 0000000000..5693609745 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyColdTierActions.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyColdTierActions" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json new file mode 100644 index 0000000000..5e4dd9a56a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyForBlockAndAppendBlobs" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyHotTierActions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyHotTierActions.json new file mode 100644 index 0000000000..4aa50777af --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyHotTierActions.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyHotTierActions" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json new file mode 100644 index 0000000000..458a9e246a --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyWithSnapshotAndVersion" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json new file mode 100644 index 0000000000..15a301f9f1 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 0000000000..9fbf02daa8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json new file mode 100644 index 0000000000..df907098d1 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2022-09-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastTierChangeTimeActions" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdate.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdate.json new file mode 100644 index 0000000000..96cd93d416 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdate.json @@ -0,0 +1,154 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateAllowedCopyScopeToAAD.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateAllowedCopyScopeToAAD.json new file mode 100644 index 0000000000..826ea584c8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateAllowedCopyScopeToAAD" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateDisablePublicNetworkAccess.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateDisablePublicNetworkAccess.json new file mode 100644 index 0000000000..8ae576aac0 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateDisablePublicNetworkAccess" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json new file mode 100644 index 0000000000..ecefc4cce2 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnDestination" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json new file mode 100644 index 0000000000..9106f661b4 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2022-09-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnSource" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 0000000000..778f1fe0ef --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2022-09-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 0000000000..1e1e636650 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2022-09-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateWithImmutabilityPolicy.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateWithImmutabilityPolicy.json new file mode 100644 index 0000000000..dc9393936f --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/StorageAccountUpdateWithImmutabilityPolicy.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateWithImmutabilityPolicy" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationDelete.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationDelete.json new file mode 100644 index 0000000000..e642694a02 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}", + "tableName": "table6185" + }, + "responses": { + "204": {} + }, + "operationId": "Table_Delete", + "title": "TableOperationDelete" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationGet.json new file mode 100644 index 0000000000..70f9d62e40 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Get", + "title": "TableOperationGet" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationList.json new file mode 100644 index 0000000000..69de240793 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh", + "value": [ + { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + }, + { + "name": "table6186", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", + "properties": { + "tableName": "table6186" + } + } + ] + } + } + }, + "operationId": "Table_List", + "title": "TableOperationList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPatch.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPatch.json new file mode 100644 index 0000000000..29f691398b --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPatch.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPatch" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPut.json new file mode 100644 index 0000000000..ea06b856bd --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPut.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "{subscription-id}", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPut" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Create_Table_Operation_Put_Or_Patch_Acls.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPutOrPatchAcls.json similarity index 98% rename from packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Create_Table_Operation_Put_Or_Patch_Acls.json rename to packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPutOrPatchAcls.json index 0c21d06cee..7d3a465aef 100644 --- a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/Table_Create_Table_Operation_Put_Or_Patch_Acls.json +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableOperationPutOrPatchAcls.json @@ -59,6 +59,6 @@ } } }, - "operationId": "Table_Create", + "operationId": "Table_Update", "title": "TableOperationPutOrPatchAcls" } \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesGet.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesGet.json new file mode 100644 index 0000000000..387de65dc1 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_GetServiceProperties", + "title": "TableServicesGet" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesList.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesList.json new file mode 100644 index 0000000000..4a227a03d8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2022-09-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "TableServices_List", + "title": "TableServicesList" +} \ No newline at end of file diff --git a/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesPut.json b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesPut.json new file mode 100644 index 0000000000..d77e657aa8 --- /dev/null +++ b/packages/extensions/openapi-to-typespec/test/arm-storage/tsp-output/examples/2022-09-01/TableServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2022-09-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "{subscription-id}", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_SetServiceProperties", + "title": "TableServicesPut" +} \ No newline at end of file