Skip to content

Commit ff683e4

Browse files
committed
chore: refine help messages
1 parent bd12798 commit ff683e4

File tree

1 file changed

+5
-5
lines changed
  • src/azure-cli/azure/cli/command_modules/network

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147

148148
subnet_disable_pls_msg = ("`--disable-private-link-service-network-policies` will be deprecated in the future, if you "
149149
"wanna disable network policy for private link service, please use "
150-
"`----private-link-service-network-policies Disabled` instead.")
150+
"`--private-link-service-network-policies Disabled` instead.")
151151

152152

153153
# region Utility methods
@@ -5555,7 +5555,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
55555555
# add ple/pls arguments
55565556
args_schema.disable_private_endpoint_network_policies = AAZStrArg(
55575557
options=["--disable-private-endpoint-network-policies"],
5558-
help="Disable private endpoint network policies on the subnet.",
5558+
help="Disable private endpoint network policies on the subnet. Please note that it will be replaced by `--private-endpoint-network-policies` soon.",
55595559
enum={
55605560
"true": "Disabled", "t": "Disabled", "yes": "Disabled", "y": "Disabled", "1": "Disabled",
55615561
"false": "Enabled", "f": "Enabled", "no": "Enabled", "n": "Enabled", "0": "Enabled",
@@ -5564,7 +5564,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
55645564
)
55655565
args_schema.disable_private_link_service_network_policies = AAZStrArg(
55665566
options=["--disable-private-link-service-network-policies"],
5567-
help="Disable private link service network policies on the subnet.",
5567+
help="Disable private link service network policies on the subnet. Please note that it will be replaced by `--private-link-service-network-policies` soon.",
55685568
enum={
55695569
"true": "Disabled", "t": "Disabled", "yes": "Disabled", "y": "Disabled", "1": "Disabled",
55705570
"false": "Enabled", "f": "Enabled", "no": "Enabled", "n": "Enabled", "0": "Enabled",
@@ -5667,7 +5667,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
56675667
# add ple/pls arguments
56685668
args_schema.disable_private_endpoint_network_policies = AAZStrArg(
56695669
options=["--disable-private-endpoint-network-policies"],
5670-
help="Disable private endpoint network policies on the subnet.",
5670+
help="Disable private endpoint network policies on the subnet. Please note that it will be replaced by `--private-endpoint-network-policies` soon.",
56715671
nullable=True,
56725672
enum={
56735673
"true": "Disabled", "t": "Disabled", "yes": "Disabled", "y": "Disabled", "1": "Disabled",
@@ -5677,7 +5677,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
56775677
)
56785678
args_schema.disable_private_link_service_network_policies = AAZStrArg(
56795679
options=["--disable-private-link-service-network-policies"],
5680-
help="Disable private link service network policies on the subnet.",
5680+
help="Disable private link service network policies on the subnet. Please note that it will be replaced by `--private-link-service-network-policies` soon.",
56815681
nullable=True,
56825682
enum={
56835683
"true": "Disabled", "t": "Disabled", "yes": "Disabled", "y": "Disabled", "1": "Disabled",

0 commit comments

Comments
 (0)