Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{afd}Fix issue 29970: az afd rule, az cdn rule fix time format examples #29977

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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