ManagedEnvironmentDiagnosticsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:managed_environment_diagnostics> attribute.

Inheritance
builtins.object
ManagedEnvironmentDiagnosticsOperations

Constructor

ManagedEnvironmentDiagnosticsOperations(*args, **kwargs)

Methods

get_detector

Get the diagnostics data for a given Managed Environment.

Get the diagnostics data for a Managed Environment used to host container apps.

list_detectors

Get the list of diagnostics for a given Managed Environment.

Get the list of diagnostics for a Managed Environment used to host container apps.

get_detector

Get the diagnostics data for a given Managed Environment.

Get the diagnostics data for a Managed Environment used to host container apps.

async get_detector(resource_group_name: str, environment_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.

environment_name
Required
str

Name of the Environment. Required.

detector_name
Required
str

Name of the Managed Environment detector. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

Diagnostics or the result of cls(response)

Exceptions

Type Description

list_detectors

Get the list of diagnostics for a given Managed Environment.

Get the list of diagnostics for a Managed Environment used to host container apps.

async list_detectors(resource_group_name: str, environment_name: str, **kwargs: Any) -> DiagnosticsCollection

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Environment. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

DiagnosticsCollection 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'>