diff --git a/specification/sql/resource-manager/readme.typescript.md b/specification/sql/resource-manager/readme.typescript.md index ae5e3582e6be..5f38ca630da6 100644 --- a/specification/sql/resource-manager/readme.typescript.md +++ b/specification/sql/resource-manager/readme.typescript.md @@ -9,4 +9,21 @@ typescript: package-name: "@azure/arm-sql" output-folder: "$(typescript-sdks-folder)/sdk/sql/arm-sql" generate-metadata: true + +directive: +- from: SqlVulnerabilityAssessmentScanResult.json + where-operation: SqlVulnerabilityAssessmentScanResult_ListByScan + transform: $.parameters[2]["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" + +- from: SqlVulnerabilityAssessmentScanResult.json + where-operation: SqlVulnerabilityAssessmentScanResult_Get + transform: $.parameters[2]["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" + +- from: DatabaseSqlVulnerabilityAssessmentScanResult.json + where-operation: DatabaseSqlVulnerabilityAssessmentScanResult_ListByScan + transform: $.parameters[3]["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" + +- from: DatabaseSqlVulnerabilityAssessmentScanResult.json + where-operation: DatabaseSqlVulnerabilityAssessmentScanResult_Get + transform: $.parameters[3]["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" ```