Skip to content

Commit

Permalink
{CDN} az afd rule, az cdn rule: Fix time format examples (Azure#2…
Browse files Browse the repository at this point in the history
…9977)

Co-authored-by: Jingnan Xu <jingnanxu@microsoft.com>
  • Loading branch information
Ptnan7 and Jingnan Xu authored Oct 8, 2024
1 parent 095d524 commit c45e02c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/cdn/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def configure_rule_parameters(c, is_afdx):

c.argument('cache_duration', arg_group="Action",
help='The duration for which the content needs to be cached. \
Allowed format is [d.]hh:mm:ss.')
Allowed format is hh:mm:ss.xxxxxx')
c.argument('header_action', arg_group="Action",
arg_type=get_enum_type(['Append', 'Overwrite', 'Delete']),
help='Header action for the requests.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
)
args_schema.cache_duration = AAZTimeArg(
options=['--cache-duration'],
help='The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.',
help='The duration for which the content needs to be cached. Allowed format is hh:mm:ss.xxxxxx',
)
args_schema.custom_fragment = AAZStrArg(
options=['--custom-fragment'],
Expand Down Expand Up @@ -961,7 +961,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
)
args_schema.cache_duration = AAZTimeArg(
options=['--cache-duration'],
help='The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.',
help='The duration for which the content needs to be cached. Allowed format is hh:mm:ss.xxxxxx',
)
args_schema.custom_fragment = AAZStrArg(
options=['--custom-fragment'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
args_schema.cache_duration = AAZTimeArg(
options=['--cache-duration'],
help='The duration for which the content needs to be cached. '
'Allowed format is [d.]hh:mm:ss.',
'Allowed format is hh:mm:ss.xxxxxx',
)
args_schema.custom_fragment = AAZStrArg(
options=['--custom-fragment'],
Expand Down Expand Up @@ -882,7 +882,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
args_schema.cache_duration = AAZTimeArg(
options=['--cache-duration'],
help='The duration for which the content needs to be cached. '
'Allowed format is [d.]hh:mm:ss.',
'Allowed format is hh:mm:ss.xxxxxx',
)
args_schema.custom_fragment = AAZStrArg(
options=['--custom-fragment'],
Expand Down

0 comments on commit c45e02c

Please sign in to comment.