Skip to content

Commit 1c10fd7

Browse files
committed
remove --endpoint-type
1 parent bb18a2b commit 1c10fd7

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
5-
from azure.cli.core.breaking_change import register_argument_deprecate
6-
register_argument_deprecate('netappfiles volume create', '--endpoint-type')
7-
register_argument_deprecate('netappfiles volume update', '--endpoint-type')

src/azure-cli/azure/cli/command_modules/netappfiles/custom.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
315315
minimum=50
316316
)
317317

318-
# Removed in API is not needed, added here for backwards compatibility will be removed in breaking change window
319-
args_schema.endpoint_type = AAZStrArg(
320-
options=["--endpoint-type"],
321-
arg_group="Replication",
322-
help="Indicates whether the local volume is the source or destination for the Volume Replication",
323-
nullable=True,
324-
enum={"dst": "dst", "src": "src"},
325-
)
326-
327318
# The API does only support setting Basic and Standard
328319
args_schema.network_features.enum = AAZArgEnum({"Basic": "Basic", "Standard": "Standard"}, case_sensitive=False)
329320

@@ -420,15 +411,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
420411
required=False,
421412
)
422413

423-
# Removed in API is not needed, added here for backwards compatibility will be removed in breaking change window
424-
args_schema.endpoint_type = AAZStrArg(
425-
options=["--endpoint-type"],
426-
arg_group="Replication",
427-
help="Indicates whether the local volume is the source or destination for the Volume Replication",
428-
nullable=True,
429-
enum={"dst": "dst", "src": "src"},
430-
)
431-
432414
args_schema.usage_threshold._fmt = AAZIntArgFormat(
433415
maximum=2457600,
434416
minimum=50

0 commit comments

Comments
 (0)