  def resource(self) -> resource_module.AZResource:
    """Get an Azure resource object for the account.

    Returns:
      AZResource: An Azure resource object.
    """
    if self._resource:
      return self._resource
    self._resource = resource_module.AZResource(self)
    return self._resource
Get an Azure resource object for the account.

Returns:
AZResource: An Azure resource object.
libcloudforensics/providers/azure/internal/account.py