ContainerAppsDiagnosticsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:container_apps_diagnostics> attribute.

Constructor

ContainerAppsDiagnosticsOperations(*args, **kwargs)

Methods

get_detector

Get a diagnostics result of a Container App.

Get a diagnostics result of a Container App.

get_revision

Get a revision of a Container App.

Get a revision of a Container App.

get_root

Get the properties of a Container App.

Get the properties of a Container App.

list_detectors

Get the list of diagnostics for a given Container App.

Get the list of diagnostics for a given Container App.

list_revisions

Get the Revisions for a given Container App.

A synchronous resource action.

get_detector

Get a diagnostics result of a Container App.

Get a diagnostics result of a Container App.

async get_detector(resource_group_name: str, container_app_name: str, detector_name: str, **kwargs: Any) -> Diagnostics

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

detector_name
Required
str

Name of the detector. Required.

Returns

Type Description

Diagnostics. The Diagnostics is compatible with MutableMapping

Exceptions

Type Description

get_revision

Get a revision of a Container App.

Get a revision of a Container App.

async get_revision(resource_group_name: str, container_app_name: str, revision_name: str, **kwargs: Any) -> Revision

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

revision_name
Required
str

Name of the detector. Required.

Returns

Type Description

Revision. The Revision is compatible with MutableMapping

Exceptions

Type Description

get_root

Get the properties of a Container App.

Get the properties of a Container App.

async get_root(resource_group_name: str, container_app_name: str, **kwargs: Any) -> ContainerApp

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

Returns

Type Description

ContainerApp. The ContainerApp is compatible with MutableMapping

Exceptions

Type Description

list_detectors

Get the list of diagnostics for a given Container App.

Get the list of diagnostics for a given Container App.

list_detectors(resource_group_name: str, container_app_name: str, **kwargs: Any) -> AsyncItemPaged[Diagnostics]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

Returns

Type Description

An iterator like instance of Diagnostics

Exceptions

Type Description

list_revisions

Get the Revisions for a given Container App.

A synchronous resource action.

list_revisions(resource_group_name: str, container_app_name: str, *, filter: str | None = None, **kwargs: Any) -> AsyncItemPaged[Revision]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

Keyword-Only Parameters

Name Description
filter
str

The filter to apply on the operation. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of Revision

Exceptions

Type Description