From 189c7b33104cbaf76197bb8927db63c081a4030d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 30 Apr 2024 07:10:47 +0000 Subject: [PATCH] CodeGen from PR 28191 in Azure/azure-rest-api-specs Merge 6359f9b223f1e027e22aa65ea08d08e08473f5af into 241c4f0422d842f459baf7430c9f017b7c1531fd --- sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md | 5 ++++- .../Azure.Analytics.Purview.Administration/src/autorest.md | 6 +++--- sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md | 6 +++--- .../Azure.Analytics.Purview.Scanning/src/autorest.md | 5 ++++- sdk/purview/Azure.Analytics.Purview.Sharing/src/autorest.md | 5 +++-- .../Azure.Analytics.Purview.Workflows/src/autorest.md | 5 +++-- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md index 45ccf1bbc0bc2..e96af4e879ccc 100644 --- a/sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md @@ -4,7 +4,9 @@ Run `dotnet build /t:GenerateCode` to generate code. ```yaml title: PurviewAccount -input-file: https://github.com/Azure/azure-rest-api-specs/blob/b2bddfe2e59b5b14e559e0433b6e6d057bcff95d/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md + namespace: Azure.Analytics.Purview.Account security: AADToken security-scopes: https://purview.azure.net/.default @@ -57,3 +59,4 @@ directive: $.operationId = (mappingTable[$.operationId] ?? $.operationId); ``` + diff --git a/sdk/purview/Azure.Analytics.Purview.Administration/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Administration/src/autorest.md index 44b3da58b988d..36b601a6cfe24 100644 --- a/sdk/purview/Azure.Analytics.Purview.Administration/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Administration/src/autorest.md @@ -4,9 +4,8 @@ Run `dotnet build /t:GenerateCode` to generate code. ```yaml title: PurviewAdministration -input-file: - - https://github.com/Azure/azure-rest-api-specs/blob/0ebd4949e8e1cd9537ca5a07384c7661162cc7a6/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json - - https://github.com/Azure/azure-rest-api-specs/blob/0ebd4949e8e1cd9537ca5a07384c7661162cc7a6/specification/purview/data-plane/Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01-preview/purviewMetadataPolicy.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md namespace: Azure.Analytics.Purview.Administration modelerfour: lenient-model-deduplication: true @@ -83,3 +82,4 @@ directive: $.operationId = "Purview" + $.operationId; } ``` + diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md index 77f2f0c5b7daa..75916e7bcf0a3 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md @@ -4,9 +4,8 @@ Run `dotnet build /t:GenerateCode` to generate code. ```yaml title: PurviewCatalog -input-file: - -- https://github.com/Azure/azure-rest-api-specs/blob/ccbe894f6b012ca2000184307ed453fd68797b86/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md namespace: Azure.Analytics.Purview.Catalog @@ -81,3 +80,4 @@ directive: transform: > $.operationId = $.operationId.replace("_List", "_Get"); ``` + diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md index bed111da105c4..e7c627cfaf15a 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md @@ -4,7 +4,9 @@ Run `dotnet build /t:GenerateCode` to generate code. ```yaml title: PurviewScanningService -input-file: https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md + namespace: Azure.Analytics.Purview.Scanning security: AADToken security-scopes: https://purview.azure.net/.default @@ -115,3 +117,4 @@ directive: $.operationId = (mappingTable[$.operationId] ?? $.operationId); ``` + diff --git a/sdk/purview/Azure.Analytics.Purview.Sharing/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Sharing/src/autorest.md index c34814b2486c3..3b72af89f3443 100644 --- a/sdk/purview/Azure.Analytics.Purview.Sharing/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Sharing/src/autorest.md @@ -6,8 +6,8 @@ Run `dotnet build /t:GenerateCode` to generate code. > see https://aka.ms/autorest ``` yaml -input-file: -- https://github.com/Azure/azure-rest-api-specs/blob/40a953243ea428918de6e63758e853b7a24aa59a/specification/purview/data-plane/Azure.Analytics.Purview.Share/preview/2023-05-30-preview/share.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md namespace: Azure.Analytics.Purview.Sharing ``` @@ -60,3 +60,4 @@ directive: from: ShareResources_List to: ShareResources_GetAllShareResources ``` + diff --git a/sdk/purview/Azure.Analytics.Purview.Workflows/src/autorest.md b/sdk/purview/Azure.Analytics.Purview.Workflows/src/autorest.md index cde9e738e415e..d8da73e6e6296 100644 --- a/sdk/purview/Azure.Analytics.Purview.Workflows/src/autorest.md +++ b/sdk/purview/Azure.Analytics.Purview.Workflows/src/autorest.md @@ -6,8 +6,8 @@ Run `dotnet build /t:GenerateCode` to generate code. > see https://aka.ms/autorest ``` yaml -input-file: -- https://github.com/Azure/azure-rest-api-specs/blob/afa158ef56a05f6603924f4a493817cec332b113/specification/purview/data-plane/Azure.Analytics.Purview.Workflow/preview/2023-10-01-preview/purviewWorkflow.json +require: +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/purview/data-plane/readme.md security: AADToken security-scopes: https://purview.azure.net/.default @@ -20,3 +20,4 @@ security-scopes: https://purview.azure.net/.default +