ManagedEnvironmentDiagnosticsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:managed_environment_diagnostics> attribute.
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.
get_detector(resource_group_name: str, environment_name: str, detector_name: str, **kwargs: Any) -> Diagnostics
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the Environment. Required. |
|
detector_name
Required
|
Name of the Managed Environment detector. Required. |
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.
list_detectors(resource_group_name: str, environment_name: str, **kwargs: Any) -> DiagnosticsCollection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the Environment. Required. |
Returns
| Type | Description |
|---|---|
|
DiagnosticsCollection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.appcontainers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv67\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>