From dd2aa867dc66b97e0703db7f27bf39a9db082d9d Mon Sep 17 00:00:00 2001 From: Jingnan Xu Date: Thu, 12 Dec 2024 10:55:49 +0800 Subject: [PATCH 1/2] Fix spell issue #30018 --- .../azure/cli/command_modules/cdn/custom/custom_afdx.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 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..357fec7bf38 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'], @@ -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'], From ef83fcb4df0dac8fae300ac004600fe7e6441ed6 Mon Sep 17 00:00:00 2001 From: Jingnan Xu Date: Mon, 16 Dec 2024 13:40:15 +0800 Subject: [PATCH 2/2] compression size doc fix --- .../azure/cli/command_modules/cdn/custom/custom_afdx.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 357fec7bf38..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 @@ -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 @@ -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'],