From 7fda791466b3bad068cb5c1e9ad23b2b24f9abbe Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:22:46 +0800 Subject: [PATCH 1/6] support sample gen for ts emitter --- .../AppComplianceAutomation.Management/tspconfig.yaml | 2 ++ specification/azurefleet/AzureFleet.Management/tspconfig.yaml | 2 ++ .../codesigning/CodeSigning.Management/tspconfig.yaml | 4 ++++ specification/cognitiveservices/ContentSafety/tspconfig.yaml | 1 + .../computeschedule/ComputeSchedule.Management/tspconfig.yaml | 2 ++ .../contosowidgetmanager/Contoso.Management/tspconfig.yaml | 2 ++ .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 ++ .../Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml | 2 ++ .../durabletask/DurableTask.Management/tspconfig.yaml | 2 ++ specification/edge/Microsoft.Edge.Management/tspconfig.yaml | 2 ++ .../edge/Microsoft.Edge.Sites.Management/tspconfig.yaml | 2 ++ specification/edgezones/EdgeZones.Management/tspconfig.yaml | 2 ++ .../fabric/Microsoft.Fabric.Management/tspconfig.yaml | 2 ++ .../HealthDataAIServices.Management/tspconfig.yaml | 2 ++ .../hybridconnectivity/PublicCloud.Management/tspconfig.yaml | 2 ++ .../Informatica.DataManagement.Management/tspconfig.yaml | 2 ++ .../iotoperations/IoTOperations.Management/tspconfig.yaml | 2 ++ .../KubernetesRuntime.Management/tspconfig.yaml | 2 ++ .../Astronomer.Astro.Management/tspconfig.yaml | 2 ++ .../liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml | 2 ++ .../loadtestservice/LoadTestService.Management/tspconfig.yaml | 2 ++ .../DocumentDB.MongoCluster.Management/tspconfig.yaml | 2 ++ .../monitor/Microsoft.Monitor.Management/tspconfig.yaml | 2 ++ .../NetworkAnalytics.Management/tspconfig.yaml | 2 ++ .../oracle/Oracle.Database.Management/tspconfig.yaml | 2 ++ .../PlaywrightTesting.Management/tspconfig.yaml | 2 ++ specification/scvmm/ScVmm.Management/tspconfig.yaml | 2 ++ .../ServiceNetworking.Management/tspconfig.yaml | 2 ++ specification/sphere/Sphere.Management/tspconfig.yaml | 2 ++ .../standbypool/StandbyPool.Management/tspconfig.yaml | 2 ++ .../verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml | 2 ++ specification/vmware/Microsoft.AVS.Management/tspconfig.yaml | 2 ++ .../Workloads.SAPDiscoverySite.Management/tspconfig.yaml | 2 ++ .../workloads/Workloads.SAPMonitor.Management/tspconfig.yaml | 2 ++ .../Workloads.SAPVirtualInstance.Management/tspconfig.yaml | 2 ++ 35 files changed, 71 insertions(+) diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml index b9a3da71c18b..d4f9626f4b48 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml @@ -23,6 +23,8 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-appcomplianceautomation" packageDetails: name: "@azure/arm-appcomplianceautomation" diff --git a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml index b1ccfcde3d8a..2a4ed106c138 100644 --- a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml +++ b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml @@ -54,6 +54,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-computefleet" flavor: "azure" packageDetails: diff --git a/specification/codesigning/CodeSigning.Management/tspconfig.yaml b/specification/codesigning/CodeSigning.Management/tspconfig.yaml index a500693e0357..755c3ae60a79 100644 --- a/specification/codesigning/CodeSigning.Management/tspconfig.yaml +++ b/specification/codesigning/CodeSigning.Management/tspconfig.yaml @@ -30,6 +30,10 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-trustedsigning" flavor: "azure" packageDetails: diff --git a/specification/cognitiveservices/ContentSafety/tspconfig.yaml b/specification/cognitiveservices/ContentSafety/tspconfig.yaml index e1b159922293..9838739bb1df 100644 --- a/specification/cognitiveservices/ContentSafety/tspconfig.yaml +++ b/specification/cognitiveservices/ContentSafety/tspconfig.yaml @@ -34,6 +34,7 @@ options: version: "1.0.0" description: "ContentSafety Service" flavor: azure + api-version: "2023-10-01" "@azure-tools/typespec-java": package-dir: "azure-ai-contentsafety" namespace: com.azure.ai.contentsafety diff --git a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml index 40f69f4f972b..daf54d68cdb9 100644 --- a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml +++ b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml @@ -21,6 +21,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-computeschedule" flavor: "azure" packageDetails: diff --git a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml index 788cbd5f5991..75d5e608cfa5 100644 --- a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml @@ -27,6 +27,8 @@ options: service-name: "contoso" flavor: azure "@azure-tools/typespec-ts": + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-contoso" azureSdkForJs: true isModularLibrary: true diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 63f2fb8fdcc2..3fc31c3f6f99 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -25,6 +25,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-deviceregistry" flavor: "azure" packageDetails: diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml index 8c07468796af..2220fe450fb5 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml @@ -45,6 +45,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-devopsinfrastructure" flavor: "azure" packageDetails: diff --git a/specification/durabletask/DurableTask.Management/tspconfig.yaml b/specification/durabletask/DurableTask.Management/tspconfig.yaml index 751c10e800c1..a0cbc597be1f 100644 --- a/specification/durabletask/DurableTask.Management/tspconfig.yaml +++ b/specification/durabletask/DurableTask.Management/tspconfig.yaml @@ -44,6 +44,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-durabletask" flavor: "azure" packageDetails: diff --git a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml index 5f82fdff7ce7..d6ffba854c06 100644 --- a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml @@ -36,6 +36,8 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-commonedgesitemanageroperations" packageDetails: name: "@azure/arm-commonedgesitemanageroperations" diff --git a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml index a40975d3745a..a3688baa3c0c 100644 --- a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml @@ -36,6 +36,8 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-sitemanager" packageDetails: name: "@azure/arm-sitemanager" diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index 5a1383ee4ca3..e737c2aa2d85 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -44,6 +44,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-edgezones" flavor: "azure" packageDetails: diff --git a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml index f42e83079a92..743f3c8a97da 100644 --- a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml +++ b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml @@ -30,6 +30,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-fabric" flavor: "azure" packageDetails: diff --git a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml index b007e798dedd..9d42602a1503 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml @@ -33,6 +33,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-healthdataaiservices" emitter-output-dir: "{project-root}/{service-dir}/{package-dir}" flavor: "azure" diff --git a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml index cc45c09a88c7..d0b2b8e98b1f 100644 --- a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml +++ b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml @@ -18,6 +18,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-hybridconnectivity" flavor: "azure" packageDetails: diff --git a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml index 1a77f7510c0b..9ec2e31487dd 100644 --- a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml +++ b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml @@ -34,6 +34,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-informaticadatamanagement" flavor: "azure" packageDetails: diff --git a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml index 4f6c12353f6a..ae4eb553e66e 100644 --- a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml +++ b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml @@ -27,6 +27,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-iotoperations" flavor: "azure" packageDetails: diff --git a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml index 652d54451087..031479281191 100644 --- a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml +++ b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml @@ -33,6 +33,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-containerorchestratorruntime" flavor: "azure" packageDetails: diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml index c9e34d097aae..3f953a8284fb 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml +++ b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml @@ -24,6 +24,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-astro" flavor: "azure" packageDetails: diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml index 55afadaca3a5..8054009def44 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml +++ b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml @@ -20,6 +20,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-qumulo" flavor: "azure" packageDetails: diff --git a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml index d8145009a9f0..f4406812506a 100644 --- a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml +++ b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml @@ -25,6 +25,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-loadtesting" flavor: "azure" packageDetails: diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml index 87ad7d0aaa05..1dd8c9a70c20 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml @@ -43,6 +43,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-mongocluster" flavor: "azure" packageDetails: diff --git a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml index f7e4b886d28e..cb2cc3d42a6e 100644 --- a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml +++ b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml @@ -25,6 +25,8 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true clear-output-folder: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-monitor" flavor: "azure" packageDetails: diff --git a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml index ac5a9485b2d0..ae18c900a78d 100644 --- a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml +++ b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml @@ -32,6 +32,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-networkanalytics" flavor: "azure" packageDetails: diff --git a/specification/oracle/Oracle.Database.Management/tspconfig.yaml b/specification/oracle/Oracle.Database.Management/tspconfig.yaml index be7c2744a9f5..9da58d704c8b 100644 --- a/specification/oracle/Oracle.Database.Management/tspconfig.yaml +++ b/specification/oracle/Oracle.Database.Management/tspconfig.yaml @@ -26,6 +26,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-oracledatabase" packageDetails: name: "@azure/arm-oracledatabase" diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml index e6cec2cb0794..35c774cc4634 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml @@ -32,6 +32,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-playwrighttesting" flavor: "azure" packageDetails: diff --git a/specification/scvmm/ScVmm.Management/tspconfig.yaml b/specification/scvmm/ScVmm.Management/tspconfig.yaml index 807f041ed650..3772a34bbf47 100644 --- a/specification/scvmm/ScVmm.Management/tspconfig.yaml +++ b/specification/scvmm/ScVmm.Management/tspconfig.yaml @@ -20,6 +20,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-scvmm" flavor: "azure" packageDetails: diff --git a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml index 881b2e497e91..f6b60aab1ebf 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml +++ b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml @@ -25,6 +25,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-servicenetworking" flavor: "azure" packageDetails: diff --git a/specification/sphere/Sphere.Management/tspconfig.yaml b/specification/sphere/Sphere.Management/tspconfig.yaml index e66a5cf3ae11..f9874b805f64 100644 --- a/specification/sphere/Sphere.Management/tspconfig.yaml +++ b/specification/sphere/Sphere.Management/tspconfig.yaml @@ -28,6 +28,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-sphere" flavor: "azure" packageDetails: diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index 42e761955bfb..6c11e8e6d1f2 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -36,6 +36,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-standbypool" flavor: "azure" packageDetails: diff --git a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml index a083f4e1d9f5..fc1a863c0f2a 100644 --- a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml +++ b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml @@ -22,6 +22,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-verifiedid" flavor: "azure" packageDetails: diff --git a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml index fe2fd1f902bf..ed3d578538c5 100644 --- a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml +++ b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml @@ -25,6 +25,8 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true clear-output-folder: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-avs" flavor: "azure" packageDetails: diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml index a18301d11a98..c31b4fadaecd 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml @@ -19,6 +19,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-migrationdiscoverysap" flavor: "azure" packageDetails: diff --git a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml index 9fe6be70d97e..a46fb508ebba 100644 --- a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml @@ -20,6 +20,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-sapmonitors" flavor: "azure" packageDetails: diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index efe5e7abbcb3..3f3eff4e3ae7 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -26,6 +26,8 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true + examples-directory: "{project-root}/spec/examples" + generateSample: true package-dir: "arm-workloadssapvirtualinstance" flavor: "azure" packageDetails: From 43ad76f810d4be216ef20e12d2ac289794c4aeda Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:26:26 +0800 Subject: [PATCH 2/6] Update tspconfig.yaml --- specification/codesigning/CodeSigning.Management/tspconfig.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/codesigning/CodeSigning.Management/tspconfig.yaml b/specification/codesigning/CodeSigning.Management/tspconfig.yaml index 755c3ae60a79..0a0436bf57a4 100644 --- a/specification/codesigning/CodeSigning.Management/tspconfig.yaml +++ b/specification/codesigning/CodeSigning.Management/tspconfig.yaml @@ -32,8 +32,6 @@ options: enableOperationGroup: true examples-directory: "{project-root}/spec/examples" generateSample: true - examples-directory: "{project-root}/spec/examples" - generateSample: true package-dir: "arm-trustedsigning" flavor: "azure" packageDetails: From fec6882b306f1860eec64898d3663202abb8d42f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:30:28 +0800 Subject: [PATCH 3/6] update --- .../AppComplianceAutomation.Management/tspconfig.yaml | 2 +- specification/azurefleet/AzureFleet.Management/tspconfig.yaml | 2 +- specification/codesigning/CodeSigning.Management/tspconfig.yaml | 2 +- .../computeschedule/ComputeSchedule.Management/tspconfig.yaml | 2 +- .../contosowidgetmanager/Contoso.Management/tspconfig.yaml | 2 +- .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 +- .../Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml | 2 +- specification/durabletask/DurableTask.Management/tspconfig.yaml | 2 +- specification/edge/Microsoft.Edge.Management/tspconfig.yaml | 2 +- .../edge/Microsoft.Edge.Sites.Management/tspconfig.yaml | 2 +- specification/edgezones/EdgeZones.Management/tspconfig.yaml | 2 +- specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml | 2 +- .../HealthDataAIServices.Management/tspconfig.yaml | 2 +- .../hybridconnectivity/PublicCloud.Management/tspconfig.yaml | 2 +- .../Informatica.DataManagement.Management/tspconfig.yaml | 2 +- .../iotoperations/IoTOperations.Management/tspconfig.yaml | 2 +- .../KubernetesRuntime.Management/tspconfig.yaml | 2 +- .../liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml | 2 +- .../liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml | 2 +- .../loadtestservice/LoadTestService.Management/tspconfig.yaml | 2 +- .../DocumentDB.MongoCluster.Management/tspconfig.yaml | 2 +- .../monitor/Microsoft.Monitor.Management/tspconfig.yaml | 2 +- .../networkanalytics/NetworkAnalytics.Management/tspconfig.yaml | 2 +- specification/oracle/Oracle.Database.Management/tspconfig.yaml | 2 +- .../PlaywrightTesting.Management/tspconfig.yaml | 2 +- specification/scvmm/ScVmm.Management/tspconfig.yaml | 2 +- .../ServiceNetworking.Management/tspconfig.yaml | 2 +- specification/sphere/Sphere.Management/tspconfig.yaml | 2 +- specification/standbypool/StandbyPool.Management/tspconfig.yaml | 2 +- .../verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml | 2 +- specification/vmware/Microsoft.AVS.Management/tspconfig.yaml | 2 +- .../Workloads.SAPDiscoverySite.Management/tspconfig.yaml | 2 +- .../workloads/Workloads.SAPMonitor.Management/tspconfig.yaml | 2 +- .../Workloads.SAPVirtualInstance.Management/tspconfig.yaml | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml index d4f9626f4b48..b6e2d20636d6 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml @@ -23,7 +23,7 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-appcomplianceautomation" packageDetails: diff --git a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml index 2a4ed106c138..48c3b8760929 100644 --- a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml +++ b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml @@ -54,7 +54,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-computefleet" flavor: "azure" diff --git a/specification/codesigning/CodeSigning.Management/tspconfig.yaml b/specification/codesigning/CodeSigning.Management/tspconfig.yaml index 0a0436bf57a4..5713695f9b06 100644 --- a/specification/codesigning/CodeSigning.Management/tspconfig.yaml +++ b/specification/codesigning/CodeSigning.Management/tspconfig.yaml @@ -30,7 +30,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-trustedsigning" flavor: "azure" diff --git a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml index daf54d68cdb9..a5d2b7f53320 100644 --- a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml +++ b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml @@ -21,7 +21,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-computeschedule" flavor: "azure" diff --git a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml index 75d5e608cfa5..847f8a67d7e7 100644 --- a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml @@ -27,7 +27,7 @@ options: service-name: "contoso" flavor: azure "@azure-tools/typespec-ts": - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-contoso" azureSdkForJs: true diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 3fc31c3f6f99..ce270b4b46f3 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -25,7 +25,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-deviceregistry" flavor: "azure" diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml index 2220fe450fb5..c01c8d9ec90d 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml @@ -45,7 +45,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-devopsinfrastructure" flavor: "azure" diff --git a/specification/durabletask/DurableTask.Management/tspconfig.yaml b/specification/durabletask/DurableTask.Management/tspconfig.yaml index a0cbc597be1f..c21bd62dd251 100644 --- a/specification/durabletask/DurableTask.Management/tspconfig.yaml +++ b/specification/durabletask/DurableTask.Management/tspconfig.yaml @@ -44,7 +44,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-durabletask" flavor: "azure" diff --git a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml index d6ffba854c06..f5328c879bb3 100644 --- a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml @@ -36,7 +36,7 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-commonedgesitemanageroperations" packageDetails: diff --git a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml index a3688baa3c0c..0adba0853865 100644 --- a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml @@ -36,7 +36,7 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true flavor: azure - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-sitemanager" packageDetails: diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index e737c2aa2d85..46c0d1c29a48 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -44,7 +44,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-edgezones" flavor: "azure" diff --git a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml index 743f3c8a97da..ac32d39cc326 100644 --- a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml +++ b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml @@ -30,7 +30,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-fabric" flavor: "azure" diff --git a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml index 9d42602a1503..6d34930279dd 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml @@ -33,7 +33,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-healthdataaiservices" emitter-output-dir: "{project-root}/{service-dir}/{package-dir}" diff --git a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml index d0b2b8e98b1f..5ced199b0f05 100644 --- a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml +++ b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml @@ -18,7 +18,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-hybridconnectivity" flavor: "azure" diff --git a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml index 9ec2e31487dd..98e881d92418 100644 --- a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml +++ b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml @@ -34,7 +34,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-informaticadatamanagement" flavor: "azure" diff --git a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml index ae4eb553e66e..b353623bf407 100644 --- a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml +++ b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml @@ -27,7 +27,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-iotoperations" flavor: "azure" diff --git a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml index 031479281191..9ba13ffd3cb9 100644 --- a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml +++ b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml @@ -33,7 +33,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-containerorchestratorruntime" flavor: "azure" diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml index 3f953a8284fb..37f3b4c475bf 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml +++ b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml @@ -24,7 +24,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-astro" flavor: "azure" diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml index 8054009def44..ab479ac2fb73 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml +++ b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml @@ -20,7 +20,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-qumulo" flavor: "azure" diff --git a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml index f4406812506a..06fd33c5751e 100644 --- a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml +++ b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml @@ -25,7 +25,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-loadtesting" flavor: "azure" diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml index 1dd8c9a70c20..1e3c95c72fc3 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml @@ -43,7 +43,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-mongocluster" flavor: "azure" diff --git a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml index cb2cc3d42a6e..d5b88a33e6f3 100644 --- a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml +++ b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml @@ -25,7 +25,7 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true clear-output-folder: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-monitor" flavor: "azure" diff --git a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml index ae18c900a78d..d13caabc6e28 100644 --- a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml +++ b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml @@ -32,7 +32,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-networkanalytics" flavor: "azure" diff --git a/specification/oracle/Oracle.Database.Management/tspconfig.yaml b/specification/oracle/Oracle.Database.Management/tspconfig.yaml index 9da58d704c8b..44128fb262b5 100644 --- a/specification/oracle/Oracle.Database.Management/tspconfig.yaml +++ b/specification/oracle/Oracle.Database.Management/tspconfig.yaml @@ -26,7 +26,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-oracledatabase" packageDetails: diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml index 35c774cc4634..44c5c2bf5e74 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml @@ -32,7 +32,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-playwrighttesting" flavor: "azure" diff --git a/specification/scvmm/ScVmm.Management/tspconfig.yaml b/specification/scvmm/ScVmm.Management/tspconfig.yaml index 3772a34bbf47..f0118927638b 100644 --- a/specification/scvmm/ScVmm.Management/tspconfig.yaml +++ b/specification/scvmm/ScVmm.Management/tspconfig.yaml @@ -20,7 +20,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-scvmm" flavor: "azure" diff --git a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml index f6b60aab1ebf..a9cc79b812a4 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml +++ b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml @@ -25,7 +25,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-servicenetworking" flavor: "azure" diff --git a/specification/sphere/Sphere.Management/tspconfig.yaml b/specification/sphere/Sphere.Management/tspconfig.yaml index f9874b805f64..7061e8688e48 100644 --- a/specification/sphere/Sphere.Management/tspconfig.yaml +++ b/specification/sphere/Sphere.Management/tspconfig.yaml @@ -28,7 +28,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-sphere" flavor: "azure" diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index 6c11e8e6d1f2..a467997e8a3c 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -36,7 +36,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-standbypool" flavor: "azure" diff --git a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml index fc1a863c0f2a..9d48addc9b94 100644 --- a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml +++ b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml @@ -22,7 +22,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-verifiedid" flavor: "azure" diff --git a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml index ed3d578538c5..4bed50a8445c 100644 --- a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml +++ b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml @@ -25,7 +25,7 @@ options: experimentalExtensibleEnums: true enableOperationGroup: true clear-output-folder: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-avs" flavor: "azure" diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml index c31b4fadaecd..6e9a666d744d 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml @@ -19,7 +19,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-migrationdiscoverysap" flavor: "azure" diff --git a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml index a46fb508ebba..f101feaa9623 100644 --- a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml @@ -20,7 +20,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-sapmonitors" flavor: "azure" diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index 3f3eff4e3ae7..5111c20cb119 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -26,7 +26,7 @@ options: hierarchyClient: false experimentalExtensibleEnums: true enableOperationGroup: true - examples-directory: "{project-root}/spec/examples" + examples-directory: "{project-root}/examples" generateSample: true package-dir: "arm-workloadssapvirtualinstance" flavor: "azure" From c34f1b8956a2f9e73f819b91cecbafb0ac20e378 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 15 Nov 2024 09:59:51 +0800 Subject: [PATCH 4/6] Update tspconfig.yaml --- .../Neon.Postgres.Management/tspconfig.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml b/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml index 4f80c23dbbff..6da05650099c 100644 --- a/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml +++ b/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml @@ -27,3 +27,16 @@ options: flavor: "azure" generate-test: true generate-sample: true + "@azure-tools/typespec-ts": + azureSdkForJs: true + isModularLibrary: true + generateMetadata: true + hierarchyClient: false + experimentalExtensibleEnums: true + enableOperationGroup: true + examples-directory: "{project-root}/examples" + generateSample: true + package-dir: "arm-neonpostgres" + flavor: "azure" + packageDetails: + name: "@azure/arm-neonpostgres" From 6fffb84d331b9712e71b3eadb58283a049ab96d3 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:47:32 +0800 Subject: [PATCH 5/6] Update tspconfig.yaml --- .../tspconfig.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml index cfd71d61c9b8..e414263b97d8 100644 --- a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml +++ b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml @@ -22,6 +22,19 @@ options: flavor: "azure" generate-test: true generate-sample: true + "@azure-tools/typespec-ts": + azureSdkForJs: true + isModularLibrary: true + generateMetadata: true + hierarchyClient: false + experimentalExtensibleEnums: true + enableOperationGroup: true + flavor: azure + examples-directory: "{project-root}/examples" + generateSample: true + package-dir: "arm-terraform" + packageDetails: + name: "@azure/arm-terraform" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From b9933f6f77779bdd9c747533813f3b4766b4230f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:44:17 +0800 Subject: [PATCH 6/6] update --- .../connectedcache/ConnectedCache.Management/tspconfig.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml b/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml index e7532f7c2797..7e3e69202cd7 100644 --- a/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml +++ b/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml @@ -26,7 +26,6 @@ options: head-as-boolean: true inject-spans: true remove-unreferenced-types: true -<<<<<<< HEAD "@azure-tools/typespec-ts": azureSdkForJs: true isModularLibrary: true @@ -40,13 +39,11 @@ options: flavor: "azure" packageDetails: name: "@azure/arm-connectedcache" -======= "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-connectedcache" flavor: "azure" namespace: "com.azure.resourcemanager.connectedcache" service-name: "Connected Cache" ->>>>>>> main linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager"