From d978740064a6674cae6655e6192af16cafd62a64 Mon Sep 17 00:00:00 2001 From: Ptnan7 <148527582+Ptnan7@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:33:28 +0800 Subject: [PATCH] {AFD} fix doc for #30018 #30016 (#30523) * Fix spell issue #30018 * compression size doc fix --------- Co-authored-by: Jingnan Xu --- .../command_modules/cdn/custom/custom_afdx.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py index b3c47e59fea..45579f9a97d 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py @@ -318,7 +318,7 @@ def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.enable_private_link = AAZBoolArg( options=['--enable-private-link'], - help='Indicates whether private link is enanbled on that origin.', + help='Indicates whether private link is enabled on that origin.', blank=True, default=False ) @@ -365,7 +365,7 @@ def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.enable_private_link = AAZBoolArg( options=['--enable-private-link'], - help='Indicates whether private link is enanbled on that origin.', + help='Indicates whether private link is enabled on that origin.', blank=True ) args_schema.private_link_location = AAZStrArg( @@ -459,7 +459,7 @@ def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.enable_caching = AAZBoolArg( options=['--enable-caching'], - help='Indicates whether caching is enanbled on that route.', + help='Indicates whether caching is enabled on that route.', ) args_schema.custom_domains = AAZListArg( options=['--custom-domains'], @@ -495,7 +495,7 @@ def _build_arguments_schema(cls, *args, **kwargs): 'Default value is false. If compression is enabled,' 'content will be served as compressed if user requests for a compressed version.' 'Content won\'t be compressed on AzureFrontDoor' - 'when requested content is smaller than 1 byte or larger than 1 MB.', + 'when requested content is smaller than 8 MB or larger than 1 KB.', ) args_schema.cache_configuration._registered = False args_schema.formatted_custom_domains._registered = False @@ -561,7 +561,7 @@ def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.enable_caching = AAZBoolArg( options=['--enable-caching'], - help='Indicates whether caching is enanbled on that route.', + help='Indicates whether caching is enabled on that route.', ) args_schema.custom_domains = AAZListArg( options=['--custom-domains'], @@ -596,7 +596,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help='Indicates whether content compression is enabled on AzureFrontDoor. Default value is false.' 'If compression is enabled, content will be served as compressed if user requests for a compressed version.' 'Content won\'t be compressed on AzureFrontDoor' - 'when requested content is smaller than 1 byte or larger than 1 MB.', + 'when requested content is smaller than 8 MB or larger than 1 KB.', ) args_schema.cache_configuration._registered = False args_schema.formatted_custom_domains._registered = False @@ -746,7 +746,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help='Indicates whether content compression is enabled on AzureFrontDoor. Default value is false.' 'If compression is enabled, content will be served as compressed if user requests for a compressed version.' 'Content won\'t be compressed on AzureFrontDoor' - 'when requested content is smaller than 1 byte or larger than 1 MB.', + 'when requested content is smaller than 8 MB or larger than 1 KB.', ) args_schema.forwarding_protocol = AAZStrArg( options=['--forwarding-protocol'], @@ -994,7 +994,7 @@ def _build_arguments_schema(cls, *args, **kwargs): help='Indicates whether content compression is enabled on AzureFrontDoor. Default value is false.' 'If compression is enabled, content will be served as compressed if user requests for a compressed version.' 'Content won\'t be compressed on AzureFrontDoor' - 'when requested content is smaller than 1 byte or larger than 1 MB.', + 'when requested content is smaller than 8 MB or larger than 1 KB.', ) args_schema.forwarding_protocol = AAZStrArg( options=['--forwarding-protocol'],