Skip to content

ResourceDiscoveryStatus

Source code in docs_src/capo_resiliencehubv2/types/resource_discovery_status.py
class ResourceDiscoveryStatus(TypedDict, closed=True):
    status: NotRequired[
        "capo_resiliencehubv2.types.resource_discovery_run_status.ResourceDiscoveryRunStatus"
    ]
    """<p>The current status of resource discovery.</p>"""
    last_run_at: NotRequired["datetime.datetime"]
    """<p>The timestamp of the last resource discovery run.</p>"""
    error_code: NotRequired[
        "capo_resiliencehubv2.types.resource_discovery_error_code.ResourceDiscoveryErrorCode"
    ]
    """<p>The error code if resource discovery failed.</p>"""
    error_message: NotRequired["str"]
    """<p>A message describing the error if resource discovery failed.</p>"""

error_code instance-attribute

error_code: NotRequired[ResourceDiscoveryErrorCode]

The error code if resource discovery failed.

error_message instance-attribute

error_message: NotRequired[str]

A message describing the error if resource discovery failed.

last_run_at instance-attribute

last_run_at: NotRequired[datetime]

The timestamp of the last resource discovery run.

status instance-attribute

status: NotRequired[ResourceDiscoveryRunStatus]

The current status of resource discovery.