Skip to content

Commit 8f19f5b

Browse files
markcowlCopilot
andcommitted
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>
1 parent d30c237 commit 8f19f5b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

specification/devcenter/DevCenter.Management/client.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ using Microsoft.DevCenter;
223223
);
224224
@@clientName(CatalogSyncError, "DevCenterCatalogSyncError", "csharp");
225225
@@clientName(ConfigurationPolicies, "DevCenterConfigurationPolicies", "csharp");
226+
#suppress "deprecated" "Continuing to use v4 CustomerManagedKeyEncryption for backward compatibility"
226227
@@clientName(
227228
Azure.ResourceManager.CommonTypes.CustomerManagedKeyEncryption,
228229
"DevCenterCustomerManagedKeyEncryption",

specification/devcenter/DevCenter.Management/models.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ model DevCenterUpdateProperties {
685685
@doc("Encryption properties.")
686686
model Encryption {
687687
@doc("All Customer-managed key encryption properties for the resource.")
688+
#suppress "deprecated" "Continuing to use v4 CustomerManagedKeyEncryption for backward compatibility"
688689
customerManagedKeyEncryption?: CustomerManagedKeyEncryption;
689690
}
690691

0 commit comments

Comments
 (0)