HealthReportsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:health_reports> attribute.
Constructor
HealthReportsOperations(*args, **kwargs)
list |
Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'. |
list
Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
list(scope: str, **kwargs: Any) -> Iterable[HealthReport]
Parameters
Name | Description |
---|---|
scope
Required
|
The scope at which the operation is performed. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either HealthReport or the result of cls(response) |
Exceptions
Type | Description |
---|---|
models
models = <module 'azure.mgmt.security.v2023_02_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv200\\Lib\\site-packages\\azure\\mgmt\\security\\v2023_02_01_preview\\models\\__init__.py'>
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: