ContainerAppsDiagnosticsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:container_apps_diagnostics> attribute.

Inheritance
builtins.object
ContainerAppsDiagnosticsOperations

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.

Get the Revisions for a given Container App.

get_detector

Get a diagnostics result of a Container App.

Get a diagnostics result of a Container App.

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 Container App Detector. Required.

Returns

Type Description

Diagnostics or the result of cls(response)

Exceptions

Type Description

get_revision

Get a revision of a Container App.

Get a revision of a Container App.

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 Container App Revision. Required.

Returns

Type Description

Revision or the result of cls(response)

Exceptions

Type Description

get_root

Get the properties of a Container App.

Get the properties of a Container App.

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 or the result of cls(response)

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) -> Iterable[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 for which detector info is needed. Required.

Returns

Type Description

An iterator like instance of either Diagnostics or the result of cls(response)

Exceptions

Type Description

list_revisions

Get the Revisions for a given Container App.

Get the Revisions for a given Container App.

list_revisions(resource_group_name: str, container_app_name: str, filter: str | None = None, **kwargs: Any) -> Iterable[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 for which Revisions are needed. Required.

filter
Required
str

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

Returns

Type Description

An iterator like instance of either Revision or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>