From 9e033becd47095b07c03160194f6ab0d4c1084af Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:43:26 -0700 Subject: [PATCH] Update AutoRest C# version to 3.0.0-beta.20231019.3 (#39416) --- eng/Packages.Data.props | 2 +- eng/emitter-package-lock.json | 30 +++++++++---------- eng/emitter-package.json | 2 +- .../ArmSecurityCenterModelFactory.cs | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 6544e5986ffbc..d28fc0ff125e4 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -176,7 +176,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 172dc5b55ec1a..6855539b94ecd 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20231019.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20231019.3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -17,9 +17,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20231019.2", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20231019.2.tgz", - "integrity": "sha512-F6XBcnAYD6bK478fLVA8qTgPB0dSSatWyDTKW4BxYp+DQVBx2R5OyBFEfRwmv+HDOEh8QBqHdHZ5+ZgWb1yf5g==" + "version": "3.0.0-beta.20231019.3", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20231019.3.tgz", + "integrity": "sha512-JQaWfztvbJ+Y7nKjQI2ssMIUB2tnj2FmN+CU8qUjVHhQaeHYKkSC/DkyA/bXl0ep4ICuDCrVb04R4B+qNeF3kA==" }, "node_modules/@azure-tools/typespec-azure-core": { "version": "0.35.0", @@ -49,11 +49,11 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20231019.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20231019.2.tgz", - "integrity": "sha512-fentz2T93Ei15kT3c6ermGeLeSjggOXRCbMKJ2FdlBWnZeE1UIppNqm9jnYc+qLloGGZC86Watmmfjgat9I5Uw==", + "version": "0.2.0-beta.20231019.3", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20231019.3.tgz", + "integrity": "sha512-DXBA3gVv/WDZfGZeJZjFrO7TwX+Zz+qpq/+BmtjHIYZLwmm9+TtG1FWJ1UunkpfpChvhs8daHda6spWzgPLLuQ==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20231019.2", + "@autorest/csharp": "3.0.0-beta.20231019.3", "@azure-tools/typespec-azure-core": "0.35.0", "@azure-tools/typespec-client-generator-core": "0.35.0", "@typespec/compiler": "0.49.0", @@ -193,11 +193,11 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "version": "0.11.12", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.12.tgz", + "integrity": "sha512-NlGesA1usRNn6ctHCZ21M4/dKPgW9Nn1FypRdIKKgZOKzkVV4T1FlK5mBiLhHBCDmEbdQG0idrcXlbZfksJ+RA==", "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.0", "debug": "^4.1.1", "minimatch": "^3.0.5" }, @@ -218,9 +218,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.0.tgz", + "integrity": "sha512-9S9QrXY2K0L4AGDcSgTi9vgiCcG8VcBv4Mp7/1hDPYoswIy6Z6KO5blYto82BT8M0MZNRWmCFLpCs3HlpYGGdw==" }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 89f4bace63ce3..92ecd82e63a2d 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,6 +1,6 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20231019.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20231019.3" } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ArmSecurityCenterModelFactory.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ArmSecurityCenterModelFactory.cs index 9a55c05135bb7..f562fa96ebd9a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ArmSecurityCenterModelFactory.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ArmSecurityCenterModelFactory.cs @@ -1767,7 +1767,7 @@ public static ServerVulnerabilityProperties ServerVulnerabilityProperties(string cve ??= new List(); vendorReferences ??= new List(); - return new ServerVulnerabilityProperties("ServerVulnerabilityAssessment", serverVulnerabilityType, cvss, isPatchable, cve?.ToList(), threat, publishedOn, vendorReferences?.ToList()); + return new ServerVulnerabilityProperties(new AssessedResourceType("ServerVulnerabilityAssessment"), serverVulnerabilityType, cvss, isPatchable, cve?.ToList(), threat, publishedOn, vendorReferences?.ToList()); } /// Initializes a new instance of SecurityAutomationActionEventHub.