diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py index 2097b07cf61..34913fb394d 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py @@ -2,6 +2,3 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azure.cli.core.breaking_change import register_argument_deprecate -register_argument_deprecate('netappfiles volume create', '--endpoint-type') -register_argument_deprecate('netappfiles volume update', '--endpoint-type') diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py index 722312933e1..6e1f9ee1031 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py @@ -315,15 +315,6 @@ def _build_arguments_schema(cls, *args, **kwargs): minimum=50 ) - # Removed in API is not needed, added here for backwards compatibility will be removed in breaking change window - args_schema.endpoint_type = AAZStrArg( - options=["--endpoint-type"], - arg_group="Replication", - help="Indicates whether the local volume is the source or destination for the Volume Replication", - nullable=True, - enum={"dst": "dst", "src": "src"}, - ) - # The API does only support setting Basic and Standard args_schema.network_features.enum = AAZArgEnum({"Basic": "Basic", "Standard": "Standard"}, case_sensitive=False) @@ -420,15 +411,6 @@ def _build_arguments_schema(cls, *args, **kwargs): required=False, ) - # Removed in API is not needed, added here for backwards compatibility will be removed in breaking change window - args_schema.endpoint_type = AAZStrArg( - options=["--endpoint-type"], - arg_group="Replication", - help="Indicates whether the local volume is the source or destination for the Volume Replication", - nullable=True, - enum={"dst": "dst", "src": "src"}, - ) - args_schema.usage_threshold._fmt = AAZIntArgFormat( maximum=2457600, minimum=50