Skip to content

Commit 08ace38

Browse files
Ptnan7Jingnan Xu
andauthored
{CDN} az afd: Update documents (#29869)
Co-authored-by: Jingnan Xu <jingnanxu@microsoft.com>
1 parent b0c7724 commit 08ace38

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/azure-cli/azure/cli/command_modules/cdn/aaz/latest/afd/endpoint/_purge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7373
_args_schema.domains = AAZListArg(
7474
options=["--domains"],
7575
arg_group="Contents",
76-
help="List of domains.",
76+
help="List of domains. Example: \"www.contoso.com, www.contoso1.com\"",
7777
)
7878

7979
content_paths = cls._args_schema.content_paths

src/azure-cli/azure/cli/command_modules/cdn/aaz/latest/afd/origin/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7373
_args_schema.enabled_state = AAZStrArg(
7474
options=["--enabled-state"],
7575
arg_group="Properties",
76-
help="Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.",
76+
help="Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. When an origin is disabled, both routing and health probes to the origin are also disabled.",
7777
enum={"Disabled": "Disabled", "Enabled": "Enabled"},
7878
)
7979
_args_schema.enforce_certificate_name_check = AAZBoolArg(

src/azure-cli/azure/cli/command_modules/cdn/aaz/latest/afd/origin/_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7878
_args_schema.enabled_state = AAZStrArg(
7979
options=["--enabled-state"],
8080
arg_group="Properties",
81-
help="Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.",
81+
help="Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. When an origin is disabled, both routing and health probes to the origin are also disabled.",
8282
nullable=True,
8383
enum={"Disabled": "Disabled", "Enabled": "Enabled"},
8484
)

0 commit comments

Comments
 (0)