From 8f19f5be4c3f17df4a176e2227d49789825519ee Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Mon, 1 Jun 2026 15:40:16 -0700 Subject: [PATCH] Suppress CustomerManagedKeyEncryption deprecation in devcenter spec Add #suppress "deprecated" directives to devcenter TypeSpec files that reference CustomerManagedKeyEncryption, which is being deprecated in favor of the Encryption type in typespec-azure. The devcenter spec uses v4 common-types and these references remain valid for backward compatibility. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- specification/devcenter/DevCenter.Management/client.tsp | 1 + specification/devcenter/DevCenter.Management/models.tsp | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/devcenter/DevCenter.Management/client.tsp b/specification/devcenter/DevCenter.Management/client.tsp index ab88f4e1c08b..8ded7c3eebee 100644 --- a/specification/devcenter/DevCenter.Management/client.tsp +++ b/specification/devcenter/DevCenter.Management/client.tsp @@ -223,6 +223,7 @@ using Microsoft.DevCenter; ); @@clientName(CatalogSyncError, "DevCenterCatalogSyncError", "csharp"); @@clientName(ConfigurationPolicies, "DevCenterConfigurationPolicies", "csharp"); +#suppress "deprecated" "Continuing to use v4 CustomerManagedKeyEncryption for backward compatibility" @@clientName( Azure.ResourceManager.CommonTypes.CustomerManagedKeyEncryption, "DevCenterCustomerManagedKeyEncryption", diff --git a/specification/devcenter/DevCenter.Management/models.tsp b/specification/devcenter/DevCenter.Management/models.tsp index fc9cbf38d21f..52ca2d3ff9b9 100644 --- a/specification/devcenter/DevCenter.Management/models.tsp +++ b/specification/devcenter/DevCenter.Management/models.tsp @@ -685,6 +685,7 @@ model DevCenterUpdateProperties { @doc("Encryption properties.") model Encryption { @doc("All Customer-managed key encryption properties for the resource.") + #suppress "deprecated" "Continuing to use v4 CustomerManagedKeyEncryption for backward compatibility" customerManagedKeyEncryption?: CustomerManagedKeyEncryption; }