From 6d1d5bbb783918d0b6c1b582bbca9b36bb018fc7 Mon Sep 17 00:00:00 2001 From: Alitzel Mendez <6895254+AlitzelMendez@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:23:56 -0800 Subject: [PATCH] Delete usage of Azure.Core.nextLink (#31741) --- .../AppConfiguration/models.tsp | 8 +++--- .../virtualMachineScaleSet.tsp | 2 +- specification/batch/Azure.Batch/models.tsp | 26 +++++++++---------- .../AnomalyDetector/multivariate/models.tsp | 2 +- .../Microsoft.CodeTransparency/models.tsp | 2 +- .../Microsoft.Fabric.Management/models.tsp | 4 +-- .../AzureAI.Assets/model.tsp | 4 +-- specification/riskiq/Easm/models.tsp | 6 ++--- .../schemaregistry/SchemaRegistry/main.tsp | 4 +-- .../Azure.AI.DocumentTranslation/models.tsp | 4 +-- 10 files changed, 31 insertions(+), 31 deletions(-) diff --git a/specification/appconfiguration/AppConfiguration/models.tsp b/specification/appconfiguration/AppConfiguration/models.tsp index d565222195a2..eefb14ce0daf 100644 --- a/specification/appconfiguration/AppConfiguration/models.tsp +++ b/specification/appconfiguration/AppConfiguration/models.tsp @@ -119,7 +119,7 @@ model KeyListResult { items?: Key[]; @doc("The URI that can be used to request the next set of paged results.") - @Azure.Core.nextLink + @nextLink `@nextLink`?: string; } @@ -162,7 +162,7 @@ model KeyValueListResult { etag?: string; @doc("The URI that can be used to request the next set of paged results.") - @Azure.Core.nextLink + @nextLink `@nextLink`?: string; } @@ -207,7 +207,7 @@ model SnapshotListResult { items?: Snapshot[]; @doc("The URI that can be used to request the next set of paged results.") - @Azure.Core.nextLink + @nextLink `@nextLink`?: string; } @@ -304,7 +304,7 @@ model LabelListResult { items?: Label[]; @doc("The URI that can be used to request the next set of paged results.") - @Azure.Core.nextLink + @nextLink `@nextLink`?: string; } diff --git a/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp b/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp index e673ec5caea5..788134b8c0fc 100644 --- a/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp +++ b/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp @@ -57,6 +57,6 @@ model VirtualMachineScaleSetListResult { value: Array; @doc("The link to the next page of items") - @Azure.Core.nextLink + @nextLink nextLink?: url; } diff --git a/specification/batch/Azure.Batch/models.tsp b/specification/batch/Azure.Batch/models.tsp index ab88f3aa08b0..2defed7182fc 100644 --- a/specification/batch/Azure.Batch/models.tsp +++ b/specification/batch/Azure.Batch/models.tsp @@ -722,7 +722,7 @@ model BatchApplicationListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -778,7 +778,7 @@ model BatchPoolListUsageMetricsResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -809,7 +809,7 @@ model BatchAccountListSupportedImagesResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -880,7 +880,7 @@ model BatchPoolNodeCountsListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -1095,7 +1095,7 @@ model BatchNodeFileListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -2338,7 +2338,7 @@ model BatchJobScheduleListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -2576,7 +2576,7 @@ model BatchJobListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -2592,7 +2592,7 @@ model BatchJobPreparationAndReleaseTaskStatusListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -3106,7 +3106,7 @@ model BatchPoolListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -3545,7 +3545,7 @@ model BatchTaskListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -3591,7 +3591,7 @@ model BatchTaskListSubtasksResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -3965,7 +3965,7 @@ model BatchNodeListResult { #suppress "@azure-tools/typespec-azure-core/casing-style" "The names of Property types must use camelCase" @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } @@ -4022,6 +4022,6 @@ model BatchNodeVMExtensionListResult { value?: BatchNodeVMExtension[]; @doc("The URL to get the next set of results.") - @Azure.Core.nextLink + @nextLink `odata.nextLink`?: string; } diff --git a/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp b/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp index 4eba76e1aec9..e7e03d667745 100644 --- a/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp +++ b/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp @@ -362,7 +362,7 @@ model ModelList { maxCount: int32; @doc("Link to fetch more models.") - @Azure.Core.nextLink + @nextLink nextLink?: string; } diff --git a/specification/confidentialledger/Microsoft.CodeTransparency/models.tsp b/specification/confidentialledger/Microsoft.CodeTransparency/models.tsp index 39aa0fca15ff..47f0fe623612 100644 --- a/specification/confidentialledger/Microsoft.CodeTransparency/models.tsp +++ b/specification/confidentialledger/Microsoft.CodeTransparency/models.tsp @@ -67,7 +67,7 @@ model EntryIds { transactionIds: string[]; @doc("Path to the next page of results") - @Azure.Core.nextLink + @nextLink nextLink?: string; } diff --git a/specification/fabric/Microsoft.Fabric.Management/models.tsp b/specification/fabric/Microsoft.Fabric.Management/models.tsp index aaaed4ef8aef..8dca9773a8b0 100644 --- a/specification/fabric/Microsoft.Fabric.Management/models.tsp +++ b/specification/fabric/Microsoft.Fabric.Management/models.tsp @@ -115,7 +115,7 @@ model RpSkuEnumerationForNewResourceResult { value: Array; @doc("Url for the next page. Null if no more pages available") - @Azure.Core.nextLink + @nextLink nextLink?: string; } @@ -145,7 +145,7 @@ model RpSkuEnumerationForExistingResourceResult { value: Array; @doc("Url for the next page. Null if no more pages available") - @Azure.Core.nextLink + @nextLink nextLink?: string; } diff --git a/specification/machinelearningservices/AzureAI.Assets/model.tsp b/specification/machinelearningservices/AzureAI.Assets/model.tsp index 9d1ca3b47907..92b142d12792 100644 --- a/specification/machinelearningservices/AzureAI.Assets/model.tsp +++ b/specification/machinelearningservices/AzureAI.Assets/model.tsp @@ -53,7 +53,7 @@ model PagedIndex { value: Index[]; @doc("The link to the next page of items") - @Azure.Core.nextLink + @nextLink nextLink?: ResourceLocation; } @@ -77,7 +77,7 @@ model PagedPrompt { value: Prompt[]; @doc("The link to the next page of items") - @Azure.Core.nextLink + @nextLink nextLink?: ResourceLocation; } diff --git a/specification/riskiq/Easm/models.tsp b/specification/riskiq/Easm/models.tsp index fce0a8066195..f4f4a7ca0f76 100644 --- a/specification/riskiq/Easm/models.tsp +++ b/specification/riskiq/Easm/models.tsp @@ -216,7 +216,7 @@ model AssetPageResult { mark?: string; @doc("The link to access the next page of results. Not set if at the end of the result set.") - @Azure.Core.nextLink + @nextLink nextLink?: string; @doc("The items in the current page of results.") @@ -714,7 +714,7 @@ model DiscoRunPageResult { totalElements?: int64; @doc("The link to access the next page of results. Not set if at the end of the result set.") - @Azure.Core.nextLink + @nextLink nextLink?: string; @doc("The items in the current page of results.") @@ -1527,7 +1527,7 @@ model DeltaPageResult { totalElements?: int64; @doc("The link to access the next page of results. Not set if at the end of the result set.") - @Azure.Core.nextLink + @nextLink nextLink?: string; @doc("The items in the current page of results.") diff --git a/specification/schemaregistry/SchemaRegistry/main.tsp b/specification/schemaregistry/SchemaRegistry/main.tsp index d2fded2ddae0..9026051b4eda 100644 --- a/specification/schemaregistry/SchemaRegistry/main.tsp +++ b/specification/schemaregistry/SchemaRegistry/main.tsp @@ -249,7 +249,7 @@ model SchemaGroups { /** The link to the next page of items */ #suppress "@azure-tools/typespec-azure-core/casing-style" "Already public casing from service is not camelCase." - @Azure.Core.nextLink + @nextLink NextLink?: string; } @@ -265,7 +265,7 @@ model SchemaVersions { /** The link to the next page of items */ #suppress "@azure-tools/typespec-azure-core/casing-style" "Already public casing from service is not camelCase." - @Azure.Core.nextLink + @nextLink NextLink?: string; } diff --git a/specification/translation/Azure.AI.DocumentTranslation/models.tsp b/specification/translation/Azure.AI.DocumentTranslation/models.tsp index 1458561b5540..af783529e246 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/models.tsp +++ b/specification/translation/Azure.AI.DocumentTranslation/models.tsp @@ -330,7 +330,7 @@ model TranslationsStatus { value: TranslationStatus[]; @doc("Url for the next page. Null if no more pages available") - @Azure.Core.nextLink + @nextLink nextLink?: string; } @@ -447,7 +447,7 @@ model DocumentsStatus { value: DocumentStatus[]; @doc("Url for the next page. Null if no more pages available") - @Azure.Core.nextLink + @nextLink nextLink?: string; }